📞 0339-0387701 (WhatsApp)
Contact
☰
🔍
Home
Important MCQs
Computer
Current Affairs
Data Science & AI (NCCIA)
Database & Data Handling (NCCIA)
English
Everyday Science
General Knowledge
General Science
Information & Networking (NCCIA)
Islamic Studies MCQs
Maths MCQs
Pak Study
Pedagogy
Software Engineering (NCCIA)
Telecom / Electrical Fundamentals (NCCIA)
Urdu MCQs
Past Papers
ASF Past Papers
FIA Past Papers
FPSC Past Papers
NCCIA Past Papers
NTS Past Papers
PPSC Past Papers
Latest Jobs
Army Jobs
Education Department
Federal Govt Jobs
Health Department
Police Jobs
Sindh Govt Jobs
Resources
About Us
Contact
🔍
Home
» Which data type is most appropriate for storing TRUE or FALSE values?
« Back to Database & Data Handling (NCCIA)
Which data type is most appropriate for storing TRUE or FALSE values?
A. CHAR(1)
B. INT
C. FLOAT
D. BOOLEAN ✅
Correct Answer:
D. BOOLEAN
Explanation
BOOLEAN is designed for true/false values.
INT or CHAR can mimic it but BOOLEAN expresses the intent directly.
« What is the purpose of a DEFAULT constraint?
Which data type is best for storing a long product… »
Related MCQs
What does a single diamond with a double line to an entity indicate?
Which design correctly separates entities from relationships in a Library?
In a file system, changing the structure of a file usually requires:
Which of the following is an example of a recursive relationship?
A Shop has Customers and LoyaltyCards. Each customer may have one card and each card belongs to one customer, but a card is optional. How is this mapped?
What is a lost update?
What is the primary key of a junction table for Student enrols in Course?
A foreign key column in a table with 100 rows can have how many distinct values?