Variables and Constants

Variables and Constants

11th Grade - University

10 Qs

quiz-placeholder

Similar activities

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

Python Variables

Python Variables

7th - 12th Grade

10 Qs

CSSE Quiz Day2

CSSE Quiz Day2

University

12 Qs

PP Quiz- 4CSM B2

PP Quiz- 4CSM B2

University

11 Qs

Python Циклы и Условные операторы.

Python Циклы и Условные операторы.

6th - 11th Grade

13 Qs

Quiz 1 - Intro to C

Quiz 1 - Intro to C

University

10 Qs

Basic Java Quiz

Basic Java Quiz

University

15 Qs

Python Unit 2 Quiz 2

Python Unit 2 Quiz 2

9th - 12th Grade

12 Qs

Variables and Constants

Variables and Constants

Assessment

Quiz

Computers

11th Grade - University

Hard

Created by

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

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?