CIS 120 - Introduction to Databases » Summer 2021 » Final Exam
Need help with your exam preparation?
Get Answers to this exam for $6 USD.
Get Answers to all exams in [ CIS 120 - Introduction to Databases ] course for $25 USD.
Existing Quiz Clients Login here
Question #1
The following query is valid in Relational Algebra. PROJECT Client OVER (ClientNum , ClientName) GIVING Answer ;
A.
FALSE
B.
TRUE
Question #2
The FD: A -> B means that each value for A is associated with exactly one value of B.
A.
TRUE
B.
FALSE
Question #3
The binary number 10001001 is equal to _____ in hex.
A.
88
B.
89
Question #4
ACCESS is NOT a relational DBMS.
A.
TRUE
B.
FALSE
Question #5
A table can have only one primary key, but can have many foreign keys.
A.
TRUE
B.
FALSE
Question #6
In the Relationships diagram of Access, a line connects a primary key to a foreign key with one-to-many relationship.
A.
FALSE
B.
TRUE
Question #7
An un-normalized relation is a structure that satisfies all properties of a relation except that some entries in the table are NOT single-valued.
A.
TRUE
B.
FALSE
Question #8
Table W ( N, D , T , C , S ) is in 2NF if it has the following 2 FDs: FD1: N -> D FD2: N, T -> ( D , C , S )
A.
FALSE
B.
TRUE
Question #9
Given that a professor can teach many courses, the relationship from Professor entity to Course entity is one-to-many.
A.
TRUE
B.
FALSE
Question #10
A table can have many primary keys since a table may have many candidate keys.
A.
TRUE
B.
FALSE
Question #11
If a consultant can serve many clients, then the relationship from Client table to Consultant table is 1-to-many.
A.
TRUE
B.
FALSE
Question #12
In a relational database, some duplicate rows are allowed in a table.
A.
FALSE
B.
TRUE
Question #13
The following SQL command will only remove or delete all the records in the Client table. DROP TABLE Client ;
A.
TRUE
B.
FALSE
Question #14
System catalog is maintained automatically by the DBMS.
A.
FALSE
B.
TRUE
Question #15
One disadvantage of using a DBMS is to suffer more damage for any DBMS failure.
A.
TRUE
B.
FALSE
Question #16
In a client/server system, a server provides services, and a client requests for services.
A.
TRUE
B.
FALSE
Question #17
System catalog is maintained by the DBA of the DBMS.
A.
TRUE
B.
FALSE
Question #18
The FD: ( L , F , G ) -> SID is valid in the Student table as defined below: Student ( SID , L , F , G )
A.
FALSE
B.
TRUE
Question #19
The following SQL command will drop or remove or delete the Student table’s definition and all its data rows. DROP TABLE Student ;
A.
FALSE
B.
TRUE
Question #20
There are no disadvantages for creating indexes in any DBMS.
A.
FALSE
B.
TRUE
Question #21
QBE is a procedural language of 3GL.
A.
TRUE
B.
FALSE
Question #22
The hex number 00F is equal to _____ in decimal.
A.
15
B.
5
Question #23
In Access, referential integrity (RI) is specified by defining a relationship between two tables.
A.
TRUE
B.
FALSE
Question #24
SQL is a procedural language of 3GL.
A.
FALSE
B.
TRUE
Question #25
Decimal number 43 is = ________________ in binary.
A.
101011
B.
110101
Question #26
Some popular DBMS's are Windows 7, 8, and 10.
A.
FALSE
B.
TRUE
Question #27
Normalization is a method to convert tables into 2NF, 3NF, or 4NF.
A.
TRUE
B.
FALSE
Question #28
The following query is valid in Relational Algebra. PROJECT Client OVER (ClientNum , ClientName) GIVING Answer ;
A.
TRUE
B.
FALSE
Question #29
The following SQL command will drop or delete the field Age from the Student table. ALTER TABLE Student DROP COLUMN Age ;
A.
FALSE
B.
TRUE
Question #30
If the Tasks table has been defined , the following SQL query is valid in Access. SELECT ALL FROM Tasks ;
A.
TRUE
B.
FALSE
Question #31
A record is a row, and a row is a column.
A.
FALSE
B.
TRUE
Question #32
Referential integrity (RI) means that if table A contains a foreign key that matches the primary key of table B, the value of this foreign key must match the value of the primary key for some row in table B or be null.
A.
TRUE
B.
FALSE
Question #33
The FD: A -> B means that each value for A is associated with exactly one value of B.
A.
TRUE
B.
FALSE
Question #34
In the following SQL command, ON DELETE CASCADE means if instructor 2 is deleted from the Instructor table, all students with adviser being instructor 2 will be deleted at the same time. CREATE TABLE Student ( StudentID int NOT NULL, AdvisorID int , LastName varchar(45) NOT NULL, FirstName varchar(45) NOT NULL ) PRIMARY KEY ( StudentID ) FOREIGN KEY ( AdvisorID ) REFERENCES Instructor ( InstructorID ) ON DELETE CASCADE ;
A.
TRUE
B.
FALSE
Question #35
We can write queries using Relational Algebra in Access.
A.
FALSE
B.
TRUE
Question #36
A relationship is an association between two attributes.
A.
TRUE
B.
FALSE
Question #37
Table W ( ON, D, TD, DC, SD, Q ) is not in 2NF if it has the following 3 FDs: FD1: ON -> D FD2: TD -> DC FD3: ON, TD -> ( D, DC , SD, Q )
A.
FALSE
B.
TRUE
Question #38
One advantage of indexes is to make some data retrieval more efficient.
A.
TRUE
B.
FALSE
Question #39
The SQL commands for security mechanisms are CREATE and DROP.
A.
FALSE
B.
TRUE
Question #40
Table in 1NF is better than the table in 2NF, which is better than the table in 3NF or 4NF.
A.
TRUE
B.
FALSE
Question #41
A relationship is an association between two tables through their common fields.
A.
TRUE
B.
FALSE
Question #42
In QBE queries, we may use aggregate functions such as Count, Sum, Avg, Max, and Min.
A.
TRUE
B.
FALSE
Question #43
System catalog contains only information of those tables that are commonly used by DBA.
A.
TRUE
B.
FALSE
Question #44
In a relational database, some duplicate rows are allowed in a table.
A.
TRUE
B.
FALSE
Question #45
The FD: SID -> ( L , F , GPA ) is valid in the Student table as defined below: Student ( SID , L , F , GPA )
A.
TRUE
B.
FALSE
Question #46
The hex number 00000F is equal to _____ in decimal.
A.
15
B.
25
Question #47
A table must have some columns or fields.
A.
FALSE
B.
TRUE
Question #48
The binary number 000111001 is equal to ________ in decimal.
A.
57
B.
75
Question #49
ERD shows the relationships among all tables or entities.
A.
TRUE
B.
FALSE
Question #50
A , which is a column or a set of columns, is a candidate key for table R if and only if all columns in R are functionally dependent on A.
A.
FALSE
B.
TRUE
Question #51
An un-normalized relation is a structure that satisfies all properties of a relation except that some entries in the table are NOT single-valued.
A.
TRUE
B.
FALSE
Question #52
We can still ALTER TABLE after the table has been dropped from the database system.
A.
FALSE
B.
TRUE
Question #53
( A -> B and B -> C ) implies A -> C
A.
FALSE
B.
TRUE
Question #54
Referential integrity (RI) states that the value in any foreign key field must be null or must match an actual value in the primary key field of another table.
A.
TRUE
B.
FALSE
Question #55
In Access, a join line indicates that the tables are related between primary key (PK) and foreign key (FK).
A.
TRUE
B.
FALSE
Question #56
Given that a professor can advise many students, the relationship from Professor entity to Student entity is many-to-one.
A.
TRUE
B.
FALSE
Question #57
Normally, a DBA would design a database with tables whose FDs are documented clearly in users’ manuals/policies.
A.
FALSE
B.
TRUE
Question #58
To select data from two tables, we need to join two tables based on the matching fields in the corresponding columns.
A.
FALSE
B.
TRUE
Question #59
( A -> B and B -> C ) implies A -> C
A.
TRUE
B.
FALSE
Question #60
Table in 1NF is better than the table in 2NF, which is better than the table in 3NF or 4NF.
A.
TRUE
B.
FALSE
Question #61
A PC with a 3.4-GHz CPU can execute up to 3.4 million instructions per second.
A.
FALSE
B.
TRUE
Question #62
Table W ( ON, D, TD, DC, SD, Q ) does not have any problems if it has the following 3 FDs: FD1: ON -> D FD2: TD -> DC FD3: ON, TD -> ( D, Q , SD, DC )
A.
TRUE
B.
FALSE
Question #63
The binary number 001001 is = _______in Octal.
A.
21
B.
11
Question #64
To specify referential integrity (RI) in SQL, we may add FOREIGN KEY clause in either the CREATE TABLE or ALTER TABLE commands.
A.
FALSE
B.
TRUE
Question #65
The FD: SID -> GPA is valid in the Student table as defined below: Student ( SID , LastName , FirstName , GPA )
A.
FALSE
B.
TRUE
Question #66
We cannot create an index on many columns of a table.
A.
TRUE
B.
FALSE
Question #67
Binary number 101100110 is = _________ in decimal.
A.
358
B.
255
Question #68
The primary key of a table R is the column(s) (in R) that can uniquely identify every row in R.
A.
TRUE
B.
FALSE
Question #69
In Access, referential integrity (RI) is specified by defining a relationship between two tables.
A.
FALSE
B.
TRUE
Question #70
A table can have many primary keys since a table may have many candidate keys.
A.
FALSE
B.
TRUE
Question #71
In QBE queries, we may use aggregate functions such as Count, Sum, Avg, Max, and Min.
A.
FALSE
B.
TRUE
Question #72
In Microsoft Access, a row is a column.
A.
TRUE
B.
FALSE
Question #73
In the following SQL command, ON DELETE SET NULL means if instructor 6 is deleted from the Instructor table, all students with adviser being instructor 6 will be deleted at the same time. CREATE TABLE Student ( StudentID int NOT NULL, AdvisorID int , LastName varchar(45) NOT NULL, FirstName varchar(45) NOT NULL ) PRIMARY KEY ( StudentID ) FOREIGN KEY ( AdvisorID ) REFERENCES Instructor ( InstructorID ) ON DELETE SET NULL ;
A.
FALSE
B.
TRUE
Question #74
We can write queries using QBE and SQL in Access.
A.
FALSE
B.
TRUE
Question #75
QBE is a non-procedural language of 4GL.
A.
FALSE
B.
TRUE
Question #76
Normalization is a method to correct potential problems or anomalies in relational databases.
A.
TRUE
B.
FALSE
Question #77
Referential integrity (RI) means that if table A contains a foreign key that matches the primary key of table B, the value of this foreign key must match the value of the primary key for some row in table B or be null.
A.
TRUE
B.
FALSE
Question #78
Entity can NOT be fish, animal, object, or country.
A.
TRUE
B.
FALSE
Question #79
In QBE query, we may specify " > 21 " on Criteria: row under Age column.
A.
TRUE
B.
FALSE
Question #80
An un-normalized table can be in 1NF sometimes.
A.
FALSE
B.
TRUE
Question #81
The FD: ( L , F ) -> SID is NOT in the Student table as defined below: Student ( SID , L , F , GPA )
A.
TRUE
B.
FALSE
Question #82
In a relational database, an entity is represented by a table.
A.
FALSE
B.
TRUE
Question #83
ERD stands for ________ Relationship Diagram. (hint: E_________y )
A.
Entity
B.
Entry
Question #84
A table that contains a repeating group (or multiple entries for a column in a single record) is not in 1NF.
A.
TRUE
B.
FALSE
Question #85
The FD: SID -> ( L , F , GPA ) is valid in the Student table as defined below: Student ( SID , L , F , GPA )
A.
TRUE
B.
FALSE
Question #86
The decimal number 10 is equal to _________ in binary.
A.
1100
B.
1010
Question #87
We should create unique index for the foreign key of each table.
A.
TRUE
B.
FALSE
Question #88
The following SQL command is to add a new field called GPA to the Student table. ALTER TABLE Student ADD GPA CHAR(1) ;
A.
TRUE
B.
FALSE
Question #89
To extract meaningful information from big data, the company needs optimal processing power, analytics capabilities, and skills.
A.
FALSE
B.
TRUE
Question #90
QBE stands for _______ By Example. (hint: Q_____y)
A.
Query
B.
Quantity
Question #91
Normalization process may not guarantee to make all tables free of all anomalies or problems.
A.
TRUE
B.
FALSE
Question #92
System catalog contains information about any table, column, query, report, form, or other object in the database system.
A.
FALSE
B.
TRUE
Question #93
In the following SQL command, ON DELETE CASCADE means if instructor 9 is deleted from the Instructor table, all students with adviser being instructor 9 will be saved in a table for DBA to process. CREATE TABLE Student ( StudentID int NOT NULL, AdvisorID int , LastName varchar(45) NOT NULL, FirstName varchar(45) NOT NULL ) PRIMARY KEY ( StudentID ) FOREIGN KEY ( AdvisorID ) REFERENCES Instructor ( InstructorID ) ON DELETE CASCADE ;
A.
TRUE
B.
FALSE
Question #94
SQL stands for ________ Query Language. (hint: S______d)
A.
Structured
B.
Standard
Question #95
Table W ( N, D, T, S, Q ) is in 2NF, 3NF, and 4NF if it only has the following FD: FD1: N, T -> ( D, S , Q )
A.
TRUE
B.
FALSE
Question #96
Structured _______________ Language. (hint: Q______y)
A.
Query
B.
Quantity
Question #97
In Access, a join line indicates that the tables are related between primary key (PK) and foreign key (FK).
A.
FALSE
B.
TRUE
Question #98
A table may have many rows or no rows at all.
A.
FALSE
B.
TRUE
Question #99
In QBE queries, we cannot sort on multiple keys.
A.
FALSE
B.
TRUE
Question #100
The following SQL command is valid to create an unique index of one column on a table. CREATE UNIQUE INDEX IXClientNum ON Client ( ClientNum ) ;
A.
FALSE
B.
TRUE
Question #101
To specify primary key in SQL, we may enter a PRIMARY KEY clause in either an ALTER TABLE or a CREATE TABLE command.
A.
FALSE
B.
TRUE
Question #102
The following SQL command will only remove or delete all the rows or records of the Class table. DROP TABLE Class ;
A.
TRUE
B.
FALSE
Question #103
The primary key for Student table in a relational database can be StudentID.
A.
TRUE
B.
FALSE
Question #104
A trigger is an action that occurs automatically in response to an associated database operation such as an INSERT, UPDATE, or DELETE.
A.
TRUE
B.
FALSE
Question #105
The FD: SID -> GPA is valid in the Student table as defined below: Student ( SID , L , F , GPA )
A.
FALSE
B.
TRUE
Question #106
A table can have only one primary key and one foreign key.
A.
TRUE
B.
FALSE
Question #107
In a relational database, an entry of a field can be a set of values.
A.
TRUE
B.
FALSE
Question #108
The FD: A -> B implies the FD: B -> A
A.
FALSE
B.
TRUE
Question #109
( A -> B and A -> C ) implies B -> C
A.
FALSE
B.
TRUE
Question #110
Some advantages of using database approach are to control redundancy and to maintain referential integrity.
A.
FALSE
B.
TRUE
Question #111
In a table, an entry is NOT single-valued if it contains repeating groups.
A.
FALSE
B.
TRUE
Question #112
A database is a data structure that holds all tables, all fields of all tables, and all relationships among all tables.
A.
TRUE
B.
FALSE
Question #113
In a relational database, each entity is stored in a table or relation.
A.
FALSE
B.
TRUE
Question #114
Big data may be structured, unstructured, or a combination of both.
A.
TRUE
B.
FALSE
Question #115
( A -> B and A -> C ) implies B -> C
A.
FALSE
B.
TRUE
Question #116
2 to the power of 200 is about = 10 to the power of 50.
A.
TRUE
B.
FALSE
Question #117
We can NOT create an un-normalized table in Access or any relational DBMS.
A.
TRUE
B.
FALSE
Question #118
There are some advantages and some disadvantages for creating indexes in a DBMS.
A.
TRUE
B.
FALSE
Question #119
Access does not offer the functionality of triggers through data macros.
A.
FALSE
B.
TRUE
Question #120
An attribute, column, or field is a property of an entity.
A.
TRUE
B.
FALSE
Question #121
We can create an index on many columns of a table.
A.
FALSE
B.
TRUE
Question #122
We may use DELETE command to completely remove all records or rows of the table.
A.
FALSE
B.
TRUE
Question #123
A workgroup is a group of users who share the same authorization rules and permissions.
A.
FALSE
B.
TRUE
Question #124
In a RDBMS, a view is a snapshot of certain data in the database at a given moment in time.
A.
TRUE
B.
FALSE
Question #125
Forward recovery is to undo some problem transactions.
A.
FALSE
B.
TRUE
Question #126
In Access, we can encrypt a database with a password.
A.
TRUE
B.
FALSE
Question #127
There are some laws and regulations to dictate some privacy rules. Some organizations may institute additional privacy rules.
A.
TRUE
B.
FALSE
Question #128
In timestamping, DBMS processes updates to a database in timestamp order.
A.
TRUE
B.
FALSE
Question #129
During deadlock, two or more users are waiting for the other user to release a lock before they can proceed.
A.
FALSE
B.
TRUE
Question #130
Backward recovery or rollback is to undo some problem transactions.
A.
TRUE
B.
FALSE
Question #131
DBA will tune a database design to improve its performance that includes creating and deleting indexes, splitting tables, and de-normalizing tables.
A.
FALSE
B.
TRUE
Question #132
Key integrity includes foreign key and primary key constraints.
A.
FALSE
B.
TRUE
Question #133
Most DBMSs do not support VIEWs.
A.
FALSE
B.
TRUE
Question #134
Data ____________ means that we can change some database structures without the need to change our existing programs that can still access the database successfully. (hint: in_________ce)
A.
intelligence
B.
independence
Question #135
Authorization is totally different from authentication.
A.
FALSE
B.
TRUE
Question #136
A smart card is a small plastic card with some built-in circuits containing processing logic to identify the cardholder.
A.
TRUE
B.
FALSE
Question #137
Backward recovery or rollback is to apply after images from log to undo the updates of some problem transactions.
A.
TRUE
B.
FALSE
Question #138
Most DBMSs provide users with a simple way to make backup copies and to recover the database later by copying the backup over the database.
A.
TRUE
B.
FALSE
Question #139
DBMS should not make backup copies of a database for security and privacy reasons.
A.
TRUE
B.
FALSE
Question #140
ACCESS does support VIEWs.
A.
FALSE
B.
TRUE
Question #141
DBMS backward recovery feature may use the log to apply after images for the problem transactions.
A.
TRUE
B.
FALSE
Question #142
DBA can create an index for a table by entering a simple SQL command.
A.
FALSE
B.
TRUE
Question #143
DBA should synchronize master database with any replica database constantly because DBMS cannot do it.
A.
TRUE
B.
FALSE
Question #144
Encryption converts data to a format indecipherable to other users, and stores it in an encrypted format.
A.
TRUE
B.
FALSE
Question #145
Password is one simple and effective way to achieve authentication.
A.
TRUE
B.
FALSE
Question #146
Data integrity may include data types, legal data values, and data formats.
A.
FALSE
B.
TRUE
Question #147
A DBMS should manage multiple copies of same data in one central location.
A.
TRUE
B.
FALSE
Question #148
Backward recovery or rollback is to apply before images from log to undo the updates of some problem transactions.
A.
FALSE
B.
TRUE
Question #149
Normally, a company may appoint at least one DBA to manage the DBMS, and to perform all database administration tasks.
A.
TRUE
B.
FALSE
Question #150
DBMS must provide methods to recover a database in the event the database is damaged.
A.
FALSE
B.
TRUE
Question #151
Security is to prevent any unauthorized access, either intentional or accidental, to a database.
A.
TRUE
B.
FALSE
Question #152
In a DDBMS, a remote site is a site other than the one at which the user is located, and a local site is a site at which the user is located.
A.
TRUE
B.
FALSE
Question #153
A DBMS should synchronize master database with any replica database constantly.
A.
FALSE
B.
TRUE
Question #154
DBA can use authorization rules to specify which users have what type of access to which data.
A.
TRUE
B.
FALSE
Question #155
Authentication refers to techniques for identifying the person attempting to access the DBMS.
A.
FALSE
B.
TRUE
Question #156
Decrypting is to reverse the encryption so that data is readable to users.
A.
TRUE
B.
FALSE
Question #157
Synchronization means a DBMS exchanges all updated data between master database and a replica.
A.
FALSE
B.
TRUE
Question #158
Data recovery features not supplied by DBMS need to be included in its application programs by DBA.
A.
TRUE
B.
FALSE
Question #159
In a RDBMS, VIEWs cannot be used for security purposes.
A.
TRUE
B.
FALSE
Question #160
Authorization is the same as authentication.
A.
FALSE
B.
TRUE
Need help with your exam preparation?
Get Answers to this exam for $6 USD.
Get Answers to all exams in [ CIS 120 - Introduction to Databases ] course for $25 USD.
Existing Quiz Clients Login here