Python Basics
Quiz
•
Computers
•
3rd Grade
•
Practice Problem
•
Hard
Mr. Upadhyay
Used 32+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
Microsoft Word 2013Review
Quiz
•
KG - University
20 questions
MS Publisher
Quiz
•
3rd Grade
21 questions
CD5 (hok GN): Lớp 6
Quiz
•
3rd Grade
20 questions
Class 3 (Ch-2 Windows Operating System)
Quiz
•
3rd Grade
20 questions
Asas Komputer
Quiz
•
3rd Grade
20 questions
ĐÁP ÁN KTTX số 1 - Tin 7 - HK2 - NH: 24 -25
Quiz
•
1st Grade - University
20 questions
POWERPOINT
Quiz
•
1st - 5th Grade
20 questions
Latihan Scratch 2.0
Quiz
•
3rd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
