
LAB_Quiz-2
Authored by Rishabh Tomar
Information Technology (IT)
University
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid identifier?
123abc
my_variable
#name
variable-1
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a keyword in most programming languages?
float
myName
number
123
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What data type is used to store whole numbers without decimal points?
Float
String
Integer
Boolean
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a variable in programming?
To store data permanently
To perform mathematical operations
To store data temporarily
To control the flow of the program
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to represent true or false values?
Integer
Float
String
Boolean
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid variable name?
my-variable
123abc
my_variable
#name
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store text?
Integer
Float
String
Boolean
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?