What are the data types in Python Correct answers integer, float,
and 2 others
What are the logical operators? Correct answers and,
or, not
what are the conditional operators Correct answers equal, not equal to,
greater than,
etc
.
what are the mathematical operators Correct answers + Addition, -
Subtraction, * / Division, % Modulus, **
Multiplication,
Exponent, //
what are the conditional operators? Correct answers ==, !=, <>,
>, <, >=, <=
counter while loop Correct answers count is
known
sentinel while loop Correct answers count is not
known
int(item) Correct answers
integer
float(item) Correct answers decimal
number
\n Correct answers new
line
\t Correct answers
tab
sequence of characters Correct answers
string
A is a name that references a value in the computer's memory.
Correct answers
variabl
e
A string literal in Python must be enclosed in Correct answers either
single-quotes or
double-
quotes
Short notes placed in different parts of a program explaining how those
parts of the
program work are called . Correct answers
comments
A(n) makes a variable reference a value in the computer's
memory. assignment
answers Correct
statement
This symbol marks the beginning of a comment in Python. Correct
answers #
Which of the following statements will cause an
error?
, a. x =
17
b. 17 =
X
C. X =
99999
d. X = '17' Correct answers
17 = X
In the expression 12 + 7, the values on the right and left of the +
symbol are
Correct called
answers
operands
This operator performs integer division. Correct
answers //
This is an operator that raises a number to a power. Correct
answers **
This operator performs division, but instead of returning the quotient it
returns theCorrect
remainder
answers %
Suppose the following statement is in a program: price = 99. 0. After this
statement
executes, the price variable will reference a value of this data type.
Correct answers
floa
t
This built-in function can be used to read input that has been typed on the
keyboard.
Correct answers
input()
This built-in function can be used to convert an int value to a float.
Correct answers
float(
)
A(n) expression has a value of either true or false. Correct answers
Boolean
The symbols >, <, and == are all operators. Correct answers
relational
You use a(n) statement in pseudocode to write a single alternative
structure. Correct answers If-
decision
Then
You use a(n) statement in pseudocode to write a dual alternative
decision
structure. Correct answers If-Then-
Else
A structure allows you to test the value of a variable or an
expression
then use that andvalue to determine which statement or set of statements
to execute.
Correct answers multiple alternative
decision
A(n) section of a Select Case statement is branched to, if none of
the case values match the expression listed after the Select statement.
Correct answers Default
AND, OR, and NOT are operators. Correct answers
logical
A compound Boolean expression created with the operator is true
only ifof its subexpressions are true Correct
both
answers and