Variables and Constants

Quiz
•
Computers
•
11th Grade - University
•
Hard

vanya martin
Used 71+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Comparison operators

Quiz
•
6th - 11th Grade
10 questions
csharp

Quiz
•
University
10 questions
PROGRAMACIÓN

Quiz
•
12th Grade
10 questions
Praktik Lintas Bidang (C++)

Quiz
•
11th Grade
10 questions
Listas en Python - Adecuación

Quiz
•
11th Grade
13 questions
Functional Programming Quiz 2

Quiz
•
12th Grade
13 questions
PRF192 C Programming

Quiz
•
University
15 questions
Введение в программирование Python

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade