Professional Documents
Culture Documents
UGRD-IT6314-2037T /
Week 10: PHP and MySQL /
Final Quiz 1
Question 1
Incorrect
Select one:
True
False
Question 2
Correct
MySQL is
Select one:
a. A technique for writing reliable programs
b. A Programming language
Question 3
Correct
Select one:
a. CREATE table_name (column_typecolumn_name);
Select one:
a. @include 'filename';
b. #include ;
c. include 'filename';
d. #include ‘filename’;
Question 5
Correct
Which one of the following databases has PHP supported almost since the beginning?
Select one:
a. SQL+
b. SQL
c. MYSQL
d. Oracle Database
Question 6
Correct
Select one:
a. query();
b. my_query();
c. mysql_query()
d. mysql_queries();
Question 7
Correct
Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query
Select one:
a. changed_rows()
b. affected_rows()
c. new_rows()
d. num_rows()
Question 8
Correct
Select one:
a. Salary, dept_id
b. Employee
d. Salary
Question 9
Correct
Which of these query will display the result, assume table name is employee ?
Select one:
a. Select name from employee
c. Select name
d. elect employee
Question 10
Correct
If a PHP script opens a MySQL connection, the script will automatically close the connection after the script has finished executing?
Select one:
True
False
Jump to...