Data Types
Coding
Trivia
Print Statements
Binary
100

How many data types are there?

3

100
Is age or 25 the variable?


age = 25

age

100

What year did the Titanic sink?

A 1900

B 1912

C 1921

B 1912

100

Print statements have:

A. parenthesis ()

b. exclamation points !

C. uppercase PRINT

A. Parenthesis ()

100

What are the only two digits used in binary?

A. 1 and 2

B. 0 and 1

C. 1 and 10

B. 0 and 1

200

What data type is a decimal?

A. Float

B. Integer

C. String

A. Float

200

Can you touch hardware or software?

Hardware

200

Where was the first example of paper money used?

A Greece

B Turkey

C China

C China


200

Do print or input statements leave a space at the end?

input statements

200

A single binary digit (0 or 1) is called a:

A. Byte

B. Unit

C. Bit

C Bit

300

Which data type is in quotation marks?

A. Float

B. Integer

C. String

C. String
300

What is an algorithm?

A set of instructions given to a computer.

300

In Peter Pan, what is the name of Wendy's dog?

A. Pluto

B. Nana

C. Pongo

B. Nana

300

Is this correct?

print ("My name is Miss Kellie.")

no

300

How many bits are in a byte?

8 bits

400

is 4.0 an integer or a float?

A. Float

B. Integer

A. Float

400

What is a conditional?

an if/then statement

400

How many planets are in our solar system?

A. 7

B. 8

C. 9

B. 8

400

Is this correct?

print('My favorite color is pink')

No

400

What is 1011 in decimal form?

A. 8

B. 9

C. 10

D. 12

C. 12


500

What is typecasting?

Changing one data type to another.

500

Which variable is correct?

A. 100musiclovers

B. musiclovers100

B. musiclovers100

500

What country is shaped like a boot?

A. Italy

B. Spain

c. Greece

A. Italy


500

Is this correct?

input("What is your favorite kind of music? ")

Yes

500

What is the binary form for the decimal number 2?

A. 01

B. 10

C. 11

D. 100

B. 10