Dear Readers, Welcome to MySQL Objective Questions have been designed specially to get you acquainted with the nature of questions you may encounter during your Job interview for the subject of MySQL. These Objective type MySQL Questions are very important for campus placement test and job interviews. As per my experience good interviewers hardly plan to ask any particular question during your Job interview and these model questions are asked in the online technical test and interview of many Medical companies.
A. Michael Widenius
B. Bill Joy
C. Bill Gates
D. Stephanie Wall
E. Sigmund Velin
Ans: A
A. mysql
B. mysqld
C. mysql.exe
D. httpd
Ans: B
A. Perl, PHP or Java
B. Some sort of client program to access the databases
C. A Browser
D. FTP and Telnet
Ans: B
A. C only
B. Java only
C. Java and C
D. Perl, PHP and C
E. C, C# and the .NET environment, Java and Python
Ans: A
A. Multiple-master replication
B. Master to slave replication
C. Single file based clustering
D. MySQL doesn’t support replication
Ans: B
A. BDB
B. Isam99
C. MyIsam
D. Hash
E. Isam
F. InnoDb
Ans: B
A. Your choice from Perl, PHP, Java or some other languages
B. English
C. the Structured Query Language
D. Swedish
Ans: C
A. true
B. false
Ans: B
A. Far
B. Near
C. To
D. From
Ans: B
A. LIKE ton$
B. LIKE ^.*ton$
C. LIKE %ton
D. LIKE *ton
E. LIKE .*ton
Ans: C
A. Alter
B. Add
C. Insert
D. Create
E. Update
F. Commit
Ans: C
A. DROP XXX
B. DELETE XXX WHERE confirm = “YES”
C. DROP XXX WHERE confirm = “YES”
D. DROP TABLE XXX
E. DELETE XXX
F. DELETE TABLE XXX
Ans: D
A. Is a pseudonym for the SELECT command
B. Has been deprecated and should be avoided for security reasons
C. Should be used to choose the database you want to use once you’ve connected to MySQL
D. Is used to load code from another file
Ans: C
A. LIKE ??????
B. LIKE .{6}
C. LIKE ^.{6}$
D. LIKE …… (that’s six dots)
E. LIKE ______ (that’s six underscore characters)
Ans: E
A. Unix and Linux only
B. Linux and Mac OS-X only
C. Unix, Linux, Windows and others
D. Any operating system at all
Ans: C
A. MySQL login accounts, and priveliges set for each account
B. The ID that the user logged into the server through, and priveliges set up for that account.
C. A table of valid IP addresses, and priveliges set up for each IP address
D. The normal login security is sufficient for MySQL, and it does not have any extra controls of its own.
Ans: A
A. Temporary (Hash) Tables
B. Table Joining
C. Stored Procedures
D. Regular Expression Matching
Ans: C
A. Xigang Koi
B. Mahatma Coate
C. Edgar Codd
D. William Crawford
E. Robert Langton
Ans: C
A. If you use it for longer than 30 days
B. You use MySQL in a live application and not just for evaluation
C. You incorporate it into a product that you sell
D. You use it on a publicly accessible site
E. You are never required to buy a license
Ans: C
A. CONCAT( A , B )
B. CONCAT ( A , B )
C. CONCAT( “A” , “B” )
D. CONCAT ( “A” , “B” )
E. CONCAT (A, B)
F. CONCAT (“A”, “B”)
Ans: C
A. REVOKE
B. UNDO
C. UNGRANT
D. DELETE
E. WITHDRAW
F. ROLLBACK
Ans: A
A. 255
B. 7
C. 65535
D. 2 (True and False)
Ans: C
A. REVOKE
B. FETCH
C. LIKE
D. JOIN
E. SELECT
Ans: B
A. longblob
B. tinytext
C. mediumtext
D. longtext
E. tinyblob
Ans: B
A. There isn’t a program just called mysql
B. A wrapper through which Java clients must connect to the databases
C. A client program that lets you send SQL commands to the database engine
D. The database engine
E. A program that starts up and shuts down the database engine
Ans: C
A. LIKE ______ (that’s six underscore characters)
B. LIKE .{6}
C. LIKE ??????
D. LIKE ^.{6}$
E. LIKE …… (that’s six dots)
Ans: A
A. CREATE VIEW
B. CREATE SCHEMA
C. CREATE TRIGGER
D. CREATE DATABASE
E. CREATE FAIRYLIGHTS
Ans: D
A. char binary
B. nchar binary
C. text
D. blob
Ans: D
A. use mysql;
B. include (“mysql.h”);
C. #include <mysql.h>
D. import com.mysql.*;
Ans: C
A. Can reset passwords for any mysql user account
B. Perform certain “admin type” operations such as flush table and logs from memory to disc, but can’t normally do anything “dangerous”
C. Can repopulate the databases and tables from a backup
D. Can restart the MySQL daemon in addition to any other priveliges he might also have
Ans: B
A. Only SHOW FIELDS FROM can take a LIKE clause
B. Nothing – they’re the same thing
C. Only DESCRIBE can take a LIKE clause
Ans: B
A. To
B. From
C. Far
D. Near
Ans: B
A. English
B. Your choice from Perl, PHP, Java or some other languages
C. the Structured Query Language
D. Swedish
Ans: C
A. CREATE TRIGGER
B. CREATE SCHEMA
C. CREATE FAIRYLIGHTS
D. CREATE DATABASE
E. CREATE VIEW
Ans: D
A. Edgar Codd
B. Xigang Koi
C. Robert Langton
D. Mahatma Coate
E. William Crawford
Ans: A