Variables & Expressions
Sign in to Google to save your progress. Learn more
Email *
Programme

Which of the following is a comment in Python?

*
1 point

What does the following code print out?

print("123" + "abc")

*
1 point
Which of the following variables is the "most mnemonic"?
*
1 point
Which of the following is not a Python reserved word?
*
1 point
Assume the variable x has been initialized to an integer value (e.g., x = 3). What does the following statement do?
x = x + 2
*
1 point
Which of the following elements of a mathematical expression in Python is evaluated first?
*
1 point

What is the value of the following expression - 

42 % 10

*
1 point

What will be the value of x after the following statement executes:

x = 1 + 2 * 3 - 8 / 4

*
1 point

What will be the value of x when the following statement is executed:

x = int(98.6)

*
1 point

What does the Python input() function do?

*
1 point
Submit
Clear form
This form was created inside of Kalinga Institute of Social Sciences. Report Abuse