CIS Exam 1

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/62

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:53 AM on 9/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

63 Terms

1
New cards

database

collection of data managed by a database management system

2
New cards

database management system

software that interacts with users, applications, database to capture and analyze data

3
New cards

dbms aspects

efficient, convenient, reliable, safe multi-user, massive, persistent

4
New cards

query parser

builds the tree structure from text query

5
New cards

query preprocessor

semantic checks and tree transformation

6
New cards

query optimizer

transform query plan to best sequence of operations

7
New cards

query parser, query preprocessor, query optimizer

query compiler steps in order

8
New cards

atomicity, consistency, isolation, durability

acid properties of DMBS

9
New cards

atomicity DBMS

allows no partial actions

10
New cards

consistency DBMS

always be in a consistent state or fail

11
New cards

isolation DBMS

multi-user with concurrent execution transparent to single user

12
New cards

durability DBMS

recovery from failures, errors, misuses (with help of logging)

13
New cards

view layer DBMS

users interact with database

show different parts of the database to different users based on needs and permissions

14
New cards

schema

types of variables in programming language

set up structure in database

15
New cards

redundancy

represents the same thing in 2 or more ways

16
New cards

good entity set

at least 1 nonkey attribute or

many in many-one/many-many relationship if 0 nonkey attributes

17
New cards

combine relations

if for many-one relation, E is many

18
New cards

do not convert

weak entity relationship without attributes

19
New cards

weak entity set conversion

gets the keys from reliant entity set

20
New cards

objected oriented method

one relation per subset of subclasses, including all attributes

21
New cards

er style

one relationship for each subclass, containing

  • key attributes

  • attributes of the specific subclass


22
New cards

use nulls

one relation

NULL is placed in attribute locations where the subclass fields do not exist

23
New cards

either side

ER to RD conversion

where is the key for one-one relationship

24
New cards

many side

ER to RD conversion

where is the key for many-one relationship

25
New cards

both sides

ER to RD conversion

where is the key for many-many relationship

26
New cards

many-many

27
New cards

many-one

—>

28
New cards

one-many

←-

29
New cards

one-one

←→

30
New cards

to exactly one

—-)

31
New cards

tuples

the individual records in the table

32
New cards

domains

types for attributes

33
New cards

sql

data definition language for declaring DB schema

data manipulation language for querying and modifying the DB

case insensitive outside of string literals

34
New cards

tables, views, temporary tables

3 sql relations

35
New cards

tables

relations stored in the DB

36
New cards

views

relations generated by computation in the DB

not stored

constructed when needed

37
New cards

temporary tables

relations generated by the sql processor and not the user

made and disposed as needed by the DBMS

38
New cards

YYYY-MM-DD

date format

39
New cards

HH:MM:SS.S

time format

40
New cards

primary key

attribute unique and not NULL

41
New cards

unique

attribute unique except for NULL

42
New cards

execution engine

take an optimized query plan from the query optimizer and physically carry out the steps to process data and return the final results

index, file and record requests

issues a sequence of request for small pieces of data to a resource manager

43
New cards

index/file/record manager

locate data and page commands

manage, organize, and provide fast access to data stored on physical disk blocks

44
New cards

buffer manager

read/write pages

to minimize slow disk input/output (I/O) operations by caching frequently accessed data pages in the main memory (RAM)

45
New cards

database manager path

data-definition language

DDL commands parsed by DDL processor and passed to execution engine

index/file/record manager to alter the metadata

46
New cards

user/application path

data-manipulation language

query compiler- query parsed + optimized

query plan passed to execution engine

execution engine issues requests for data to resource manager

requests passed to buffer manager to get data from secondary storage to main buffer

buffer manager asks storage manager to get data from disk

47
New cards

data definition language

create

alter

drop

  • deal with schema

  • from database manager


48
New cards

data manipulation language

  1. query (select, from, where)

  2. modification (insert, update, delete)

  • extract/modify data


49
New cards

transaction processing

  1. logging

  2. concurrency


50
New cards

storage manager

controls placement of data on disk

controls data movement between disk and main memory

51
New cards

buffer manager

partitions available main memory into buffers

52
New cards

execution engine

execute each step of query plan

53
New cards

conceptual level

defines what data is stored and how its related

54
New cards

physical level

how its physically stored

55
New cards

selection

picking rows (where)

56
New cards

projection

picking columns (select)

57
New cards

product and joins

comparison of relations

58
New cards

create table

create a new relation

59
New cards

insert into <table> values

insert values into the new relation

60
New cards

alter table <table> rename column <old> to <new

alter the name of the second attribute in the R relation

61
New cards

alter table <table> add <column> int default 0

alter the R relation and add a new column then update it with a constant value

62
New cards

select from where phone like “352%”

write a query to find the phone numbers of people in the database with a 352 area code

63
New cards

select from where address like “%Main Street%”

write a query to find people living on Main Street even if you dont know the building number