IBPS Clerk Computer – Database Basics and SQL – Level 3 · Challenge

← Back

IBPS Clerk Computer – Database Basics and SQL – Level 3 · Challenge – 4 questions, subject: Computer Aptitude. Every question has the correct answer with a two-line explanation; tap "Show Answer". Free practice for IBPS Clerk, IBPS PO, SBI, RRB exams – Shanmugam IAS Academy, Coimbatore.

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.  

Directions: The next 4 questions are based on the table ACC of this chapter:

AccNo Name Branch Type Balance Nominee
101 Ravi Salem SB 45000 Lakshmi
102 Meena Madurai CA 120000 NULL
103 Arun Salem SB 8000 Kumar
104 Divya Coimbatore FD 250000 Ravi
105 Karthik Madurai SB 30000 NULL
106 Priya Salem CA 75000 Anand
107 Suresh Coimbatore SB 15000 NULL
SELECT SUM(Balance) FROM ACC WHERE Branch = 'Salem' AND Type = 'SB'; returns:

Correct Answer: B [53000]

Explanation:

The Salem rows with Type SB are Ravi (45000) and Arun (8000), so SUM(Balance) = 45000 + 8000 = 53000. Priya's Salem account is CA, so the AND condition leaves it out.

2.  
Consider the following statements:
I. Every candidate key is a super key.
II. A table can have more than one primary key.
III. A foreign key may contain duplicate values in its own table.
Which of the statements given above is/are correct?

Correct Answer: C [Only I and III]

Explanation:

Statements I and III are correct: every candidate key is a minimal super key, and a foreign key may hold duplicate values because many rows can refer to the same parent row. Statement II is wrong because a table can have only one primary key, though that key may be composite.

3.  
Consider the following statements:
I. TRUNCATE is a DML command.
II. DROP removes both the data and the structure of a table.
III. DELETE can remove selected rows with a WHERE clause.
Which of the statements given above is/are correct?

Correct Answer: D [Only II and III]

Explanation:

Statements II and III are correct: DROP removes both the data and the table structure, and DELETE can remove selected rows using a WHERE clause. Statement I is wrong because TRUNCATE is a DDL command that removes all rows at once.

4.  
A transaction debits ₹ 5,000 from one account, but the system fails before the credit to the other account. The DBMS undoes the debit. This is ensured by:

Correct Answer: B [Atomicity]

Explanation:

Atomicity means a transaction is all or nothing: if any part fails, the whole transaction is rolled back. So the debit is undone when the credit fails; Durability instead ensures committed data survives failures.

📘 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 →
Score: 0 Answered: 0 / 0