Python Variables and Data Types Quiz
Quiz Topic check Interactive

Variables and Data Types — check your understanding

Review the diagram, then answer the MCQs. Aim for a full score before Practice.

Picture this: name = value

Remember: the name is on the left, the value on the right.

nameleft side
=
valueright side
→
reuse namelater lines

Diagram — Variables are named boxes

name age = 18 price total = 18.5 text name = "Riya" flag paid = False

Quick review

Use this quiz like the AI Workshop check: teach with visuals, then verify with questions.

Variables and Data Types — Topic Quiz

Check understanding

Answer all questions, then click Check answers. Use this before Practice in the editor.

Q1. What is a variable?

Q2. What is the type of 18.5?

Q3. What does `paid = False` store?

Q4. Which is valid Python naming style?

Score: —