AKU-EBClass IX (SSC Part I)CHAPTER-WISE NUMERICALS & WORKED PROBLEMS

Computer Science — Chapter-Wise Physics Numericals & Formula Applications

Step-by-step solved numerical word problems from 2024 & 2025 Annual Papers I & II, Model Papers I & II, and chapter formula banks, mapped to 2025 syllabus SLOs with SI units and KaTeX equations.

Back to Computer Science Subject Hub

Select a Chapter (or Browse All Below)

Click any unit card to filter to that specific chapter, or use the search bar to find any concept, formula, or SLO code.

UNIT 2 • 1 NUMERICAL PROBLEMS

Unit 2: Computational Thinking and Algorithms — Worked Numericals

2025 Syllabus Outcome (2.3.3): solve the trace table for a given flowchart.
Diagram for Q.1
📋 Official Checking Hints (Marking Scheme):
  • Correctly determines the value of X for Iteration 1 (X = 3, or initial X = 1).
  • Correctly determines the value of X for Iteration 2 (X = 5, or 3).
  • Correctly determines the value of X for Iteration 3 (X = 7, or 5) where X > 5 terminates the loop.
UNIT 3 • 3 NUMERICAL PROBLEMS

Unit 3: Programming Fundamentals (JavaScript, HTML & CSS) — Worked Numericals

2025 Syllabus Outcome (3.11.3): use the increment (++) and decrement (--) operators in a JavaScript code.
📋 Official Checking Hints (Marking Scheme):
  • Declares and initialises var score = 3; and applies the increment operator score++;.
  • Displays the updated score on the webpage using document.write(score);.
2025 Syllabus Outcome (3.4.1): write HTML code to create: a. ordered list, b. unordered list, c. definition list;
Diagram for Q.3
📋 Official Checking Hints (Marking Scheme):
  • Writes the HTML document structure with <title>About Pakistan</title> and heading <h1>Cities of Pakistan</h1>.
  • Uses the ordered list <ol>...</ol> container tag.
  • Encloses all five city items (Karachi, Lahore, Quetta, Gilgit, Peshawar) inside <li>...</li> tags.
2025 Syllabus Outcome (3.10.5): apply output functions: innerHTML, document.write( ) and window.alert( ) to display the output;
📋 Official Checking Hints (Marking Scheme):
  • Creates valid HTML <script>...</script> block and declares var name = "Adnan";.
  • Outputs the variable on the webpage using document.write(name);.