Database Class – Flashcards
Unlock all answers in this set
Unlock answersquestion
An advantage of using the database approach to processing is that it facilitates consistency.β
answer
True
question
A program, or collection of programs, through which users interact with a database is known as a(n) _________________________.β
answer
DBMS
question
Access automatically adds double quotation marks around values in the design grid that are formatted as Short Text fields when you run the query or move the insertion point to another cell in the design grid.β
answer
True
question
QBE is a visual approach to writing queries.β
answer
True
question
In Access, it is common to create a table using SQL.β
answer
False
question
Dropping a table also deletes any data that you entered into the table.β
answer
True
question
When you connect two or more simple conditions with the AND operator, each condition must be listed on a separate line.β
answer
False
question
The HAVING clause is used to restrict groups that are included in a query result.β
answer
True
question
For two tables to be union compatible, the columns of the two tables must be identical.
answer
False
question
βYou can join three tables together but not four tables.
answer
False
question
In a one-to-many relationship, the primary key of the "many" table becomes the foreign key of the "one" table.β
answer
False
question
In DBDL, you represent a table by listing all columns and then underlining the primary key.β
answer
True
question
βTo verify that the correct change was made to data in a table, use the DISPLAY command.
answer
False
question
βWhen necessary, include a WHERE clause into the UPDATE command to indicate the column on which the change is to take place.
answer
False
question
Additional storage and memory space are not required to store timestamp values.
answer
False
question
To protect an organization's data against physical damage, the DBA creates a disaster recovery plan.β
answer
True
question
The DBA creates security policies and procedures.
answer
False
question
When relational databases store complex objects, these special data types are known as VLOBs.
answer
False
question
The actions defined for a class are known as methods.β
answer
True
question
To create forms to use with a database you must write a program.β
answer
False
question
Software packages, called database management systems, can do the job of manipulating databases for you.
answer
True
question
In a relation, the order of rows is important.β
answer
True
question
A relational database handles entities, attributes, and relationships by storing each entity in its own table.β
answer
True
question
To list all the columns in a table, use the LIST COLUMNS command.β
answer
False
question
When you enter a new row into a table or modify an existing row, the values for one or more columns can be unknown or unavailable.
answer
True
question
In a SELECT statement, the FROM clause and the WHERE clause (when used) must appear on separate lines.β
answer
False
question
The WHERE clause applies to both rows and groups.
answer
False
question
For two tables to be union compatible, the columns of the two tables must be identical.
answer
False
question
Table A has 10 rows and table B has 7 rows. The product of Table A and Table B would have 70 rows.
answer
True
question
The basic relationships among entities are: one-to-many, many-to-many, and one-to-one.
answer
True
question
Nulls are used when a value is either unknown or inapplicable.
answer
True
question
It is a good idea to use a SELECT command to display the data you changed to verify that the correct update was made.
answer
True
question
The DROP TABLE command creates an empty table.
answer
False
question
A DBMS must provide ways to ensure that only authorized users can access the database.
answer
True
question
The most common security features used by DBMSs are batch processing, journaling, and timestamping.
answer
False
question
A shared lock permits other users to read the data in the database.
answer
True
question
To protect an organization's data against physical damage, the DBA creates a disaster recovery plan.
answer
True
question
In order to view and analyze higher levels of aggregate data, you must drill down the data.
answer
False
question
A local deadlock involves one transaction that requires a record held by a second transaction at one site, while the second transaction requires a record held by the first transaction at a different site.
answer
False
question
Programs created with Visual Basic, Java, Perl, PHP, or C++ can access the database directly, rather than having to access it through the DBMS.
answer
False
question
Sharing data is one advantage of database processing.β
answer
True
question
A relational database handles entities, attributes, and relationships by storing each entity in its own table.β
answer
True
question
In an AND criterion, the overall criterion is true if either of the individual criteria is true.β
answer
False
question
To view data in a table, use the VIEW command.
answer
False
question
In Access, it is common to create a table using SQL.β
answer
False
question
To sort records in descending order, follow the name of the sort key with the REVERSE operator.
answer
False
question
It is possible to use both a WHERE clause and a HAVING clause in a SELECT statement.β
answer
True
question
The product operation is commonly used.
answer
False
question
There is only one approach to joining tables.
answer
False
question
The basic relationships among entities are: one-to-many, many-to-many, and one-to-one.β
answer
True
question
The first step in creating a user view is to normalize the tables.β
answer
False
question
βYou can create a new table using data in an existing table.
answer
True
question
In some cases, you might need to change a table's structure in ways that are beyond the capabilities of your DBMS. When that happens, use the RESTRUCTURE command to redesign the table.
answer
False
question
In some database systems, such as Microsoft Access, users can access and update metadata about fields, tables, relationships, and indexes.β
answer
True
question
In a PC-based DBMS, as long as one program has a row or table locked, no other program may access that row or table.
answer
True
question
In most cases, access to every table and field in a database is a necessity for every user.
answer
False
question
An internal company network that uses software tools typically used on the Internet and World Wide Web is called an extranet.
answer
False
question
In order to view and analyze higher levels of aggregate data, you must drill down the data.β
answer
False
question
If the client only performs the presentation functions (and not the business functions), then the client is known as a fat client.β
answer
False
question
There is a greater impact of failure in a nondatabase, file-oriented system.β
answer
False
question
A query is a question represented in a way that the DBMS can recognize and process
answer
True
question
The comparison operators are also known as relational operators.
answer
True
question
To change a value in a table, use the CHANGE command.β
answer
False
question
The COUNT function only applies to columns with numeric values.β
answer
False
question
A query is a question represented in a way that the DBMS can understand.
answer
True
question
There are three types of inner joins.
answer
False
question
The use of an "m" and an "n" in an E-R diagram indicates a many-to-many relationship.β
answer
True
question
In an E-R diagram, a dashed line represents an identifying relationship and a solid line represents a nonidentifying relationship
answer
False
question
In a transaction, it is acceptable if some steps fail.
answer
False
question
The DBMS must successfully complete all transaction steps or none at all for the database to remain in a correct state.β
answer
True
question
Another term for production system is the test system.
answer
False
question
If users are unaware of fragmentation, the DDBMS has fragmentation transparency.β
answer
True
question
Each table in a database represents two or more entities.
answer
False
question
A DBA can assign passwords to prevent unauthorized users from accessing the data.β
answer
True
question
An unnormalized relation is a table that has more than one row.β
answer
False
question
In a relation, the order of the columns is important.
answer
False
question
To enter a null value into a table, you use a special format of the NULL command.β
answer
False
question
You can use computed columns in comparisons.β
answer
True
question
The WHERE clause applies to both rows and groups.β
answer
False
question
For two tables to be union compatible, the columns of the two tables must be identical.
answer
False
question
You can perform special operations, such as self-joins, within SQL.
answer
True
question
You create a many-to-many relationship by creating a new table whose primary key is the combination of the primary keys of the original tables.β
answer
True
question
In an E-R diagram, a dashed line represents an identifying relationship and a solid line represents a nonidentifying relationship.
answer
False
question
You can use REMOVE ROW to remove a row from a table.
answer
False
question
In a transaction, it is acceptable if some steps fail.
answer
False
question
When the DBMS locks more rows and releases none of the locks, this is called an expanding phase.β
answer
False
question
The DBA is responsible for DBMS maintenance, data dictionary management, and training.
answer
True
question
The CEO of the company determines the database access privileges for all users.β
answer
False
question
Seek delay refers to the fixed amount of time that is required for every message.β
answer
False
question
On a client/server network, the server is a computer that provides data to the clients.β
answer
True
question
The attributes of an entity become the fields or columns in a table.β
answer
True
question
Access does not use script files.
answer
True
question
Unlike Oracle, Access does not support the DECIMAL data type.β
answer
True
question
When data is sorted on two columns, the more important column is called the major sort key.β
answer
True
question
βOne reason for using an alias is when you are joining a table to itself.
answer
True
question
βWhen using a DBMS without an optimizer, the formulation of a query can make a difference in the speed with which the query is executed.
answer
True
question
The second step in creating a user view is to represent the user view as a collection of tables.β
answer
False
question
βUpdates become permanent automatically when you exit from the DBMS.
answer
True
question
The successful completion of a transaction is known as an after image.β
answer
False
question
A shared lock permits other users to read the data in the database.β
answer
True
question
βManagement approval is not required before the security policies and procedures can be implemented.
answer
False
question
βAn XML document should begin with an XML declaration.
answer
True
question
A distributed database is a single logical database that is physically divided among computers at several sites on a network.β
answer
True
question
An entity is also defined as an attribute.
answer
False
question
A column whose value uniquely identifies a given row in the table is the secondary key.β
answer
False
question
The concept of grouping means that statistics will be calculated for individual records.β
answer
False
question
Sometimes a condition involves a column that can accept null values.
answer
True
question
βIn small databases, there is a significant time difference between different query approaches.
answer
False
question
When you use an E-R diagram to represent a database, it visually illustrates all the information listed in the DBDL.β
answer
True
question
βIn Access, use the Documenter tool to show the layout of a table.
answer
True
question
βIf you change the value of a column to NULL, you must enclose the NULL value in single quotation marks.
answer
False
question
One guideline for writing programs for concurrent updates in a PC-based DBMS states that if an update transaction must lock more than one row in the same table, the whole table must be locked.β
answer
True
question
An internal company network that uses software tools typically used on the Internet and World Wide Web is called an extranet.β
answer
False
question
In most cases, access to every table and field in a database is a necessity for every user.β
answer
False
question
One approach you can use to model all the various aspects of software development for object-oriented systems is known as UML.β
answer
True
question
Access to a data warehouse is accomplished through the use of OLAP software.β
answer
True
question
The comparison operators are also known as relational operators.
answer
True
question
To run SQL commands in Access, you must first create a new query.β
answer
True
question
It is possible to place one query inside another.
answer
True
question
SQL requires that you follow special formatting rules.β
answer
False
question
You can join tables by using a condition in the WHERE clause.
answer
True
question
You can use the EXISTS operator to retrieve data from more than one table.
answer
True
question
In an entity-relationship diagram, rectangles represent foreign keys.β
answer
False
question
βIn some cases, you might need to change a table's structure in ways that are beyond the capabilities of your DBMS. When that happens, use the RESTRUCTURE command to redesign the table.
answer
False
question
βThe data stored in tables changes only infrequently.
answer
False
question
Programmers monitor database usage to detect potential security violations.β
answer
False
question
Another term for production system is the test system.
answer
False
question
Programs created with Visual Basic, Java, Perl, PHP, or C++ can access the database directly, rather than having to access it through the DBMS.β
answer
False
question
In Access, use the Documenter tool to describe the tables in a database.β
answer
True
question
Aggregate functions apply to groups of rows.β
answer
True
question
Instead of including every column in the SELECT clause, you can use an ampersand (&) to indicate that you want to include all columns.β
answer
False
question
When joining tables, it is always necessary to qualify a column name.
answer
False
question
βOccasionally, a self-join might involve the primary key of a table.
answer
True
question
βYou cannot change the characteristics of existing columns.
answer
False
question
βIt is a good idea to use a SELECT command to display the data you changed to verify that the correct update was made.
answer
True
question
βWhen relational databases store complex objects, these special data types are known as VLOBs.
answer
False
question
The relationship between different entities (in different tables) is handled by their common columns.
answer
True
question
βSoftware packages, called database management systems, can do the job of manipulating databases for you.
answer
True
question
Each column in a table should have a unique name, and entries in each column should all "match" this column name.β
answer
True
question
If you added a row that should not be in a table, use a REMOVE command to remove it.β
answer
False
question
To specify that query results be listed in a specific order, use the SORT BY clause.β
answer
False
question
When the OR operator connects simple conditions, the compound condition will be true whenever any one of the simple conditions is true.β
answer
True
question
ββWhen the innermost subquery is evaluated, a permanent table is produced.
answer
False
question
The primary key is a unique identifier.β
answer
True
question
The MIN function determines the minimum value in a column.β
answer
False
question
Smart cards have built-in circuits containing processing logic to identify the cardholder.β
answer
True
question
Each job that a user completes, such as filling an order, is called a user task.
answer
False
question
Each table in a database represents two or more entities.
answer
False
question
The data type indicates the type of data that a column can contain.β
answer
True
question
In a nested query, the outer query is evaluated first.β
answer
False
question
An arithmetic column is a column that does not exist in the database but can be computed using data in existing columns.
answer
False
question
You must join tables by finding rows in the two tables that have identical values in matching columns.
answer
True
question
When you combine third normal form tables, the result will always be in third normal form.β
answer
False
question
βTo permanently remove both a table and its data, you must issue both a DROP TABLE command and a DELETE command.
answer
False
question
When a company decides to purchase a new DBMS, the CEO leads the DBMS evaluation and selection effort.β
answer
False
question
In a DDBMS, the site where the user is located is called the remote site.β
answer
False
question
An attribute is known as a row in most databases.
answer
False
question
A query is a question represented in a way that the DBMS can recognize and process.
answer
True
question
The DISTINCT operator is useful when used in conjunction with the COUNT function.β
answer
True
question
To ensure that query results are listed in a desired order, use the ORDER BY clause.
answer
True
question
There is only one approach to joining tables.
answer
False
question
Nulls are used when a value is either unknown or inapplicable.β
answer
True
question
There are table structure changes that are beyond the capabilities of SQL.
answer
True
question
The more important it is to avoid redoing work, the more often you should make backups.β
answer
True
question
A characteristic of a DDBMS that states that users do not need to be aware of the location of the data in a database is known as replication transparency.β
answer
False
question
In a full outer join, all rows from both tables will be included regardless of whether they match rows from the other table.
answer
True
question
When provided with a user view or some sort of stated requirement, you must develop a collection of tables that will support it.β
answer
True
question
To add a new column, use the ADD NEW COLUMN clause of the ALTER TABLE command.
answer
False
question
Encrypted data can be read by a word processor program.β
answer
False
question
SQL is an example of a nonprocedural language.β
answer
False
question
The server is also known as a front-end processor or front-end machine.
answer
False
question
An attribute is a characteristic or property of an entity.
answer
True
question
The comparison operators are +, *, %, and /.β
answer
False
question
The GROUP BY clause sorts the data in a particular order.
answer
False
question
A foreign key is a column or collection of columns in one table that is required to match the value of the primary key for some row in another table, or be null.
answer
True
question
The BETWEEN operator is an essential feature of SQL.β
answer
False
question
βIf you decrease the size of a column, it is possible to lose some data currently in the column.
answer
True
question
A local deadlock involves one transaction that requires a record held by a second transaction at one site, while the second transaction requires a record held by the first transaction at a different site.β
answer
False
question
A database will not only hold information about multiple types of entities, but also information about the relationships among these multiple entities.
answer
True
question
To sort records in descending order, follow the name of the sort key with the REVERSE operator.β
answer
False
question
In a nested query, the outer query is evaluated first.
answer
False
question
βYou must use a comma or a period to separate a table name from its alias.
answer
False
question
Accessing data using messages over a network is substantially slower than accessing data on a disk.
answer
True
question
The product operation is commonly used.
answer
False
question
Careful planning in the early stages of the normalization process will usually avoid the need to consider fourth normal form.
answer
True
question
In a PC-based DBMS, as long as one program has a row or table locked, no other program may access that row or table.β
answer
True
question
To implement and enforce security, the DBA uses such features as encryption and views.β
answer
True
question
When you query a database, there is a defined order in which the results are displayed.
answer
False
question
If you specify NOT NULL for a column when you create a table, you are prohibited from changing a value in the column to null.
answer
True
question
You can use the existing value in a column and a calculation to update a value.
answer
True
question
Damage to a database can occur through a physical incident such as an abnormally terminated program.
answer
True
question
βThe command, CREATE TABLE AS LEVEL1_CUSTOMER USING CUSTOMER; creates a table called LEVEL1_CUSTOMER that has the same structure as CUSTOMER.
answer
False
question
There are two types of primary keys that you can use in your database design.
answer
False
question
You can increase the length of column but you cannot decrease the length of a column.
answer
False
question
A global deadlock occurs at a single site in a distributed database.β
answer
False
question
SQL was developed as the data manipulation language for IBM's prototype relational model DBMS, System R.β
answer
True
question
The WHERE clause is used to retrieve rows that satisfy some condition.
answer
True
question
ββTable A has 10 rows and table B has 7 rows. The product of Table A and Table B would have 70 rows.
answer
True
question
You cannot use a compound condition with an UPDATE command.
answer
False
question
The only arithmetic operators that can be used in SELECT statements are + for addition and - for subtraction.β
answer
False
question
In two-phase locking, the second phase is the shrinking phase.β
answer
True
question
QBE is an example of a procedural language.β
answer
False
question
A simple condition has the form: column name, comparison operator, and then either another column name or a value.β
answer
True