26. A man walks 3 km East, then 4 km North. How far is he from the starting point?
- 7 km
- 5 km
- 1 km
- 12 km
Answer: B) 5 km
Explanation: By Pythagoras, √(3² + 4²) = 5. Lesson 1.1 · Problem Solving & Analytical Skills
MCQs / Computer Science / NSCT: Problem Solving & Analytical Skills
302 multiple-choice questions on NSCT: Problem Solving & Analytical Skills from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.
Answer: B) 5 km
Explanation: By Pythagoras, √(3² + 4²) = 5. Lesson 1.1 · Problem Solving & Analytical Skills
Answer: C) 11111111
Explanation: 255 = 11111111₂ (repeated division by 2). Lesson 1.4 · Problem Solving & Analytical Skills
Answer: D) 56
Explanation: nCr = 8C5 = 56. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: C) 3024
Explanation: nPr = 9P4 = 3024. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: A) 55
Explanation: Add the positions: 3 + 12 + 15 + 21 + 4 = 55. Lesson 1.3 · Problem Solving & Analytical Skills
Answer: A) 4% decrease
Explanation: 20 − 20 + (20 × −20)/100 = −4%. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: A) Sequence, selection and iteration
Explanation: Every program combines these three. Lesson 1.4 · Problem Solving & Analytical Skills
Answer: D) Abstraction
Explanation: A map is an abstraction of the real city. Lesson 1.4 · Problem Solving & Analytical Skills
Answer: C) 1/12
Explanation: 3 favourable outcomes out of 36, so 1/12. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: C) 120
Explanation: nCr = 10C3 = 120. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: B) Reproduce the bug reliably
Explanation: You cannot fix what you cannot reproduce. Lesson 1.6 · Problem Solving & Analytical Skills
Answer: C) 21
Explanation: It adds the digits: 9 + 0 + 7 + 5 = 21. Lesson 1.4 · Problem Solving & Analytical Skills
Answer: C) 224
Explanation: Multiply by 2 each time. Lesson 1.3 · Problem Solving & Analytical Skills
Answer: C) Tracing (print debugging)
Explanation: It shows how values change step by step. Lesson 1.6 · Problem Solving & Analytical Skills
Answer: C) Rs. 1,200
Explanation: Smaller share = 6000 × 1/5 = 1,200. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: B) increase of 56%
Explanation: Successive change = a + b + ab/100 = 30 + (20) + (30×20)/100 = 56%. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: C) 15,600
Explanation: 26 × 25 × 24 = 15,600. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: A) Oracle
Explanation: Oracle is a database / company; the others are programming languages. Lesson 1.3 · Problem Solving & Analytical Skills
Answer: C) At least one test failed
Explanation: The negation of 'all' is 'at least one is not'. Lesson 1.1 · Problem Solving & Analytical Skills
Answer: C) 6
Explanation: Halving 64 until it reaches 1 takes 6 steps (≈ log₂ 64). Lesson 1.6 · Problem Solving & Analytical Skills
Answer: B) Pause execution and inspect variables
Explanation: Breakpoints are the main debugging tool. Lesson 1.6 · Problem Solving & Analytical Skills
Answer: A) 180,000
Explanation: 1,200 × 150 = 180,000. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: B) 30% increase
Explanation: Change ÷ old value × 100 = 600 ÷ 2000 × 100 = 30%. Lesson 1.2 · Problem Solving & Analytical Skills
Answer: A) If a user cannot delete files, then the user is not an admin
Explanation: The contrapositive (NOT q → NOT p) is always equivalent. Lesson 1.1 · Problem Solving & Analytical Skills
Answer: B) 20
Explanation: 72 × 5/18 = 20 m/s. Lesson 1.2 · Problem Solving & Analytical Skills
Practise NSCT: Problem Solving & Analytical Skills MCQs