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

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

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.

151. In how many ways can 3 different prizes be given to 3 of 10 students (order matters)?

  1. 120
  2. 720
  3. 360
  4. 1000

Answer: B) 720

Explanation: nPr = 10P3 = 720. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

152. 30% of students passed in a class of 60. How many failed?

  1. 18
  2. 40
  3. 30
  4. 42

Answer: D) 42

Explanation: 70% of 60 = 42. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

153. If p = True, q = True and r = False, what is the value of the Boolean expression (p != q) and r?

  1. Undefined
  2. False
  3. True
  4. Error

Answer: B) False

Explanation: Evaluate inner brackets first: result = False. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

154. A person walks 6 km North, turns left and walks 8 km. In which direction and how far is he from the start?

  1. 2 km West
  2. 14 km North
  3. 10 km North-West
  4. 10 km North-East

Answer: C) 10 km North-West

Explanation: Left from North is West; √(6² + 8²) = 10, direction North-West. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

155. Convert 18 km/h into m/s.

  1. 5 m/s
  2. 64.8 m/s
  3. 10 m/s
  4. 6 m/s

Answer: A) 5 m/s

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

Discuss this question

156. In a code language, DATA is written as GDWD. How is NULL written in that code?

  1. QXOO
  2. RYPP
  3. OOXQ
  4. KRII

Answer: A) QXOO

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

Discuss this question

157. Find the simple interest on Rs. 12,000 at 8% per year for 2 years.

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

Answer: B) Rs. 1,920

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

Discuss this question

158. Find the average (mean) of 5, 9, 13, 7, 11.

  1. 11.25
  2. 11
  3. 10
  4. 9

Answer: D) 9

Explanation: Sum 45 ÷ 5 = 9. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

159. No cats are dogs. Some pets are cats. Which conclusion definitely follows?

  1. Some dogs are cats
  2. No pets are dogs
  3. Some pets are not dogs
  4. All pets are cats

Answer: C) Some pets are not dogs

Explanation: The pets that are cats cannot be dogs, so at least those pets are not dogs. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

160. Find the average (mean) of 12, 15, 18, 21, 24.

  1. 20
  2. 18
  3. 22.5
  4. 19

Answer: B) 18

Explanation: Sum 90 ÷ 5 = 18. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

161. In a code language, JAVA is written as KBWB. How is BASH written in that code?

  1. AZRG
  2. ITBC
  3. CBTI
  4. DCUJ

Answer: C) CBTI

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

Discuss this question

162. In a flowchart, a decision is shown by a:

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

Answer: A) Diamond

Explanation: Diamonds have yes/no branches. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

163. Developer A can finish a module in 12 days and developer B in 6 days. Working together, how many days will they take?

  1. 9 days
  2. 4 days
  3. 6 days
  4. 18 days

Answer: B) 4 days

Explanation: Together = ab ÷ (a + b) = 12×6 ÷ 18 = 4 days. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

164. An argument says, "Our app is the best because it has the most downloads." Which assumption does it rely on?

  1. Downloads are free
  2. More downloads means better quality
  3. Competitors have no downloads
  4. All users rate apps

Answer: B) More downloads means better quality

Explanation: The conclusion depends on equating popularity with quality. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

165. How many times does this loop run? for (int i = 0; i <= 9; i++)

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

Answer: A) 10

Explanation: i takes values 0 to 9. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

166. A shopkeeper buys an item for Rs. 400 and sells it for Rs. 500. Profit percentage is:

  1. 100%
  2. 50%
  3. 20%
  4. 25%

Answer: D) 25%

Explanation: 100 ÷ 400 × 100 = 25%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

167. What is the hexadecimal value of decimal 255?

  1. FF
  2. 255
  3. FE
  4. 100

Answer: A) FF

Explanation: 255 = FF in base 16. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

168. If 12 workers build a wall in 10 days, how many days will 15 workers take (same rate)?

  1. 12.5 days
  2. 9 days
  3. 6 days
  4. 8 days

Answer: D) 8 days

Explanation: Work = 120 worker-days; 120 ÷ 15 = 8. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

169. In the full truth table of p and (q or r) (8 rows for p, q, r), how many rows give TRUE?

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

Answer: A) 3

Explanation: Checking all 8 combinations gives 3 TRUE rows. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

170. Four people P, Q, R, S each use a different language: C++, Java, Python, Go. P does not use Java or Go. Q uses Python. R does not use Go. Who uses Go?

  1. P
  2. R
  3. Q
  4. S

Answer: D) S

Explanation: Q = Python; P ∈ {C++}; R ∈ {Java}; so S = Go. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

171. Sales rose from 200 units in January to 250 in February. The percentage growth is:

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

Answer: D) 25%

Explanation: 50 ÷ 200 = 25%. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

172. If A = 1, B = 2, …, Z = 26, what is the sum of the letter values of QUERY?

  1. 96
  2. 84
  3. 86
  4. 87

Answer: C) 86

Explanation: Add the positions: 17 + 21 + 5 + 18 + 25 = 86. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

173. Dividing by zero while the program runs causes a:

  1. Logical error
  2. Syntax error
  3. Runtime error
  4. Compilation error

Answer: C) Runtime error

Explanation: It occurs during execution. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

174. In a class, 60% like Python, 50% like Java and 30% like both. What percentage like neither?

  1. 30%
  2. 10%
  3. 20%
  4. 0%

Answer: C) 20%

Explanation: Like at least one = 60 + 50 − 30 = 80%; neither = 20%. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

175. A value changes from 150 to 120. What is the percentage change?

  1. 25% decrease
  2. 20% increase
  3. 30% decrease
  4. 20% decrease

Answer: D) 20% decrease

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

Discuss this question

Previous Page 7 of 13 Next

Practise NSCT: Problem Solving & Analytical Skills MCQs

More Computer Science chapters