Skip to content

Course home

Data types and structures

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
user_id = "USR-992"
is_active = True
monthly_fee = 29.99

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

[1]
Markscheme

Data types and structures Questions

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

20 exam-style questions on Edexcel IGCSE Computer Science Data types and structures. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank