IGCSE Edexcel Computer Science

Candidate Assessment & Feedback Report

📊 Assessment Scorecard & Analytics
0 / 20
Final Score
0%
Percentage
U
Estimated Grade
Q1. Which data type is used in Python to store a whole number without a decimal point? [1 Mark]
Examiner Feedback: Correct answer is C) int. Integer data types represent whole numbers without fractional parts.
Q2. What is the output of the Python expression 14 % 4? [1 Mark]
Examiner Feedback: Correct answer is B) 2. The % (modulo) operator calculates the remainder of integer division: 14 divided by 4 gives 3 remainder 2.
Q3. What is the result of the Python floor division expression 14 // 4? [1 Mark]
Examiner Feedback: Correct answer is B) 3. Floor division (//) divides and rounds down to the nearest whole integer.
Q4. Which logical operator in Python evaluates to True if at least one condition is True? [1 Mark]
Examiner Feedback: Correct answer is C) or. The or operator requires only one component operand to evaluate to True.
Q5. In a standard flowchart, which symbol represents a decision or conditional branch? [1 Mark]
Examiner Feedback: Correct answer is C) Diamond. Diamonds denote decision points (e.g. IF statements). Rectangles denote processes and parallelograms denote Input/Output.
Q6. What is an essential prerequisite for performing a Binary Search on a list? [1 Mark]
Examiner Feedback: Correct answer is B) Sorted list. Binary search works by comparing the target with the midpoint, which assumes items are ordered.
Q7. Which statement accurately describes a key operational feature of a Linear Search? [1 Mark]
Examiner Feedback: Correct answer is B. Linear search sequentially checks every item until a match is found or the end of list is reached.
Q8. Which sorting algorithm compares adjacent pairs of values and swaps them if out of order? [1 Mark]
Examiner Feedback: Correct answer is D) Bubble sort. Bubble sort repeatedly iterates through a list, swapping adjacent elements when out of order.
Q9. Which Python control structure is designed for count-controlled iteration over a known sequence? [1 Mark]
Examiner Feedback: Correct answer is B) for loop. for loops execute a fixed number of times over a sequence/range.
Q10. What is the result of the expression word[0] if word = "PYTHON"? [1 Mark]
Examiner Feedback: Correct answer is A) "P". Python utilizes zero-indexed positioning; index 0 accesses the first character.
Q11. Which built-in Python method adds a new element to the end of a list? [1 Mark]
Examiner Feedback: Correct answer is B) append(). The .append() method inserts the passed element at the tail of the list.
Q12. Which type of error allows a program to run to completion but produces incorrect outputs? [1 Mark]
Examiner Feedback: Correct answer is B) Logic error. Syntax errors prevent compilation/execution, while logic errors produce incorrect program behavior.
Q13. Which line of Python code contains a syntax error? [1 Mark]
Examiner Feedback: Correct answer is B. Python conditional headers require a colon (:) at the end of the line.
Q14. Which keyword is used in Python to declare a user-defined function? [1 Mark]
Examiner Feedback: Correct answer is C) def. The def keyword initiates a function header in Python.
Q15. What keyword is used inside a function to pass a calculated value back to the caller? [1 Mark]
Examiner Feedback: Correct answer is C) return. return terminates function execution and hands the result back to the calling scope.
Q16. Which flowchart shape represents inputting data or outputting information? [1 Mark]
Examiner Feedback: Correct answer is B) Parallelogram. Parallelograms denote Input/Output operations in flowchart standard conventions.
Q17. What is the default data type returned by Python's standard input() function? [1 Mark]
Examiner Feedback: Correct answer is C) str. input() always returns user input formatted as a string, requiring explicit type casting (e.g. int()) for numerical math.
Q18. What is the primary purpose of constructing a trace table for an algorithm? [1 Mark]
Examiner Feedback: Correct answer is B. Trace tables track state variations in variables step-by-step through dry runs.
Q19. What happens if the condition of a while loop in Python never becomes False? [1 Mark]
Examiner Feedback: Correct answer is C) Infinite loop. Indefinite loops rely on updating boundary variables inside the body; otherwise execution never exits.
Q20. What value is returned by len(["apple", "banana", "cherry"])? [1 Mark]
Examiner Feedback: Correct answer is B) 3. The len() function measures total top-level element count in the array/list.