Databases Flashcards

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

What is the purpose of a data base?

A

Used to store data in a structured format

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

Query

A

A search or question performed within a data base

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

Flat File Database

A

All data stored on a single table

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

Relational Data Base

A

Data stored on more than one table and linked using key fields

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

What is a link between different tables called?

A

Relationship
One to one
One to many
Many to many

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

Foreign Key

A

Link to a primary key in a relational database table

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

What are the advantages of a relational data base?

A

-Data entered into database only once
-Mistakes less likely to happen
-Duplication avoided so file size smaller
-Queries can be performed
-Reports can be generated

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

merge sort

A

The list is repeatedly divided into two until all the elements are separated individually. Pairs of elements are then compared, placed into order and combined. The process is then repeated until the list is recompiled as a whole.

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

compiler

A

A compiler translates an entire program into machine code before execution.

Don’t need source code

Java and C++ are examples of compiled programming languages.

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

interpreter

A

Each time the program is run, an interpreter translates the code into machine code, instruction by instruction.

Always need source code

Interpreter languages include JavaScript, PHP, Python and Ruby.

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

Characteristics of low level languages

A

Specific
Take up less space as file sizes are usually smaller
Direct - doesn’t have to go through translator or interpreter

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

Characteristics of high level languages

A

Less code needs to be written from scratch (libraries)
More readable and easier to find errors
More people know high level languages

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