Databases Flashcards

(33 cards)

1
Q

What is a variable?

A

A storage location whose value can change while a program runs

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

What is a constant?

A

A value that never changes during processing

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

Integers store…

A

Whole numbers

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

Floating point numbers store…

A

Decimal values

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

Strings store…

A

Text

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

Boolean values store…

A

Whether something is true or false

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

Characters store…

A

Single letters and symbols

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

What is an algorithm?

A

A finite, step-by-step set of instructions used to solve a problem or perform a task

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

An algorithm must:

A
  • Have a finite number of steps
  • Be precise with clear and exact instructions
  • Be unambiguous, have one interpretation
  • Have a clear flow of instruction
  • Must terminate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In flowcharts, the ________ ________ showed calculations and the ________ ________ showed the flow of control

A

process symbol and directional arrows

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

How does pseudocode communicate?

A

With simple English-like commands

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

DIV divides numbers and…

A

Only returns the whole number

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

MOD divides numbers and…

A

Only returns the remainder

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

Relational operators…while logical operators…

A

Relational operators compare values while logical operators combine conditions

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

What is a database?

A

A repository of information, a central place where large amounts of data are stored in an organized way so it can be retrieved and managed efficiently

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

A database can also be…

A

A collection of tables that are related to each other

17
Q

A database ensures data is…

A

Organized, accurate, consistent, and easy to retrieve

18
Q

Some benefits of a database are:

A

Storing large amounts of data efficiently
Reducing redundancy
Supporting fast retrieval
Maintaining accuracy
Generating useful reports

19
Q

What is a table?

A

A collection of related data

20
Q

What is a row/record?

A

A single entry in a table

21
Q

What is a column/field?

A

A single type of information

22
Q

A primary key is…

A

A field that uniquely identifies each record

23
Q

A candidate key is…

A

Any field that can serve as a primary key

24
Q

A secondary key is…

A

A field used to sort or search

25
A foreign key is...
A field linking to a primary key in another table
26
The Numeric field stores...
Numbers only
27
The Text field stores...
Letters, words or characters
28
The Logical field stores...
True/False values
29
The Date/Time field stores...
Dates or timestamps
30
The Currency field stores...
Monetary values
31
What do relationships in databases do?
They ensure the database could connect information across tables and they prevent data isolation
32
The benefit of forms is...
Forms make data entry faster, accurate and user-friendly
33
What do queries do?
Queries turn raw data into meaningful information