Top 50+ Solved DataBases MCQ Questions Answer

From 1 to 15 of 33

Q. Which one of the following databases has PHP supported almost since thebeginning?

a. Oracle Database

b. SQL

c. SQL+

d. MySQL

  • d. MySQL

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);

  • a. CREATE TABLE table_name (column_namecolumn_type);

Q. Which method returns the error code generated from the execution of the lastMySQL function?

a. errno()

b. . errnumber()

c. . errorno()

d. errornumber()

  • a. errno()

Q. If there is no error, then what will the error() method return?

a. . TRUE

b. . FALSE

c. . Empty String

d. . non of these

  • c. . Empty String

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

  • b. include ‘filename’;

Q. Which one of the following methods recuperates any memory consumed by aresult set?

a. destroy()

b. remover()

c. alloc()

d. free()

  • d. free()

Q. Which one of the following methods can be used to diagnose and displayinformation about a MySQL connection error?

a. . connect_errno()

b. connect_error()

c. mysqli_connect_errno()

d. . mysqli_connect_error()

  • c. mysqli_connect_errno()

Q. Which one of the Following methods is responsible for sending the query toDatabase

a. query()

b. send_query( )

c. sendquery()

d. query_send()

  • a. query()

Q. Which is the comment symbol in mysql?

a. &&

b. /*….*/

c. #

d. %

Q. A ________ consists of one or more tables.

a. database

b. command

c. Query

d. none of these

  • a. database

Q. ________ is used to uniquely identify the rows in table.

a. primary key

b. Database

c. not null

d. none of these

  • a. primary key

Q. _____ returns the last error description for the most recent function call

a. Error no

b. Zero no

c. no error

d. none of these

  • a. Error no

Q. A _______ is a server that manages data for user.

a. Wamp

b. World

c. Excel

d. none of these

  • a. Wamp

Q. RDBMS stands for __________.

a. Relation data base management

b. reletives data base management

c. Random data base management

d. none of these

  • a. Relation data base management
Subscribe Now

Get All Updates & News