AIS Exam#2 – Flashcards

Unlock all answers in this set

Unlock answers
question
data
answer
Stored representations of objects and events that have meaning and importance in the user's environment.
question
examples of data
answer
facts, text, graphics, images, etc.
question
Information
answer
*Data* that have been *processed* in such a way as to *increase* the *knowledge of* the person *who uses* the data.
question
*Metadata*
answer
*"data about data."* Data that describe the properties or characteristics of end-user data and the context of those data.
question
Database application
answer
An application program, (or set of related programs), that is used to perform a series of database activities, (such as create, read, update, and delete), on behalf of database users.
question
*File Processing System*
answer
*= a paper system*
question
*Problems with File Processing system*
answer
*Redundancy*. *Inconsistency*: a change in a file in one department will not be the same in another department.
question
Traditional File Processing Systems
answer
*No databases*. *Computer file processing systems.* Computers store, manipulate, and retrieve large files of data.
question
Disadvantages of File Processing Systems
answer
1. Program-data dependence. 2. Duplication of data. 3. Limited data sharing. 4. Lengthy development times. 5. Excessive program maintenance.
question
Program-data dependence
answer
*File descriptions are stored within each program*. *Any change to a file* structure *requires changes to* the file descriptions for *ALL programs* that access that file.
question
Program-data Independence
answer
*Data descriptions are stored in a central location, (repository).* Allows data to change without changing the programs that process that data.
question
Limited data sharing
answer
*Each application has its own private files.* *File incompatibility between applications.* Users have limited ability to share data outside of their own applications. Difficult to draw data: need to draw several incompatible files from separate systems.
question
Improved data sharing
answer
One unified database. Multiple users have access to data in the database via different user views. Users can easily share data.
question
Data model
answer
Graphical systems used to capture the nature and relationships among data.
question
Data models
answer
Are made up of *entities*, *attributes*, and *relationships*.
question
Relational database
answer
A database that represents data as a collection of tables in which all data relationships are represented by common values in related tables.
question
*SQL*
answer
*Structured Query Language.*
question
*DBMS*
answer
*Database Management System*. *NOT a database, it is a software.*
question
Database management system
answer
A software system that is used to create, maintain, and provide controlled access to user databases.
question
How does *DBMS* function?
answer
It enables end users ; application programmers to share data, and, it enables data to be shared among multiple applications.
question
Systems Development Life Cycle (SDLC)
answer
The traditional methodology, or *steps*, used to develop, maintain, and replace *information systems*.
question
What are the steps in SDLC?
answer
1. Planning. 2. Analysis. 3. Design. 4. Implementation. 5. Maintenance.
question
ERD
answer
*Entity-Relationship Diagram* (E-R diagram). A graphical representation of an entity-relationship model.
question
Business Rules
answer
Statements that define or *constrain* some aspect(s) of the business. They are intended to assert business structure, or to control, or influence the behavior of the business. Also known as "integrity constraint".
question
Why are Business Rules important?
answer
They help ensure that information systems work right, and that users of the information understand what they enter, and see.
question
Examples of Business Rules affecting data processing, and data storage.
answer
"A student may register for a section of a course only if he or she has successfully completed the prerequisites for that course." "A preferred customer qualifies for a 10 percent discount, unless he has an overdue account balance."
question
Entity
answer
A *person*, a *place*, an *object*, an *event*, or a *concept* in the user environment about which the organization wishes to maintain data.
question
Entity type
answer
A collection of entities that share common properties or characteristics. For example, *EMPLOYEE* in a company's database, represents many employees.
question
Entity Instance
answer
A single occurrence of an entity type. For example, employee Joe Diaz, within the "EMPLOYEE" entity type.
question
Relationship
answer
An association representing an interaction among the instances of on or more entity types that is of interest to the organization. Relationships & their characteristics: degree, & cardinality, represent business rules.
question
Relationship type
answer
= cardinality. A meaningful association between, or among, entity types. Allow us to answer questions that could not be answered given only the entity types.
question
Relationship degrees
answer
The number of entity types that participate in a relationship.
question
3 most common relationship degrees in E-R models:
answer
Degree 1: Unary. One to one., Degree 2: Binary. One to Many. Or Many to Many., Degree 3: Ternary. Simultaneous among three entity types.
question
Example of One to One.
answer
person, "is married to", person.
question
Example of One to Many.
answer
Employee, "manages", Employee(s).
question
Example of Many to Many.
answer
Student(s), "registers for, Course(s).
question
Composite attributes
answer
Attributes that can be divided into smaller sub-parts. These sub-parts represent basic attributes with independent meanings of their own. For example, take Name attributes. We can divide it into sub-parts like First_name, Middle_name, and Last_name.
question
Derived attributes
answer
Attributes whose values are generated from other stored attributes. For example, Account Balance is derived by subtracting Total Debit from Total Credit.
question
Identifier attributes
answer
Called keys or key attributes uniquely identify an instance of an entity. If such an attribute doesn't exist naturally, a new attribute is defined for that purpose. For example, an ID number, or code.
question
Cardinality constraint
answer
A rule that specifies the number of instances of one entity that can, or must, be associated with each instance of another entity.
question
*Minimum* cardinality
answer
The minimum number of instances of one entity that may be associated with each instance of another entity.
question
*MAXIMUM* cardinality
answer
The maximum number of instances of one entity that may be associated with each instance of another entity.
question
A database is an organized collection of ________ related data. A) logically. B) physically. C) loosely. D) badly.
answer
A) logically
question
Data processed in a way that increases a user's knowledge is: A) text. B) graphics. C) information. D) hyperlink.
answer
C) information
question
Data that describe the properties of other data are: A) relationships. B) logical. C) physical. D) none of the above.
answer
D) none of the above.
question
One disadvantage of file processing systems is: A) reduced data duplication. B) program-data independence. C) limited data sharing. D) enforcement of integrity constraints.
answer
C) limited data sharing.
question
Program-data dependence is caused by: A) file descriptors being stored in each application. B) data descriptions being stored on a server. C) data descriptions being written into programming code. D) data cohabiting with programs.
answer
A) file descriptors being stored in each application.
question
Because applications are often developed independently in file processing systems: A) the data is always non-redundant. B) unplanned duplicate data files are the rule rather than the exception. C) data can always be shared with others. D) there is a large volume of file I/O.
answer
B) unplanned duplicate data files are the rule rather than the exception.
question
All of the following are primary purposes of a database management system (DBMS) EXCEPT: A) creating data. B) updating data. C) storing data. D) providing an integrated development environment.
answer
D) providing an integrated development environment.
question
Which of the following is NOT an advantage of database systems? A) Redundant data. B) Program-data independence. C) Better data quality. D) Reduced program maintenance.
answer
A) Redundant data
question
Databases may be more expensive to maintain than files because of: A) the need for specialized personnel. B) the complexity of the database environment. C) backup and recovery needs. D) all of the above.
answer
D) all of the above.
question
Which of the following is NOT a cost and/or risk of the database approach? A) Specialized personnel. B) Cost of conversion. C) Improved responsiveness. D) Organizational conflict.
answer
C) Improved responsiveness
question
The logical representation of an organization's data is called a(n): A) database model. B) entity-relationship model. C) relationship systems design. D) database entity diagram.
answer
B) entity-relationship model.
question
In an E-R diagram, there are ________ business rule(s) for every relationship. A) two. B) three. C) one. D) none.
answer
A) two
question
Business policies and rules govern all of the following EXCEPT: A) managing employees. B) creating data. C) updating data. D) removing data.
answer
A) managing employees.
question
Which of the following is NOT a good characteristic of a data name? A) Relates to business characteristics. B) Readable. C) Repeatable. D) Relates to a technical characteristic of the system.
answer
D) Relates to a technical characteristic of the system
question
Customers, cars, and parts are examples of: A) entities. B) attributes. C) cardinals. D) relationships.
answer
A) entities.
question
A person's name, birthday, and social security number are all examples of: A) attributes. B) entities. C) relationships. D) descriptors.
answer
A) attributes.
question
An entity that associates the instances of one or more entity types and contains attributes specific to the relationships is called a(n): A) associative entity. B) connecting entity. C) intersectional entity. D) all of the above.
answer
A) associative entity.
question
The number of entity types that participate in a relationship is called the: A) number. B) identifying characteristic. C) degree. D) counter.
answer
C) degree.
question
A relationship between the instances of a single entity type is called a(n) ________ relationship. A) ternary. B) primary. C) binary. D) unary.
answer
D) unary
question
Physical database design decisions must be made carefully because of impacts on: A) data accessibility. B) response times. C) security. D) all of the above.
answer
D) all of the above.
question
An attribute (or attributes) that uniquely identifies each row in a relation is called a: A) column. B) foreign field. C) primary key. D) duplicate key.
answer
C) primary key.
question
An attribute in a relation of a database that serves as the primary key of another relation in the same database is called a: A) link attribute. B) link key. C) foreign key. D) foreign attribute.
answer
C) foreign key.
question
A primary key that consists of more than one attribute is called a: A) foreign key. B) composite key. C) multivalued key. D) cardinal key.
answer
B) composite key.
question
Which of the following are properties of relations? A) Each attribute has a unique name. B) No two rows in a relation are identical. C) There are no multivalued attributes in a relation. D) All of the above.
answer
D) All of the above.
question
The ________ states that no primary key attribute may be null. A) referential integrity constraint. B) entity integrity rule. C) partial specialization rule. D) range domain rule.
answer
B) entity integrity rule
question
A rule that states that each foreign key value must match a primary key value in the other relation is called the: A) referential integrity constraint. B) key match rule. C) entity key group rule. D) foreign/primary match rule.
answer
A) referential integrity constraint.
question
8) Which of the following are anomalies that can be caused by redundancies in tables? A) Insertion. B) Deletion. C) Modification. D) All of the above.
answer
D) All of the above
question
A relation that contains minimal redundancy and allows easy use is considered to be: A) clean. B) simple. C) complex. D) well-structured.
answer
D) well-structured.
question
Schema
answer
Listing the table (ENTITY) and its Attributes in text form. Example: CUSTOMER: customer I.d., first_name, last_name, credit SALES_ORDER: order#, date
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New