Which header file must be included to use the printf() function in C?
A#include
B#include
C#include
D#include
Correct Answer:
B. #include
Explanation:
The printf() function is defined in the Standard Input/Output library. Therefore, '#include <stdio.h>' must be included at the beginning of the program to use printf() and other I/O functions like scanf(), getchar(), putchar(), etc.
Which normal form eliminates transitive dependencies in a database table?
AThird Normal Form (3NF)
BSecond Normal Form (2NF)
CBoyce-Codd Normal Form (BCNF)
DFirst Normal Form (1NF)
Correct Answer:
A. Third Normal Form (3NF)
Explanation:
3NF removes transitive dependencies where a non-key attribute depends on another non-key attribute. BCNF is stricter but 3NF is the standard answer for eliminating transitive dependencies.
Which of the following is a non-relational database designed for handling unstructured data at scale?
AMongoDB
BPostgreSQL
COracle Database
DMySQL
Correct Answer:
A. MongoDB
Explanation:
MongoDB is a NoSQL document database that handles unstructured and semi-structured data efficiently, unlike relational databases like PostgreSQL, Oracle, and MySQL.
iGET uses cookies for essential site functionality, analytics, and ads personalization (via Google AdSense). By clicking "Accept", you consent to our use of cookies.
Privacy Policy ·
Disclaimer