AIS Exam#2 – Flashcards
71 test answers
Unlock all answers in this set
Unlock answers 71question
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.
Unlock the answer
question
*File Processing System*
answer
*= a paper system*
Unlock the answer
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.
Unlock the answer
question
Traditional File Processing Systems
answer
*No databases*. *Computer file processing systems.* Computers store, manipulate, and retrieve large files of data.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
question
Data model
answer
Graphical systems used to capture the nature and relationships among data.
Unlock the answer
question
Data models
answer
Are made up of *entities*, *attributes*, and *relationships*.
Unlock the answer
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.
Unlock the answer
question
*SQL*
answer
*Structured Query Language.*
Unlock the answer
question
*DBMS*
answer
*Database Management System*. *NOT a database, it is a software.*
Unlock the answer
question
Database management system
answer
A software system that is used to create, maintain, and provide controlled access to user databases.
Unlock the answer
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.
Unlock the answer
question
Systems Development Life Cycle (SDLC)
answer
The traditional methodology, or *steps*, used to develop, maintain, and replace *information systems*.
Unlock the answer
question
What are the steps in SDLC?
answer
1. Planning. 2. Analysis. 3. Design. 4. Implementation. 5. Maintenance.
Unlock the answer
question
ERD
answer
*Entity-Relationship Diagram* (E-R diagram). A graphical representation of an entity-relationship model.
Unlock the answer
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".
Unlock the answer
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.
Unlock the answer
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."
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
question
Entity Instance
answer
A single occurrence of an entity type. For example, employee Joe Diaz, within the "EMPLOYEE" entity type.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
question
Relationship degrees
answer
The number of entity types that participate in a relationship.
Unlock the answer
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.
Unlock the answer
question
Example of One to One.
answer
person, "is married to", person.
Unlock the answer
question
Example of One to Many.
answer
Employee, "manages", Employee(s).
Unlock the answer
question
Example of Many to Many.
answer
Student(s), "registers for, Course(s).
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
question
*Minimum* cardinality
answer
The minimum number of instances of one entity that may be associated with each instance of another entity.
Unlock the answer
question
*MAXIMUM* cardinality
answer
The maximum number of instances of one entity that may be associated with each instance of another entity.
Unlock the answer
question
A database is an organized collection of ________ related data. A) logically. B) physically. C) loosely. D) badly.
answer
A) logically
Unlock the answer
question
Data processed in a way that increases a user's knowledge is: A) text. B) graphics. C) information. D) hyperlink.
answer
C) information
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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
Unlock the answer
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.
Unlock the answer
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
Unlock the answer
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.
Unlock the answer
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
Unlock the answer
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.
Unlock the answer
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
Unlock the answer
question
Customers, cars, and parts are examples of: A) entities. B) attributes. C) cardinals. D) relationships.
answer
A) entities.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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.
Unlock the answer
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
Unlock the answer
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.
Unlock the answer
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
Unlock the answer
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.
Unlock the answer
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
Unlock the answer