Data Types
Variables

Pseudocode
Arithmetic Operators
Assignment Operators
100

What data type is 25?

Integer

100

What is a variable?

A named place used to store a value.

100

What is pseudocode?

A simple way of writing program steps.

100

What is the result of 8 + 5?

Ans: 13

100

What does = do?

Assigns a value to a variable.

200

What data type is 4.5?

Float

200

In age = 12, what is the variable?

age

200

Which comes first: Declare, Assign, or Use?

Declare

200

What is 17 % 5?

2

200

If x = 10 and x += 5, what is x?

15

300

Identify the types: 10, 3.5, "Hi", True.

Integer, Float, String, Boolean

300

In marks = 90, what is the value?

90

300

Write pseudocode to check whether a number is positive or negative.

If number > 0 → Positive, Else → Negative

300

If a = 12, what is the value after a++?

13

300

If x = 20 and x -= 7, what is x?

13

400

What data type stores one character, such as 'A'?

Character

400

score = 50, score += 10. What is the final value?

60

400

Write pseudocode to find the larger of two numbers.

If A > B → Print A, Else → Print B

400

If x = 10, what is x after x--?

9

400

If x = 6 and x *= 4, what is x?

24

500

A variable contains False. What is its data type?

Boolean

500

x = 10, x += 5, x *= 2. What is the final value?

30

500

Write pseudocode to check whether a number is even or odd.

If number % 2 = 0 → Even, Else → Odd

500

a = 20, b = 6. Find a / b and a % b.

3.33… and 2

500

x = 20, x -= 5, x *= 2, x++. What is the final value?

31