Variables and Constants

Quiz
•
Computers
•
11th Grade - University
•
Hard

vanya martin
Used 70+ 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
10 questions
Bahasa Pemrograman Python

Quiz
•
University
10 questions
Unit 1 Post Test: Basic Python

Quiz
•
9th - 12th Grade
13 questions
C programming-1

Quiz
•
University
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
15 questions
Basic Java Quiz

Quiz
•
University
15 questions
Python Basics

Quiz
•
KG - University
10 questions
Data Handling in Python

Quiz
•
11th Grade
15 questions
002_Java Methods

Quiz
•
12th Grade - University
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