Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1511 Which SQL statement retrieves data from a table?
Explanation
- SELECT retrieves data.
- CREATE defines objects, DELETE removes rows, and ALTER changes structure.
Last verified on 27-11-2026
1512 Which SQL statement adds a new row to a table?
Explanation
- INSERT INTO adds rows.
- SELECT retrieves, UPDATE modifies existing rows, and DROP TABLE removes a table.
Last verified on 27-11-2026
1513 What is a domain in the relational model?
Explanation
- A domain is the set of allowed values for an attribute, such as integers 0-100 for marks.
- It constrains what values a column may hold.
Last verified on 27-11-2026
1514 Each cell of a table in the relational model must contain which type of value?
Explanation
- Relational cells hold one atomic value; this is part of first normal form.
- Multivalued cells belong to non-relational or unnormalised designs.
Last verified on 27-11-2026
1515 Which term describes a column or set of columns that uniquely identifies each row in a table?
Explanation
- A primary key uniquely identifies each tuple.
- A foreign key references another table, and a candidate key is any key that could be chosen as primary.
Last verified on 27-11-2026
1516 A foreign key in a table is best described as which of the following?
Explanation
- A foreign key links a table to the primary key of another table.
- The primary key identifies rows within its own table.
Last verified on 27-11-2026
1517 If the Employee table has columns EmpID, Name, Salary and Department, what is its degree?
Explanation
- Degree is the number of attributes, here four.
- Counting rows would give cardinality, not degree.
Last verified on 27-11-2026
1518 Which statement about a relation is correct?
Explanation
- Relations require atomic values and distinct tuples.
- Duplicates, lists in cells and order-dependent meaning violate the relational definition.
Last verified on 27-11-2026
1519 Which of the following correctly pairs a model with its example?
Explanation
- IMS is hierarchical, CODASYL is network, and Oracle is relational.
- The other pairings mix the models and their classic systems.
Last verified on 27-11-2026
1520 SQL is best described as which of the following?
Explanation
- SQL is declarative: the user states what data is wanted and the DBMS decides how to get it.
- It is not a general-purpose procedural language or a markup language.
Last verified on 27-11-2026