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
Assuming the table and fields below exists, what is wrong with the following mysql query example:
Select one:
a. There are more fields than values
Question 2
Correct
Select one:
a. mysql_select_db();
b. my_db_select();
c. select_db();
Question 3
Correct
The INSERT INTO statement is not used to add new records to a database table?
Select one:
True
False
Question 4
Correct
Select one:
True
False
Question 5
Correct
The query given below will not give an error. Which one of the following has to be replaced to get the desired output?
where instructor;
Select one:
a. WHERE
b. Instructor
c. ID
d. sal *1.1
Question 6
Correct
Select one:
a. @include 'filename';
b. #include ‘filename’;
c. #include ;
d. include 'filename';
Question 7
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 values than fields
Question 8
Correct
Select one:
a. mysql_query()
b. my_query();
c. mysql_queries();
d. query();
Question 9
Correct
Select one:
True
False
Question 10
Correct
Which one of the following databases has PHP supported almost since the beginning?
Select one:
a. Oracle Database
b. MYSQL
c. SQL
d. SQL+
Jump to...