CSS MPT 2027 Complete Preparation Pack 12 Premium PDFs • 8 Live Mock Exams Explore Pack
CSS - PMS - CCE - PCS - Basic Computing Practice

Database Basics – DBMS, Tables, Keys, SQL & Database Concepts MCQs

Learn Database Basics for CSS, PMS, CCE, PCS and other competitive exams. Cover DBMS concepts, databases, tables, records, fields, primary and foreign keys, relational databases, SQL, queries, normalization, data types, database models, advantages of DBMS and important exam-focused MCQs for quick preparation and revision.

Which option best explains your concept?
Instant answer validation
Performance tracking
Timed mock tests

Step-by-Step

Detailed Explanations

54,554

Practice MCQs

27

Mock Tests

95%

Success Focus

Database Basics – DBMS, Tables, Keys, SQL & Database Concepts

Database Basics – DBMS, Tables, Keys, SQL & Database Concepts MCQs With Answers

Only MCQs mapped to Database Basics – DBMS, Tables, Keys, SQL & Database Concepts are shown on this page. You are viewing page 7.

Find Your Question Instantly

Search by keyword, subject, topic, or exact MCQ text.

CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which data type is normally used for whole numbers?
A. INTEGER
B. VARCHAR
C. DATE
D. BOOLEAN
Read Theory
Correct Answer: A
INTEGER stores whole numbers without a fractional part.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
A temporary name given to a table in a query is especially useful for:
A. Self joins and shorter references
B. Deleting the database server
C. Formatting a hard disk
D. Creating passwords automatically
Read Theory
Correct Answer: A
Table aliases make queries shorter and allow the same table to be referenced more than once.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which statement about a candidate key is correct?
A. It uniquely identifies a row and contains no unnecessary attribute
B. It must always contain every column
C. It may identify many rows with the same value
D. It cannot become a primary key
Read Theory
Correct Answer: A
A candidate key is both unique and minimal.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
The primary key is selected from the available:
A. Candidate keys
B. Foreign keys
C. Reports
D. Views
Read Theory
Correct Answer: A
A table may have several candidate keys, and one is selected as the primary key.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which table commonly resolves a many-to-many relationship?
A. Junction table
B. Report table only
C. Backup table
D. Temporary view only
Read Theory
Correct Answer: A
A junction table contains foreign keys referencing the two related tables.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
If Table A has 4 rows and Table B has 3 rows, a CROSS JOIN returns:
A. 12 rows
B. 7 rows
C. 4 rows
D. 3 rows
Read Theory
Correct Answer: A
A Cartesian product contains 4 × 3 = 12 row combinations.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which clause normally specifies the condition used to connect tables in a join?
A. ON
B. AS
C. ORDER
D. VALUES
Read Theory
Correct Answer: A
The ON clause defines how rows from the participating tables are matched.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
CRUD stands for:
A. Create, Read, Update, Delete
B. Copy, Run, Undo, Display
C. Create, Replace, Upload, Download
D. Connect, Read, Use, Disconnect
Read Theory
Correct Answer: A
CRUD represents the four basic data operations: Create, Read, Update, and Delete.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
What is a possible disadvantage of adding many indexes?
A. INSERT, UPDATE, and DELETE operations may become slower
B. SELECT becomes impossible
C. The database cannot use keys
D. All tables become views
Read Theory
Correct Answer: A
Indexes require storage and must be maintained whenever indexed data changes.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
What is a major purpose of a database index?
A. To speed up data retrieval
B. To delete all records
C. To replace the primary key in every case
D. To remove the DBMS
Read Theory
Correct Answer: A
An index provides a faster path for locating rows, especially in frequently searched columns.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
A virtual table based on a stored SELECT statement is called a:
A. View
B. Index
C. Trigger
D. Backup
Read Theory
Correct Answer: A
A view presents query results like a table without necessarily storing the data separately.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
The EXISTS operator is true when a subquery:
A. Returns at least one row
B. Returns no columns
C. Deletes a table
D. Creates a backup
Read Theory
Correct Answer: A
EXISTS evaluates to true when the subquery produces one or more rows.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
A query written inside another query is called a:
A. Subquery
B. Form
C. Report
D. Index
Read Theory
Correct Answer: A
A subquery is nested inside another SQL statement and provides data to the outer query.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which SQL operator combines query results and keeps duplicates?
A. UNION ALL
B. UNION
C. DISTINCT
D. GROUP BY
Read Theory
Correct Answer: A
UNION ALL is faster in many cases because it keeps duplicate rows instead of removing them.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which SQL operator combines query results and removes duplicates?
A. UNION
B. UNION ALL
C. JOIN ALL
D. MERGE ONLY
Read Theory
Correct Answer: A
UNION combines compatible result sets and removes duplicate rows.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
A join in which a table is joined to itself is called a:
A. SELF JOIN
B. CROSS JOIN
C. FULL JOIN
D. UNION
Read Theory
Correct Answer: A
A self join uses aliases to compare or relate rows within the same table.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which join produces every possible combination of rows from two tables?
A. CROSS JOIN
B. INNER JOIN
C. LEFT JOIN
D. RIGHT JOIN
Read Theory
Correct Answer: A
CROSS JOIN produces the Cartesian product of the two tables.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which join returns matched and unmatched rows from both tables?
A. FULL OUTER JOIN
B. INNER JOIN
C. CROSS JOIN
D. SELF JOIN
Read Theory
Correct Answer: A
FULL OUTER JOIN includes all rows from both tables and uses NULL where no match exists.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which join returns all rows from the right table and matching rows from the left table?
A. RIGHT JOIN
B. LEFT JOIN
C. INNER JOIN
D. SELF JOIN
Read Theory
Correct Answer: A
RIGHT JOIN preserves every row from the right table and includes matching rows from the left.
CSS - PMS - CCE - PCS - Basic Computing Database Basics
Which join returns all rows from the left table and matching rows from the right table?
A. LEFT JOIN
B. INNER JOIN
C. RIGHT JOIN
D. CROSS JOIN
Read Theory
Correct Answer: A
LEFT JOIN preserves every row from the left table and fills unmatched right-side values with NULL.
Why Students Like It

Built For Focused Exam Preparation

A clean learning system that keeps students practicing, improving, and coming back.

Instant Feedback

Students immediately know the correct answer and learn from explanations.

Real Exam Practice

Timed mock tests help users prepare for real exam pressure.

Weak Area Tracking

Performance insights help students focus on the topics that need attention.

Student Feedback

What Learners Say

Start Your Success Journey Today

Create your free account and begin practicing with confidence.

Create Free Account