Web Application Development 1 - Final Quiz 1
Web Application Development 1 - Final Quiz 1
UGRD-IT6314-2037T /
Week 10: PHP and MySQL /
Final Quiz 1
Question 1
Correct
The ______ clause allows us to select only those rows in the result relation of the ____ clause that satisfy a specified predicate.
Select one:
a. From, select
b. Where, from
c. From, where
d. Select, from
Question 2
Correct
Select one:
a. Any operating system at all
Select one:
True
False
Question 4
Correct
Which one of the following methods is responsible for sending the query to the database?
Select one:
a. query_send()
b. send_query()
c. sendquery()
d. query()
Question 5
Correct
Select one:
a. Perl, PHP or Java
c. A Browser
To remove duplicate rows from the result set of a SELECT use the following keyword:
Select one:
a. None of the above
b. DISTINCT
c. NO DUPLICATE
d. UNIQUE
Question 7
Correct
from instructor;
Select one:
a. Distinct
b. From
c. All
d. Name
Question 8
Correct
The ________ clause is used to list the attributes desired in the result of a query.
Select one:
a. Distinct
b. From
c. Where
d. Select
Question 9
Correct
Assuming the table and fields below exists, what is wrong with the following mysql query example: mysql_query("INSERT INTO contacts
(firstName, lastName, phoneNumber) VALUES ('Robert', 'Smith')");
Select one:
a. There are more fields than values
Question 10
Incorrect
The "mysql_error()" function returns the error description for a MYSQL operation?
Select one:
True
False
Jump to...