IB · Class 11 · Set 2
Computer Science
Practice for IB 2026-27 assessments. Examination sessions run in May and November according to school registration.
Independent practice paper — verify on official board sources
Disclaimer: BharatBoard is an independent student and parent guide — not affiliated with, associated with, or endorsed by any Central Board, State Board, school, educational institution, recruitment commission, or government body, and does not represent any government entity. We recommend that you contact and verify all exam results, date sheets, syllabi, school admission dates, eligibility criteria, fee schedules, scholarships, and government job notifications directly with the respective school, institution, Central Board, State Board, or recruitment body via their official websites and notifications. These questions are original practice items for revision. Follow the official syllabus, the prescribed textbooks, and your school or institution. Model answers are a study aid. They are not an official marking scheme.
IB Class 11 Computer Science, Set 2, is an original BharatBoard revision set of 20 marks. It is shorter than a full board paper. The official syllabus and sample papers on the IB website remain the authority.
Timed Exam Mode
Official 60-minute writing countdown
General instructions & how to use this paper
- This revision set has 15 questions and 20 marks. Ten questions are one mark. Five questions are two marks. Attempt every question. A calculator is not needed.
- Timing is typical months only — always verify the exact dates on the official board website, which change every session.
Section A
· Multiple-choice questionsAttempt all ten 1-mark questions.
In the 7-layer OSI networking reference model, which layer handles logical IP addressing and end-to-end packet routing across interconnected networks?
Model answer · Option C
Layer 3 (Network) encapsulates segments into IP packets and selects optimal multi-hop paths across routers from source to destination.
Why do live voice-over-IP calls and real-time video streams favour User Datagram Protocol (UDP) over Transmission Control Protocol (TCP)?
Model answer · Option B
Waiting for retransmitted late audio packets disrupts live conversation worse than skipping a tiny glitch, making connectionless low-overhead UDP ideal.
Which combination of technologies enables a Virtual Private Network (VPN) to protect confidential corporate traffic traversing public Wi-Fi hotspots?
Model answer · Option A
Tunnelling wraps private packets inside outer IP headers while strong encryption renders intercepted payloads unreadable on untrusted networks.
In IB Computer Science pseudocode, what values are stored in Q and R after executing Q = 29 div 6 followed by R = 29 mod 6?
Model answer · Option D
Integer division 29 div 6 yields quotient 4, and modulo 29 mod 6 returns remainder 29 − 24 = 5.
What mandatory precondition must hold before binary search can reliably locate a target key inside a 1D array of 10,000 customer IDs?
Model answer · Option C
Binary search halves the remaining search interval by comparing against the midpoint; unsorted order invalidates discarding either half.
At most how many midpoint comparisons does binary search require to confirm whether a target exists inside a sorted array of 1,024 distinct items?
Model answer · Option B
Halving 1,024 repeatedly (2¹⁰ = 1,024) narrows down to one single element in at most ⌊log₂(1024)⌋ + 1 = 11 comparisons.
When designing a subway route-planner map that omits surface street bends and building shapes to show only station nodes and transfer lines, which thinking skill is applied?
Model answer · Option A
Abstraction strips away irrelevant real-world detail so algorithms and users focus exclusively on essential structural relationships.
In standard IB pseudocode for processing an unordered Collection named SCORES, why is SCORES.resetNext() called immediately before a while SCORES.hasNext() loop?
Model answer · Option D
If prior code iterated through SCORES, the internal pointer sits at the end; resetNext() rewinds it so traversal starts cleanly from item one.
Why does relying exclusively on MAC-address whitelisting fail to secure a school wireless LAN against determined intruders?
Model answer · Option C
Because 48-bit MAC addresses travel visible in frame headers, an attacker can observe an authorised address and clone it onto their own adapter.
During the first complete outer pass of ascending Bubble Sort on [9, 3, 7, 2], which element is guaranteed to settle into its final index?
Model answer · Option B
Adjacent comparisons swap 9 rightward past 3, 7, and 2, bubbling the maximum element all the way to the end on pass one.
Section B
· Short-answer questionsAttempt all five 2-mark questions.
Trace the IB pseudocode loop: N = 472; S = 0; loop while N > 0: S = S + (N mod 10); N = N div 10; end loop. State final S and N.
Model answer
Pass 1 gives S = 2, N = 47; Pass 2 gives S = 9, N = 4; Pass 3 gives S = 13, N = 0, terminating with digit sum S = 13 and N = 0.
Explain how packet switching improves network resilience compared with dedicated circuit switching.
Model answer
Messages split into numbered packets routed independently across dynamic links; if one router or cable fails mid-transfer, subsequent packets reroute around the outage and reassemble at the destination.
State two concrete software-engineering advantages of decomposing a large payroll program into modular functions with local variables.
Model answer
Independent modules let teams code, unit-test, and reuse sub-routines in parallel, while local variable scoping prevents accidental side-effect overwriting of state across unrelated functions.
Explain why wireless data throughput drops noticeably as more concurrent users join a single Wi-Fi access point far from the antenna.
Model answer
Shared half-duplex radio airtime suffers increased CSMA/CA collision backoff waits, while weaker signal-to-noise ratios at distance force lower modulation data rates and frame retransmissions.
Write concise logic (or pseudocode steps) to count how many integers inside a 100-element array ARR[0..99] are positive multiples of 5.
Model answer
Initialise COUNT = 0; loop I from 0 to 99: if ARR[I] > 0 AND (ARR[I] mod 5 == 0) then COUNT = COUNT + 1; end loop; output COUNT.
Official syllabus & blueprint sources
Syllabus scope and question-paper structure were verified against the official portals below, which remain the sole authority.