1) Which of the following is a correct way to declare (create) a variable in Python? a) x = 5 b) var x = 5 c) declare x as 5 d) int x = 54 2) What will be the output of the following code? a) 10 b) 15 c) error d) 5 3) What is the output of the following code? a) HelloHelloHello b) 3 Hello c) Hello 3 times d) Error 4) What will be the output of the following code? a) 10 b) error c) 52 d) 55 5) Which of the following is not a valid data type in Python? a) int b) string c) float d) array 6) Which operator is used for multiplication in Python? a) + b) * c) / d) - e) x f) ** 7) What will be the output of the following code? a) cat b) dog c) mouse d) 1 e) x 8) How do we display something to the screen? a) print ( ) b) input ( ) c) display ( ) d) show ( )
0%
Python
Delen
Delen
Delen
door
Lcleminson
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
Vakjes openmaken
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?