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

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

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.

276. How many different 4-digit PINs can be made using digits 0–9 if digits may repeat?

  1. 5,040
  2. 1,000
  3. 10,000
  4. 9,000

Answer: C) 10,000

Explanation: 10⁴ = 10,000. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

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

  1. 15
  2. 21
  3. 25
  4. 10

Answer: A) 15

Explanation: Sum 1 + 2 + … + 5 = 5×6/2 = 15. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

278. If all Zips are Zaps and no Zap is a Zop, then:

  1. All Zops are Zips
  2. Some Zaps are Zops
  3. No Zip is a Zop
  4. Some Zips are Zops

Answer: C) No Zip is a Zop

Explanation: Zips lie inside Zaps, which are separate from Zops. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

279. Ali is taller than Bilal. Bilal is taller than Saad. Saad is taller than Danish. Who is the shortest?

  1. Ali
  2. Saad
  3. Bilal
  4. Danish

Answer: D) Danish

Explanation: Order: Ali Bilal Saad Danish. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

280. What is the binary representation of the decimal number 100?

  1. 1100100
  2. 1100101
  3. 0010011
  4. 1100011

Answer: A) 1100100

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

Discuss this question

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

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

Answer: C) 132

Explanation: nPr = 12P2 = 132. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

282. A value changes from 40 to 50. What is the percentage change?

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

Answer: A) 25% increase

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

Discuss this question

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

  1. 36
  2. 28
  3. 16
  4. 56

Answer: B) 28

Explanation: nCr = 8C2 = 28. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

284. Convert 144 km/h into m/s.

  1. 518.4 m/s
  2. 40 m/s
  3. 45 m/s
  4. 48 m/s

Answer: B) 40 m/s

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

Discuss this question

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

  1. 256
  2. 14
  3. 128
  4. 64

Answer: C) 128

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

Discuss this question

286. Find the next number in the series: 3, 1, 6, 2, 12, ?

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

Answer: A) 4

Explanation: Two alternating series, each doubling. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

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

  1. 56
  2. 66
  3. 57
  4. 54

Answer: A) 56

Explanation: Add the positions: 14 + 19 + 3 + 20 = 56. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

288. A laptop's price rises from Rs. 80,000 to Rs. 100,000. The percentage increase is:

  1. 20%
  2. 15%
  3. 80%
  4. 25%

Answer: D) 25%

Explanation: 20,000 ÷ 80,000 × 100 = 25%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

289. What does this algorithm compute? result = 1; for i = 1 to n: result = result × i

  1. 2ⁿ
  2. n! (factorial of n)
  3. Sum 1 to n
  4. n²

Answer: B) n! (factorial of n)

Explanation: It multiplies 1 × 2 × … × n. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

290. Find the simple interest on Rs. 15,000 at 6% per year for 4 years.

  1. Rs. 900
  2. Rs. 3,600
  3. Rs. 18,600
  4. Rs. 3,937

Answer: B) Rs. 3,600

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

Discuss this question

291. The mode of 2, 4, 4, 5, 7, 7, 7, 9 is:

  1. 7
  2. 5.6
  3. 9
  4. 4

Answer: A) 7

Explanation: 7 appears most often. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

292. If p = False, q = False and r = False, what is the value of the Boolean expression (p or q) and not (q and r)?

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

Answer: A) False

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

Discuss this question

293. How many times does the body of this loop execute? c for (int i = 1; i < 20; i += 4) count++;

  1. 4
  2. 5
  3. 19
  4. 6

Answer: B) 5

Explanation: i takes 5 values: 1, 5, 9, 13, 17. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

294. A program to compute an average adds all values but divides by (n + 1). This is a:

  1. Logical error
  2. Runtime error
  3. Hardware fault
  4. Syntax error

Answer: A) Logical error

Explanation: It runs but gives a wrong answer. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

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

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

Answer: A) 4 days

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

Discuss this question

296. In how many ways can 4 people stand in a queue?

  1. 16
  2. 24
  3. 12
  4. 4

Answer: B) 24

Explanation: 4! = 24. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

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

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

Answer: D) 5

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

Discuss this question

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

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

Answer: D) 1/36

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

Discuss this question

299. A project is 40% complete after 6 weeks at a steady rate. How many more weeks to finish?

  1. 6
  2. 10
  3. 15
  4. 9

Answer: D) 9

Explanation: 6 weeks = 40%, so 100% = 15 weeks; 15 − 6 = 9. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

300. Find the next number: 2, 3, 5, 7, 11, 13, ?

  1. 16
  2. 19
  3. 17
  4. 15

Answer: C) 17

Explanation: Prime numbers. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

Previous Page 12 of 13 Next

Practise NSCT: Problem Solving & Analytical Skills MCQs

More Computer Science chapters