Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
Quizzes
/
A field Mobile stores phone numbers such as +33 6 12 34 56 78. Which data type should it have, and why?
Computer Science
Medium
High School (9–10)
Algorithms, Programming and Logic › Databases and SQL
IGCSE
Created by
StemPy Lab
A field
Mobile
stores phone numbers such as +33 6 12 34 56 78. Which data type should it have, and why?
Integer, because it is made of digits
Date/time, because it has groups of two digits
Text, because the number has a plus sign and spaces and is never used in arithmetic
Real, because it is a long number
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A field Grade always holds exactly one letter, from A to E. Which data type suits it best?
A cycle club stores its bikes in a table. The fields are FrameNo, Colour, Owner and Gears. The records are (FR8841, Red, Kofi, 21), (FR2093, Blue, Ana, 7), (FR5520, Red, Lee, 21) and (FR7716, Green, Ana, 3). Which field is the most suitable primary key? →
More on
Algorithms, Programming and Logic › Databases and SQL
Discussion (0)
Log in
to join the discussion.
Loading…
All questions on this topic →
Problems on this topic
A restaurant stores its staff in a table Staff…
Hard
A town library stores its readers in a table Readers…
Medium
A gym stores its members in a table Gym…
Easy
A school garden club records each plot in a table Plots: the water it needs each day in litres, its…
Hard
All problems on this topic →