Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Data types and structures

EasyMedium
12345678910111213141516171819
Question 5

A programmer is writing a script to manage a subscription service. Review the following code segment:

discount_rate = 0.15\nuser_id = "USR-992"
is_active = True
monthly_fee = 29.99

Identify the name of a boolean variable in this code segment.

[1]

Data types and structures Questions

  1. IGCSE
  2. /Computer Science
  3. /Data types and structures