Modern Programming Languages MCQs with Answers
Practice important Modern Programming Languages MCQs with answers and explanations.
Chapter: 7
Q101:
Which popular dialects of BASIC are still in use?
A. Turbo BASIC and QuickBASIC
B. Visual BASIC and QuickBASIC
C. BASIC++ and BASIC Pro
D. BASIC Core and BASIC Advanced
Correct Answer:
B
Chapter: 7
Q102:
PL/I was designed to cater to which computing groups?
A. AI and system simulation
B. String manipulation and hardware description
C. Scientific and business computing
D. Data abstraction and pattern matching
Correct Answer:
C
Chapter: 7
Q103:
What new feature was introduced by PL/I?
A. Block structure
B. Exception handling
C. Backtracking
D. Generic units
Correct Answer:
B
Chapter: 7
Q104:
What programming concept did Simula 67 introduce?
A. Dynamic typing
B. Object-oriented programming
C. Functional programming
D. String manipulation
Correct Answer:
B
Chapter: 7
Q105:
Pascal was primarily designed for teaching which concept?
A. Artificial Intelligence
B. Structured programming
C. Logic programming
D. High-level system programming
Correct Answer:
B
Chapter: 7
Q106:
C was designed for what purpose?
A. System simulation
B. Logic programming
C. Systems programming
D. Teaching structured programming
Correct Answer:
C
Chapter: 7
Q107:
Which programming language is a direct descendant of C?
A. Python
B. Pascal
C. Ada
D. C++
Correct Answer:
D
Chapter: 7
Q108:
What unique mechanism does Prolog use?
A. Dynamic typing
B. Backtracking
C. Tasking model
D. Record hierarchy
Correct Answer:
B
Chapter: 7
Q109:
Ada introduced which programming feature?
A. Classes
B. Generic program units
C. Array cross-sections
D. String pattern matching
Correct Answer:
B
Chapter: 7
Q110:
Which language design effort is considered the largest in history?
A. Pascal
B. Ada
C. COBOL
D. BASIC
Correct Answer:
B
Chapter: 8
Q111:
Which language is considered the purest object-oriented language?
A. Smalltalk
B. C++
C. Java
D. Pascal
Correct Answer:
A
Chapter: 8
Q112:
Who initially developed Smalltalk?
A. Adele Goldberg
B. Alan Kay
C. Dennis Richie
D. Ken Iverson
Correct Answer:
B
Chapter: 8
Q113:
What significant feature did C++ inherit from SIMULA 67?
A. Dynamic typing
B. Object-oriented programming
C. Procedural programming
D. Aspect-oriented programming
Correct Answer:
B
Chapter: 8
Q114:
Which language removed features like pointers, structs, and goto statements?
A. Java
B. C#
C. PHP
D. JavaScript
Correct Answer:
A
Chapter: 8
Q115:
What type of scripting is JavaScript primarily used for?
A. Server-side
B. Client-side
C. Database
D. System-level
Correct Answer:
B
Chapter: 8
Q116:
JavaScript is primarily embedded in _______.
A. HTML documents
B. CSS files
C. Databases
D. JSON
Correct Answer:
A
Chapter: 8
Q117:
PHP stands for _______.
A. Personal Homepage
B. Preprocessor Hypertext
C. Predefined Hyper Process
D. Personal Hyperlink
Correct Answer:
A
Chapter: 8
Q118:
Which decade focused on the effective software technology for structured programming?
A. 1950s
B. 1960s
C. 1970s
D. 1980s
Correct Answer:
C
Chapter: 8
Q119:
The concept of "Aspect-Oriented Programming" became prominent in which era?
A. 1990s
B. 2000s
C. 2010s
D. 1980s
Correct Answer:
C
Chapter: 8
Q120:
What is a key feature of Smalltalk?
A. Procedural programming
B. Data abstraction
C. Assembly-level programming
D. Database management
Correct Answer:
B