MCQs / Computer Science / NSCT: Problem Solving & Analytical Skills

NSCT: Problem Solving & Analytical Skills MCQs — Computer Science

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.

1. Two fair dice are rolled. What is the probability that the sum is 6?

  1. 1/6
  2. 5/36
  3. 6/36
  4. 5/12

Answer: B) 5/36

Explanation: 5 favourable outcomes out of 36, so 5/36. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

2. By De Morgan's law, NOT (A AND B) equals:

  1. NOT A AND B
  2. (NOT A) AND (NOT B)
  3. A OR B
  4. (NOT A) OR (NOT B)

Answer: D) (NOT A) OR (NOT B)

Explanation: Negating an AND turns it into an OR of negations. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

3. A bar chart shows bugs found per week: 40, 32, 25, 20. Which statement is supported?

  1. Software is now bug-free
  2. Bugs found decreased every week
  3. Bugs doubled in week 4
  4. The team stopped testing

Answer: B) Bugs found decreased every week

Explanation: The numbers fall every week; nothing else can be concluded. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

4. What is printed? python x = 1 for in range(4): x = x 2 print(x)

  1. 32
  2. 8
  3. 16
  4. 17

Answer: C) 16

Explanation: Doubling 4 times gives 2^4 = 16. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

5. From a bag with 3 red and 5 blue balls, one ball is drawn. Probability that it is red:

  1. 3/5
  2. 1/3
  3. 3/8
  4. 5/8

Answer: C) 3/8

Explanation: 3 red out of 8 balls. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

6. Find the next number in the series: 3, 9, 27, 81, 243, ?

  1. 727
  2. 405
  3. 730
  4. 729

Answer: D) 729

Explanation: Multiply by 3 each time. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

7. How many times does the body of this loop execute? c for (int i = 2; i < 30; i += 7) count++;

  1. 28
  2. 4
  3. 5
  4. 3

Answer: B) 4

Explanation: i takes 4 values: 2, 9, 16, 23. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

8. Input and output in a flowchart are shown by a:

  1. Rectangle
  2. Diamond
  3. Parallelogram
  4. Circle

Answer: C) Parallelogram

Explanation: Parallelograms show I/O. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

9. You face North and turn right, then right again. Which direction do you face now?

  1. South
  2. West
  3. East
  4. North

Answer: A) South

Explanation: Two right turns = 180°. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

10. What is the binary representation of the decimal number 13?

  1. 1100
  2. 1110
  3. 1011
  4. 1101

Answer: D) 1101

Explanation: 13 = 1101₂ (repeated division by 2). Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

11. Which of these is an example of deductive reasoning?

  1. All primes greater than 2 are odd; 17 is prime, so 17 is odd
  2. The sun rose every day, so it will rise tomorrow
  3. Most users like dark mode, so you will too
  4. Three tests passed, so all tests will pass

Answer: A) All primes greater than 2 are odd; 17 is prime, so 17 is odd

Explanation: Deduction moves from a general rule to a certain conclusion. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

12. Two fair dice are rolled. What is the probability that the sum is 5?

  1. 1/9
  2. 1/3
  3. 1/5
  4. 1/6

Answer: A) 1/9

Explanation: 4 favourable outcomes out of 36, so 1/9. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

13. In a code language, CODE is written as EQFG. How is FILE written in that code?

  1. DGJC
  2. HKNG
  3. ILOH
  4. GNKH

Answer: B) HKNG

Explanation: Each letter is shifted by +2 position(s) in the alphabet. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

14. An item bought for Rs. 640 is sold for Rs. 800. Find the profit percentage.

  1. 35%
  2. 20%
  3. 160%
  4. 25%

Answer: D) 25%

Explanation: Profit % = SP − CP ÷ CP × 100 = 160 ÷ 640 × 100 = 25%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

15. Developer A can finish a module in 21 days and developer B in 28 days. Working together, how many days will they take?

  1. 49 days
  2. 14 days
  3. 12 days
  4. 24.5 days

Answer: C) 12 days

Explanation: Together = ab ÷ (a + b) = 21×28 ÷ 49 = 12 days. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

16. Rs. 1,200 is shared in the ratio 1 : 2. What is the smaller share?

  1. Rs. 400
  2. Rs. 600
  3. Rs. 800
  4. Rs. 500

Answer: A) Rs. 400

Explanation: Smaller share = 1200 × 1/3 = 400. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

17. In how many different orders can 8 different files be uploaded one after another?

  1. 5040
  2. 256
  3. 64
  4. 40,320

Answer: D) 40,320

Explanation: 8! = 40,320. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

18. Searching a sorted list of 1,000,000 items with binary search needs at most about:

  1. 1,000 comparisons
  2. 1,000,000 comparisons
  3. 20 comparisons
  4. 500,000 comparisons

Answer: C) 20 comparisons

Explanation: log₂(1,000,000) ≈ 20. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

19. A value changes from 500 to 650. What is the percentage change?

  1. 30% decrease
  2. 150% increase
  3. 30% increase
  4. 300/13% increase

Answer: C) 30% increase

Explanation: Change ÷ old value × 100 = 150 ÷ 500 × 100 = 30%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

20. Find the odd one out: TCP, UDP, HTTP, RAM

  1. HTTP
  2. RAM
  3. TCP
  4. UDP

Answer: B) RAM

Explanation: RAM is hardware; the others are protocols. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

21. Find the next number in the series: 1, 5, 11, 19, 29, ?

  1. 42
  2. 39
  3. 41
  4. 82

Answer: C) 41

Explanation: Differences increase by 2 each time (4, 6, 8 …). Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

22. Developer A can finish a module in 20 days and developer B in 30 days. Working together, how many days will they take?

  1. 25 days
  2. 14 days
  3. 50 days
  4. 12 days

Answer: D) 12 days

Explanation: Together = ab ÷ (a + b) = 20×30 ÷ 50 = 12 days. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

23. What does this algorithm output for n = 1234? s = 0; while n 0: s = s + n mod 10; n = n div 10

  1. 4321
  2. 1234
  3. 4
  4. 10

Answer: D) 10

Explanation: It adds the digits: 1 + 2 + 3 + 4 = 10. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

24. All computers are machines. All machines need power. Which conclusion follows?

  1. All machines are computers
  2. All computers need power
  3. Some machines do not need power
  4. No computer needs power

Answer: B) All computers need power

Explanation: A inside B, B inside C ⇒ A inside C. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

25. A train runs at 72 km/h. Its speed in m/s is:

  1. 25
  2. 20
  3. 7.2
  4. 72

Answer: B) 20

Explanation: 72 × 5/18 = 20 m/s. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

Page 1 of 13 Next

Practise NSCT: Problem Solving & Analytical Skills MCQs

More Computer Science chapters