1) is used to take user input. By default, it returns the user input in form of a string. a) input() b) bug c) variable d) debug 2) prints the specified message to the screen, or other standard output device. a) randint b) casting c) debug d) print() 3) is a whole number, positive or negative, without decimals, of unlimited length. a) if-else b) random c) input() d) integer 4) is a process that converts a variable's data type into another data type. a) casting b) float c) library d) input() 5) s used to represent the truth value of an expression; True or False. a) boolean b) casting c) bug d) elif 6) is a function or reusable code in the Python programming language that converts values into floating point numbers. a) function b) float c) random d) library 7) is used to execute both the true part and the false part of a given condition. a) if-else b) print() c) randint d) elif 8) is short for "else if" and is used when the first if statement isn't true, but you want to check for another condition. a) integer b) elif c) casting d) operator 9) s a reusable chunk of code that you may want to include in your programs/ projects. a) import b) boolean c) randint d) library 10) is an in-built module of Python which is used to generate random numbers. a) if-else b) bug c) syntax d) random 11) returns an integer number selected element from the specified range. a) randint b) if-else c) integer d) ** 12) is a symbolic name that is a reference or pointer to an object. a) variable b) import c) casting d) arrays 13) the constructs which can manipulate the value of operands. a) operator b) if-else c) library d) print() 14) they are containers which are able to store more than one item at the same time. a) arrays b) function c) variable d) debug 15) works as an exponentiation operator. a) operator b) integer c) ** d) variable 16) used for referring errors or mistakes in a script. a) randint b) operator c) integer d) bug 17) a program that can help you find out what is going on in a computer program. a) debug b) casting c) arrays d) bug 18) keyword to make code in one module available in another by adding the library. a) randint b) bug c) library d) import 19) the set of rules that defines how a Python program will be written a) import b) function c) randint d) syntax 20) a block of code which only runs when it is called. a) random b) function c) elif d) syntax
0%
Python Dictionary | Quiz
Delen
Delen
Delen
door
Sezinfins
Inhoud Bewerken
Afdrukken
Embedden
Meer
Toewijzingen
Scorebord
Meer weergeven
Minder weergeven
Dit scoreboard is momenteel privé. Klik op
Delen
om het publiek te maken.
Dit scoreboard is uitgeschakeld door de eigenaar.
Dit scoreboard is uitgeschakeld omdat uw opties anders zijn dan die van de eigenaar.
Opties Herstellen
Quiz
is een open template. Het genereert geen scores voor een scoreboard.
Inloggen vereist
Visuele stijl
Lettertypen
Abonnement vereist
Opties
Template wisselen
Alles weergeven
Er zullen meer templates verschijnen terwijl je de activiteit gebruikt.
Open resultaten
Kopieer link
QR-code
Verwijderen
Automatisch opgeslagen activiteit "
" herstellen?