Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

xyz in the following statement is __________.

A. database
B. table
C. column
D. view
E. None of these
Answer» E. None of these
2.

Anonymous accounts have user name ______________.

A. prime
B. root
C. blank
D. super
E. None of these
Answer» D. super
3.

The superuser account of the grant tables in the mysql database is called ______________.

A. leaf
B. super
C. prime
D. root
E. None of these
Answer» E. None of these
4.

To see the table structure, which of the following commands is issued?

A. VIEW tbl_name
B. SELECT TABLE tbl_name
C. SELECT tbl_name
D. DESCRIBE tbl_name
E. None of these
Answer» E. None of these
5.

What does Student & name specify?

A. column specs and table name
B. table name and number of rows
C. table name and column specs
D. table name and number of columns
E. None of these
Answer» D. table name and number of columns
6.

Suppose you want to select a database named sampledb as the default database. Which of the following commands do you use?

A. USE DATABASE sampledb
B. USE sampledb
C. SELECT DATABASE sampledb
D. SELECT DATABASE()
E. None of these
Answer» C. SELECT DATABASE sampledb
7.

The query SELECT NOW() shows the current _____________.

A. date and time
B. date only
C. time only
D. table
E. None of these
Answer» B. date only
8.

The collations this statement lists are ______________.

A. names ending in utf8%
B. names containing utf8% anywhere
C. names ending with utf8
D. names beginning with utf8
E. None of these
Answer» E. None of these
9.

The statement used to find out which character sets are available is ______________.

A. SHOW COLLATIONS
B. SHOW COLLATION
C. SHOW CHARACTER SET
D. SHOW CHARACTER SETS
E. None of these
Answer» D. SHOW CHARACTER SETS
10.

The clause that can be used to sort string values according to a specific collation is ______________.

A. COLLATE
B. FILTER
C. GROUP
D. SORT
E. None of these
Answer» B. FILTER
11.

The variable used to set table alias names as non case sensitive is ______________.

A. lower_case_all
B. lower_case_aliases
C. lower_case_table_names
D. lower_case_alias
E. None of these
Answer» D. lower_case_alias
12.

The case sensitive among these is ______________.

A. Event name
B. Stored function name
C. Stored procedure name
D. Trigger name
E. None of these
Answer» E. None of these
13.

What is tamp in the following command?

A. password
B. table name
C. user name
D. host name
E. None of these
Answer» D. host name
14.

What is the host name in the following command?

A. interview.mania.com
B. mania
C. interview
D. interview.mania
E. None of these
Answer» B. mania
15.

The NULL value also means ___________.

A. a large value
B. value equal to zero
C. unknown value
D. negative values
E. None of these
Answer» D. negative values
16.

What is Employee in the following statement?

A. column name
B. table name
C. database name
D. row name
E. None of these
Answer» C. database name
17.

Identify the table name in the following statement.

A. Ajit
B. M
C. Employee
D. Values
E. None of these
Answer» D. Values
18.

In the following code, InnoDB is __________.

A. table name
B. reference engine
C. storage engine
D. database name
E. None of these
Answer» D. database name
19.

The special database that always exists after setting up MySQL in a computer is __________.

A. information_schema
B. mysql
C. readme_db
D. sampdb
E. None of these
Answer» B. mysql
20.

What column names are displayed when this command is executed?

A. prefixed with name
B. prefixed with %name
C. suffixed with name
D. suffixed with %name
E. None of these
Answer» D. suffixed with %name