Online Quiz
← Back
Get daily current affairs & exam alerts – follow us
YouTube
WhatsApp Channel
Telegram Channel
Facebook Page
Instagram
Share with friends & study groups
Link to this page from your website / blog (HTML code)
1.
Consider the following statements:
I. A compiled program generally runs faster than the same program run through an interpreter.
II. An interpreter creates a separate object file.
III. An assembler translates high-level language into machine language.
Which of the statements given above is/are correct?
I. A compiled program generally runs faster than the same program run through an interpreter.
II. An interpreter creates a separate object file.
III. An assembler translates high-level language into machine language.
Which of the statements given above is/are correct?
Correct Answer: A [Only I]
Explanation:
I true; II false – the compiler makes the object file; III false – the assembler works on assembly language.
2.
Match the language with its creator:
List I: (a) C; (b) C++; (c) Java; (d) Python
List II: (1) Dennis Ritchie; (2) Bjarne Stroustrup; (3) Guido van Rossum; (4) James Gosling
List I: (a) C; (b) C++; (c) Java; (d) Python
List II: (1) Dennis Ritchie; (2) Bjarne Stroustrup; (3) Guido van Rossum; (4) James Gosling
Correct Answer: A [a-1, b-2, c-4, d-3]
Explanation:
C – Ritchie; C++ – Stroustrup; Java – Gosling; Python – van Rossum.
3.
What is printed?
n ← 4721; s ← 0
WHILE n > 0
s ← s + (n MOD 10)
n ← n DIV 10
END WHILE
PRINT s
n ← 4721; s ← 0
WHILE n > 0
s ← s + (n MOD 10)
n ← n DIV 10
END WHILE
PRINT s
Correct Answer: D [14]
Explanation:
Adds the digits: 1 + 2 + 7 + 4 = 14.
4.
Consider the following statements about licences:
I. Freeware always comes with its source code.
II. Open-source software may be sold.
III. Proprietary software users may normally change and redistribute its code.
Which of the statements given above is/are correct?
I. Freeware always comes with its source code.
II. Open-source software may be sold.
III. Proprietary software users may normally change and redistribute its code.
Which of the statements given above is/are correct?
Correct Answer: B [Only II]
Explanation:
I false – freeware is usually closed; II true – open source is about freedom, not price; III false.
5.
Odd one out (generation):
Correct Answer: B [SQL]
Explanation:
SQL is 4GL; the others are 3GL high-level languages.
6.
What is printed?
n ← 3061; r ← 0
WHILE n > 0
r ← r × 10 + (n MOD 10)
n ← n DIV 10
END WHILE
PRINT r
n ← 3061; r ← 0
WHILE n > 0
r ← r × 10 + (n MOD 10)
n ← n DIV 10
END WHILE
PRINT r
Correct Answer: E [1603]
Explanation:
The loop reverses the digits: 1603.
7.
Trick Spotter: to find how many times FOR i ← 7 TO 100 STEP 9 runs, the fastest correct method is:
Correct Answer: B [⌊(100 − 7) ÷ 9⌋ + 1]
Explanation:
Loop Count Formula: ⌊93 ÷ 9⌋ + 1 = 10 + 1 = 11.
8.
Spot My Mistake: "A program that divides by zero while running has a logical error, because the formula is wrong." What is wrong?
Correct Answer: C [It is a runtime error – the program crashes while running]
Explanation:
A crash during execution is a runtime error (Stop, Crash or Lie).
📘 IBPS Clerk 2026 – B4 Computer Aptitude (PDF book)
Here you get the answer with a one-line explanation. 690 questions, each with a full step-by-step explanation · shortcuts, tables, trap alerts · Prelims + Mains sectional mocks. All 5 books together: ₹599.
Get the book – ₹149 →
More quizzes
› IBPS Clerk Computer – Practice Sets and Mixed Mocks – Mixed Mock 2 · Mains Level
› IBPS Clerk Computer – Practice Sets and Mixed Mocks – Mixed Mock 1 · Mains Level
› IBPS Clerk Computer – Practice Sets and Mixed Mocks – Practice Set 3 · Stretch
› IBPS Clerk Computer – Practice Sets and Mixed Mocks – Practice Set 2 · Exam Level
› IBPS Clerk Computer – Practice Sets and Mixed Mocks – Practice Set 1 · Steady
› IBPS Clerk Computer – Computer Abbreviations – Exam-Level Drill · Mains Level
Score: 0
Answered: 0 / 0
