Which statement best describes computational thinking?
Computational Thinking
Question · Easy
A librarian digitising a catalogue splits the work into scanning covers, entering metadata, and uploading files. Which computational thinking technique is shown?
While reviewing monthly sales reports, an analyst notices that online orders always follow the same three validation steps. Identifying this repetition is an example of:
Tech Exam Prep Podcast
Listen on Spotify
Podcast
A train-timetable app shows stations as dots and tracks as lines, ignoring building colours and platform furniture. This modelling choice illustrates:
Which option best defines an algorithm?
In a standard flowchart, which shape represents a decision such as 'Is score >= 50?'
In a flowchart, a parallelogram is normally used to represent:
In a standard flowchart, which shape represents a processing step such as calculating total = price * quantity?
Pseudocode is best described as:
Question · Medium
A student traces this pseudocode: SET count TO 0; REPEAT 3 TIMES: ADD 1 TO count; DISPLAY count. What value is displayed?
Which list shows the four computational thinking techniques emphasised in the ICDL Coding Principles syllabus?
What is the primary difference between an algorithm and a computer program?
An algorithm must be unambiguous. What does 'unambiguous' mean in this context?
Consider pseudocode: IF temperature < 0 THEN DISPLAY 'Frost warning' ELSE DISPLAY 'No frost'. Which structure does the IF…THEN…ELSE represent?
A flowchart shows: Start → Input age → Decision 'age >= 18?' → Yes: Print 'Adult' / No: Print 'Minor' → End. How many decision diamonds appear?
Which activity belongs to the 'analyse the problem' stage of program creation?
Trace this pseudocode: SET total TO 10; SET total TO total + 5; DISPLAY total. What is displayed?
A flowchart loop checks 'counter < 5?' in a diamond, increments counter in a rectangle, and arrows back to the diamond. If counter starts at 0, how many times does the rectangle execute?
Question · Hard
An algorithm to find the largest number in a list is written in pseudocode. A teammate suggests removing the step that initialises a 'largest so far' variable. Why is that step necessary?
Which correction fixes this flawed algorithm for printing even numbers from 2 to 10: 'Start at 1, add 2 each time, stop when greater than 10'?
What is source code?
Starting To Code
Machine code consists of:
What is the main role of a compiler?
An interpreter differs from a compiler because an interpreter:
Which naming example follows common good-practice conventions for a variable storing a student's age?
How does a variable differ from a constant?
Which data type is most appropriate for storing whether a light is on or off?
Which data type should store the price €19.99 including cents?
A program reads a user's surname from the keyboard. This operation is called:
What is the result of the arithmetic expression 10 + 3 * 2 if standard operator precedence is applied?
What value does 17 // 5 produce in languages where // means integer division?
What is the purpose of a parameter in a procedure or function?
Which feature improves code readability according to ICDL guidance on well-structured code?
A variable count is declared as an integer but later assigned the text 'five'. This mismatch most likely causes:
What does the modulus operator (%) typically return for 17 % 5?
Parentheses in the expression (4 + 2) * 3 change the result compared to 4 + 2 * 3 because parentheses:
Which value is a string literal?
A constant MAX_ATTEMPTS is set to 3 at the top of a login program. Why use a named constant instead of typing 3 everywhere?
What is the primary purpose of the assignment operator (=) in most programming languages?
High-level programming languages are described as 'closer to human language' because they:
The logical AND operator returns True when:
Building Using Code
The logical OR operator returns True when:
Applying NOT to the condition isRaining = True produces:
Given A = True and B = False, what is A AND B?
Given A = False and B = True, what is A OR B?
With x = 8 and y = 3, what is (x > 5) AND (y < 5)?
Which construct selects between alternative code paths based on a condition?
Loading more…