IBPS Clerk Computer – Database Basics and SQL – Level 2 · Exam Level

← Back

IBPS Clerk Computer – Database Basics and SQL – Level 2 · Exam Level – 13 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.  
Which command removes only those rows of a table that meet a condition given in a WHERE clause?

Correct Answer: A [DELETE]

Explanation:

DELETE with a WHERE clause removes only the rows that meet the condition, and it is a DML command that can be rolled back. TRUNCATE empties the whole table and DROP removes the table itself.

2.  
Which of the following is a DML command?

Correct Answer: E [UPDATE]

Explanation:

UPDATE is a DML (Data Manipulation Language) command because it changes the data stored in a table. CREATE and TRUNCATE are DDL, GRANT is DCL, and ROLLBACK is TCL.

3.  
A candidate key that is not chosen as the primary key is called a(n):

Correct Answer: C [alternate key]

Explanation:

A candidate key that is not chosen as the primary key is called an alternate key. For example, if EmpID is the primary key, PAN and Email remain as alternate keys.

4.  
Two tellers update the same account at the same moment. Which ACID property makes each transaction run as if it were alone?

Correct Answer: D [Isolation]

Explanation:

Isolation ensures that concurrent transactions, such as two tellers updating the same account, run as if each were alone and do not interfere. Durability, by contrast, ensures committed changes survive a crash.

5.  
A table is in Second Normal Form (2NF) when it is in 1NF and has no:

Correct Answer: A [partial dependency on part of a composite key]

Explanation:

A table is in 2NF when it is in 1NF and has no partial dependency, that is, every non-key column depends on the whole composite key and not on just a part of it. Removing transitive dependencies is the further step to 3NF.

6.  
Which clause is used to filter groups formed by GROUP BY?

Correct Answer: D [HAVING]

Explanation:

HAVING is used to filter the groups formed by GROUP BY, and it can use aggregate functions such as SUM or COUNT. WHERE filters individual rows before the grouping is done.

7.  
In the LIKE operator, which symbol stands for exactly one character?

Correct Answer: B [_ (underscore)]

Explanation:

In the SQL LIKE operator the underscore (_) stands for exactly one character. The percent sign (%) stands for any number of characters, including none.

8.  
In an ER diagram, a multi-valued attribute is shown by a:

Correct Answer: C [Double ellipse]

Explanation:

In an ER diagram a multi-valued attribute, such as several phone numbers of one customer, is drawn as a double ellipse. A dashed ellipse shows a derived attribute and a plain ellipse a simple attribute.

9.  
A rule that a foreign key value must match an existing primary key value in the referred table is called:

Correct Answer: B [referential integrity]

Explanation:

Referential integrity is the rule that every foreign key value must match an existing primary key value in the referred table (or be NULL). Entity integrity, by contrast, says that a primary key value can never be NULL.

10.  
Match the command with its category:
List I: (a) ALTER; (b) INSERT; (c) REVOKE; (d) SAVEPOINT
List II: (1) TCL; (2) DDL; (3) DCL; (4) DML

Correct Answer: D [a-2, b-4, c-3, d-1]

Explanation:

ALTER is DDL (2), INSERT is DML (4), REVOKE is DCL (3) and SAVEPOINT is TCL (1), giving a-2, b-4, c-3, d-1. DCL covers GRANT and REVOKE, while TCL covers COMMIT, ROLLBACK and SAVEPOINT.

11.  
Which data model stores data as a tree with one parent and many children?

Correct Answer: E [hierarchical model]

Explanation:

The hierarchical model stores data as a tree in which each child has only one parent but a parent may have many children. The network model allows a child to have many parents, forming a graph.

12.  
Store of historical, integrated data from many systems, used for analysis and reports, is a:

Correct Answer: C [data warehouse]

Explanation:

A data warehouse is a store of historical, integrated data collected from many source systems and used for analysis and reports (OLAP). Day-to-day transactions, in contrast, are handled by operational OLTP databases.

13.  
Which of these statements about NULL is correct?

Correct Answer: C [NULL means unknown or not applicable; test it with IS NULL]

Explanation:

NULL means a value that is unknown or not applicable, and it must be tested with IS NULL or IS NOT NULL. NULL is not zero or a blank space, a comparison like = NULL never matches, and COUNT(*) still counts rows containing NULL.

📘 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