User interface language: English | Español

Date November 2021 Marks available 2 Reference code 21N.1.HL.TZ0.4
Level HL Paper 1 Time zone no time zone
Command term Determine Question number 4 Adapted from N/A

Question

Assume X = 5, Y = 3 and A = TRUE.

Determine the value of the following expression:

((X > 5) XOR A) AND (Y + 2 > 4)

Show all your working.

Markscheme

Award [2 max] 
Award [1] for showing the working out
Award [1] for the correct result (TRUE)

((5>5) XOR TRUE) AND (3+2>4) = (FALSE XOR TRUE) AND TRUE=
=TRUE AND TRUE;
=TRUE; 

Examiners report

Many candidates correctly determined the value of the expression and gained full marks.

Syllabus sections

Topic 4: Computational thinking, problem-solving and programming » 4.3 Introduction to programming
Show 34 related questions
Topic 4: Computational thinking, problem-solving and programming

View options