Midterm revision for grade 6

Quiz
•
Computers
•
6th Grade
•
Medium
Game Master
Used 23+ 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
Similar Resources on Wayground
43 questions
Practical Exam (Grade 9 )

Quiz
•
5th - 6th Grade
49 questions
ECDL Python Lesson Boolean recap

Quiz
•
5th Grade - University
42 questions
ICT

Quiz
•
6th Grade
50 questions
Quiz Bab Sistem Komputer

Quiz
•
6th - 8th Grade
45 questions
X TKJ-INSTALASI SISTEM OPERASI

Quiz
•
1st Grade - University
45 questions
GCSE Python Legends

Quiz
•
1st - 12th Grade
51 questions
Yr 8 (IT3) - Hardware & Software

Quiz
•
5th - 9th Grade
43 questions
Python Review 1

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade