Variables and Constants

Variables and Constants

11th Grade - University

10 Qs

quiz-placeholder

Similar activities

Programming Quiz 1-3 | LPE-101 by Mettle X

Programming Quiz 1-3 | LPE-101 by Mettle X

9th - 12th Grade

15 Qs

cp06-01-1D-Array

cp06-01-1D-Array

University

10 Qs

Programming basics

Programming basics

9th - 12th Grade

10 Qs

2) Python Variables

2) Python Variables

8th - 11th Grade

15 Qs

C++ data types

C++ data types

University

15 Qs

Computer Science Test 3 Review

Computer Science Test 3 Review

6th - 12th Grade

13 Qs

Topic 1 C++ Programming

Topic 1 C++ Programming

12th Grade

12 Qs

CSSE Quiz Day2

CSSE Quiz Day2

University

12 Qs

Variables and Constants

Variables and Constants

Assessment

Quiz

Computers

11th Grade - University

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?