null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
21273400
Multiple Choice Questions-Brief Overview python
Description
Quiz on Multiple Choice Questions-Brief Overview python, created by Aparna Dhirde on 13/03/2020.
No tags specified
xi
Quiz by
Aparna Dhirde
, updated more than 1 year ago
More
Less
Created by
Aparna Dhirde
over 4 years ago
28
0
0
Resource summary
Question 1
Question
User Define name called ……….
Answer
Identifier
constant
syntax
expression
Question 2
Question
If we overcome the rules of the programming language, we get.........
Answer
Runtime error
Syntax error
Logical error
None of the above
Question 3
Question
Correcting the program code:
Answer
Testing
Syntax error
Runtime error
Debugging
Question 4
Question
Designing the problem
Answer
Testing
Debugging
logical error
Algorithm
Question 5
Question
Algorithm when translated into a programming language is called......
Answer
Flowchart
Identifier
Code
debugging
Question 6
Question
Which is mapping data type
Answer
list
tuple
string
dictionary
Question 7
Question
Leading white space at the beginning of each statement, which is used to determine the group of statement.
Answer
Testing
debugging
indentation
None of the above
Question 8
Question
It is a combination of Operators, Operands and Constants.
Answer
Identifier
Expression
Syntax
Task
Question 9
Question
Which operations result in 8?
Answer
65 // 8
17 % 9
2 * * 4
64 * * 0.5
Question 10
Question
If the value of a = 20 and b = 20, then a+=b will assign ________ to a
Answer
40
30
20
10
Question 11
Question
The ____________ operator is used to find out if division of two number yields any remainder
Answer
/
+
%
//
Question 12
Question
The __________ data type allows only True/False values
Answer
boo
boolean
Boolean
None
Question 13
Question
What will be the output of the following Python code snippet? not(10<20) and not (10>30)
Answer
true
false
error
no output
Question 14
Question
Which of the following is a valid for loop in Python?.
Answer
for(i=0; i < n; i++)
for i in range(0,5):
for i in range(0,5)
for i in range(5)
Question 15
Question
A while loop in Python is used for what type of iteration?.
Answer
indefinite
discriminant
definite
indeterminate
Question 16
Question
When does the else statement written after loop executes?.
Answer
When break statement is executed in the loop
When loop condition becomes false
Else statement is always executed
None of the above
Question 17
Question
for loop in python are work on
Answer
range
iteration
Both of the above
None of the above
Question 18
Question
To break the infinite loop , which keyword we use ?
Answer
continue
break
exit
none of the above
Question 19
Question
Which of the following is the loop in python ?
Answer
for
while
do while
Both a and b
Question 20
Question
To continue the infinite loop , which keyword we use ?
Answer
continue
break
exit
none of the above
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Nouns & Definite Articles Notes
Selam H
An Inspector Calls - Themes
mhancoc3
GCSE Chemistry C1 - Carbon Chemistry ATOMS, MOLECULES AND COMPOUNDS (Easy)
T W
AS Psychology - Research Methods
kirstygribbin
Of Mice and Men Quotes
_Jess_
HRCI Glossary of Terms O-Z
Sandra Reed
GCSE Maths Quiz: Ratio, Proportion & Measures
Andrea Leyden
Study Tips to Improve your Learning
miminoma
Teaching students to be digitally literate
Micheal Heffernan
General Pathoanatomy Final MCQs (201-300)- 3rd Year- PMU
Med Student
Mapa Conceptual
Julio Perez
Browse Library