Filters
Question type

Study Flashcards

A(n) _____ is a diagram that graphically depicts the steps that take place in a program.


A) flowchart
B) algorithm
C) code
D) pseudocode

Correct Answer

verifed

verified

If value1 is 2.0 and value2 is 12, what is the output of the following command? Print(value1 * value2)


A) 24
B) value1 * value2
C) 24.0
D) 2.0 * 12

Correct Answer

verifed

verified

What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?


A) Flowchart
B) Algorithm
C) Code
D) Pseudocode

Correct Answer

verifed

verified

A(n) _______________ is a single task that the program must perform in order to satisfy the customer.

Correct Answer

verifed

verified

software r...

View Answer

The % symbol is the remainder operator and it is also known as the _______________ operator.

Correct Answer

verifed

verified

The \t escape character causes the output to skip over to the next horizontal tab.

Correct Answer

verifed

verified

What type of error produces incorrect results but does not prevent the program from running?


A) syntax
B) logic
C) grammatical
D) human.

Correct Answer

verifed

verified

The output of the following print statement is: Print 'I\'m ready to begin'


A) Im ready to begin
B) I\'m ready to begin
C) I'm ready to begin
D) 'I\'m ready to begin'

Correct Answer

verifed

verified

What symbol is used to mark the beginning and end of a string?


A) Slash
B) Asterisk
C) Quotation
D) Comma

Correct Answer

verifed

verified

In a print statement, you can set the _____ argument to a space or empty string to stop the output from advancing to a new line.


A) stop
B) end
C) separator
D) newLine

Correct Answer

verifed

verified

The result of the expression 12.3 + 6.7 is _______________.

Correct Answer

verifed

verified

Which mathematical operator is used to raise five to the second power in Python?


A) /
B) **
C) ^
D) ~

Correct Answer

verifed

verified

In Python, print statements written on separate lines do not necessarily output on separate lines.

Correct Answer

verifed

verified

When the + operator is used with two strings, it performs string _______________.

Correct Answer

verifed

verified

The _____ function reads a piece of data that has been entered at the keyboard and returns that piece of data, as a string, back to the program.


A) input
B) output
C) eval_input
D) string_input

Correct Answer

verifed

verified

Showing 21 - 35 of 35

Related Exams

Show Answer