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 values than fields
Question 2
Correct
The INSERT INTO statement is not used to add new records to a database table?
Select one:
True
False
Question 3
Correct
Select one:
a. connect();
b. mysql_connected();
c. mysql_connect(),
d. mysqlconnect(),
Question 4
Correct
The "or die()" part of a MySQL command will execute if the connection fails?
Select one:
True
False
Question 5
Correct
Select one:
True
False
Question 6
Correct
Select one:
a. improvement
b. improve
c. improved
d. increase
Question 7
Correct
Select one:
a. Alter
b. Add
c. Insert
d. Update
Question 8
Incorrect
Select one:
a. close();
b. closed();
c. close_database();
d. mysql_close();
Question 9
Correct
Select name, course_id from instructor, teaches where instructor_ID= teaches_ID; This Query can be replaced by which one of the following ?
Select one:
a. Select name, course_id from instructor natural join teaches;
Question 10
Correct
Select one:
a. INSERT NEW
b. ADD
c. UPDATE
d. INSERT INTO
Jump to...