Professional Documents
Culture Documents
Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Question 1 Choose
Once connection has the letter
been of the correct
re-established, youranswer based
responses on table
should PARTS
be saved andas shown
this below
message
Not yet will disappear.
answered
Marked out of
1.00
Which of the following is the correct report listing only the column DESCRIPTION,
ONHAND, CLASS and PRICE of all price where the description ends with letter ‘N’.
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 1/22
3/22/2019 Midterms
Question 2 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Which of the following is the correct report listing the column PARTNO, DESCRIPTION
and WAREHOUSE. Get only that description that does not ends with ‘ER’. Note that
you have to merge the said three columns, rename the merge column as “Parts
Record”. Below is the sample output for column.
Parts Record
AT94is the part number ofIRONwhich belong to warehouse3
Question 3 Given the output below. Which of the following is the correct PL/SQL to be used?
Not yet
answered
Marked out of
1.00
Select one:
a. SELECT DESCRIPTION, PRICE *.5 +PRICE-100 FROM PARTS WHERE
PRICE <10000;
b. SELECT DESCRIPTION, PRICE *.5 +PRICE-100 FROM PARTS WHERE
PRICE >10000;
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 2/22
3/22/2019 Midterms
Question 4 Which oflost.
the (Autosave
following isfailed).
not true about writing SQL statements?
Network connection
Not yet
answered Make a noteSelect
of any one:
responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
a. Indents should be used to make code more readable.
Once connection has been re-established, your responses should be saved and this message
b. Clauses are usually placed on separate lines for readability and ease of
will disappear.
editing.
c. Keywords cannot be split across lines or abbreviated.
c. ||
d. AS
Question 6 Supposed that the user uses the ff SELECT statement: what will be the possible
Not yet output.
answered
Marked out of SELECT GRADE AS STUDENT MARK FROM GRADE_REPORT;
1.00
Select one:
a. Error because of the keyword AS.
b. Will display all rows and columns.
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 3/22
3/22/2019 Midterms
Question 7 Given the output below.failed).
Which of the following is the correct PL/SQL to be used?
Network connection lost. (Autosave
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Select one:
a. SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ AND DESCRIPTION LIKE ‘__S%’;
Question 8 True/False. A null value means that the value is unavailable, unassigned, unknown, or
Not yet inapplicable.
answered
Marked out of
1.00
Answer: True
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 4/22
3/22/2019 Midterms
Question 9 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Whichhas
Once connection of the
beenfollowing is the correct
re-established, report listing
your responses only the
should column
be saved PARTNUM,
and this message
DESCRIPTION
will disappear. and PRICE of all PARTS where price is less than 500. Sort the PRICE
in ascending order.
Question 10 Choose the letter of the correct answer based on table PARTS as shown below
Not yet
answered
Marked out of
1.00
Which of the following is the correct report listing only the column DESCRIPTION,
WAREHOUSE, CLASS and PRICE of all parts where the description contains keyword
‘SHE’.
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 5/22
3/22/2019 Midterms
Question 11 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Which of the following is the correct report that will display the DESCRIPTION,
WAREHOUSE AND distinct value for CLASS.
Question 12 Choose the letter of the correct answer based on table PARTS as shown below
Not yet
answered
Marked out of
1.00
Which of the following is the correct report listing only the column PARTNUM, CLASS
and ONHAND of all parts where partnum is equal to AT94, DR93 and KV29. (Note 1
query only and do not use logical condition)
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 6/22
3/22/2019 Midterms
Question 13 True/False.
Network connection lost.This symbolfailed).
(Autosave % denotes zero or many characters.
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
Answer:
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Question 14 This is used to brings together data that is stored in different tables by specifying the
Not yet link between them.
answered
b. Projection
c. Joins
d. Selection
c. Blank
d. NULL
Question 16 This is used to selects the rows in a table that are returned by a query. Various criteria
Not yet can be used to restrict the rows that are retrieved.
answered
Marked out of Select one:
1.00
a. Selection
b. Projection
c. Joins
d. Inclusion
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 7/22
3/22/2019 Midterms
Question 17 This is use
Network connection lost.to(Autosave
Selects the columns in a table that are returned by a query. Selects a few
failed).
Not yet or as many of the columns as required.
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of Select one:
1.00
Once connectiona.has
Joins
been re-established, your responses should be saved and this message
will disappear.
b. Projection
c. Selection
d. Inclusion
Question 18 Given the output below. Which of the following is the correct PL/SQL to be used?
Not yet
answered
Marked out of
1.00
Select one:
a. SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ AND ONHAND BETWEEN 8 AND 12;
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 8/22
3/22/2019 Midterms
Question 19 This character is used tofailed).
override the default precedence or to clarify the statement.
Network connection lost. (Autosave
Not yet
answered Make a noteSelect
of any one:
responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
a. ||
1.00
Once connection has been re-established, your responses should be saved and this message
b. ( )
will disappear.
c. AS
d. *
Question 20 Given the output below. Which of the following is the correct PL/SQL to be used
Not yet
answered
Marked out of
1.00
Select one:
a. SELECT WAREHOUSE, CLASS FROM PARTS;
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 9/22
3/22/2019 Midterms
Question 21 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Which of the following is the correct report that will list only the column DESCRIPTION,
PARTNUM, CLASS, and PRICE of all PART whose CLASS is equal to HW.
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 10/22
3/22/2019 Midterms
Question 22 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Which of the following is the correct report that will merge the column DESCRIPTION
and PRICE put a literal character string of = “ with a price of ” in between the two
columns. Limit the rows returned by getting only the partnum that starts with letter ‘K’.
Question 23 Given the output below. Which of the following is the correct PL/SQL to be used?
Not yet
answered
Marked out of
1.00
Select one:
a. SELECT ALL FROM PARTS;
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 11/22
3/22/2019 Midterms
Question 24 Given the output below.failed).
Which of the following is the correct PL/SQL to be used?
Network connection lost. (Autosave
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Select one:
a. SELECT WAREHOUSE, CLASS FROM PARTS WHERE CLASS IN
(‘AP’,’SG’,’HW’);
Question 25 Choose the letter of the correct answer based on table PARTS as shown below
Not yet
answered
Marked out of
1.00
Which of the following is the correct report listing only the column CLASS,
DESCRIPTION and PRICE of all PARTS where price range is between 200 to 500.
Sort the Price in descending order.
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 12/22
3/22/2019 Midterms
Question 26 This is used
Network connection lost. to test for values
(Autosave failed).in a specified set of values.
Not yet
answered Make a noteSelect
of any one:
responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
a. Between
1.00
Once connection has been re-established, your responses should be saved and this message
b. Comparison
will disappear.
c. Like
d. IN
Question 27 This is used to in conditions that compare one expression with another value or
Not yet expression.
answered
c. Comparison
d. Logical Condition
Question 28 This is use to create expression with number and date values.
Not yet
answered
Select one:
Marked out of
1.00
a. MDAS operator
b. Logical Condition
c. Numerical Values
d. Arithmetic expression
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 13/22
3/22/2019 Midterms
Question 29 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Which of the following is the correct report listing the DESCRIPTION and Price (Note
that in column PRICE add ADDITIONAL 10000). Get only the prices with no digit that
is equal to ‘5’. Note that you have to concatenate the said column and rename the
merge column as “New Price Lists”. Sort the data in DESC order by Price.
Question 30 Choose the letter of the correct answer based on table PARTS as shown below
Not yet
answered
Marked out of
1.00
Which of the following is the correct report showing all rows and columns sort the
description in ascending order.
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 14/22
3/22/2019 Midterms
Question 31 It is a character, a number, or a date that is included in the SELECT statement.
Network connection lost. (Autosave failed).
Not yet
answered Make a noteSelect
of any one:
responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
a. Table name
1.00
Once connection has been re-established, your responses should be saved and this message
b. Literal
will disappear.
c. Alias
d. String
c. Comparison
d. IN
Question 33 True/False. Character strings and date values are enclosed with double quotation
Not yet marks.
answered
Marked out of
1.00 Answer: False
Question 34 This is used to perform wildcard searches of valid search string values.
Not yet
answered
Select one:
Marked out of
1.00
a. Between
b. Comparison
c. IN
d. Like
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 15/22
3/22/2019 Midterms
Question 35 This is used
Network connection lost. to display rows
(Autosave based on a range of values.
failed).
Not yet
answered Make a noteSelect
of any one:
responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
a. IN
1.00
Once connection has been re-established, your responses should be saved and this message
b. Comparison
will disappear.
c. Between
d. Like
Question 36 Given the output below. Which of the following is the correct PL/SQL to be used?
Not yet
answered
Marked out of
1.00
Select one:
a. SELECT (PARTNUM|| ‘belong to’||DESCRIPTION) FROM PARTS WHERE
CLASS = SG;
Question 37 This is used to perform wildcard searches of valid search string values.
Not yet
answered
Select one:
Marked out of
1.00
a. Comparison
b. IN
c. Between
d. Like
Question 38 This is used to restrict the rows that are returned by a query.
Not yet
answered
Select one:
Marked out of
1.00
a. Delete
b. Select
c. Insert
d. Where
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 16/22
3/22/2019 Midterms
Question 39 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Which of the following is the correct report listing only the column DESCRIPTION,
ONHAND and WAREHOUSE of all PARTS where ONHAND is greater than or equal to
21.
c. IN
d. Between
Question 41 True/False. The != not equal to symbol is also equal to this symbol<>.
Not yet
answered
Answer: True
Marked out of
1.00
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 17/22
3/22/2019 Midterms
Question 42 Given the output below.failed).
Which of the following is the correct PL/SQL to be used?
Network connection lost. (Autosave
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Select one:
a. SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE ONHAND >=9;
Question 43 Choose the letter of the correct answer based on table PARTS as shown below
Not yet
answered
Marked out of
1.00
Which of the following is the correct report that will display the distinct value for CLASS
and WAREHOUSE limit the rows by getting only the parts under WAREHOUSE 3?
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 18/22
3/22/2019 Midterms
Question 44 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Which of the following is the correct report listing only the column DESCRIPTION,
CLASS and PRICE of all PARTS where class is not equal to AP.
SELECT DESCRIPTION, CLASS, PRICE FROM PARTS WHERE CLASS <> AP;
Question 45 This is used to in conditions that compare one expression with another value or
Not yet expression.
answered
Marked out of Select one:
1.00
a. Subtraction
b. Comparison
c. Logical Condition
d. Add
Question 46 This is used to restrict the rows that are returned by a query.
Not yet
answered
Select one:
Marked out of
1.00
a. Insert
b. Delete
c. Select
d. Where
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 19/22
3/22/2019 Midterms
Question 47 True/False
Network connection lost.Character
(Autosavevalues are format sensitive and date values are case sensitive-
failed).
Not yet sensitive.
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Answer:
Once connection has been re-established, your responses should be saved and this message
will disappear.
Question 48 Given the output below. Which of the following is the correct PL/SQL to be used?
Not yet
answered
Marked out of
1.00
Select one:
a. SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE DESCRIPTION LIKE ‘%R’;
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 20/22
3/22/2019 Midterms
Question 49 Chooselost.
the (Autosave
letter of the correct answer based on table PARTS as shown below
Network connection failed).
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Which of the following is the correct report listing only the column DESCRIPTION,
PARTNUM, CLASS and PRICE of all parts where the description fourth letter starting
from the first is equal to ‘D’.
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 21/22
3/22/2019 Midterms
Question 50 Given the output below.failed).
Which of the following is the correct PL/SQL to be used?
Network connection lost. (Autosave
Not yet
answered Make a note of any responses entered on this page in the last few minutes, then try to re-
connect.
Marked out of
1.00
Once connection has been re-established, your responses should be saved and this message
will disappear.
Select one:
a. SELECT DESCRIPTION, ONHAND,CLASS
FROM PARTS
WHERE CLASS = HW;
https://blended.amauonline.com/mod/quiz/attempt.php?attempt=35085001 22/22