What is candidate key and database is a set of one or more

Assignment Help Database Management System
Reference no: EM13477373

Question 1

A candidate key is:

required to be unique.
used to represent rows in relationships.
a candidate to be the primary key.
Both required to be unique and used to represent rows in relationships
Both required to be unique and a candidate to be the primary key

 

Question 2

A database is a set of one or more computer programs that serves as an intermediary between the users and the database management system (DBMS).

Question 3

A database is self-describing because the user maintains a record of the database structure outside the database itself.

True

False

Question 4

A database may be used to help people:

track which student is assigned to a particular advisor.
know the current inventory levels of products their company sells.
check on the estimated arrival time of an incoming ?ight at an airport.
look up their checking account balance over the Internet.
All of these

Question 5

A composite primary key can be de?ned using the CONSTRAINT phrase in which SQL command?

MODIFY TABLE
CHANGE TABLE
CREATE TABLE
SET TABLE
BUILD TABLE

Question 6

A primary key is:

required to be unique.
used to represent rows in relationships.
a candidate key.
used to identify unique rows.
All of these

Question 7

A relational database is:
a self-describing collection of related tables.
a collection of forms and reports that support a given purpose.
a library of queries and data ?les for querying.
a set of applications and the data sets for those applications.
a set of metadata.

Question 8

A relational database stores data in the form of:
lists.
forms.

columns.
tables.
spreadsheets.

Question 9

A surrogate key may be appropriate under which of the following circumstances?

The available candidate keys would produce a lot of data duplication when representing relationships.

The primary key is numeric.
The available candidate keys would be prone to typographical errors.
The available candidate keys have little meaning to the users.
Both The available candidate keys would produce a lot of data duplication when representing relationships and The available candidate keys would be prone to typographical errors

Question 10

During the normalization process, the remedy for a relation that is not well formed is to:
create a surrogate key.
create a functional dependency.
break it into two or more relations that are well formed.
combine it with another relation that is well formed.
convert it into a list.

Question 11

Given the table STUDENT(StudentID, Name, Advisor), which of the following SQL statements would be used to add new student data to the STUDENT table?

INSERT DATA STUDENT SET StudentID=123, Name='Jones', Advisor='Smith';
INSERT INTO STUDENT VALUES (123, 'Jones', 'Smith');
INSERT INTO STUDENT (New Student Data) VALUES (123, 'Jones', 'Smith');
INPUT DATA STUDENT SET StudentID=123, Name=' Jones', Advisor='Smith';
INPUT INTO STUDENT (123, 'Jones', 'Smith');

Question 12

Given the table STUDENT(StudentID, Name, Advisor), which of the following SQL statements would be used to change the value of the Advisor ?eld to 'Smith' for all rows in the STUDENT table?

UPDATE STUDENT SET Advisor = 'Smith';
MODIFY STUDENT SET Advisor = 'Smith';
MODIFY Advisor SET STUDENT = 'Smith';
UPDATE Advisor = 'Smith';
SET STUDENT Advisor = 'Smith';

Question 13

In Microsoft Access, a relationship between two tables is created:
by entering the name of the foreign key in the appropriate table in Design View.
by entering the name of the primary key in the appropriate table in Design View.
by dragging the primary key column of one table onto the foreign key column of the other table in the Relationships window.
by dragging the foreign key column of one table onto the primary key column of the other table in the Relationships window.
by dragging the primary key column of one table onto the primary key column of the other table in the Relationships window.

Question 14

Which symbol is used in standard SQL as a wildcard to represent a series of one or more unspeci?ed characters?

% (percent sign)
! (exclamation mark)
_ (underscore)
? (question mark)
; (semi-colon)

Question 15

Which symbol is used in standard SQL as a wildcard to represent a single, unspeci?ed character?

% (percent sign)
! (exclamation mark)
_ (underscore)
? (question mark)
; (semi-colon)

Question 16

Which of the following data types used in SQL would de?ne a numeric ?eld of the pattern
99.99?
integer(2,2)
integer(5,2)
numeric(2,2)
numeric(4,2)
numeric(5,2)

Question 17
Which of the following functional dependency diagrams accurately represents the following

Which of the following functional dependency diagrams accurately represents the following

situation:
BuildingName (RoomNumber, Capacity, Department)
RoomNumber (BuildingName, Department, Capacity)
(Department, Capacity) (BuildingName, RoomNumber)
(BuildingName, Capacity) (Department, RoomNumber)
(BuildingName, RoomNumber) (Capacity, Department)

Question 18

Which of the following is a function of the database application in a database system?
Create and transmit queries
Update database data
Maintain database structures
Create tables
Backup and restore data

Question 19

Which of the following is true about a relation?
The order of the columns in a relation must go from largest to smallest.
All entries in any column must be of the same kind.
A relation may have duplicate column names.
A relation may have duplicate rows.
A relation may have multiple names.

Question 20
Which of the following is not a basic component of a database system?
Database
User
ERD
DBMS
Data applications


Question 21
Which of the following is not a function of the database application in a database system?
Execute application logic
Control concurrency
Create and process forms
Create and transmit queries
Create and process reports

Question 22
Which of the following is not true about a relation?
A relation is a two-dimensional table.
The cells of a relation must hold a single value.
A relation may have duplicate column names.
A relation may not have duplicate rows.
The order of the rows of a relation is insigni?cant.

Question 23
Which of the following is not true about null values?
A null value can mean that the value is unknown.
A null value is ambiguous.
A null value can mean that the value is known to be blank.
A null value can mean that no value for the ?eld is appropriate.
Null values cannot be avoided.

Question 24
Which of the following is not true about primary keys?
Primary keys cannot be null.
Primary keys must be unique.
Primary keys must be a single attribute.
Primary keys are used to represent relationships.
Primary keys can be de?ned using an SQL CONSTRAINT phrase.

Question 25
Which of the following is not true of surrogate keys?
They are meaningful to the users.
They are numeric.
They are usually generated by the DBMS.
They are unique.
They are usually hidden on forms and reports.


Question 26
Which of the following problems associated with storing data in a list is avoided by storing
data in a relational database?
Maintaining the data may require changing the same data value in many locations.
Inconsistency when a data item is used multiple times
Inability to store partial data
Duplication of data items
All of these

Question 27
Which of the following terms is synonymous with "relation"?
Attribute
Table
Record
Row
Tuple

Question 28
Which of the following terms is synonymous with "tuple"?
Attribute
Table
Field
Row
Relation

Question 29
MedicineCode (MedicineName, ShelfLife, Manufacturer, Dosage)Given the above
functional dependency, which of the following statement is not known to be true?
MedicineCode is a determinant.
MedicineName is a determinant.
Manufacturer is functionally dependent on MedicineCode.
ShelfLife is functionally dependent on MedicineCode.
MedicineCode is a candidate key of the relation MEDICINE (MedicineName, ShelfLife,
Manufacturer, Dosage, MedicineCode).

Question 30
Microsoft Access 2010 database ?les are stored using the ?le extension:
.adb.

.asp.
.accdb.
.mdb.
.sql.

Question 31
Microsoft Access is a personal database system, and a personal database system is
characterized by:
the DBMS removing the metadata from the database.
the DBMS product taking the role of the DBMS and the database application generator.
the database being stored inside the DBMS.
the DBMS product being limited to a maximum of ten tables in any given database.
the DBMS not supporting indexes.

Question 32
One important relational design principle is that:
every determinant must be a candidate key.
every candidate key must not be a determinant.
every primary key must be a surrogate key.
every determinant must be functionally dependent on the primary key.
every primary key must be functionally dependent on every determinant.

Question 33
SQL stands for:
Standard Query Language.
Structural Question Language.
Structured Query Language.
Standard Question Language.
Structured Question Language.

Question 34
STUDENT (SID, StudentName, Major, AdvisorID)ADVISOR (AdvisorID, AdvisorName,
Ofce, Phone)Given the relations above such that each student is assigned to one advisor,
which of the following is true?
SID is both a primary key and a foreign key.
AdvisorName is a determinant.
AdvisorID is a foreign key.
Phone is a candidate key.
Major is a candidate key.


Question 35
The component of a database that makes it self-describing is the:
related tables.
applications.
library.
data set.
metadata.

Question 36
The creation of a database and its tables is a function of which component of the database
system?
Users
Application
DBMS
Database
Web server

Question 37
The ?rst step of the normalization process is to:
identify all the candidate keys of a relation.
identify all the foreign keys of a relation.
identify all the functional dependencies of a relation.
identify all the determinants of a relation.
split the relation into two or more new relations.

Question 38
The statement is an
example of:
QBE.
SQL.
QLE.
C++.
Java.

Question 39

Today almost every commercial database is based on:

lists.
the hierarchical model.

the linked-list model.
the relational model.
the object-oriented model.

Question 40

When the primary key of one relation is placed into a second relation, it is called a:

?eld key.
referential integrity.
foreign key.
candidate key.
relocated key.

Reference no: EM13477373

Questions Cloud

Compute profits and returns on investment and convert : calculate profits and returns on an investment and convert holding period returns to annual returns. define risk and
If the firm borrows 40 of the 100 at an interest rate of 10 : a firm needs 100 to start and has the following expectationssales200expenses185tax rate33 of earnings what are earnings
What happens to the operating income and net income if : question given the following informationtotal assets100000debt 12 interest rate80000equity20000variable costs of
When a firm compute the desired cost for a product or : 1. throughput margin is defined as sales lessdirect labor costs.direct material costs.direct labor and material
What is candidate key and database is a set of one or more : question 1a candidate key isrequired to be unique.used to represent rows in relationships.a candidate to be the primary
What types of research were done at each stage discuss the : 1. what types of research were done at each stage? discuss the strengths of each different type given the stage of the
Compute the real interest rate over the past 24 months by : question 1. what happens to bond prices quantities and interest rates if make sure to include the supply and demand
How do we define risk what does it mean to diversify the : how do we define risk? what does it mean to diversify your portfolio and what are you trying to gain by so doing? what
Prepare a preliminary analysis plan for this study which : 1 build the management-research question hierarchy for this opportunity.2 evaluate the appropriateness of the

Reviews

Write a Review

Database Management System Questions & Answers

  Create a use case diagram for osceolas operations

Use MS Visio to create a use case diagram for question 1, a selected class diagram for question 2, and a sequence diagram for question 3.

  Introductionthis is an individual assignment in which you

introductionthis is an individual assignment in which you can explore the use of extensible files in web programming

  Create a database design specification

The Enhanced Entity Relationship Diagram (EERD) produced with a drawing or case tool. Your EERD must use a 'standard' notation style such as Crows Foot or Chen.

  Examine the use of databases in organization

Create a 2-3 page (350 words per page) examining the use of databases in organization. Explain what database applications are utilized (Microsoft Access, DB2, Oracle, etc.).

  Locate a hosted distributed database service explore its

write a 200- to 300-word short-answer response for the followinglocate a hosted distributed database service. explore

  List the sales for each customer

Each query is worth 2 marks. These tables exist in sphinx and are owned by the user dtoohey. You may, if you wish, create your own copies of the tables under your own account. If you do so, you should ensure that you copy the sample data in dtoohe..

  Develop preliminary database tables for huffman trucking log

Use Microsoft Access to develop preliminary (no keys and no relationships) database tables for Huffman Trucking Driver Log.

  Write a one page paper on quantum cryptography

An enterprising group of entrepreneurs is starting a new data storage and retrieval business, StoreItRite, Inc.

  Create data warehouse for electronics store chain

Create a data warehouse for electronics store chain. Chain has 20 stores in 5 cities. Each store has different sections comprising computers, DVDs, TVs, audio, home appliances etc.

  Develop a complete system

The assignment will be chosen by the individual student with my approval. An ideal assignment will be one which involves at least four entity sets, but not too many since there will be critical time pressure to complete the assignment.

  Importance have button that takes you back to main page

What is the importance to have a button that takes you back to the main page on each web page? How does dead end or orphan pages affect the continuity of a website?

  A motor vehicle maintenance center wants to enhance its

write a 200- to 300-word short-answer response for the followinga motor vehicle maintenance center wants to improve its

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd