Skip to main content

Mysql Miscellaneous — Part 2 MCQs with Explanations

Practice high-yield Computer Science & IT MCQs on Mysql Miscellaneous — Part 2 with worked academic solutions for PPSC, FPSC, CSS, PMS, NTS.

Questions
40
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
48 mins
📚 Module Parts in this Series (2 Parts):
Part 1 (40Q) ✓ Part 2 (40Q)
Exam-Level PPSC FPSC CSS PMS NTS
Content updated Oct 14, 2026
These practice questions are independent study material, not an official commission answer key. ExamHub.pk is reviewing older question sets; check important facts against the relevant commission's syllabus or another primary source. Report a correction.
40

Practice Questions

Interactive test mode with detailed academic worked solutions

Live Progress | 0/40 answered
✓ 0 correct ✗ 0 wrong 0% score
Question 1 of 40

Which grant table scope columns are case insensitive?

Question 2 of 40

The context in which the privilege 'CREATE TABLESPACE' applies is . . . . . . . .

Question 3 of 40

Which of the following characters cannot be used as a delimiter?

Question 4 of 40

What is abc in the following MySQL statement? SELECT * FROM my_table WHERE MATCH(abc) AGAINST('xyz');

Question 5 of 40

The spatial datatype used to store a curve is . . . . . . . .

Question 6 of 40

The binary protocol is more difficult to use.

Question 7 of 40

In MySQL, the default size of the key buffer in MB is . . . . . . . .

Question 8 of 40

The functions in Perl DBI called?

Question 9 of 40

Which operator is used to check the expression is not "NULL"?

Question 10 of 40

Which declaration represents that "character data will consume the same number of bytes as declared and is right padded"?

Question 11 of 40

What is the statement used to select a default database?

Question 12 of 40

Multiple MySQL servers can be run on the same machine.

Question 13 of 40

Mysql command line tool is used to show "how many rows are returned and how long SQL command took to execute".

Question 14 of 40

Find the missing clause from the following SQL statement? CREATE VIEW person_1 AS SELECT fname, lname, person_id _________ person;

Question 15 of 40

AUTO_INCREMENT columns must be NOT NULL.

Question 16 of 40

Which of these take more space? Variable length columns, Fixed length columns

Question 17 of 40

The server listens on a network port for TCP/IP connections unless started with the option . . . . . . . .

Question 18 of 40

Stored routines refers to stored functions and procedures.

Question 19 of 40

The maximum length of the varchar columns is . . . . . . . .

Question 20 of 40

The keyword used with UNION that does not retain duplicate rows is . . . . . . . .

Question 21 of 40

Which statement can be used for modifying the definition for an existing table?

Question 22 of 40

The function used to convert a string to an int is . . . . . . . .

Question 23 of 40

What jobs "Query Optimizer" perform in Mysql?

Question 24 of 40

The BIGINT precision is of bit . . . . . . . .

Question 25 of 40

The string function that returns the index of the first occurrence of substring is . . . . . . . .

Question 26 of 40

Multiple MySQL servers cannot be run on the same machine.

Question 27 of 40

What does RTF refer to?

Question 28 of 40

The LOCAL capability for client library is enabled by . . . . . . . .

Question 29 of 40

The variable used as a handle to an open file is . . . . . . . .

Question 30 of 40

What is the maximum length for alias names in terms of characters?

Question 31 of 40

The default storage engine used is . . . . . . . .

Question 32 of 40

The number of values that can be returned from a given stored function is . . . . . . . .

Question 33 of 40

A synonym for CHARACTER SET is . . . . . . . .

Question 34 of 40

The IN, OUT and INOUT keywords do not apply to stored functions.

Question 35 of 40

To perform consistency checks on a MyISAM table the statement is . . . . . . . .

Question 36 of 40

The character that the MySQL client program recognizes as a statement delimiter is . . . . . . . .

Question 37 of 40

Which system variable controls the size of the table cache?

Question 38 of 40

The embedded server library containing the MySQL server linkable into applications is . . . . . . . .

Question 39 of 40

How many of the following return rows? SELECT, SHOW, DESCRIBE

Question 40 of 40

Which of these modes is a composite server mode?

✓ Link copied to clipboard

💡 Examiner's Advisory for Computer Science & IT

In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.

More Modules in Computer Science & IT

View All →
📚

Study Guides

Topic summaries and syllabus breakdown

Explore Guides →
🎯

Complete Library

Search the practice question library

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →