Join your school's WhatsApp group
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts

Use Table 1 to answer questions 35 and 36. Table 1: TableStudent  Reg No  House...

Data Processing
WAEC 2023

Use Table 1 to answer questions 35 and 36.

Table 1: TableStudent

 Reg No  House

 Age

 18/001  Yellow  14
 18/002  Blue  15
 18/003  Yellow  15



Columns 2 and 3 in Table 1 cannot be used as primary key because both fields contain

  • A. different datatypes
  • B. duplicate values
  • C. the same datatype
  • D. only strings and numbers respectively
WAEC GCE Nov/Dec 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 332996
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Join your school's WhatsApp group
Correct Answer: Option B
Explanation

Columns 2 and 3 in Table 1 cannot be used as a primary key because both fields contain duplicate values.

A primary key is a unique identifier for each record in a database table. It ensures that each record has a distinct value, allowing for efficient data retrieval and maintaining data integrity. In the given TableStudent, the "House" column (Column 2) and the "Age" column (Column 3) both contain duplicate values. For example, the House column has two records with the value "Yellow" and the Age column has two records with the value "15". Since a primary key must have unique values, neither of these columns can be used as the primary key.


Report an Error Ask A Question Download App
Join your school's WhatsApp group
WAEC GCE Nov/Dec 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 332996
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts

Contributions ({{ comment_count }})

Please wait...

{{ settings.no_comment_msg ? settings.no_comment_msg : 'There are no comments' }}

Quick Questions

Post your Contribution

Please don't post or ask to join a "Group" or "Whatsapp Group" as a comment. It will be deleted. To join or start a group, please click here

{{ quote.posted_by.display_name }}
{{ settings.form_textarea_description }}
 
Join your school's WhatsApp group
WAEC GCE Nov/Dec 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 332996
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Join your school's WhatsApp group
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
WAEC GCE Nov/Dec 2024 - Practice for Objective & Theory - From 1988 till date, download app now - 332996