Variables and Constants

Variables and Constants

11th Grade - University

10 Qs

quiz-placeholder

Similar activities

BASIC C QUIZ

BASIC C QUIZ

University

15 Qs

Exit Ticket 1/17

Exit Ticket 1/17

9th - 12th Grade

12 Qs

CSE_CodeHS_intro_python_unit_3_5

CSE_CodeHS_intro_python_unit_3_5

9th - 12th Grade

15 Qs

C programming-1

C programming-1

University

13 Qs

CSC301 Chapter 2

CSC301 Chapter 2

University

10 Qs

Python Quiz  -  5

Python Quiz - 5

4th - 11th Grade

10 Qs

ICS Test #4 review

ICS Test #4 review

9th - 12th Grade

15 Qs

บทที่ 2 การออกแบบวิธีแก้ปัญหา (ชนิดของตัวแปร นิพจน์ และเงื่อนไข)

บทที่ 2 การออกแบบวิธีแก้ปัญหา (ชนิดของตัวแปร นิพจน์ และเงื่อนไข)

9th - 12th Grade

10 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?

Discover more resources for Computers