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

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

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.

226. A subscription price is first increased by 40% and then decreased by 25%. The overall effect is:

  1. increase of 15%
  2. increase of 7%
  3. decrease of 5%
  4. increase of 5%

Answer: D) increase of 5%

Explanation: Successive change = a + b + ab/100 = 40 + (-25) + (40×-25)/100 = 5%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

227. What is the binary representation of the decimal number 31?

  1. 11110
  2. 100000
  3. 11111
  4. 100001

Answer: C) 11111

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

Discuss this question

228. Two algorithms solve a task: X takes 5n operations, Y takes n² operations. For which n is X faster?

  1. n < 5
  2. Never
  3. n 5
  4. n = 1 only

Answer: C) n 5

Explanation: 5n < n² when n 5. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

229. The average of 5 numbers is 40. If one number, 60, is removed, the new average is:

  1. 40
  2. 30
  3. 36
  4. 35

Answer: D) 35

Explanation: (200 − 60) ÷ 4 = 35. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

230. A condition (age = 18) AND (hasID OR isAccompanied) is checked for a 16-year-old who has an ID. The result is:

  1. True, because OR is true
  2. False, because the first part is false
  3. Cannot be determined
  4. True, because hasID is true

Answer: B) False, because the first part is false

Explanation: AND needs both sides true; age = 18 is false. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

231. A subscription price is first increased by 20% and then increased by 10%. The overall effect is:

  1. increase of 30%
  2. increase of 34%
  3. increase of 32%
  4. decrease of 32%

Answer: C) increase of 32%

Explanation: Successive change = a + b + ab/100 = 20 + (10) + (20×10)/100 = 32%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

232. Two fair dice are rolled. What is the probability that the sum is 8?

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

Answer: C) 5/36

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

Discuss this question

233. Find the simple interest on Rs. 8,000 at 5% per year for 3 years.

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

Answer: C) Rs. 1,200

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

Discuss this question

234. Which is NOT a property of a good algorithm?

  1. It is finite
  2. It is unambiguous
  3. It runs forever
  4. It produces output

Answer: C) It runs forever

Explanation: An algorithm must stop after a finite number of steps. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

235. Find the compound interest on Rs. 25,000 at 10% per year for 3 years (compounded yearly).

  1. Rs. 8,275
  2. Rs. 33,275
  3. Rs. 8,375
  4. Rs. 7,500

Answer: A) Rs. 8,275

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

Discuss this question

236. In a code language, HASH is written as FYQF. How is SORT written in that code?

  1. RNQS
  2. QMPR
  3. RPMQ
  4. UQTV

Answer: B) QMPR

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

Discuss this question

237. In how many different orders can 7 different files be uploaded one after another?

  1. 5040
  2. 49
  3. 720
  4. 128

Answer: A) 5040

Explanation: 7! = 5,040. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

238. An array has 10 elements. Accessing arr[10] in Java gives:

  1. ArrayIndexOutOfBoundsException
  2. The last element
  3. A syntax error
  4. Zero

Answer: A) ArrayIndexOutOfBoundsException

Explanation: Valid indices are 0 to 9. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

239. Find the simple interest on Rs. 20,000 at 12% per year for 1 years.

  1. Rs. 2,400
  2. Rs. 4,800
  3. Rs. 2,450
  4. Rs. 22,400

Answer: A) Rs. 2,400

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

Discuss this question

240. Pointing to a man, Sara says, "He is the son of my grandfather's only son." The man is Sara's:

  1. Brother
  2. Cousin
  3. Father
  4. Uncle

Answer: A) Brother

Explanation: Grandfather's only son is Sara's father; his son is her brother. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

241. In a code of conduct: "Every manager attends the meeting. Nobody who attends the meeting works remotely." What can be concluded?

  1. No manager works remotely
  2. Some managers work remotely
  3. All who attend are managers
  4. All remote workers are managers

Answer: A) No manager works remotely

Explanation: Managers ⊂ attendees, and attendees ∩ remote = ∅. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

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

  1. 21
  2. 5555
  3. 20
  4. 4

Answer: C) 20

Explanation: It adds the digits: 5 + 5 + 5 + 5 = 20. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

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

  1. 35
  2. 105
  3. 210
  4. 343

Answer: C) 210

Explanation: nPr = 7P3 = 210. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

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

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

Answer: C) 5

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

Discuss this question

245. Convert 36 km/h into m/s.

  1. 15 m/s
  2. 129.6 m/s
  3. 10 m/s
  4. 12 m/s

Answer: C) 10 m/s

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

Discuss this question

246. Find the simple interest on Rs. 5,000 at 10% per year for 2 years.

  1. Rs. 500
  2. Rs. 1,000
  3. Rs. 6,000
  4. Rs. 1,050

Answer: B) Rs. 1,000

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

Discuss this question

247. A test that checks whether a fixed bug has come back after new changes is a:

  1. Usability test
  2. Smoke test
  3. Load test
  4. Regression test

Answer: D) Regression test

Explanation: Regression testing protects old fixes. Lesson 1.6 · Problem Solving & Analytical Skills

Discuss this question

248. Find the compound interest on Rs. 15,000 at 6% per year for 4 years (compounded yearly).

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

Answer: D) Rs. 3,937

Explanation: Amount = 15,000 × (1 + 6/100)^4 = 18,937; CI = amount − P = 3,937. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

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

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

Answer: D) 56

Explanation: nPr = 8P2 = 56. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

250. A subscription price is first increased by 15% and then increased by 10%. The overall effect is:

  1. increase of 28.5%
  2. increase of 25%
  3. increase of 26.5%
  4. decrease of 26.5%

Answer: C) increase of 26.5%

Explanation: Successive change = a + b + ab/100 = 15 + (10) + (15×10)/100 = 26.5%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

Previous Page 10 of 13 Next

Practise NSCT: Problem Solving & Analytical Skills MCQs

More Computer Science chapters