User Define name called ……….
Identifier
constant
syntax
expression
If we overcome the rules of the programming language, we get.........
Runtime error
Syntax error
Logical error
None of the above
Correcting the program code:
Testing
Debugging
Designing the problem
logical error
Algorithm
Algorithm when translated into a programming language is called......
Flowchart
Code
debugging
Which is mapping data type
list
tuple
string
dictionary
Leading white space at the beginning of each statement, which is used to determine the group of statement.
indentation
It is a combination of Operators, Operands and Constants.
Expression
Syntax
Task
Which operations result in 8?
65 // 8
17 % 9
2 * * 4
64 * * 0.5
If the value of a = 20 and b = 20, then a+=b will assign ________ to a
40
30
20
10
The ____________ operator is used to find out if division of two number yields any remainder
/
+
%
//
The __________ data type allows only True/False values
boo
boolean
Boolean
None
What will be the output of the following Python code snippet? not(10<20) and not (10>30)
true
false
error
no output
Which of the following is a valid for loop in Python?.
for(i=0; i < n; i++)
for i in range(0,5):
for i in range(0,5)
for i in range(5)
A while loop in Python is used for what type of iteration?.
indefinite
discriminant
definite
indeterminate
When does the else statement written after loop executes?.
When break statement is executed in the loop
When loop condition becomes false
Else statement is always executed
for loop in python are work on
range
iteration
Both of the above
To break the infinite loop , which keyword we use ?
continue
break
exit
none of the above
Which of the following is the loop in python ?
for
while
do while
Both a and b
To continue the infinite loop , which keyword we use ?