Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
61 A table in 2NF stores City, which determines Postcode, and Postcode determines DeliveryZone. Which normal form must it reach to remove this chain of dependencies?
A
First normal form (1NF)
B
Second normal form (2NF)
C
Boyce-Codd normal form (BCNF)
D
Third normal form (3NF)
Explanation
DeliveryZone depends on Postcode, a non-key attribute, which is a transitive dependency removed by third normal form.
Last verified on 27-11-2026
62 If a Student table stores City and CityPopulation, and CityPopulation depends on City, which normal form is violated?
A
3NF
B
BCNF only
C
1NF only
D
No normal form
Explanation
CityPopulation depends on City, a non-key column, which is a transitive dependency violating 3NF.
Last verified on 27-11-2026
63 What is Boyce-Codd Normal Form (BCNF)?
A
A form with no keys
B
A stricter version of 3NF where every determinant is a candidate key
C
A weaker version of 1NF
D
A form that allows redundancy
Explanation
BCNF requires every determinant to be a candidate key, fixing some 3NF anomalies.
Last verified on 27-11-2026
64 In XML, what is an element?
A
A file name only
B
A backup label
C
A start tag, its content and its matching end tag
D
A database table only
Explanation
An XML element consists of tags plus the content between them.
Last verified on 27-11-2026
65 What is denormalisation?
A
Removing all tables
B
Deleting indexes
C
Deliberately adding redundancy to improve read performance
D
Normalising to 1NF only
Explanation
Denormalisation reintroduces controlled duplication to avoid joins and speed up reads.
Last verified on 27-11-2026
66 What is the main advantage of JSON over CSV for complex data?
A
JSON is always smaller
B
JSON needs no parsing
C
JSON cannot store text
D
JSON supports nested objects and arrays
Explanation
JSON can represent hierarchies that flat CSV cannot.
Last verified on 27-11-2026
67 Which statement about XML is TRUE?
A
XML is self-descriptive because tags describe the data
B
XML is a programming language
C
XML has fixed tags only
D
XML cannot store text
Explanation
XML tags name the data they contain, making the document readable and self-describing.
Last verified on 27-11-2026
68 What is the main difference between JSON and XML?
A
They are identical
B
JSON is lighter and easier to parse in web applications, while XML is more verbose with tags
C
XML cannot store text
D
JSON cannot store numbers
Explanation
JSON uses compact key-value syntax, while XML uses opening and closing tags, making JSON lighter.
Last verified on 27-11-2026
69 Which format is most commonly used for APIs and web data exchange today?
A
XML only
B
CSV only
C
JSON
D
Plain binary
Explanation
JSON is the standard for modern REST APIs because it is lightweight and native to JavaScript.
Last verified on 27-11-2026
70 What does a well-formed XML document require?
A
Unclosed tags
B
Multiple root elements
C
No closing tags
D
Properly nested tags, one root element and matching closing tags
Explanation
Well-formed XML must follow strict syntax rules for tags and nesting.
Last verified on 27-11-2026