Skip to main content

Database MCQ — 15 Practice Questions with Answers

Database is a DBMS, SAD & IoT (Basic CI) topic in the RAS/RPSC syllabus. This page gathers exam-style Database multiple-choice questions with correct answers and explanations, so aspirants can test recall and revise frequently examined concepts.

Practice 15 Database multiple-choice questions with detailed answers and explanations. Ideal for RAS/RPSC exam preparation.

15 Questions DBMS, SAD & IoT (Basic CI)

Reviewed by: Aspirant Academy Editorial Team

Practice Questions

Q1. Which of the following statement contains an error?

A Select * from emp where empid = 10003;
B Select empid from emp where empid = 1006;
C Select empid from emp;
D Select empid where empid = 10009 and last name = ‘GELLER’; Correct

Explanation

A SELECT query that retrieves table columns normally identifies the source table in the FROM clause, and SQL identifiers with spaces must be delimited. Option D omits the FROM clause and also writes last name as two unquoted tokens. Therefore D is the erroneous statement.

Q2. If SQL command DELETE FROM EMPLOYEE; is executed on relation EMPLOYEE having ‘n’ tuple in it, ____________ will be deleted from relation EMPLOYEE.

A Zero tuples
B Only first tuple
C All ‘n’ tuples Correct
D Only last tuple

Explanation

A DELETE statement removes rows that satisfy its WHERE clause; if the WHERE clause is absent, all rows in the table are deleted and the table remains empty. Therefore DELETE FROM EMPLOYEE; deletes every one of the n tuples from EMPLOYEE. Hence C is correct.

Q3. In tuple relational calculus P₁ → P₂ is equivalent to -

A ¬ P₁ ∨ P₂ Correct
B P₁ ∨ P₂
C P₁ ∧ P₂
D P₁ ∧ ¬ P₂

Explanation

In logic, an implication P₁ → P₂ is false only when P₁ is true and P₂ is false. Therefore it is equivalent to ¬P₁ ∨ P₂, which is option A. The other forms change the truth condition of implication.

Q4. To maintain materialized view in RDBMS, we use -

A Trigger Correct
B Pointer
C Clone object
D None

Explanation

A materialized view stores a query result physically, so it must be maintained when the base tables change. A trigger can fire automatically on insert, update, or delete events and apply the required maintenance logic. Pointers or clone objects do not provide this automatic view-maintenance mechanism.

Q5. In relational database minimal super keys is known as -

A Primary keys
B Foreign keys
C Candidate keys Correct
D Reference keys

Explanation

A candidate key is defined as a minimal superkey: it uniquely identifies a tuple, and no proper subset of it can still be a superkey. Primary keys are selected from candidate keys, while foreign keys reference keys in another relation. Therefore minimal superkeys are candidate keys, so C is correct.

You've seen 5 of 15 sample questions

Unlimited practice on Database comes with the RAS Test Series + Practice pack. Sign up to save progress; practice sets open with a pack or Gate Pass.

More questions (pack required)

Pack unlocks practice

Q6.

A
B
C
D
Pack unlocks practice

Q7.

A
B
C
D
Pack unlocks practice

Q8.

A
B
C
D
Pack unlocks practice

Q9.

A
B
C
D
Pack unlocks practice

Q10.

A
B
C
D
Pack unlocks practice

Q11.

A
B
C
D
Pack unlocks practice

Q12.

A
B
C
D
Pack unlocks practice

Q13.

A
B
C
D
Pack unlocks practice

Q14.

A
B
C
D
Pack unlocks practice

Q15.

A
B
C
D

10 more questions can appear in generated practice.

Frequently Asked Questions

How many Database MCQ questions are available?
There are 15 Database practice MCQs available on Aspirant Academy, with detailed answers and explanations for each question.
Are answers and explanations provided for Database MCQs?
Yes, every Database question comes with the correct answer and a detailed explanation to help you understand the underlying concept.
How is Database relevant to the RAS/RPSC exam?
Database falls under the DBMS, SAD & IoT (Basic CI) section of the RAS/RPSC syllabus. It is a frequently tested area and regular practice with these MCQs will strengthen your preparation.
Can I practice Database questions in Hindi?
Yes, Aspirant Academy offers bilingual support. You can practice Database MCQs in both English and Hindi, including questions, options, and explanations.

More Topics in DBMS, SAD & IoT (Basic CI)

Continue your DBMS, SAD & IoT (Basic CI) preparation with these related topics.

Explore Other Subjects

Want unlimited practice on Database?

Unlimited practice comes with the RAS Test Series + Practice pack. Create a free account to save progress and choose a pack or Gate Pass when you are ready.

Browse all subjects