
Variables and Constants
Authored by vanya martin
Computers
11th Grade - University
Used 71+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the references for three basic data types?
string
int
flt
str
float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which answer correctly initializes the number of tennis balls in a package?
numTennisBalls = 3
numTennisBalls = float(3)
numTennisBalls = "3"
numTennisBalls = int(3)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which answer correctly initializes the number of cookies in a cookie jar?
numCookies = 14.5
numCookies = float(14.5)
numCookies = "14.5"
numCookies = int(14.5)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which answer correctly initializes the name of the college as a constant?
collegeName = "Lone Star College"
COLLEGE_NAME= "Lone Star College"
collegeName = str ("Lone Star College")
COLLEGE_NAME= str(Lone Star College)
COLLEGE_NAME= str("Lone Star College")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What notation is used to store float variables ?
ASCII Notation
Float Notation
Floating Point Notation
Two's Complement Notation
Binary Notation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What notation is used to store int variables ?
ASCII Notation
Float Notation
Floating Point Notation
Two's Complement Notation
Binary Notation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What notation is used to store str variables ?
ASCII Notation
Float Notation
Floating Point Notation
Two's Complement Notation
Binary Notation
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?