
Q4 Prefinals ICT10 General Quiz
Authored by JOHN MARK DIPON
Computers
5th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a variable in Python?
A module containing values or functions
A named location used to store data in memory
An ordered sequence of items enclosed within brackets
A string surrounded by single or double quotes
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you assign a value to a variable in Python?
Using the colon (:) symbol
Using the plus (+) sign
Using the equal (=) sign
Using the dollar ($) symbol
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a constant in Python?
A variable whose value changes frequently
A variable whose value does not change
A numeric literal
A string literal
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How are constants typically written in Python?
In lowercase with hyphens
In all capital letters with underscores
In camelCase
In PascalCase
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which function is used to check the type of a variable or value in Python?
type()
typeof()
class()
classify()
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the instance() function in Python?
To check if an object belongs to a particular class
To check if a variable is defined
To check if a module is imported
To check if a constant is declared
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is an example of a numeric literal in Python?
"Hello, world!"
3.14
'x'
[1, 2, 3]
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?