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

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

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.

251. Which is the negation of "Some servers are down"?

  1. Some servers are up
  2. At least one server is down
  3. No server is down
  4. All servers are down

Answer: C) No server is down

Explanation: The negation of 'some' is 'none'. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

252. A file of 600 MB downloads at 5 MB/s. How long does it take?

  1. 30 seconds
  2. 5 minutes
  3. 2 minutes
  4. 120 minutes

Answer: C) 2 minutes

Explanation: 600 ÷ 5 = 120 s = 2 min. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

253. Find the next number in the series: 0, 7, 26, 63, 124, ?

  1. 185
  2. 213
  3. 216
  4. 215

Answer: D) 215

Explanation: n³ − 1. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

254. A recursive function must always have:

  1. A loop inside it
  2. Two parameters
  3. A base case that stops recursion
  4. A global variable

Answer: C) A base case that stops recursion

Explanation: Without a base case, recursion never ends (stack overflow). Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

255. Find the next number in the series: 50, 46, 42, 38, 34, ?

  1. 31
  2. 60
  3. 30
  4. 28

Answer: C) 30

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

Discuss this question

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

  1. 32
  2. 128
  3. 64
  4. 12

Answer: C) 64

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

Discuss this question

257. An item bought for Rs. 800 is sold for Rs. 1000. Find the profit percentage.

  1. 200%
  2. 25%
  3. 35%
  4. 20%

Answer: B) 25%

Explanation: Profit % = SP − CP ÷ CP × 100 = 200 ÷ 800 × 100 = 25%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

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

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

Answer: C) True

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

Discuss this question

259. A data plan costs Rs. 1,500 for 30 GB. What is the cost per GB?

  1. Rs. 60
  2. Rs. 30
  3. Rs. 50
  4. Rs. 45

Answer: C) Rs. 50

Explanation: 1,500 ÷ 30 = 50. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

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

  1. 18 days
  2. 10 days
  3. 8 days
  4. 36 days

Answer: C) 8 days

Explanation: Together = ab ÷ (a + b) = 12×24 ÷ 36 = 8 days. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

261. In how many different orders can 5 different files be uploaded one after another?

  1. 25
  2. 32
  3. 120
  4. 24

Answer: C) 120

Explanation: 5! = 120. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

262. Find the missing number: 5, 10, ?, 40, 80

  1. 15
  2. 30
  3. 25
  4. 20

Answer: D) 20

Explanation: ×2 each step. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

263. In a code language, TREE is written as XVII. How is HEAP written in that code?

  1. LIET
  2. TEIL
  3. DAWL
  4. MJFU

Answer: A) LIET

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

Discuss this question

264. A pie chart shows a budget of Rs. 2,000,000 with 15% on cloud services. The cloud spending is:

  1. Rs. 1,500,000
  2. Rs. 300,000
  3. Rs. 150,000
  4. Rs. 30,000

Answer: B) Rs. 300,000

Explanation: 0.15 × 2,000,000 = 300,000. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

265. Of 100 students, 70 passed Programming and 60 passed Databases; 10 failed both. How many passed both?

  1. 30
  2. 20
  3. 40
  4. 50

Answer: C) 40

Explanation: Passed at least one = 90 = 70 + 60 − both ⇒ both = 40. Lesson 1.5 · Problem Solving & Analytical Skills

Discuss this question

266. Which step should come first when solving a programming problem?

  1. Start coding immediately
  2. Optimise the code
  3. Understand the problem and its inputs/outputs
  4. Write documentation

Answer: C) Understand the problem and its inputs/outputs

Explanation: Understanding the problem prevents wasted effort. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

267. All A are B. Some B are C. Which is definitely true?

  1. Some A are C
  2. Some B are A
  3. All C are B
  4. No A is C

Answer: B) Some B are A

Explanation: 'All A are B' always gives 'Some B are A'; nothing definite links A and C. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

268. In a code language, BYTE is written as DAVG. How is WORD written in that code?

  1. UMPB
  2. YQTF
  3. ZRUG
  4. FTQY

Answer: B) YQTF

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

Discuss this question

269. What is the hexadecimal value of decimal 171?

  1. 171
  2. AB
  3. AA
  4. AC

Answer: B) AB

Explanation: 171 = AB in base 16. Lesson 1.4 · Problem Solving & Analytical Skills

Discuss this question

270. Find the next number in the series: 2, 6, 18, 54, 162, ?

  1. 270
  2. 487
  3. 486
  4. 484

Answer: C) 486

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

Discuss this question

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

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

Answer: A) 15

Explanation: nCr = 6C2 = 15. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

272. If CAT is coded as DBU, how is DOG coded?

  1. DPH
  2. EPH
  3. CNF
  4. EPG

Answer: B) EPH

Explanation: Each letter +1. Lesson 1.3 · Problem Solving & Analytical Skills

Discuss this question

273. An item bought for Rs. 200 is sold for Rs. 250. Find the profit percentage.

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

Answer: D) 25%

Explanation: Profit % = SP − CP ÷ CP × 100 = 50 ÷ 200 × 100 = 25%. Lesson 1.2 · Problem Solving & Analytical Skills

Discuss this question

274. In a code language, NODE is written as MNCD. How is EDGE written in that code?

  1. DFCD
  2. FEHF
  3. EDGE
  4. DCFD

Answer: D) DCFD

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

Discuss this question

275. A is B's sister. C is B's mother. D is C's father. How is A related to D?

  1. Granddaughter
  2. Daughter
  3. Grandmother
  4. Sister

Answer: A) Granddaughter

Explanation: D is the grandfather of A, so A is D's granddaughter. Lesson 1.1 · Problem Solving & Analytical Skills

Discuss this question

Previous Page 11 of 13 Next

Practise NSCT: Problem Solving & Analytical Skills MCQs

More Computer Science chapters