SF Prep
10 Computer Awareness — Common Notes 🕒 Updated 2026-10-17
Common Notes SSC CGL · CHSL · Police · Bank · Railway Chapter 10

🗄️ Database (DBMS) Basics

Databases, DBMS and RDBMS, tables-records-fields, keys, SQL commands and MS Access — for bank and SSC exams.

📑 Topics on this page (Jump to Topic):
1. Database & DBMS 2. Keys 3. SQL & MS Access 4. Practice MCQs

📌 1. Database & DBMS

  • A database = an organised collection of related data. A DBMS = software to create, manage and query databases — MySQL, Oracle, MS Access, PostgreSQL.
  • An RDBMS stores data in tables (relations); the relational model was given by E. F. Codd (1970).
  • Benefits of a DBMS: less redundancy, data consistency, security, sharing and backup.
TermMeaning
Table / RelationData in rows and columns
Record / Tuple / RowComplete information about one entity (one row)
Field / Attribute / ColumnOne kind of information (one column)
DegreeNumber of columns (attributes)
CardinalityNumber of rows (tuples)
SchemaStructure/design of the database
⚠️ Exam Traps:
  • Degree = columns; cardinality = rows.

📌 2. Keys

KeyMeaning
Primary KeyUniquely identifies each record; no NULL and no duplicates — e.g. Roll No.
Candidate KeyAll columns that could become the primary key
Alternate KeyCandidate keys not chosen as primary
Foreign KeyRefers to another table's primary key; links tables
Composite KeyTwo or more columns together
Super KeyAny set of columns that gives unique identification
⚠️ Exam Traps:
  • A primary key cannot be NULL; a foreign key links two tables.

📌 3. SQL & MS Access

CategoryCommands
DDL (Data Definition Language)CREATE, ALTER, DROP, TRUNCATE, RENAME
DML (Data Manipulation Language)SELECT, INSERT, UPDATE, DELETE
DCL (Data Control Language)GRANT, REVOKE
TCL (Transaction Control Language)COMMIT, ROLLBACK, SAVEPOINT
  • Example: SELECT name FROM students WHERE marks > 60;
  • DELETE removes rows (table remains); DROP removes the whole table; TRUNCATE removes all rows at once.
  • ACID properties: Atomicity, Consistency, Isolation, Durability.
  • MS Access objects: table, query, form, report, macro, module; file .accdb.
  • Data warehouse = large historical data for analysis; data mining = finding patterns in it.
⚠️ Exam Traps:
  • SELECT belongs to DML (not DDL).
  • DROP removes the table; DELETE removes only rows.

📌 4. Practice MCQs

📝 Practice MCQs (prepared by SF Prep — not PYQs)
Q1. The full form of DBMS is: Practice
(A) Data Backup Management System
(B) Data Base Management System
(C) Digital Base Management System
(D) Data Bank Main System
Correct answer: (B)
A DBMS is software to create and manage databases.
Q2. A row in a table is called a: Practice
(A) Field
(B) Attribute
(C) Record/Tuple
(D) Schema
Correct answer: (C)
Row = record = tuple; column = field = attribute.
Q3. A column in a table is called a: Practice
(A) Tuple
(B) Key
(C) Record
(D) Field/Attribute
Correct answer: (D)
A column holds one kind of information, e.g. "Name".
Q4. Who proposed the relational database model? Practice
(A) E. F. Codd
(B) Charles Babbage
(C) Dennis Ritchie
(D) Peter Chen
Correct answer: (A)
E. F. Codd (IBM) proposed the relational model in 1970.
Q5. The key that uniquely identifies each record is the: Practice
(A) Foreign key
(B) Primary key
(C) Alternate key
(D) Composite key
Correct answer: (B)
A primary key is unique and cannot be NULL.
Q6. The key that links two tables is a: Practice
(A) Primary key
(B) Super key
(C) Foreign key
(D) Candidate key
Correct answer: (C)
A foreign key refers to the primary key of another table.
Q7. Which statement is true for a primary key? Practice
(A) It can contain NULL
(B) It can be duplicated
(C) A table has many primary keys
(D) It is unique and NOT NULL
Correct answer: (D)
A table has one primary key (of one or more columns).
Q8. The number of attributes (columns) in a relation is its: Practice
(A) Degree
(B) Cardinality
(C) Domain
(D) Schema
Correct answer: (A)
Degree = columns; cardinality = rows.
Q9. The number of tuples (rows) in a relation is its: Practice
(A) Degree
(B) Cardinality
(C) Arity
(D) Key
Correct answer: (B)
Cardinality = number of tuples.
Q10. Which of these is a DDL command? Practice
(A) SELECT
(B) INSERT
(C) CREATE
(D) UPDATE
Correct answer: (C)
DDL: CREATE, ALTER, DROP, TRUNCATE. SELECT/INSERT/UPDATE are DML.
Q11. The SQL command to retrieve data from a database is: Practice
(A) GET
(B) OPEN
(C) FETCH
(D) SELECT
Correct answer: (D)
SELECT ... FROM ... WHERE ...
Q12. The SQL command that removes an entire table including its structure is: Practice
(A) DROP
(B) DELETE
(C) REMOVE
(D) ERASE
Correct answer: (A)
DROP TABLE removes the structure too; DELETE removes only rows.
Q13. GRANT and REVOKE belong to which category of SQL commands? Practice
(A) DDL
(B) DCL
(C) DML
(D) TCL
Correct answer: (B)
DCL = Data Control Language (permissions).
Q14. COMMIT and ROLLBACK are which type of commands? Practice
(A) DDL
(B) DCL
(C) TCL
(D) DML
Correct answer: (C)
TCL = Transaction Control Language.
Q15. In ACID properties, "A" stands for: Practice
(A) Accuracy
(B) Authentication
(C) Availability
(D) Atomicity
Correct answer: (D)
Atomicity = a transaction happens completely or not at all.
Q16. The default extension of an MS Access file (2007 and later) is: Practice
(A) .accdb
(B) .mdb
(C) .xlsx
(D) .dbf
Correct answer: (A)
.accdb since Access 2007; earlier .mdb.
Q17. The MS Access object that creates a user-friendly screen for data entry is a: Practice
(A) Query
(B) Form
(C) Report
(D) Table
Correct answer: (B)
Form = data entry; report = printable summary; query = question.
Q18. Which of these is NOT DBMS software? Practice
(A) MySQL
(B) Oracle
(C) Photoshop
(D) PostgreSQL
Correct answer: (C)
Photoshop is image-editing software.
Q19. Unnecessary duplication of data is called: Practice
(A) Security
(B) Integrity
(C) Consistency
(D) Redundancy
Correct answer: (D)
A DBMS reduces redundancy.
Q20. The process of finding hidden patterns in large data is called: Practice
(A) Data mining
(B) Data entry
(C) Data backup
(D) Data encryption
Correct answer: (A)
Data mining is usually done on a data warehouse.

📝 Practice questions

Computer Awareness — Practice MCQs (Bilingual) Ch 10: DBMS Basics | डेटाबेस

Practice MCQs SF Prep द्वारा तैयार (PYQ नहीं)। तथ्य मानक पाठ्य-सामग्री व आधिकारिक स्रोतों से जाँचे गए।