MCQ 1 Array_flip ( ) function changes the keys of an array into

Correct Answer Choice C Values
See Answer

MCQ 2 What type of bugs are difficult to fix?

Correct Answer Choice C Logical bugs
See Answer

MCQ 3 Who invoke the exception class?

Correct Answer Choice D throw new Exception();
See Answer

MCQ 4 The updated MySQL extension released with PHP 5 is typically referred to as _____________.

Correct Answer Choice C mysqli
See Answer


MCQ 5 Which method returns the error code generated from the execution of the last MySQL function?

Correct Answer Choice D errno()
See Answer

MCQ 6 asort( ) function same as arsort( ) but

Correct Answer Choice A It sorts values in descending order
See Answer

MCQ 7 Which one of the following methods can be used to diagnose and display information about a MySQL connection error?

Correct Answer Choice A mysqli_connect_errno()
See Answer

MCQ 8 In a LIKE clause, you can could ask for any value ending in 'abc' by writing

Correct Answer Choice A LIKE %abc
See Answer


MCQ 9 Commands passed to the MySQL daemon are written in

Correct Answer Choice C the Structured Query Language
See Answer

MCQ 10 Which of these commands will delete a table called AAAA if you have appropriate authority

Correct Answer Choice D DROP TABLE AAAA
See Answer

MCQ 11 Which of these commands will delete all data from books if you have appropriate authority

Correct Answer Choice A TRUNCATE TABLE books;
See Answer

MCQ 12 Can DISTINCT command be used for more than one column?

Correct Answer Choice B Yes
See Answer


MCQ 13 If you want to undo a GRANT, you should use

Correct Answer Choice B REVOKE
See Answer

MCQ 14 Which of the following is available in MySQL

Correct Answer Choice D CREATE DATABASE
See Answer

MCQ 15 How can we get the number of records or rows in a table?

Correct Answer Choice A Using COUNT
See Answer

MCQ 16 How can we get the number of records or rows in a table?

Correct Answer Choice A Using COUNT
See Answer


MCQ 17 Which is the default order of sort in ORDER BY clause?

Correct Answer Choice B Ascending
See Answer

MCQ 18 Drop Table cannot be used to drop a table referenced by a ___________ constraint.

Correct Answer Choice D Foreign Key
See Answer

MCQ 19 Which of the following is used to delete an entire MYSQL database?

Correct Answer Choice B drop database dbname
See Answer

MCQ 20 The term attribute refers to a ___________ of a table.

Correct Answer Choice A Column
See Answer


MCQ 21 We use the ________________command to remove a relation from an SQL database.

Correct Answer Choice A Drop table
See Answer

MCQ 22 If there is more than one key for relation schema in DBMS then each key in relation schema is classified as ________________.

Correct Answer Choice C Candidate key
See Answer

MCQ 23 __________ is an Aggregate function in SQL.

Correct Answer Choice B AVG
See Answer

MCQ 24 Create table employee (name varchar, id integer, address text) What type of statement is this ?

Correct Answer Choice C DDL
See Answer


MCQ 25 A relational database consists of a collection of

Correct Answer Choice D Table
See Answer

NTSE, NEET, AIEEE, Olympiad & Other Competive Exams Preparation

Publish Your Article / Write for Us

Article Writing Guide/Help

Trending Questions


Advantages Of NCERT, CBSE & State Boards Solutions For All Subjects

  • All the NCERT Solutions have been prepared by academic experts having 10+ years of teaching experience.
  • They have prepared all the solutions in simple and easy language, so that each and every student can understand the concepts easily.
  • All the solutions have been explained step to step wise in details with better explainations.
  • Students can also use these question and answers for your assignments and in homework help.
  • All the solutions have been explained in detail and the answers have been compiled in a step-wise manner.
  • All the question and asnwers are commonly prepared according to the Latest Syllabus of Board Education and Guidelines.
  • Students can know about the various types of questions asked in the exams with the help of these solutions.

Top Course Categories