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 3 rows of data for each table ensuring

Write SELECT statements for the following (include a screenshot of the SQL and its execution, including the resulting data).

  Describe the normal forms violated in the design

Describe the normal forms violated in the following design and fix them to the third normal form.

  Write name of employee on every project located in houston

Write the name(s) of employee(s) who works(work) on every project located in Houston. Write the name(s) of employee(s) who only works(work) on every project located in 'Houston.'

  Choose a data storage problem of storing data in database

You should choose a data storage problem of your interest and identify the different pieces of data that should be stored in database.

  Calculate canonical cover for set of functional dependencies

Calculate a canonical cover for above set of functional dependencies (show each step of your derivation with an explanation).

  Relational algebragiven the following set of relations from

relational algebragiven the following set of relations from the east coast aquarium database list the sequence of

  Create script file to list file in directory in sorted order

Create a script file to list the files in a directory in sorted order, showingonlythe file name, file size, and modification date.Each file's attributes must be on one line per file, in any order.

  List the all facts and dimensions of the enterprise

Choose a model (star, snowflake or constellation) and discuss why it is an appropriate choice.

  Develop an activity diagram for the scenario

In each task, please feel free to make any assumption necessary for the readers. The explanation of your assumptions can help the readers to understand what you have considered differently but as important criteria in producing your model.

  A university library database records

A university library database records information about books; for each book, it records the book isbn number (which is unique), and the book name. In addition, it records which books have been checked out

  Explaining database security relate to data integrity

In talking about database security, some aspects to regard as are Data Integrity, Confidentiality, and Malicious Activity. Illustrate how does database security relate to data integrity?

  Your database has been a hit you have been called back to

your database has been a hit. you have been called back to the customers headquarters and they want a detailed report

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