Multiple Choice Questions-Brief Overview python

Beschreibung

Quiz am Multiple Choice Questions-Brief Overview python, erstellt von Aparna Dhirde am 13/03/2020.
Aparna Dhirde
Quiz von Aparna Dhirde, aktualisiert more than 1 year ago
Aparna Dhirde
Erstellt von Aparna Dhirde vor mehr als 4 Jahre
28
0

Zusammenfassung der Ressource

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
Antworten
  • 40
  • 30
  • 20
  • 10

Frage 11

Frage
The ____________ operator is used to find out if division of two number yields any remainder
Antworten
  • /
  • +
  • %
  • //

Frage 12

Frage
The __________ data type allows only True/False values
Antworten
  • boo
  • boolean
  • Boolean
  • None

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
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

La commande - Phrases - Chapitre 4
Gaelle Bourgeois
Einführung in die BWL: Kapitel 5
Anjay
Ökologie fürs Abitur - Lernfolien
Laura Overhoff
Folien: Systemtheorie
tschiggli
Biologie Abiturthemen 2016
katharina.boerge
WT 2 Uni Due
Awash Kaul
GESKO A WERB WS 2018/19
Caroline Hannah
Vetie Virologie 2012
Isabelle K.
Vetie - spez Patho 2019
Johanna Tr
Vetie: Geflügelkrankheiten Fragebogen 4
Björn Sake
Vetie Spezielle Pathologie 2020
Svea Schill