14.02 Database Structure + 14.03 Data Types + 14.04 Primary Keys Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the most simple sort of database?

A

A table.
eg:

Name: Phone #: Birthday:
John 07849 225439 June 18th
James 07715 152982 September 4th
Jen 01604 845099 July 4th

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does the structure work?

A
  • The rows in the table are called the ‘records’

- The columns are called the ‘fields’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an ‘alphanumeric’ data type?

A

Made from any character or symbol on the keyboard. eg:

Hello!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an ‘integer’ data type?

A

A whole number that does not have a decimal place. eg:

100

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a ‘real’ data type?

A

A number that does contain decimal places. eg:

1.11

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a ‘date/time’ data type?

A

A data type that holds a date and/or time. eg:

05:00 18/06/2017

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a ‘boolean’ data type?

A

Data that has two possible values. eg:
yes/no
true/false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a ‘Primary Key’?

A

Each record in the data table is associated with a number, commonly found in the first field (reading left to right). Often used when the first field would be a name or something that in a larger database is lightly to occur more than once. The number in the first field, giving each record in the line an ID, is called the Primary Key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly