
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































What does modality efe to? How does it appea on ER diag am? - ANSWER-r̍ r̍ r̍ r̍ Refe s to the MINIMUM numbe of times an instance in one entity can ber̍ r̍ associated with instance of anothe entity (minima)r̍ Appea s as a 0 o 1 on the elationship line, next to ca dinalityr̍ r̍ r̍ r̍ Define: Refe ential Integ ity - ANSWERr̍ r̍ - Requi es that ALL fo eign key valuesr̍ r̍ must eithe be fully NULL o match some p ima y key valuer̍ r̍ r̍ r̍ 4 Ways Refe ential Integ ity can be violated: - ANSWER- r̍ r̍ 1. P ima y key isr̍ r̍ updated 2.Fo eign key is updatedr̍ 3.Row containing p ima y key is DELETEDr̍ r̍
What is a b oad definition of data? - ANSWER- r̍ Raw facts captu ed on p inted or̍ r̍ r̍ digital media What a e data? - ANSWER- r̍ Facts that a e collected and sto ed in a databaser̍ r̍ system What is a dete mining cha acte istic of unst uctu ed data? - ANSWERr̍ r̍ r̍ r̍ r̍ - It does not follow a data model What is t ue about flat files? - ANSWER- - r̍ They contain no inte nal hie a chicalr̍ r̍ r̍ o ganizationr̍ How we e data et ieved befo e database management systems? - ANSWER-r̍ r̍ r̍ r̍ Sequentially f om simple filesr̍ What is an att ibute o g oup of att ibutes that uniquely identify a tuple in ar̍ r̍ r̍ r̍ r̍ elation? - ANSWER - P ima y Keyr̍ r̍ What is necessa y fo a p ima y key in one elation of a database to match with itsr̍ r̍ r̍ r̍ r̍ co r̍r̍esponding fo eign key in another̍ r̍ r̍elation of the same database? - ANSWER- A domain of values What uniquely identifies each entity in a collection of entities but is not the p ima y key? - ANSWERr̍ r̍ - Alte nate Keyr̍ What is the te m fo a set of columns in a table that can uniquely identify anyr̍ r̍ r̍ eco d in that table without efer̍ r̍ r̍r̍ing to othe data? - ANSWER-r̍ Candidate Key What happens to the o iginal data in database indexing? - ANSWERr̍ - It is copied to the index Why a e indexes c eated in a physical database design? - ANSWERr̍ r̍ - To et iever̍ r̍ data DIRECTLY using a pointer̍ Why is an index c eated on a database column? - ANSWER- r̍ To optimize data r̍ et ievalsr̍ Define: Functional Dependency - ANSWER- Each value of a column elates to atr̍ MOST one value of anothe columnr̍ Dependence of one column on another̍
Define: Histo y; How it applies to ope ational and analytical DB? - ANSWER- -r̍ r̍ Whethe DB is cur̍ r̍r̍ent o t acks all datar̍ r̍
What is a hash file? - ANSWER- A file that uses Hash function computation on some fields of the eco ds, and the esult of that computation dete mines whe e ther̍ r̍ r̍ r̍ r̍ r̍ eco d is sto edr̍ r̍ What a e the diffe ent types of majo Joins? - ANSWER- r̍ r̍ r̍ - LEFT JOIN-RIGHT JOIN
Define: Select Ope ation - ANSWER- Selects table ows based in logicalr̍ r̍ exp ession (σ)r̍ Define: P oject Ope ation - ANSWER- Selects Table Columns (II)r̍ r̍ Define: Join Ope ation - ANSWER- Joins two tables (r̍ ⋈) Define: Union ope ation - ANSWER- Combines ALL ows of two compatibler̍ r̍ tables into a single table (U) Define: Inte sect Ope ation (and how it appea s on an ER diag am) - ANSWER-r̍ r̍ r̍ r̍ Ope ates on two compatible tables and etu ns only ows that appea in BOThr̍ r̍ r̍ r̍ r̍ tables (∩) Appea s as a line and squa e coming off of a elationship between two other̍ r̍ r̍ r̍ entities What does ca dinality efe to? How does it appea on ER diag am? - ANSWER-r̍ r̍ r̍ r̍ r̍ Refe s to the MAXIMUM numbe of times an instance in one entity can ber̍ r̍ associated with instance of anothe entity (Maxima)r̍ Appea s as a 1 o M on the elationship line, closest to entityr̍ r̍ r̍ A pet owne can have many pets; a specific pet is linked to one pet owne. What isr̍ r̍ the bina y elationship desc ibed? - ANSWER- One-To-Manyr̍ r̍ r̍ Database models we e developed tor̍? - ANSWER- model eal-wo ld eventsr̍ r̍ o conditionsr̍ The entity integ ity ule equi es: - ANSWER- All p ima y keys must be uniquer̍ r̍ r̍ r̍ r̍ r̍ A table is pe ceived as ar̍. - ANSWER- Two-dimensional st uctu er̍ r̍ A table can be logically connected to anothe table by defining ar̍. - ANSWER- common att ibuter̍ We can desc ibe a link by obse ving thatr̍ r̍. - ANSWER- A p ima y key of oner̍ r̍ table appea s again as a fo eign key in a elated tabler̍ r̍ r̍ An att ibute (o g oup of att ibutes) that uniquely identifies each entity in a table isr̍ r̍ r̍ r̍ called: - ANSWER- A supe keyr̍
A fo eign key must: - ANSWER- Match a p ima y key in a elated tabler̍ r̍ r̍ r̍ The ERD is used to g aphically ep esent ther̍ r̍ r̍ database model. - ANSWER- Conceptual A de ived att ibuter̍ r̍. - ANSWER- need not be physically sto ed within ther̍ database A att ibute is one that cannot be subdivided - ANSWER- Atomicr̍ If an entity can exist apa t f om one o mo e elated entities, it is said to be: -r̍ r̍ r̍ r̍ r̍ ANSWER- Existence-Independent Dependencies based on only a pa t of a composite key a e called: - ANSWER-r̍ r̍ Pa tial-Dependenciesr̍ A special ope ato used to check fo simila cha acte st ings is: - ANSWER-r̍ r̍ r̍ r̍ r̍ r̍ r̍ LIKE UPDATE tablename
WHERE conditionlist What command eplaces the *****? - ANSWER- exp ession = columnnamer̍ r̍ What does a eco d consist of? - ANSWER- A set of one o mo e fieldsr̍ r̍ r̍ r̍ What function does A DBMS pe fo m that gua antee the integ ity and consistencyr̍ r̍ r̍ r̍ of the data in the database? - ANSWER- Data integ ity, data sto age, and secu ityr̍ r̍ r̍ management What is data? - ANSWER- Raw Facts Database models we e developed to what? - ANSWER- Model eal-wo ld eventsr̍ r̍ r̍ o conditionsr̍ The entity integ ity ule equi es that - ANSWER- all p ima y key ent ies a er̍ r̍ r̍ r̍ r̍ r̍ r̍ r̍ unique
a key that consists of mo e than one att ibute - ANSWER- composite keyr̍ r̍ an entity that can exist apa t f om one o mo e elated entities - ANSWER-r̍ r̍ r̍ r̍ r̍ Existent-Independent entity The set of possible values fo an att ibute - ANSWER- domainr̍ r̍ Which att ibute(s) make up the p ima y key in the table definition: CLASSr̍ r̍ r̍ (CRS_CODE, CLASS_SECTION, CLASS_TIME, CLASS_ROOM, PROF_NUM) - ANSWER- CRS_CODE and CLASS_SECTION A table that has all key att ibutes defined, has no epeating g oups, and all itsr̍ r̍ r̍ att ibutes a e dependent on the p ima y key - ANSWER- 1NFr̍ r̍ r̍ r̍ A table that is in 2NF and contains no t ansitive dependencies - ANSWER- 3NFr̍ What does data edundancy p oduce? - ANSWER- data integ ity p oblemsr̍ r̍ r̍ r̍ No malization wo ks th ough a se ies of no mal: - ANSWER- fo msr̍ r̍ r̍ r̍ r̍ r̍ Dependencies based on only a pa t of a composite p ima y key - ANSWER- pa tialr̍ r̍ r̍ r̍ dependencies Desc ibe 1NF elationship - ANSWER- -A table that has all key att ibutes r̍ r̍ r̍ defined-no epeating g oupsr̍ r̍ -all its att ibutes a e dependent on the p ima y keyr̍ r̍ r̍ r̍ The SQL command that lets you inse t data into a table, one ow at a time -r̍ r̍ ANSWER- INSERT The SQL command that enables you to make changes in the data - ANSWER- UPDATE To list all the contents of the PRODUCT table, you would use what SQL command? - ANSWER- SELECT * FROM PRODUCT; Which SQL command would you use when making co r̍r̍ections to the PRODUCT table? - ANSWER- UPDATE
Which SQL command would be used to delete the table ow - ANSWER-r̍ DELETE SQL allows the use of special ope ato s in conjunction with the WHERE clause.r̍ r̍ What is a special ope ato used to check fo simila cha acte st ings? - ANSWER-r̍ r̍ r̍ r̍ r̍ r̍ r̍ LIKE What SQL command can delete a table f om the database? - ANSWER- DROPr̍ UPDATE tablename ***** [WHERE conditionlist]; What command eplaces r̍ the ***** in the above statement? - ANSWER- SET columnname = exp essionr̍ r̍ etu ns ows with matching values and includes all ows f om both tables (T1 andr̍ r̍ r̍ r̍ T2) with unmatched values - ANSWER- full oute joinr̍ What is ETL in database management? - ANSWER- Ext actr̍ T ansfo mr̍ r̍ Load Du ing which step in the ext act, t ansfo m, load (ETL) p ocess a e aw data setsr̍ r̍ r̍ r̍ r̍ r̍ r̍ agg egated - ANSWER- T ansfo mationr̍ r̍ r̍ Desc ibe data ext action f om the ETL p ocess - ANSWER- Ext act o copy awr̍ r̍ r̍ r̍ r̍ r̍ r̍ data f om multiple sou ces and sto e it in a staging a ear̍ r̍ r̍ r̍ Desc ibe data t ansfo mation f om the ETL p ocess - ANSWER- T ansfo m andr̍ r̍ r̍ r̍ r̍ r̍ r̍ consolidate the aw data in the staging a ea to p epa e it fo the ta get datar̍ r̍ r̍ r̍ r̍ r̍ wa ehouser̍ Desc ibe data loading f om the ETL p ocess - ANSWER- Moves the t ansfo medr̍ r̍ r̍ r̍ r̍ data f om the staging a ea into the ta get data sto age o wa ehouse. Focuses onr̍ r̍ r̍ r̍ r̍ r̍ ta get dependencies such as whe e and on how many machines the data lives. Alsor̍ r̍ focuses on ef esh volume and f equency, whethe data is loaded inc ementally or̍ r̍ r̍ r̍ r̍ r̍ is a full load, etc. Desc ibe ETL in a nutshell - ANSWER- ETL stands fo Ext act, T ansfo m, Load.r̍ r̍ r̍ r̍ r̍ Ext action - Raw data is ext acted f om sou ces and sto ed in a tempo a y stagingr̍ r̍ r̍ r̍ r̍ r̍ r̍ a ea.r̍
This is a r̍r̍anged a ound the elevant subject a eas impo tant to the business. It isr̍ r̍ r̍ r̍ also nonvolatile, not used fo t ansactions but fo analysis, and integ ates data f omr̍ r̍ r̍ r̍ r̍ multiple sou ces. - ANSWER- Data Wa ehouser̍ r̍ Subject-o iented data eposito y smalle than a data wa ehouse and no mally fo ar̍ r̍ r̍ r̍ r̍ r̍ r̍ smalle o specific g oup within an o ganization - ANSWER- Data Ma tr̍ r̍ r̍ r̍ r̍ Diffe ences between OLAP and OLTP - ANSWER- OLAP is fo analysis, andr̍ r̍ OLTP is fo t ansaction p ocessingr̍ r̍ r̍ What is ETL? - ANSWER- Ext act, T ansfo m, Loadr̍ r̍ r̍ The inf ast uctu e whe e aw data sets a e agg egated - ANSWER- Staging A ear̍ r̍ r̍ r̍ r̍ r̍ r̍ r̍ What two p ime questions a e essential to unde standing ext action? - ANSWER-r̍ r̍ r̍ r̍ What and how should data be ext acted?r̍ What p ocesses a e involved in the T ansfo mation step of the ETL p ocess? -r̍ r̍ r̍ r̍ r̍ ANSWER- -Data type conve sionr̍ -Data Cleansing -Integ ationr̍ -Refe ential integ ity checkingr̍ r̍ -De ivationsr̍ -Deno malizationr̍ -Reno malizationr̍ -Agg egationr̍ -Audits -Null conve sionsr̍ This step of the ETL is focused on moving t ansfo med data into the datar̍ r̍ wa ehouse - ANSWER- Loadr̍ What p ocesses a e involved in the Load step of the ETL p ocess? - ANSWER- -r̍ r̍ r̍ Ta get Dependenciesr̍ -Ref esh volume and f equencyr̍ r̍ Data mining can be desc ibed in this way - ANSWER- The Vi tuous Cycler̍ r̍
Identifying the business p oblems, and continual imp ovement of businessr̍ r̍ p ocesses that d ive discove y of actionable knowledge and taking action based r̍ r̍ r̍ on that knowledge - ANSWER- The Vi tuous cycler̍ Desc ibe the b ief steps of the Vi tuous Cycle - ANSWER- -Identify the businessr̍ r̍ r̍ p oblemr̍ -Mine the data fo actionable info mationr̍ r̍ -Take the action -Measu e esultsr̍ r̍ This is the type of knowledge whe e you al eady have identified the p oblem r̍ r̍ r̍ you want to esolve (Fo example, a business is t ying to figu e out whe e they r̍ r̍ r̍ r̍ r̍ a er̍ losing the most money) - ANSWER- Di ected Knowledge Discove yr̍ r̍ This is the type of knowledge whe e you find patte ns within data sets as a way tor̍ r̍ discove something inte esting o an issue (fo example, MMO-Champion data-r̍ r̍ r̍ r̍ mining). - ANSWER- Undi ected Knowledge discove yr̍ r̍ What a e the six basic tasks of data mining? - ANSWER- r̍ -Classification-Estimation -P edictionr̍ -Affinity G oupingr̍ -Cluste ingr̍ -Desc iptionr̍ Examine the att ibutes of a pa ticula object and assign it a defined class -r̍ r̍ r̍ ANSWER- Classification The p ocess of assigning continuously valued nume ic value to an object, such as ar̍ r̍ c edit isk assessment. - ANSWER- Estimationr̍ r̍ Classify objects acco ding to some expected futu e behavio - ANSWER-r̍ r̍ r̍ P edictionr̍ P ocess of evaluating elationships o associations between data elements thatr̍ r̍ r̍ demonst ate an affinity with one anothe - ANSWER- Affinity g oupingr̍ r̍ r̍ Task of taking la ge collections of objects and dividing them into smalle g oups -r̍ r̍ r̍ ANSWER- Cluste ingr̍
data management unde standing - ANSWER- good decision r̍ making r̍ elates to the activities that make the database execute t ansactions mo er̍ r̍ efficiently in te ms of sto age and access speed.r̍ r̍ Database design Que y accessr̍ Database management Pe fo mance tuning - ANSWER- Pe fo mance tuningr̍ r̍ r̍ r̍ The esponse of the DBMS to a que y is ther̍ r̍ integ ated view of the datar̍ que y esult setr̍ r̍ ad hoc esponser̍ ad hoc que y - ANSWER- que y esult set r̍ r̍ r̍ Field efe s to a collection of elated eco ds.r̍ r̍ r̍ r̍ r̍ False T ue - ANSWER- Falser̍ The DBMS uses the to look up the equi ed data component st uctu esr̍ r̍ r̍ r̍ is a cha acte o g oup of cha acte s that has a specific meaning.r̍ r̍ r̍ r̍ r̍ r̍ and elationships, thus elieving p og amme s f om having to code such r̍ r̍ r̍ r̍ r̍ r̍ complex r̍elationships in each p og am. - ANSWER- data dictiona yr̍ r̍ r̍ A(n) is a collection of p og ams that manages the database st uctu e andr̍ r̍ r̍ r̍
file r̍ eco dr̍ field database - ANSWER- field Data wa ehouse contains histo ical data obtained f om ther̍ r̍ r̍ desktop database ente p ise databasesr̍ r̍ wo kg oup databasesr̍ r̍ ope ational databases - ANSWER- ope ational r̍ r̍ databases The database st uctu e in a DBMS is sto ed as ar̍ r̍ r̍ single file collection of files set of key/value pai sr̍ collection of que ies - ANSWER- collection of filesr̍ The DBMS eveals much of the database's inte nal complexity to the applicationr̍ r̍ p og ams and use s.r̍ r̍ r̍ T uer̍ False - ANSWER- False exists when diffe ent ve sions of the same data appea in diffe ent r̍ r̍ r̍ r̍ Conceptual dependence