• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

CS 326 Final

Document preview thumbnail
Preview 1 out of 2 pages

CS 326 Final False - answersType coercion is an explicit (specified by the programmer) conversion from a value of one type to a value of another type. True - answersDisplays allow accessing a non-local variable in constant time, while static chains require dereferencing an arbitrary number of pointers. True - answersIn C++, modifying headers of private member functions in a class requires to recompile all files that use the class, but never to rewrite them. False - answersIn C++, modifying headers of public member functions in a class requires to recompile all files that use the class, but never to rewrite them. True. - answersUnlike macros, inline functions in C++, use applicative order evaluation, type checking and scope rules. True - answersProlog belongs to the class of declarative programming languages. False - answersDangling references in C can appear in the context of heap allocation, but not in the context of stack allocation. True - answersIn Java, an object (instance of a class) can be created only dynamically, by using the new operator. Any computer platform with the Java interpreter specific to that platform. - answersWhat is a Java Virtual Machine? It uses static scoping. - answersC does NOT include static links in its stack activation frames because:

Content preview

CS 326 Final

False - answers✔✔Type coercion is an explicit (specified by the programmer) conversion from a value of
one type to a value of another type.



True - answers✔✔Displays allow accessing a non-local variable in constant time, while static chains
require dereferencing an arbitrary number of pointers.



True - answers✔✔In C++, modifying headers of private member functions in a class requires to
recompile all files that use the class, but never to rewrite them.



False - answers✔✔In C++, modifying headers of public member functions in a class requires to
recompile all files that use the class, but never to rewrite them.



True. - answers✔✔Unlike macros, inline functions in C++, use applicative order evaluation, type
checking and scope rules.



True - answers✔✔Prolog belongs to the class of declarative programming languages.



False - answers✔✔Dangling references in C can appear in the context of heap allocation, but not in the
context of stack allocation.



True - answers✔✔In Java, an object (instance of a class) can be created only dynamically, by using the
new operator.



Any computer platform with the Java interpreter specific to that platform. - answers✔✔What is a Java
Virtual Machine?



It uses static scoping. - answers✔✔C does NOT include static links in its stack activation frames because:

Document information

Uploaded on
August 10, 2025
Number of pages
2
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$8.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
196
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions