Unit 2 : File System Flashcards

1
Q

Why database design is important? ( 4 )

A
  1. Define the database’s expected use
  2. Define different approaches needed for different types of databases
  3. Avoid redundant data
  4. Poorly designed database generates errors, which leads to bad decisions and then lead to failure of an organization
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

List out 5 main components for a database system

A
  1. Hardware
  2. Software
    • DBMS Software
    • Operating System Software
    • Application Programs and Utility Software
  3. People
  4. Procedures
  5. Data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are DBMS function ( 7 )

A
  1. Data Dictionary Management
  2. Data Storage Management
  3. Data Transformation and Presentation
  4. Security Management
  5. Multiuser Access Control
  6. Backup and Recovery Management
  7. Data Integrity Management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is data redundancy?

A
  1. Data redundancy results in data inconsistency
  • Means that diffrent and conflicting versions of the same data appear in different places
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why managing data with file systems is obsolete? ( 6 )

A
  1. Time-consuming, as it was a high-level activity
  2. As number of files expands, system administration becomes difficult
  3. Making changes in current file structure is difficult
  4. File structure changes require modifications in all programs that use data in that file
  5. Modifications are likely to produce errors, requiring additional time to “debug” the program
  6. Security features hard to program and therefore often omitted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a file system refers to ?

A
  1. Refers to a method for sttoring and managing files on a storage devices without the use of database management system
  • Company stores customer name, sales, product in a excel file inside Sales folder, then employee, salaries in employees folder
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why learning file system effects how we design our database? ( 3 )

A
  1. Understanding file system characteristics makes database design easier to understand
  2. Awareness of problems with file systems helps prevent similar problems in DBMS
  3. Knowledge of file systems is helpful if you plan to convert an obsolete file system to a DBMS
    * More on notion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does manual file systems stores it’s data?

A
  1. Kept inside folders
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does manual file systems organize their files?

A
  1. Organize based on data’s expected use ( ideally logically related )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Manual file system is suitable in what condition? ( 2 )

A
  1. Small Amounts of Data
  2. Few Reporting Requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the challenges when changing from file systems to computer system? ( 3 )

A
  1. Could be technically complex, requiring hiring of data processing ( DP ) specialitsts
  2. Resulted in numerous “home-grown” systems being created
  3. Initially, computer files were similar in design to manual files
  • home-grown systems means that it was developed internally be a company’s IT team or DP specialists and with this reason, they often lacked standardization and difficult to integrate with other systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is data anomalies?

A
  1. Issues or inconsistencies that occur in a database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What condition usually creates data anomalies? ( 3 )

A
  1. Poorly designed database
  2. Non-normalized database
  3. Data Redundancy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

List out all the types of data anomalies ( 3 )

A
  1. Update Anomalies
    • Occur when mading changes to existing records
  2. Insertion Anomalies
    • Occur when entering new records
  3. Deletion Anomalies
    • Occur when deleting records
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the structured compared with file system and database?

A
  1. File System
    • Many separete and unrelated files
  2. Database
    • Logically related data stored in a single logical data repository
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

List out 5 main components of a database systems

A
  1. Hardware
  2. Software
    • OS
    • DBMS System Software
    • Application Programs and Utility Software
  3. People
  4. Procedures
  5. Data
17
Q

What system were developed to address file systems inherent weakness?

A
  1. DBMS ( Database Management System )
18
Q

List out all the DBMS functions ( 9 )

A
  1. Data Dictionary Management
  2. Data Storage Management
  3. Data Transformation and Presentation
  4. Security Management
  5. Multiuser Access Control
  6. Backup and Recovery Management
  7. Data Integrity Management
  8. Database Access Languages and Application Programming Interfaces
  9. Database Communication Interfaces
19
Q

Which defines data elements and their relationships? ( DBMS Function )

A
  1. Data Distionary Management
20
Q

Which stores data and related data entry forms, report definitions ?
( DBMS Function )

A
  1. Data Storage Management
21
Q

Which translates logical requests into commands into physically locate and retrieve the requested data ? ( DBMS Function )

A
  1. Data Transformation and Presentation
22
Q

Which enforces user security and data privacy within database ? ( DBMS Function )

A
  1. Security Management
23
Q

Which uses sophisticated algorithms to ensure multiple users can access the database concurrently without compromising the integrity of the database ? ( DBMS Function )

A
  1. Multiuser Access Contro
24
Q

Which Provides backup and data recovery procedures ? ( DBMS Function )

A
  1. Backup and Recovery Management
25
Q

Which promotes and enforces integrity rules ? ( DBMS Function )

A
  1. Data Integrity Management
26
Q

Which provide data access through a query language ? ( DBMS Function )

A
  1. Database Access Languages and Application Programming interfaces
27
Q

Which allow database to accept end-user requests via multiple, different network environments ? ( DBMS Function )

A
  1. Database Communication Interfaces