Question 1 of 25
Hints left: 3
Q1
Which one of these is floor division?
Q2
Which operator is used to concatenate strings in Python?
Q3
Which one of the following has the highest precedence in the expression?
Q4
What does the is operator test for?
Q5
Which of the following is a valid way to comment a single line in Python?
Q6
Why are local variable names beginning with an underscore discouraged?
Q7
What is the type of the result when you add an integer and a floating-point number?
Q8
What is the output of this expression, 3*1**3?
Q9
Which of the following is invalid?
Q10
Mathematical operations can be performed on a string.
Q11
What is the purpose of the == operator in Python?
Q12
What is the result of 10 // 3 ?
Q13
What is the value of x after the following code: x = 5; x += 3; ?
Q14
What is the result of 3 ** 2 ?
Q15
What is the result of not (5 > 3) ?
Q16
Which of the following is an invalid variable?
Q17
What is the result of 10 / 2 ?
Q18
What is the result of 2 ** 3 ** 2 ?
Q19
What is the order of precedence in python? i) Parentheses ii) Exponential iii) Multiplication iv) Division v) Addition vi) Subtraction
-
A
-
B
-
C
-
D
Q20
Which of the following cannot be a variable?
Q21
Which one of the following has the same precedence level?
Q22
What is the result of the expression 5 // 2 ?
Q23
What is the purpose of the modulo operator (%) in Python?
Q24
What is the result of round(3.75) ?
Q25
What is the result of "hello" * 3 ?