100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
Previously searched by you
PURDUE CS 307 FINAL EXAM ACTUAL EXAM 110 QUESTIONS AND CORRECT DETAILED ANSWERS WITH RATIONALES (VERIFIED ANSWERS) |ALREADY GRADED A+$27.99
Add to cart
PURDUE CS 307 FINAL EXAM ACTUAL EXAM 110 QUESTIONS AND CORRECT DETAILED ANSWERS WITH RATIONALES (VERIFIED ANSWERS) |ALREADY GRADED A+
7 views 0 purchase
Course
PURDUE CS 307
Institution
PURDUE CS 307
PURDUE CS 307 FINAL EXAM ACTUAL
EXAM 110 QUESTIONS AND CORRECT DETAILED
ANSWERS WITH RATIONALES (VERIFIED ANSWERS)
|ALREADY GRADED A+
PURDUE CS 307 FINAL EXAM ACTUAL
EXAM 110 QUESTIONS AND CORRECT DETAILED
ANSWERS WITH RATIONALES (VERIFIED ANSWERS)
|ALREADY GRADED A+
PURDUE CS 307 FINAL EXAM 2023-2024 ACTUAL
EXAM 110 QUESTIONS AND CORRECT DETAILED
ANSWERS WITH RATIONALES (VERIFIED ANSWERS)
|ALREADY GRADED A+
The advantage C++ over Java is
a. C++ is compiled and Java is not
b. C++ is faster
c. C++ is easier to use
d. C++ has more safety features - ANSWER-b. C++ is faster
The pre-processor is used to
a. make the compiler more efficient
b. increase the runtime performance
c. modify the source code
d. error check the source code - ANSWER-c. modify the source code
Choose the relationship defined by Inheritance:
a. is-a
b. has-a
c. uses
d. contains - ANSWER-a. is-a
Encapsulation refers to
a. code reuse
b. protected memory
c. access control
d. efficient debugging - ANSWER-c. access control
,An API refers to
a. a set of function signatures
b. the source code of the program
c. the linkage of the program
d. the compilation of the program - ANSWER-a. a set of function signatures
A C++ function signature includes
a. The name of the function
b. The name and number of arguments
c. The name, number and type of arguments
d. The name, number and type of arguments, and return type - ANSWER-c. The name, number and type
of arguments
The difference between a function declaration and a definition is
a. a declaration allocates memory
b. a definition allocates memory
c. a declaration includes a function body
d. a definition does not include the function body - ANSWER-b. a definition allocates memory
An undefined external reference means
a. a variable is not defined in the source file
b. a function is defined in another source file
c. a function is not defined in the source file
d. the linker cannot find the function - ANSWER-d. the linker cannot find the function
The function prototype exists
a. to find errors
b. to make the compiler more efficient
c. to give the linker information about the function
, d. so the preprocessor can modify the source code - ANSWER-a. to find errors
The "make" utility was developed because
a. the linker is slower
b. the compiler is slower than the linker
c. the compiler is separate from the linker
d. the code in the project needed to be defined - ANSWER-b. the compiler is slower than the linker
A reference variable is passed to a function by
a. copying the data to a local variable
b. copying the data to a global variable
c. passing the address of the variable
d. passing the data of the variable - ANSWER-c. passing the address of the variable
A global variable means it
a. is only available in the compilation unit
b. is defined by its position in the text
c. is available across all compilation units
d. it can only be referenced once in the file - ANSWER-c. is available across all compilation units
The composition relationship is defined by
a. is-a
b. has-a
c. uses
d. contains - ANSWER-b. has-a
The "#ifndef TAG" followed by a "#define TAG" at the beginning of the .h file is used to
a. inform the compiler what OS is being used
b. tell the compiler how to compile the file
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller 2024newestexams. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $27.99. You're not tied to anything after your purchase.