Databases Flashcards

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

RELATIONAL DATABASES

A

view and logical level represent data as relations/tables

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

SQL

A

Structured Query Language- a declarative data manipulation language

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

IMPERATIVE LANGUAGE

A

explicit control
implicit logic

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

DECLARATIVE LANGUAGE

A

implicit control
explicit logic

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

Examples of declarative languages:

A

logic programming
functional programming
markup language

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

ACID properties

A

atomicity-transcation is either comitted or aborted
consistency-db remains in a consistent state where integrity constraints hold
isolation-multiple users can modify a database without seeing eachothers changes
durability-data is consistent regardless of disk crashes

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

TRANSACTION

A

a sequence of operations that preform a certain logical function

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

ER model

A

entity relationships model

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

UML class diagram

A

entities/relationships–>classes/associations

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

ANSI SPARC Architecture

A

ensures logical and physical data independence

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

view level

A

application programs hide details of data types; hide info for privacy and security

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

logical level also called…

A

conceptual schema

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

logical level

A

describes data stored in a db and relationships between the data

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

physical level

A

how the data is stored: disk pages, byte layout, record order, index structures

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

In a pure relational model, data is a set of…

A

tuples

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

Database Schema=

A

relations+constraints

17
Q

algorithm=
(Kowalski)

A

logic+control

18
Q

types of constraints:

A

data types
column constraints
check constraints