Python Basics
Quiz
•
Computers
•
3rd Grade
•
Hard
Mr. Upadhyay
Used 15+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
printf("Hello World");
print("Hello World")
echo "Hello World"
print("Hello World"):
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the purpose of using Python?
Python is used for various purposes such as web development, data analysis, artificial intelligence, scientific computing, automation, and more.
Python is primarily used for video editing
Python is only used for gaming development
Python is exclusively used for accounting purposes
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you insert COMMENTS in Python code?
//This is a comment
#This is a comment
/*This is a comment*/
"This is a comment"
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of 'print(5 + 3)'?
7
10
8
2
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which one is NOT a legal variable name?
_myvar
my_var
Myvar
my-var
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the keyword used for defining a function in Python?
function
define
func
def
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the result of '5 == 5'?
error
true
10
false
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
สอบปลายภาค Coding2 รหัสจำลอง
Quiz
•
3rd Grade
20 questions
Ôn Tập Môn Tin Học Khối 5 HKI
Quiz
•
1st Grade - University
20 questions
technology (Computer)
Quiz
•
3rd Grade - University
20 questions
Advanced Excel
Quiz
•
KG - University
20 questions
แบบทดสอบ โปรแกรม Microsoft Word
Quiz
•
1st - 5th Grade
22 questions
ASK Tingkatan 2 -(3.2 Struktur Kod Arahan - Ralat)
Quiz
•
1st - 12th Grade
20 questions
Kuiz T3 Bab1 Pembangunan Aturcara
Quiz
•
3rd Grade
20 questions
TIK KD 3
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
