Online Test on -Getting start with python

Beschreibung

Quiz am Online Test on -Getting start with 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
296
0

Zusammenfassung der Ressource

Frage 1

Frage
What is answer of this expression, 22 % 3 is?
Antworten
  • 7
  • 1
  • 0
  • 5

Frage 2

Frage
What is the output of this expression, 3*1**3?
Antworten
  • 27
  • 9
  • 3
  • 1

Frage 3

Frage
What is the maximum possible length of an identifier?
Antworten
  • 31 characters
  • 63 characters
  • 79 characters
  • none of the mentioned

Frage 4

Frage
What is the output of the code shown below? not(3>4) not(1&1)
Antworten
  • TrueTrue
  • TrueFalse
  • FalseTrue
  • FalseFalse

Frage 5

Frage
Select the reserved keyword in python
Antworten
  • else
  • import
  • raise
  • All of these

Frage 6

Frage
Which of the following symbols are used for comments in Python?
Antworten
  • //
  • ''
  • /**/
  • #

Frage 7

Frage
Are nested if-else are allowed in Python?
Antworten
  • True
  • False

Frage 8

Frage
a = 8.6 b = 2 print a//b
Antworten
  • 4.3
  • 4.0
  • 4
  • compilation error

Frage 9

Frage
Which statement is correct....??
Antworten
  • List is mutable && Tuple is immutable
  • List is immutable && Tuple is mutable
  • Both are Immutable
  • Both are Mutable.

Frage 10

Frage
Which of the following data type is used to store values in key and value format?
Antworten
  • Class
  • List
  • Tuple
  • Dictionary

Frage 11

Frage
Which of the following operators is used to get accurate result (i.e fraction part also) in case of division ?
Antworten
  • //
  • %
  • /
  • None of the above

Frage 12

Frage
19 % 2 in python
Antworten
  • 17
  • 2
  • 0
  • None of these

Frage 13

Frage
What is the associativity of Operators with the same precedence?
Antworten
  • Depends on operators
  • Left to Right
  • Right to Left
  • Depends on Python Compiler

Frage 14

Frage
Which of the following has more precedence?
Antworten
  • +
  • /
  • -
  • ()

Frage 15

Frage
Tuple is mutable.
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Gedächtnis
Nicole Girard
06_Aktiengesellschaft (Karteikarten)
Stefan Kurtenbach
Deutsch-Abitur-Basiswissen für Gedichts- & Lektürenvergleich
danastone
Einführung für GoConqr - Kurzversion
Laura Overhoff
Social Media im Unterricht
Laura Overhoff
Matura Übungsaufgaben Analysis
erwin.premstalle
Ökologie
vere2400
Vetie - Tierzucht & Genetik - S IV
Fioras Hu
vetie Para 2016
Anne Heyne
Vetie AVO 2019
Kristin E