Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
State Finished
Completed on Sunday, 8 April 2018, 11:52 AM
Time taken 4 mins 59 secs
Question 1
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Feedback
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The SQL commands may be issued on a single line, but command sequences are best structured
when the SQL command's components are shown on separate and indented lines.
Select one:
A. True
Correct.
B. False
Feedback
Question 3
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Using the CREATE INDEX command, SQL indexes can be created on the basis of any selected
attribute.
Select one:
A. True
B. False
Incorrect.
Feedback
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
You can draw domain values from other tables by including the SELECT statement in the
CHECK clause.
Select one:
A. True
Correct.
B. False
Feedback
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Use the SELECT command to list all rows for all columns in the specified table.
Select one:
A. True
Correct.
B. False
Feedback
Question 6
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
A database language must enable the user to create database and table structures to perform basic
data management chores.
Select one:
A. True
B. False
Incorrect.
Feedback
Question 7
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
The basic SQL aggregate function that gives the arithmetic mean for the specific column is ____.
Select one:
A. COUNT
B. AVG
C. MAX
D. SUM
Incorrect.
Feedback
Question 8
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Feedback
Question 9
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Feedback
Question 10
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
ANSI-standard SQL allows the use of special operators in conjunction with the WHERE
clause. A special operator used to check for similar character strings is ____.
Select one:
A. BETWEEN
Incorrect.
B. IS NULL
C. LIKE
D. IN
Feedback
Question 11
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
The ANSI standardization effort has led to a de facto query standard for relational databases.
Select one:
A. True
B. False
Incorrect.
Feedback
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The basic SQL aggregate function that gives the number of rows containing not null values for
the given column is ____.
Select one:
A. COUNT
Correct.
B. MIN
C. MAX
D. SUM
Feedback
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
A table can be deleted from the database by using the ____ command.
Select one:
A. DROP
B. DELETE
Incorrect.
C. MODIFY
D. ERASE
Feedback
Question 14
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
To list the contents of a table, you must use the DISPLAY command.
Select one:
A. True
Incorrect.
B. False
Feedback
The correct answer is: False
Question 15
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
What is the command to join the P_DESCRIPT and P_PRICE fields from the PRODUCT table
and the V_NAME, V_AREACODE, V_PHONE and V_CONTACT fields from the VENDOR
table, where the value of V_CODE match and the output is ordered by the Price?
Select one:
A. SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE,
V_PHONE
FROM PRODUCT, VENDOR
WHERE PRODUCT.V_CODE <> VENDOR.V_CODE;
ORDER BY P_PRICE;
B. SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE,
V_PHONE
FROM PRODUCT, VENDOR
WHERE PRODUCT.V_CODE => VENDOR.V_CODE;
ORDER BY P_PRICE;
C. SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE,
V_PHONE
FROM PRODUCT, VENDOR
WHERE PRODUCT.V_CODE <= VENDOR.V_CODE;
ORDER BY P_PRICE;
Incorrect.
D. SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE,
V_PHONE
FROM PRODUCT, VENDOR
WHERE PRODUCT.V_CODE = VENDOR.V_CODE;
ORDER BY P_PRICE;
Feedback
Question 16
Correct
Mark 1.00 out of 1.00
Flag question
Question text
You can create a logical (virtual) table by using the MAKE VIEW command.
Select one:
A. True
B. False
Correct.
Feedback
Question 17
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A database language must enable the user to perform complex queries designed to transform the
raw data into useful information.
Select one:
A. True
Correct.
B. False
Feedback
Question 18
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
A single database can hold multiple schemas belonging to different users or applications.
Select one:
A. True
B. False
Incorrect.
Feedback
Question 19
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Feedback
Question 20
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Feedback
Question 21
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
SQL requires the use of the ADD command to enter data into a table.
Select one:
A. True
Incorrect.
B. False
Feedback
Question 22
Correct
Mark 1.00 out of 1.00
Flag question
Question text
You can create a logical table by using the VIRTUAL VIEW command.
Select one:
A. True
B. False
Correct.
Feedback
Question 23
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which command uses columns and column aliases to determine the total value of inventory held
on hand?
Select one:
A. SELECT P_DESCRIPT, P_ONHAND, P_PRICE, P_ONHAND/P_PRICE
FROM PRODUCT;
B. SELECT P_DESCRIPT, P_ONHAND, P_PRICE, P_ONHAND=P_PRICE
FROM PRODUCT;
Incorrect.
C. SELECT P_DESCRIPT, P_ONHAND, P_PRICE, P_ONHAND*P_PRICE
FROM PRODUCT;
D. SELECT P_DESCRIPT, P_ONHAND, P_PRICE, P_ONHAND-P_PRICE
FROM PRODUCT;
Feedback
Question 24
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
In Oracle, the ____ command is used to change the display for a column, for example to place a
$ in front of a numeric value.
Select one:
A. DISPLAY
B. FORMAT
C. CHAR
D. CONVERT
Incorrect.
Feedback
The correct answer is: FORMAT
Question 25
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Character procedures are often more software-specific than most other SQL procedures.
Select one:
A. True
B. False
Correct.
Feedback
Question 26
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The ____ clause is used to produce a list of only values that are different from one another.
Select one:
A. AGGREGATE
B. RESTRICTED
C. SELECT
D. DISTINCT
Correct.
Feedback
Question 27
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Feedback
Question 28
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which command uses columns and column aliases to determine the total value of inventory held
on hand and to display the results in a column labeled TotValue?
Select one:
A. SELECT P_DESCRIPT, P_ONHAND, P_PRICE, P_ONHAND*P_PRICE AS
TOTVALUE
FROM PRODUCT;
B. SELECT P_DESCRIPT, P_ONHAND, P_PRICE, P_ONHAND=P_PRICE AS
TOTVALUE
FROM PRODUCT;
C. SELECT P_DESCRIPT, P_ONHAND, P_PRICE, P_ONHAND/P_PRICE AS
TOTVALUE
FROM PRODUCT;
D. SELECT P_DESCRIPT, P_ONHAND, P_PRICE, P_ONHAND-P_PRICE AS
TOTVALUE
FROM PRODUCT;
Incorrect.
Feedback
Question 29
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Feedback
Question 30
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
The CHECK clause is used to define a condition for the values that the attribute domain cannot
have.
Select one:
A. True
Incorrect.
B. False
Feedback
Question 31
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
What command is used to list a unique value for V_CODE, where the list will produce only a list
of those values that are different from one another?
Select one:
A. SELECT ONLY V_CODE
FROM PRODUCT;
B. SELECT UNIQUE V_CODE
FROM PRODUCT;
Incorrect.
C. SELECT DIFFERENT V_CODE
FROM PRODUCT;
D. SELECT DISTINCT V_CODE
FROM PRODUCT;
Feedback
Question 32
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which command would you use when making corrections to the PRODUCT table?
Select one:
A. CHANGE PRODUCT
SET P_INDATE = '01/18/2004'
WHERE P_CODE = '13-Q2/P2';
B. ROLLBACK PRODUCT
SET P_INDATE = '01/18/2004'
WHERE P_CODE = '13-Q2/P2';
C. EDIT PRODUCT
SET P_INDATE = '01/18/2004'
WHERE P_CODE = '13-Q2/P2';
Incorrect.
D. UPDATE PRODUCT
SET P_INDATE = '01/18/2004'
WHERE P_CODE = '13-Q2/P2';
Feedback
Question 33
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Any changes made to the table contents are not physically saved to the disk until you use the
SAVE command.
Select one:
A. True
Incorrect.
B. False
Feedback
Question 34
Correct
Mark 1.00 out of 1.00
Flag question
Question text
SQL has become the catalyst in the development of distributed databases and client/server
database architectures.
Select one:
A. True
Correct.
B. False
Feedback
Question 35
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Microsoft Access users can use Access QBE (query by example) query generator.
Select one:
A. True
B. False
Incorrect.
Feedback
Question 36
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A wildcard character is a symbol that can be used as a general substitute for other characters
or commands.
Select one:
A. True
Correct.
B. False
Feedback
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which query will output the table contents when the value of V_CODE is not equal to 21344?
Select one:
A. SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE <> 21344;
Correct.
B. SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE <= 21344;
C. SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE = 21344;
D. SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE => 21344;
Feedback
Question 38
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
ANSI-standard SQL allows the use of special operators in conjunction with the WHERE clause.
Select one:
A. True
B. False
Incorrect.
Feedback
Question 39
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Only numeric data can be added and subtracted, not other data types.
Select one:
A. True
Incorrect.
B. False
Feedback
Question 40
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which command is used to restore the table’s contents to their default values?
Select one:
A. COMMIT; RESTORE;
B. COMMIT; BACKUP;
C. COMMIT; ROLLBACK;
Incorrect.
D. ROLLBACK;
Feedback
Quiz navigation
IS222_201801_O
Participants
Badges
Competencies
Marksheet
Welcome to
CO
CA
Weeks 6-7
Week 8-9
Dashboard
Site home
Calendar
My courses
FBEFYE
MG101_201801_B
MG204_201801_B
FSTE_eMentoring
FSTESLS
More...
Powered by:
[Server: M4]
Get the mobile app