Week 1 Notes Flashcards

1
Q

database and database system

A

organized collection of related information in a stored file // MS SQL Server, oracle, and access

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

field or attribute

A

column

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

record or tuple

A

row

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

relation // entity

A

a table // group of tables

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

metadata

A

data about data (table and column names, and data type included)

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

domain

A

range of values within a column (can encompass entire range or be restricted i.e. restricted to decimal digits 0-9, or regional like NE/NW/MW/SE/SW)

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

data validation rules

A

the enforcement of ‘uniqueness’ within data range

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

Entity Relationship Diagram (ERD)

A

commonly used to design and document a database

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

one- to-many relationship

A

a value that appears once as a primary key in table 1 appears (w same value) as foreign key in table 2. Denoted by infinity symbol, optional relationship

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

SQL

A

3rd generational language to access info in relational databases. Allows you to insert new rows, update info in existing rows, and delete rows. Allows you to up tables with their columns, data types, and constraints. Includes many functions and procedures to manipulate and format data.

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

SQL is non-procedural

A

how to access and select data is handles internally by SQL and is hidden from the user

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

query

A

question or instruction to retrieve data from tables// can be done by writing SQL statement or thru various graphical aids and templates in Enterprise manager or Query analyzer

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

A DBMS program can

A

access existing data, manipulate data to produce new data, generate a report, add/ update records, assign names, format, and establish relationships

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

an RDBMS integrates

A

raw data/ metadata for tables, indexes, etc and instructions for forms, reports, and queries into one file

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

null value indicates

A

value not assigned because it is unknown, not yet been recorded, or value for the column is not applicable
NOT A ZERO/ BLANK

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

primary key

A

one or more columns in a table with unique and not null values

17
Q

data integrity

A

if two rows in a table are identical then table DOES NOT have DI

18
Q

foreign key

A

one or more columns in a table with limited/ constrained values to the primary key it references. Can be null

19
Q

the names of data types specify

A

a size (no of bits or bytes) and a structure/ arrangement to store the data.

20
Q

data types are used when

A

creating tables, when a column is added to a table, when data is retrieved from RAM or disk

21
Q

when specifying a data type

A

you are limiting the range of that data