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