πŸ“Š Advanced Web Technologies
Q. Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?
  • (A) get_row()
  • (B) . fetch_row()
  • (C) . fetch()
  • (D) row()
πŸ’¬ Discuss
βœ… Correct Answer: (C) . fetch()
πŸ“Š Advanced Web Technologies
Q. Which one of the following methods can be used to diagnose and display information about a MySQL connection error?
  • (A) . connect_errno()
  • (B) connect_error()
  • (C) mysqli_connect_errno()
  • (D) . mysqli_connect_error()
πŸ’¬ Discuss
βœ… Correct Answer: (C) mysqli_connect_errno()
πŸ“Š Advanced Web Technologies
Q. Which one of the following methods recuperates any memory consumed by a result set?
  • (A) destroy()
  • (B) remover()
  • (C) alloc()
  • (D) free()
πŸ’¬ Discuss
βœ… Correct Answer: (D) free()
πŸ“Š Advanced Web Technologies
Q. Which one of the following statements should be used to include a file?
  • (A) . #include ‘filename’;
  • (B) include ‘filename’;
  • (C) include <filename>
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) include ‘filename’;
πŸ“Š Advanced Web Technologies
Q. If there is no error, then what will the error() method return?
  • (A) . TRUE
  • (B) . FALSE
  • (C) . Empty String
  • (D) . non of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) . Empty String
πŸ“Š Advanced Web Technologies
Q. Which method returns the error code generated from the execution of the last MySQL function?
  • (A) errno()
  • (B) . errnumber()
  • (C) . errorno()
  • (D) errornumber()
πŸ’¬ Discuss
βœ… Correct Answer: (A) errno()
πŸ“Š Advanced Web Technologies
Q. Which one of the following statements is used to create a table?
  • (A) CREATE TABLE table_name (column_namecolumn_type);
  • (B) CREATE table_name (column_typecolumn_name);
  • (C) . CREATE table_name (column_namecolumn_type);
  • (D) . CREATE TABLE table_name (column_typecolumn_name);
πŸ’¬ Discuss
βœ… Correct Answer: (A) CREATE TABLE table_name (column_namecolumn_type);
πŸ“Š Advanced Web Technologies
Q. Which one of the following databases has PHP supported almost since the beginning?
  • (A) Oracle Database
  • (B) SQL
  • (C) SQL+
  • (D) MySQL
πŸ’¬ Discuss
βœ… Correct Answer: (D) MySQL
πŸ“Š Advanced Web Technologies
Q. A session is a way to store information (in variables) to be used across multiple pages.
  • (A) true
  • (B) false
  • (C) both a and b
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) true
πŸ“Š Advanced Web Technologies
Q. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values.
  • (A) true
  • (B) false
  • (C) both a and b
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) true