Programming & Databases: 33 MCQs with Explanations
33 exam-level programming & databases MCQs with answers and explanations for PPSC, FPSC, NTS preparation.
33
Questions
Exam-Level
Difficulty
4
Exams Covered
50
Min Time
Exam-Level PPSC FPSC NTS CSS
Last updated: Oct 13, 2026
33
Total Practice MCQs
Instant feedback with detailed pedagogical explanations
Your progress0/33 answered
· 0 correct
(0%)
Set complete — review the explanations below, then reset and run it again for retention.
Q1 of 33
In which language is source program written?
Correct Answer: Option C — High Level
Detailed Academic Explanation:
High Level is the correct answer to “In which language is source program written”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q2 of 33
in which language is source program written:__________?
Correct Answer: Option C — High level
Detailed Academic Explanation:
in which language is source program written: High level .
💡 Key Conceptual Anchor:
Programming & Databases
Q3 of 33
The symbols used in an assembly language are _________?
Correct Answer: Option C — Mnemonics
Detailed Academic Explanation:
The symbols used in an assembly language are Mnemonics .
💡 Key Conceptual Anchor:
Programming & Databases
Q4 of 33
__________maintain (s) database of webpages containing information on variety of topics.
Correct Answer: Option D — Search Engines
Detailed Academic Explanation:
Search Engines maintain (s) database of webpages containing information on variety of topics.
💡 Key Conceptual Anchor:
Programming & Databases
Q5 of 33
___________ languages are close to humans?
Correct Answer: Option B — High level languages
Detailed Academic Explanation:
High level languages languages are close to humans.
💡 Key Conceptual Anchor:
Programming & Databases
Q6 of 33
Procedural language is ___________ generation language.
Correct Answer: Option D — 3rd
Detailed Academic Explanation:
Procedural language is 3rd generation language.
💡 Key Conceptual Anchor:
Programming & Databases
Q7 of 33
Pseudo code is similar to ___________?
Correct Answer: Option A — Simple English
Detailed Academic Explanation:
Pseudo code is similar to Simple English .
💡 Key Conceptual Anchor:
Programming & Databases
Q8 of 33
In database table, what does a column represent?
Correct Answer: Option A — Attributes
Detailed Academic Explanation:
Attributes is the correct answer to “In database table, what does a column represent”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q9 of 33
Which algorithm is used to decide the path to transfer the packets from source to destination?
Correct Answer: Option C — Routing
Detailed Academic Explanation:
Routing is the correct answer to “Which algorithm is used to decide the path to transfer the packets from source to destination”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q10 of 33
Data in database at a particular point of time is called as?
Correct Answer: Option C — Extension
Detailed Academic Explanation:
Extension is the correct answer to “Data in database at a particular point of time is called as”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q11 of 33
which of the following is a programming language?
Correct Answer: Option B — Pascal
Detailed Academic Explanation:
Pascal is the correct answer to “which of the following is a programming language”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q12 of 33
Compiler Is Also__________?
Correct Answer: Option A — Program
Detailed Academic Explanation:
Compiler Is Also Program .
💡 Key Conceptual Anchor:
Programming & Databases
Q13 of 33
HTML is the basic language used to create___________?
Correct Answer: Option D — Webpages
Detailed Academic Explanation:
HTML is the basic language used to create Webpages .
💡 Key Conceptual Anchor:
Programming & Databases
Q14 of 33
Which programming language is much in vogue among users of microcomputers ________?
Correct Answer: Option C — FORTH
Detailed Academic Explanation:
Which programming language is much in vogue among users of microcomputers FORTH .
💡 Key Conceptual Anchor:
Programming & Databases
Q15 of 33
Which of the following languages is more suited to a structured program?
Correct Answer: Option C — PASCAL
Detailed Academic Explanation:
PASCAL is the correct answer to “Which of the following languages is more suited to a structured program”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q16 of 33
Which of the following is a popular programming language for developing multimedia webpages ________?
Correct Answer: Option A — Java
Detailed Academic Explanation:
Which of the following is a popular programming language for developing multimedia webpages Java .
💡 Key Conceptual Anchor:
Programming & Databases
Q17 of 33
Who invented Java programming language?
Correct Answer: Option C — James Gosling
Detailed Academic Explanation:
James Gosling is the correct answer to “Who invented Java programming language”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q18 of 33
Which is another name for functional language?
Correct Answer: Option A — Application language
Detailed Academic Explanation:
Application language is the correct answer to “Which is another name for functional language”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q19 of 33
Compilers and interpreters are themselves:______________?
Correct Answer: Option A — Programs
Detailed Academic Explanation:
Compilers and interpreters are themselves: Programs .
💡 Key Conceptual Anchor:
Programming & Databases
Q20 of 33
Which language does MS-Word use to create Macros?
Correct Answer: Option A — Visual Basic
Detailed Academic Explanation:
Visual Basic is the correct answer to “Which language does MS-Word use to create Macros”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q21 of 33
Which language is used to create macros in Excel?
Correct Answer: Option C — Visual Basic
Detailed Academic Explanation:
Visual Basic is the correct answer to “Which language is used to create macros in Excel”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q22 of 33
SQL is a query language and has types_______________?
Correct Answer: Option C — All of the above
Detailed Academic Explanation:
SQL is a query language and has types All of the above .
💡 Key Conceptual Anchor:
Programming & Databases
Q23 of 33
Compiler can check___________?
Correct Answer: Option C — Syntax Error
Detailed Academic Explanation:
Compiler can check Syntax Error .
💡 Key Conceptual Anchor:
Programming & Databases
Q24 of 33
A detailed written description of the programming cycle and the program, along with the test results and a printout of the program is called___________?
Correct Answer: Option C — documentation
Detailed Academic Explanation:
A detailed written description of the programming cycle and the program, along with the test results and a printout of the program is called documentation .
💡 Key Conceptual Anchor:
Programming & Databases
Q25 of 33
The scrambling of code is known as___________?
Correct Answer: Option C — Encryption
Detailed Academic Explanation:
The scrambling of code is known as Encryption .
💡 Key Conceptual Anchor:
Programming & Databases
Q26 of 33
Which of the following is not a binary number?
Correct Answer: Option B — 202
Detailed Academic Explanation:
202 is the correct answer to “Which of the following is not a binary number”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q27 of 33
Who invented the high level language “C”?
Correct Answer: Option C — Dennis M. Ritchie
Detailed Academic Explanation:
Dennis M. Ritchie is the correct answer to “Who invented the high level language “C””. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q28 of 33
Which programming languages are classified as low level languages?
Correct Answer: Option D — Assembly languages
Detailed Academic Explanation:
Assembly languages is the correct answer to “Which programming languages are classified as low level languages”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q29 of 33
Father of “C‘ programming language?
Correct Answer: Option D — Dennis Ritchie
Detailed Academic Explanation:
Dennis Ritchie is the correct answer to “Father of “C‘ programming language”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q30 of 33
Father of − C programming language?
Correct Answer: Option B — Dennis Ritchie
Detailed Academic Explanation:
Dennis Ritchie is the correct answer to “Father of − C programming language”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q31 of 33
When typing in a word field manually, what must you press to insert the code → s brackets?
Correct Answer: Option A — Ctrl + F9
Detailed Academic Explanation:
Ctrl + F9 is the correct answer to “When typing in a word field manually, what must you press to insert the code → s brackets”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q32 of 33
What is the shortcut key to display field codes?
Correct Answer: Option B — Alt + F9
Detailed Academic Explanation:
Alt + F9 is the correct answer to “What is the shortcut key to display field codes”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
Q33 of 33
Who invented the high level language − C?
Correct Answer: Option B — Dennis M. Ritchie
Detailed Academic Explanation:
Dennis M. Ritchie is the correct answer to “Who invented the high level language − C”. Items of this type are drawn from the Programming & Databases syllabus of Pakistani competitive exams, where the fact is tested verbatim.
💡 Key Conceptual Anchor:
Programming & Databases
💡 How to Use These MCQs
Self-Assessment: Test your current knowledge level before studying.
Learning Aid: Read explanations carefully to understand concepts, not just memorize answers.
Revision Tool: Review these questions periodically before exams.
Time Management: Practice answering within time limits to improve speed.
More Computer Science & Information Technology practice