Quiz
Multiple Choice Questions-Brief Overview python
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (20)
1User Define name called ……….
- AIdentifier
- Bconstant
- Csyntax
- Dexpression
2If we overcome the rules of the programming language, we get.........
- ARuntime error
- BSyntax error
- CLogical error
- DNone of the above
3Correcting the program code:
- ATesting
- BSyntax error
- CRuntime error
- DDebugging
4Designing the problem
- ATesting
- BDebugging
- Clogical error
- DAlgorithm
5Algorithm when translated into a programming language is called......
- AFlowchart
- BIdentifier
- CCode
- Ddebugging
6Which is mapping data type
- Alist
- Btuple
- Cstring
- Ddictionary
7Leading white space at the beginning of each statement, which is used to
determine the group of statement.- ATesting
- Bdebugging
- Cindentation
- DNone of the above
8It is a combination of Operators, Operands and Constants.
- AIdentifier
- BExpression
- CSyntax
- DTask
9Which operations result in 8?
- A65 // 8
- B17 % 9
- C2 * * 4
- D64 * * 0.5
10If the value of a = 20 and b = 20, then a+=b will assign ________ to a
- A40
- B30
- C20
- D10
11The ____________ operator is used to find out if division of two number
yields any remainder- A/
- B+
- C%
- D//
12The __________ data type allows only True/False values
- Aboo
- Bboolean
- CBoolean
- DNone
13What will be the output of the following Python code snippet?
not(10<20) and not (10>30)- Atrue
- Bfalse
- Cerror
- Dno output
14Which of the following is a valid for loop in Python?.
- Afor(i=0; i < n; i++)
- Bfor i in range(0,5):
- Cfor i in range(0,5)
- Dfor i in range(5)
15A while loop in Python is used for what type of iteration?.
- Aindefinite
- Bdiscriminant
- Cdefinite
- Dindeterminate
16When does the else statement written after loop executes?.
- AWhen break statement is executed in the loop
- BWhen loop condition becomes false
- CElse statement is always executed
- DNone of the above
17for loop in python are work on
- Arange
- Biteration
- CBoth of the above
- DNone of the above
18To break the infinite loop , which keyword we use ?
- Acontinue
- Bbreak
- Cexit
- Dnone of the above
19Which of the following is the loop in python ?
- Afor
- Bwhile
- Cdo while
- DBoth a and b
20To continue the infinite loop , which keyword we use ?
- Acontinue
- Bbreak
- Cexit
- Dnone of the above
Information
- Description
- Quiz on Multiple Choice Questions-Brief Overview python, created by Aparna Dhirde on 13/03/2020.
- Author
- Aparna Dhirde
- Language
- English
- Views
- 36
- Tags
- Rating
- No ratings yet Rate this quiz