Data Types
Algorithms
Booleans
Data Types: Math
100

This data type represents whole numbers without decimals.

What is Integers

100

string 1 <- "Tik"

string 2 <- "Tok"

What is string1 concatenated with string2

What is "TikTok"

100

What is the result of 5 == 5?

What is true?

100

A variable stores 7.5. What type of number is this?

What is Fractional Number

200

Why would a zip code be stored as a string instead of a number?

What is because it’s not used for math

200

In what three types of languages can algorithms be written in?

What is programming languages, pseudocode, natural language?

200

When using AND, when does the whole expression become true?

What is when both conditions are true?

200

What is the result of 6 + 4 * 2?

What is 14

300

What index is the letter “t” in the string: “algorithm”

What is 7?

300

What shape in a flowchart typically represents a decision?

What is diamond?

300

What is the result of false OR false?

what is false

300

Set X <-- 30

Set y <-- 10

X MOD Y =?

0
400

A student writes a program that compares "5" and 5 and gets false. What is the main reason?

What is they are different data types (string vs number)?

400

What will the algorithm output if Year=3004


What is "Leap year"?

400

What is the result of: true AND (false OR true)?

What is true?

400

Why does (4 + 6) / 2 give a different result than 4 + 6 / 2?

What is order of operations changes the calculation?

500

What happens if you try to mix data types in a calculation?

What is it will cause errors.

500

What are three best practices to ensure readability and clarity in code? (mentioned in the lesson)

What is name variables and procedures appropriately, use comments in code, use blank lines to separate sections of code?

500

When using OR, when does the whole expression become false?

What is when both conditions are false?

500

(18/3)2−4*(5−2)3+6

What is -66

M
e
n
u