/en-tutor-prep-s3-ict-python-basics-practice-1/
/en-tutor-prep-s3-ict-python-basics-practice-1/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

S3 ICT: Python Programming Basics (Paper 1 (basics))

S3 ICT: Python Programming Basics (Paper 1 (basics))

  • 2026-11-14

S3 ICT: Python Programming Basics (Paper 1 (basics))

Paper 1 (basics): ten questions on Python programming basics, with answers and notes.

Direct answers Level: S3 ICT; format: variables, arithmetic, type conversion, range boundaries, loops and conditionals.

01 Paper details (check answers afterwards)

Item Detail
Questions 10
Suggested time 20
Difficulty mix Foundation 3 · Intermediate 3 · Challenge 3 · Error redo 1
Chapter Chapter: S3 ICT: Python Programming Basics
Level S3

02 Questions (10 items)

  1. FoundationA program sets a = 5 and b = 3, then prints a + b. What is the output?
  2. FoundationThe same program now prints a * b. What is the output?
  3. FoundationWhat do print(7 // 2) and print(7 % 2) output?
  4. IntermediateWhat is the output of print(2 ** 5)?
  5. IntermediateAfter input reads the string “12”, the program prints int(“12”) + 8. What is the output?
  6. IntermediateWhat is the output of print(“Hi” + “there”)?
  7. ChallengeWhat is the output of print(len(“Python”))?
  8. ChallengeHow many times does the loop for i in range(5) run?
  9. ChallengeWhat is the output of print(3 + 4 * 2)?
  10. Error redoError clinic: a student expects print(10 / 4) to give 2. What is the correct output?

03 Answers and one-line notes

# Answer One-line note
1 8 The plus sign adds the two integers, so 5 plus 3 gives 8.
2 15 The star sign means multiply, so 5 times 3 gives 15.
3 3 and 1 Double slash keeps the whole-number part of the quotient, 3, and the percent sign gives the remainder, 1.
4 32 The double star means power, so 2 multiplied five times gives 32.
5 20 int converts the string to the integer 12, then adding 8 gives 20.
6 Hithere The plus sign joins the two strings without inserting a space.
7 6 len counts the characters, and Python has six letters.
8 5 times range(5) produces the five numbers 0 to 4, so the loop runs five times.
9 11 Multiplication is done first, so 4 times 2 is 8 and adding 3 gives 11.
10 2.5 A single slash does true division and keeps the decimal, giving 2.5; use 10 // 4 for the whole part.

04 What to do after marking

  • After marking, redo only the wrong items and write down which step went wrong (formula, unit, or misread number).
  • Repeat the same item two days later; move to the next paper only when both attempts are correct.
  • Parents only need the answer and note columns; there is no need to explain every item.

Write down the value of every variable line by line before stating the output. Remember input returns a string, so convert it with int before adding.Tutor Registration →

Questions and answers are written originally by the TutorZone team and are not taken from any school, publisher or examination authority paper. Every value is checked by computer.

© TutorZone · www.tutorzone.com.hk · For personal study and teaching use only.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →