Programming Language Concepts MCQ PDF
Programming Language Concepts MCQ PDF
https://quizplus.com/study-set/1650
13 Chapters
651 Verified Questions
Programming Language Concepts
MCQ PDF
Cou
Programming Language Concepts explores the foundational principles underlying the
design, implementation, and use of programming languages. Students will examine key
topics such as syntax and semantics, data types, control structures, binding, scoping,
and parameter passing. The course also covers paradigms including procedural,
trade-offs. Through comparative studies and practical examples, students gain insight
problem-solving, preparing them to effectively learn new languages and choose the
Recommended Textbook
Programming Languages Principles and Practices 3rd Edition by Kenneth C. Louden
Page 2
Chapter 1: Introduction
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32743
Sample Questions
Q1) ____ abstractions support information hiding.
A) Basic data
B) Structured data
C) Unit data
D) Structured control
Answer: C
Q3) The ____ abstraction is often associated with the concept of an abstract data type.
A) unit data
B) basic data
C) structured data
D) structured control
Answer: A
To view all questions and flashcards with answers, click on the resource link above.
Page 3
Chapter 2: Language Design Criteria
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32744
Sample Questions
Q1) C++ is an open source language that has never had a commercial release.
A)True
B)False
Answer: False
Q3) The presence of explicit data types in variable declarations in a language allows for
more concise code.
A)True
B)False
Answer: False
To view all questions and flashcards with answers, click on the resource link above.
Page 4
Chapter 3: Functional Programming
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32745
Sample Questions
Q1) The essential construct of lambda calculus is called the lambda application.
A)True
B)False
Answer: False
Q2) Haskell supports a type class inheritance through a hierarchy of type classes.
A)True
B)False
Answer: True
Q4) In lambda calculus,a value can be substituted for a variable by use of a(n)____.
A) reduction rule
B) evaluation rule
C) abstraction rule
D) application rule
Answer: A
To view all questions and flashcards with answers, click on the resource link above.
Page 5
Chapter 4: Logic Programming
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32746
Sample Questions
Q1) In the Horn clause a and a and a b,the variable b is called the ____.
A) head
B) body
C) tail
D) fact
Q2) A logic programming language is a notational system for writing logical statements
together with specified algorithms for implementing inference rules.
A)True
B)False
Q4) The existential quantifier is used to represent all things in the universe that exist.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Page 6
Chapter 5: Object-Oriented Programming
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32747
Sample Questions
Q1) In Smalltalk,the object that receives a message performs its service by invoking an
appropriate ____.
A) method
B) function
C) procedure
D) sub-routine
Q2) The history of object-oriented programming languages begins in the 1960s with the
Simula project.
A)True
B)False
Sample Questions
Q1) The process of associating the semantics of a construct to its syntactic structure is
called syntax-directed semantics.
A)True
B)False
Q3) ____ are phrase structures that are broken down into further phrase structures.
A) Nonterminals
B) Complex grammars
C) Compressed structures
D) Terminals
Q4) The start symbol is used to identify the start of the grammar.
A)True
B)False
Q5) Abstract syntax trees abstract the essential structure of the parse tree.
A)True
B)False
Page 8
To view all questions and flashcards with answers, click on the resource link above.
Chapter 7: Basic Semantics
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32749
Sample Questions
Q1) In C++,declarations that bind all potential attributes are called ____.
A) prototypes
B) definitions
C) symbols
D) explicits
Q2) The body of an externally defined function will not be bound until ____.
A) execution time
B) link time
C) translation time
D) load time
Q3) Names can be reused within nested blocks by associating each declaration with a
level number and an offset.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Page 9
Chapter 8: Data Types
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32750
Sample Questions
Q1) The most general type possible for a polymorphic function with a given
implementation is called its ____ type.
A) general
B) base
C) principal
D) specialized
Q2) Languages without static type systems are usually called ____ languages.
A) reverse typed
B) untyped
C) weakly typed
D) strongly typed
Q3) A narrowing conversion is an implicit conversion that may result in loss of data.
A)True
B)False
Q4) Type ____ are used to construct complex types from basic types.
A) constructors
B) assemblers
C) checkers
D) combiners
To view all questions and flashcards with answers, click on the resource link above.
Page 10
Chapter 9: Control I - Expressions and Statements
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32751
Sample Questions
Q1) Synchronous errors occur in direct reaction to program execution.
A)True
B)False
Q2) In normal order evaluation,each operation begins its evaluation before its operands
are evaluated.
A)True
B)False
Q3) ____ code is code for a function body that is inserted directly at the point where the
function would be called.
A) Substitution
B) Control
C) Inline
D) Parameterized
Sample Questions
Q1) The group of actions in a procedure is called the ____ of the procedure.
A) parameters
B) arguments
C) activation record
D) body
Q4) The pointer to the previous activation record is the ____ link.
A) reverse
B) history
C) control
D) return
To view all questions and flashcards with answers, click on the resource link above.
Page 12
Chapter 11: Abstract Data Types and Modules
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/32753
Sample Questions
Q1) Exported names should be qualified by the module name to avoid accidental name
clashes.
A)True
B)False
Q2) Encapsulation refers to the collection of all definitions related to a data type in one
location
A)True
B)False
Q3) Information hiding refers to the separation of data from the programmer.
A)True
B)False
Q4) Object oriented languages solve the initialization problem by the use of
constructors.
A)True
B)False
Sample Questions
Q1) A translator is ____ to ensure that it produces behavior described in the language
definition.
A) verified
B) validated
C) proven
D) vetted
Q2) In the sample small language presented in Chapter 12,the sets Integer is an example
of a syntactic domain.
A)True
B)False
Q3) The Law of ____ states that if a postcondition Q implies R then the weakest
precondition of Q implies the weakest precondition of R.
A) the Excluded Miracle
B) Conjunction
C) Monotonicity
D) Disjunction
To view all questions and flashcards with answers, click on the resource link above.
Page 14
Chapter 13: Parallel Programming
Available Study Resources on Quizplus for this Chatper
51 Verified Questions
51 Flashcards
Source URL: https://quizplus.com/quiz/32755
Sample Questions
Q1) Semaphore signal and delay operations are identical to monitor continue and
suspend.
A)True
B)False
Q3) Another name for the bounded buffer problem is the producer-consumer problem.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Page 15