Deck 15: Introduction to Database Concepts
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 15: Introduction to Database Concepts
1
Inconsistency is the main reason to avoid redundancy of information in a database .
True
2
Relationships connect rows of one table with rows of another table .
True
3
Relationships are part of the metadata of a database .
True
4
Relationships are specified by the user of a database .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
The logical database is the permanent repository of the data .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
The logical database shows the user the view of the information he or she needs and wants .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
Queries are used to create views .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
A logical table can be created with information from no more than two physical tables .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
To successfully use a database, a user must be able to write SQL code .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
In relational databases, an attribute can be thought of as a column of a table, where the attribute names are the column headings and attribute values are the entries .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
A root element is the tag that encloses all of the content of an XML file .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
XML is intuitive because it is a self-describing language .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
Every relational database can be described by XML and, similarly, anything described by XML is a relational database .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
A table is defined with a specific set of attributes and, among the instances of any table, is the "empty instance . "
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
An XML file is an alternative notation for a database schema .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
A database table may not contain multiple identical rows . Each row must be unique .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
A database table is technically called a relation .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
The rules for producing XML encodings of information produce hierarchical descriptions that can be thought of as trees .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
The key field for a database of all students on a campus is probably the
A) student's ID number
B) student's date of birth
C) student's address
D) student's last name
A) student's ID number
B) student's date of birth
C) student's address
D) student's last name
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
What operation combines two tables based on matching fields?
A) Bind
B) Combine
C) Join
D) Unite
A) Bind
B) Combine
C) Join
D) Unite
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
What operation takes rows from one table to create a new table?
A) Select
B) Unite
C) Join
D) Union
A) Select
B) Unite
C) Join
D) Union
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
The Select operation on tables is often combined with the ________ operation to trim tables .
A) Select
B) Project
C) Join
D) Union
A) Select
B) Project
C) Join
D) Union
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
Assume that you use the Product operation on table A (5 attributes) x table B (3 attributes) . The resulting supertable will have
A) 15 attributes
B) 8 attributes
C) 2 attributes
D) 10 attributes
A) 15 attributes
B) 8 attributes
C) 2 attributes
D) 10 attributes
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
Logical tables are created from a(n)
A) query
B) view
C) relationship
D) key
A) query
B) view
C) relationship
D) key
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Relationships in a database schema show how
A) data types of all attributes within each table relate to each other
B) fields are related to one another in a table
C) information in a table is related to information in another table
D) queries are related to each other
A) data types of all attributes within each table relate to each other
B) fields are related to one another in a table
C) information in a table is related to information in another table
D) queries are related to each other
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
Rules for writing XML include
A) element names must begin with a special symbol
B) a required first line that identifies an XML file
C) tags and attributes are not case sensitive
D) All of these
A) element names must begin with a special symbol
B) a required first line that identifies an XML file
C) tags and attributes are not case sensitive
D) All of these
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
An attribute or a set of attributes that could potentially be chosen as the table's key is a
A) secondary key
B) primary key
C) candidate key
D) provisional key
A) secondary key
B) primary key
C) candidate key
D) provisional key
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
XML must be written using a
A) web browser
B) word processor
C) spreadsheet program
D) text editor
A) web browser
B) word processor
C) spreadsheet program
D) text editor
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
XML tags cannot contain
A) numbers
B) uppercase letters
C) lowercase letters
D) spaces
A) numbers
B) uppercase letters
C) lowercase letters
D) spaces
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
Which of the following statements is NOT true?
A) The rows of a database table do not have to be different; there can be two identical rows .
B) A given table instance becomes a different instance if a row is added or removed .
C) Columns (as a whole) and rows (as a whole) may be interchanged .
D) Even when the data for an attribute value is unknown, it is still a characteristic of that row .
A) The rows of a database table do not have to be different; there can be two identical rows .
B) A given table instance becomes a different instance if a row is added or removed .
C) Columns (as a whole) and rows (as a whole) may be interchanged .
D) Even when the data for an attribute value is unknown, it is still a characteristic of that row .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
The design of a(n) ________ database is guided by technical considerations, while the design of a(n) ________ database is guided by personal considerations of the users .
A) logical, relative
B) logical, physical
C) physical, XML-based
D) physical, logical
A) logical, relative
B) logical, physical
C) physical, XML-based
D) physical, logical
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
The database scheme (or schema)
A) specifies, for each attribute, its data type and whether or not it is the primary key
B) contains a list of attributes, one per row
C) succinctly describes a database table
D) All of these
A) specifies, for each attribute, its data type and whether or not it is the primary key
B) contains a list of attributes, one per row
C) succinctly describes a database table
D) All of these
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Select all that apply . Which is(are) TRUE about a row in a table?
A) A row is often called a field .
B) A row is often called a record .
C) A row is an entity instance .
D) A technical term for a row is a tuple .
A) A row is often called a field .
B) A row is often called a record .
C) A row is an entity instance .
D) A technical term for a row is a tuple .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
Select all that apply . Which of the following statements is(are) TRUE?
A) A logical database is the permanent repository of the database .
B) A logical database is created fresh each time it is needed .
C) A logical database is another term for a physical database .
D) A logical database is created from existing information .
A) A logical database is the permanent repository of the database .
B) A logical database is created fresh each time it is needed .
C) A logical database is another term for a physical database .
D) A logical database is created from existing information .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Select all that apply . The encoding rules of XML include which of the following?
A) Identification Rule: label data with tags consistently
B) Affinity Rule: enclose all data that refer to the same thing in a pair of tags
C) Naming Rule: all tag names must begin with a number
D) Collection Rule: group related instances
A) Identification Rule: label data with tags consistently
B) Affinity Rule: enclose all data that refer to the same thing in a pair of tags
C) Naming Rule: all tag names must begin with a number
D) Collection Rule: group related instances
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
Select all that apply . Which of the following statements is(are) TRUE about database tables?
A) The columns of the database table are entities .
B) The rows of the database table are entities .
C) A database table contains a set of things with common attributes .
D) The columns of the database table contain attribute names .
A) The columns of the database table are entities .
B) The rows of the database table are entities .
C) A database table contains a set of things with common attributes .
D) The columns of the database table contain attribute names .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
The database ________ is a collection of table definitions that gives the name of the table, lists the attributes and their data types, and identifies the primary key .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
The ________ operation builds a new table from the columns of an existing table .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
A(n) ________ is a correspondence between two tables of a database .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
The physical database is designed by database ________ .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
The ________, or view of the database that users see, is created on demand from existing information .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
The ________ operation combines two tables .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
A technique called Query By Example (QBE) is available in the Microsoft ________ system, whereby the user fills in a template and the software generates the SQL code .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
The operations that transform a physical database into a logical one are ________ .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
The ________ operation is used to remove rows from one table that are also listed in a second table .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
The attributes of an entity in a database should satisfy the ________ rule in XML design .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
The ________ defines the form of the information that can be stored in a field .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Database ________ allow us to ask questions of a database in a way that lets the software find the answer for us .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
A(n) ________ is a database command that defines a table expressed using the five fundamental database operations .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
The ________ rule states that you should label data with tags consistently .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck