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

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

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.

101. Find the simple interest on Rs. 25,000 at 10% per year for 3 years.

  1. Rs. 2,500
  2. Rs. 8,275
  3. Rs. 32,500
  4. Rs. 7,500

Answer: D) Rs. 7,500

Explanation: SI = P × R × T ÷ 100 = 7,500. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

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

  1. 5
  2. 10
  3. 6
  4. 4

Answer: A) 5

Explanation: i takes 5 values: 0, 2, 4, 6, 8. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

103. An item bought for Rs. 1500 is sold for Rs. 1200. Find the loss percentage.

  1. 20%
  2. 300%
  3. 25%
  4. 30%

Answer: A) 20%

Explanation: Loss % = SP − CP ÷ CP × 100 = 300 ÷ 1500 × 100 = 20%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

104. Two fair dice are rolled. What is the probability that the sum is 11?

  1. 1/11
  2. 1/12
  3. 1/6
  4. 1/18

Answer: D) 1/18

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

Discuss this question

105. What does this algorithm output for n = 1234? s = 0 while n 0: s = s + (n mod 10) n = n div 10 print s

  1. 4321
  2. 10
  3. 4
  4. 11

Answer: B) 10

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

Discuss this question

106. Find the next number in the series: 1000, 500, 250, 125, 62.5, ?

  1. 7
  2. 9
  3. 31.25
  4. 31.250

Answer: C) 31.25

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

Discuss this question

107. If A = 1, B = 2 … Z = 26, the value of CODE (sum) is:

  1. 27
  2. 24
  3. 30
  4. 25

Answer: A) 27

Explanation: 3 + 15 + 4 + 5 = 27. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

108. How many times does the body of this loop execute? c for (int i = 5; i < 50; i += 5) count++;

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

Answer: D) 9

Explanation: i takes 9 values: 5, 10, 15, 20, 25, 30, 35, 40, 45. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

109. A company must choose a cloud provider. Requirements: data must stay in Pakistan, budget ≤ Rs. 50,000/month, 99.9% uptime. Provider A: local data, Rs. 45,000, 99.95%. B: foreign data, Rs. 30,000, 99.99%. C: local, Rs. 60,000, 99.99%. D: local, Rs. 40,000, 99.5%. Which meets all requirements?

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

Answer: C) A

Explanation: Only A satisfies location, budget and uptime together. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

110. Find the average (mean) of 100, 120, 140, 110.

  1. 122
  2. 117.5
  3. 118.5
  4. 470/3

Answer: B) 117.5

Explanation: Sum 470 ÷ 4 = 117.5. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

111. Find the compound interest on Rs. 8,000 at 5% per year for 3 years (compounded yearly).

  1. Rs. 1,361
  2. Rs. 1,261
  3. Rs. 1,200
  4. Rs. 9,261

Answer: B) Rs. 1,261

Explanation: Amount = 8,000 × (1 + 5/100)^3 = 9,261; CI = amount − P = 1,261. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

112. Convert the binary number 1100100 to decimal.

  1. 99
  2. 100
  3. 101
  4. 19

Answer: B) 100

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

Discuss this question

113. A program takes 1 second for 1,000 items with an O(n²) algorithm. About how long for 10,000 items?

  1. 10 seconds
  2. 20 seconds
  3. 100 seconds
  4. 1,000 seconds

Answer: C) 100 seconds

Explanation: 10 × more data → 10² = 100 × more time. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

114. Some coders are designers. All designers are creative. Which conclusion follows?

  1. All creative people are designers
  2. No coder is creative
  3. All coders are creative
  4. Some coders are creative

Answer: D) Some coders are creative

Explanation: The coders who are designers must be creative. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

115. Find the next number in the series: 1, 4, 16, 64, 256, ?

  1. 448
  2. 1022
  3. 1025
  4. 1024

Answer: D) 1024

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

Discuss this question

116. Convert the binary number 100101 to decimal.

  1. 36
  2. 41
  3. 37
  4. 38

Answer: C) 37

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

Discuss this question

117. How many times does the body of this loop execute? c for (int i = 0; i < 100; i += 25) count++;

  1. 100
  2. 5
  3. 4
  4. 3

Answer: C) 4

Explanation: i takes 4 values: 0, 25, 50, 75. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

118. A manager must choose 2 interns from 12 applicants (order does not matter). How many choices are possible?

  1. 132
  2. 24
  3. 66
  4. 78

Answer: C) 66

Explanation: nCr = 12C2 = 66. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

119. Convert 108 km/h into m/s.

  1. 35 m/s
  2. 36 m/s
  3. 388.8 m/s
  4. 30 m/s

Answer: D) 30 m/s

Explanation: Multiply by 5/18: 108 × 5/18 = 30 m/s. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

120. Missing a semicolon in Java causes a:

  1. Runtime error
  2. Syntax error
  3. Logical error
  4. Linker warning only

Answer: B) Syntax error

Explanation: The compiler rejects code that breaks grammar rules. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

121. A manager must choose 4 interns from 9 applicants (order does not matter). How many choices are possible?

  1. 126
  2. 135
  3. 3024
  4. 36

Answer: A) 126

Explanation: nCr = 9C4 = 126. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

122. Find the average (mean) of 40, 55, 65, 80.

  1. 61
  2. 80
  3. 67
  4. 60

Answer: D) 60

Explanation: Sum 240 ÷ 4 = 60. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

123. Statement: "Only registered students can sit the NSCT." Which must be true?

  1. Registration is optional
  2. Anyone who sits the NSCT is registered
  3. Every registered student sits the NSCT
  4. Unregistered students sit the NSCT

Answer: B) Anyone who sits the NSCT is registered

Explanation: 'Only A can B' means 'If B, then A'. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

124. What is the binary representation of the decimal number 25?

  1. 11000
  2. 11010
  3. 11001
  4. 10011

Answer: C) 11001

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

Discuss this question

125. 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 5 of 13 Next

Practise NSCT: Problem Solving & Analytical Skills MCQs

More Computer Science chapters