Midterm revision for grade 6
Quiz
•
Computers
•
6th Grade
•
Medium
Game Master
Used 28+ times
FREE Resource
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A variable in Python is a type of function.
A variable in Python is a fixed value that cannot change.
A variable in Python is a command used to execute code.
A variable in Python is a named reference to a value stored in memory.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid data type in Python: int, float, or both?
both
list
boolean
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable named 'age' and assign it the value 12?
age = 12
age := 12
var age = '12'
let age = 12;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you take input from a user in Python?
Use the 'input()' function to take input from a user.
Use the 'scan()' function to take input from a user.
Use the 'get_input()' function to take input from a user.
Use the 'read()' function to take input from a user.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of print('Hello, ' + 'World!')?
Hello, World
Hello, 'World!'
Hello, World!
Hello World!
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the input() function in Python?
To take input from the user.
To output data to the user.
To define a function in Python.
To read files from the system.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an error in programming?
An error in programming is a feature that enhances functionality.
An error in programming is a successful execution of code.
An error in programming is a mistake in the code that causes it to behave unexpectedly or fail.
An error in programming is a type of programming language.
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
45 questions
Quiz-PTS2-TIK Gr4
Quiz
•
4th Grade - University
42 questions
IC3 GS6-LV1-MODUL 1
Quiz
•
6th - 8th Grade
45 questions
ÔN TẬP KTCK1 TIN6
Quiz
•
6th Grade
50 questions
NĂM HỌC 22-23_KHỐI 6 ÔN TẬP CUỐI HK2
Quiz
•
6th - 8th Grade
49 questions
Vectr Vocabulary
Quiz
•
6th - 8th Grade
50 questions
KUIS TKJ KE-2
Quiz
•
KG - University
45 questions
TIN 6 - ÔN TẬP CUỐI KÌ 2 (24-25)
Quiz
•
6th Grade
50 questions
Review-PTS2-Gr5
Quiz
•
5th Grade - University
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
