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

NSCT: Problem Solving & Analytical Skills MCQs — Computer Science (page 3)

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.

51. The median of 3, 9, 1, 7, 5 is:

  1. 9
  2. 5
  3. 7
  4. 3

Answer: B) 5

Explanation: Sorted: 1, 3, 5, 7, 9 – the middle is 5. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

52. A value changes from 120 to 90. What is the percentage change?

  1. 25% increase
  2. 25% decrease
  3. 30% decrease
  4. 100/3% decrease

Answer: B) 25% decrease

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

Discuss this question

53. To swap the values of a and b using a temporary variable, the correct order is:

  1. temp = a; b = temp; a = b
  2. temp = a; a = b; b = temp
  3. a = temp; temp = b; b = a
  4. a = b; b = a

Answer: B) temp = a; a = b; b = temp

Explanation: Store a first, overwrite a, then restore into b. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

54. Find the compound interest on Rs. 12,000 at 8% per year for 2 years (compounded yearly).

  1. Rs. 1,920
  2. Rs. 1,997
  3. Rs. 2,097
  4. Rs. 13,997

Answer: B) Rs. 1,997

Explanation: Amount = 12,000 × (1 + 8/100)^2 = 13,997; CI = amount − P = 1,997. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

55. A function is meant to return the maximum of a list but returns the wrong value for lists of negative numbers. The most likely bug is:

  1. The list is sorted
  2. The loop runs too many times
  3. The maximum was initialised to 0 instead of the first element
  4. The function is recursive

Answer: C) The maximum was initialised to 0 instead of the first element

Explanation: With all negatives, 0 is larger than every element and is wrongly returned. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

56. Convert the binary number 1000000 to decimal.

  1. 1
  2. 65
  3. 63
  4. 64

Answer: D) 64

Explanation: Add powers of 2 where the bit is 1: 64. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

57. A fair coin is tossed twice. The probability of getting two heads is:

  1. 1/4
  2. 1/2
  3. 1/3
  4. 3/4

Answer: A) 1/4

Explanation: 1/2 × 1/2 = 1/4. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

58. A manager must choose 3 interns from 5 applicants (order does not matter). How many choices are possible?

  1. 40
  2. 60
  3. 10
  4. 15

Answer: C) 10

Explanation: nCr = 5C3 = 10. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

59. Find the next letter: A, C, F, J, ?

  1. N
  2. M
  3. P
  4. O

Answer: D) O

Explanation: Gaps +2, +3, +4, +5. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

60. In how many ways can 2 different prizes be given to 2 of 6 students (order matters)?

  1. 15
  2. 30
  3. 12
  4. 36

Answer: B) 30

Explanation: nPr = 6P2 = 30. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

61. A table shows sales of 120, 150 and 180 units in three months. The average monthly sales is:

  1. 160
  2. 140
  3. 450
  4. 150

Answer: D) 150

Explanation: 450 ÷ 3 = 150. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

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

  1. 10
  2. 64
  3. 32
  4. 16

Answer: C) 32

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

Discuss this question

63. In a certain code, 246 means "data is good", 467 means "good code is", 893 means "fast slow run". What does 2 mean?

  1. good
  2. code
  3. data
  4. is

Answer: C) data

Explanation: 4 and 6 are common to 'is' and 'good', so 2 = data. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

64. What is the hexadecimal value of decimal 60?

  1. 3C
  2. 3B
  3. 60
  4. 3D

Answer: A) 3C

Explanation: 60 = 3C in base 16. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

65. What is printed? python total = 0 for i in range(1, 21): total += i print(total)

  1. 231
  2. 210
  3. 190
  4. 400

Answer: B) 210

Explanation: Sum 1 + 2 + … + 20 = 20×21/2 = 210. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

66. The statement "If it rains, the match is cancelled" is FALSE when:

  1. It rains and the match is not cancelled
  2. It does not rain and the match is cancelled
  3. It does not rain and the match is played
  4. It rains and the match is cancelled

Answer: A) It rains and the match is not cancelled

Explanation: An implication is false only when the condition is true and the result is false. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

67. What is the binary representation of the decimal number 150?

  1. 10010111
  2. 10010110
  3. 10010101
  4. 01101001

Answer: B) 10010110

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

Discuss this question

68. A survey shows ice-cream sales and drowning cases both rise in summer. The best conclusion is:

  1. Drowning causes ice-cream sales
  2. Ice cream causes drowning
  3. A third factor (hot weather) may cause both
  4. The data is wrong

Answer: C) A third factor (hot weather) may cause both

Explanation: Correlation does not prove causation. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

69. A manager must choose 3 interns from 7 applicants (order does not matter). How many choices are possible?

  1. 210
  2. 35
  3. 21
  4. 42

Answer: B) 35

Explanation: nCr = 7C3 = 35. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

70. By De Morgan's law, NOT (A OR B) equals:

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

Answer: A) (NOT A) AND (NOT B)

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

Discuss this question

71. Find the next number in the series: 100, 85, 70, 55, 40, ?

  1. 50
  2. 25
  3. 23
  4. 26

Answer: B) 25

Explanation: Add -15 each time. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

72. Find the next number: 7, 10, 8, 11, 9, 12, ?

  1. 14
  2. 10
  3. 13
  4. 11

Answer: B) 10

Explanation: Alternating +3 and −2. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

73. Find the next number in the series: 3, 14, 25, 36, 47, ?

  1. 58
  2. 59
  3. 56
  4. 116

Answer: A) 58

Explanation: Add 11 each time. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

74. How many times does the loop run? python n = 1000 steps = 0 while n 1: n = n // 2 steps += 1 print(steps)

  1. 10
  2. 500
  3. 8
  4. 9

Answer: D) 9

Explanation: Halving 1000 until it reaches 1 takes 9 steps (≈ log₂ 1000). Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

75. 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

Previous Page 3 of 13 Next

Practise NSCT: Problem Solving & Analytical Skills MCQs

More Computer Science chapters