Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Database Revision

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

Quiz 1 – DataBases

Multiple Choice Questions:

1. This DBMS module extracts DML commands from an application program written in a
host programing language.
a. Query optimizer.
b. Pre-compiler.
c. Backup subsystem.

2. Collection of programs that enables the user to create and maintain a database.
a. Catalog
b. Data model
c. Database Management System (DBMS)

3. Collection of related data


a. Conceptual model
b. Database
c. Meta-data

4. This utility is used to load existing data files into the database.
a. Loading
b. Backup
c. Storage reorganisation

5. This DBMS architecture uses mainframe computers to provide the main processing for
all system functions including user applications, interfaces, and all DBMS functionality.
a. Centralized architecture
b. Client/server architecture
c. Two-tier Client/server architecture

6. Database system includes


a. Applications and users
b. Interfaces and languages
c. DBMS, database, and applications

7. Declarative language means


a. It needs to specify what data to retrieve and how to retrieve it.
b. It needs to specify what data to retrieve rather than how to retrieve it.
c. You can retrieve one record at a time.

8. Set of concepts to describe the structure, operations, and constraints of the database.
a. Data model
b. Data loading
c. Database state
9. Include engineers, scientists, and business analysts
a. Tool developers
b. Sophisticated end user
c. Naïve users

10. Cause some data to be retrieved


a. Meta-data
b. Query
c. Model

11. Database designers are considered


a. Actors on the scene
b. Workers behind the scene
c. End users

12. An executing program or process that includes one or more database accesses such as
reading or updating of database records.
a. Multiple views
b. Transaction
c. SQL

13. A Description of a database is regarded as


a. Database

14. Represents a real-world object or concept


a. Entity
b. Index

15. In the Three-Schema Architectural level, which level that describes structure of the whole
database for a community of users
a. Conceptual level

16. Represents an association among the entities


a. Relationship

17. Represents some property of interest and further describes an entity


a. Attribute

18. In the Three-Schema Architectural level that describes physical storage structure of the
database
a. Internal level

19. ________ is not a key


a. Superkey
20. A component of the schema or an object within the schema is called __________
a. ?

21. Which one of the following is not under the responsibility of database Administrator
(DBA)
a. ?

22. Whose responsibility is to determine the requirements of the end users


a. Application Programmers
b. System analysts

23. Each transaction appears to execute in isolation from other transaction is called _______
property.
a. Associative Property
b. Isolation

24. A state that satisfies the structure and constraints of the data is called
a. Valid state

25. Which of the following statement describes Transaction Atomicity


a. The DBMS ensures that either all the database operations in the transaction are
executed or none

26. Which one of the following data models describes the details of how data is stored on
computer storage media
a. Physical data model

27. Which one of the following describes the structure of the database
a. Meta-Data

28. Which level of Three-schema architecture describes the part of the database that a
particular user group interested in
a. External level

29. Which of the following DBMS language allows retrieval, insertion, deletion and
modification
a. ?
Short Answer Questions:

1. What are the main components of a database system


2. What do we mean by: Program-data independence
3. Write three examples of DBMS Interfaces
4. What is the difference between the Primary Key and Candidate Key
5. What do mean be the Entity Integrity
6. Two DBMS user-friendly interfaces
7. Two Database approach characteristics
8. What are canned transactions
9. List the two types of distributed sites
10. What are the tasks/programs the client and server handles in Two-Tier Client/Server
Architecture for DBMS
11. List any two advantages of using DBMS approach
12. What is non-procedural data manipulation language

True or False Questions:

1. The DBMS catalog of a car reservation agent database, is used to store the description of
the database. T

2. SQL is a very good example of DBMS procedure language because we can use it to
retrieve set of data at a time. F

3. The conceptual data modelling provides concepts that describe details of how data is
stored in the computer. F

4. DBAs are responsible for authorizing access to the database. T

5. Information about student such as student ID, name, phone, major are examples of Meta-
data. F

6. Conceptual representation of data includes details of how data is stored or how operations
are implemented. F

7. A Database that extracts and analyzes useful business information from very large
databases is said to be Real-time and active database technology. F

8. Deleting a student record is considered an example of data Manipulation. T

9. Listing the names of passengers who travelled on Flight number AF123 is an example of
a Query. T

10. Data abstraction refers to Suppression of details of data organization and storage and
highlighting of the essential features for an improved understanding of data. T
11. A table Represents a collection of related data values. T

12. As part of the characteristics of Relations Order of attributes and values is not that
important T

13. As part of the characteristics of Relations, tuples in a relation has to be ordered in an


ascending order. F

14. Degree (or arity) of a relation is the number of attributes n of its relation schema. T

15. In general, an entity is a characteristic. F

16. An attribute is a data item that allows us to uniquely identify individual occurrences or an
entity type. F

17. Data abstraction does not supports program-data independence and program-operation
independence. F

18. DBMS are not suitable for Embedded Systems with limited storage space. T

19. Data Independence is the capacity to change the schema at one level of a database system
without having to change the schema at the next lower level. F
Midterm Theory – Database

Multiple Choice Questions:

1. Database design decisions must be made carefully because of impacts on:


a. Data accessibility
b. Response time
c. Security
d. All of the above

2. An attribute that can be calculated from related attribute values is called a(n)
a. Simple
b. Composite
c. Multi-valued
d. Derived

3. A property or characteristic of an entity that is of interest to the organization is called a :


a. Attribute
b. Recursive
c. Relationship
d. Cross-Function

4. An attribute that can be broken down into smaller parts is called a(n)_______ attribute
a. Associative
b. Multi
c. Composite
d. Complex

5. The _______ of a relationship is the number of participating entities


a. Degree
b. Cardinality constraint (ratio)
c. Counter constraint
d. Limit

6. An Entity that does not have a key attribute of its own and can’t be identified without an
owner entity is called:
a. Simple Entity
b. Weak Entity
c. Dependent Entity
d. Partial Entity
7. Customers, cars, and parts are examples of:
a. Entities
b. Attributes
c. Cardinals
d. Relationships

8. Which of the following is not a DDL command


a. CREATE
b. ALTER
c. DELETE
d. DROP

9. ____is a collection of concepts that describe the structure of a database


a. Data model
b. Schema
c. DBMS
d. Application

10. In SQL statement, which one of the following choices is considered to be in a correct
order in in terms of the commands/clauses?
a. SELECT, WHERE, FROM, ORDER BY
b. SELECT, FROM, ORDER BY, WHERE
c. FROM, SELECT, WHERE, ORDER BY
d. SELECT, FROM, WHERE, ORDER BY

11. The _____ are Responsible for identifying the data to be stored.
a. Database administrators
b. Database designers
c. End users
d. System analysts

12. ____can be described as a data in database at a particular moment in time


a. Schema
b. Construct
c. Snapshot or database state
d. Index

13. Which one of the following statement(s) is/are true for three-tier architecture
a. A client is typically a PC or a mobile device connected to the web
b. Clients cannot directly access databases server
c. Database server is only accessible via middle tier
d. All the above
14. Which one of the following user-friendly DBMS interfaces accept requests written in
English or some other language and attempts to understand them
a. Menu-based interface
b. Form-based interface
c. Natural language interface
d. Graphics-based interface

15. Which one of the following DBMS languages is used to define a database
a. DML
b. DDL
c. DSL
d. SDL

16. A database state that satisfies the structure and constraints of the database
a. Database state
b. Initial database state
c. Valid state
d. Satisfy state

17. A Database _______ stores the description of a particular database


a. Catalog
b. Category
c. Catalyst
d. Cardinality

18. Known facts that can be recorded and have an implicit meaning is called:
a. Data
b. Database
c. DBMS
d. Relational DBMS

19. Modifying tuples of database through web application is called:


a. Defining the database
b. Constructing the database
c. Manipulating the database
d. Sharing the database
Short Answer Questions:
1. Define database integrity and give an example to illustrate its importance
2. Explain the concept “Cardinality” and give examples of One-to-Many relationship with
maximum Cardinality
3. Explain what Foreign Keys are used for
4. Define entity integrity constraint
5. Explain “Referential integrity” and give an example to illustrate its importance
6. Explain the difference between composite attributes and composite keys
7. Briefly Describe the difference between a physical database and a conceptual database
8. Explain the concept Referential Integrity.
9. List four types of DBMS Interfaces.
10. List three responsibilities for Database Administrators (DBA):
11. In the Three-Schema Architecture, briefly Describe the difference between the internal
Level and the External Level

True or False Questions:


1. A composite attribute is the same as multivalued attribute F
2. ‍All primary keys are unique and ‍all unique attributes are primary keys F
3. Composite keys in a table can also be foreign keys as well as being primary keys T
4. A named collection of related data is called a table T
5. Another name for an attribute is a record F
6. Another name for an attribute is a tuple F
7. Each entity has characteristics called attributes T
8. Another name for a row in a table is a record or a tuple T
9. Another name for a column in a table is a record or a tuple F*
10. Each row of a table is uniquely identified by the foreign keys F
11. A view is created out of a table or another view and it exists in the Database as virtual
Table. T
12. Meta-Data is a descriptive information stored by the DBMS in the form of a database
catalog or dictionary. T
13. A primary key can be selected from a list of candidate keys T
14. A composite attribute maybe composed of several components T
15. A table must have just one attribute as it’s primary key T

‫باقي الرسمات في الملفات‬


Quiz 2 – Database
Multiple Choice Questions:
1.

You might also like