1) What is a correct syntax to output "Hello World" in Python? a) echo (Hello World) b) echo "Hello World" c) p("Hello World") d) print("Hello World") 2) How do you insert COMMENTS in Python code? a) #this is a comment b) /*this is a comment*/ c) //this is a comment 3) Which one is NOT a legal variable name? a) my_var b) my-var c) _myvar d) myvar 4) How do you create a variable with the numeric value 5? a) X=int5 b) X=int(5) c) all answers are correct d) x=5 5) What is the correct file extension for Python files? a) .py b) .pt c) .phy d) .pyt 6) Who created Python Programming? a) Steve Jobs b) Bill Gates c) Guido van Rossum d) Linus Torvalds 7) What is the best website to learn Python Programming? a) Python.org b) Codecademy c) www.w3schools.com/ d) All of the Above 8) What are the platforms that Python can work on? a) Linux b) Windows c) Mac d) All of the Above 9) What are the functions of Python? a) System scripting b) Web Development c) Software Development d) All of the Above 10) Python has a simple syntax similar to what language? a) English b) Mandarin c) Malay d) Arabic
0%
15-Python Basic 1
Delen
Delen
Delen
door
Caleblumiere
Year 8
Year 9
ICT
Python
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?