Computer Science > QUESTIONS & ANSWERS > 240 quizses (Questions and Answers) Arizona State University CSE 240 (All)
Question 1 1 out of 1 points If the relation between two C++ classes can be best described as "is-a relation", we should Answer Selected Answer: A. derive one class from the other (inheritanc... e). Correct Answer: A. derive one class from the other (inheritance). Question 2 0 out of 1 points “Map and Reduce” is a concept for Answer Selected Answer: B. defining generic class Correct Answer: C. defining parallel computing processes Question 3 0 out of 1 points What keyword is used for defining an exception handler? Answer Selected Answer: A. thro w Correct Answer: D. catc h Question 4 1 out of 1 points If the relation between two C++ classes can be best described as "has-a relation", we should Answer Selected C. Answer: contain one class in the other (containment). Correct Answer: C. contain one class in the other (containment). Question 5 1 out of 1 points Using the generic type for the node is the best choice if you want to define a linked list of nodes that can take Answer Selected Answer: A. several types of objects. Correct Answer: A. several types of objects. Question 6 1 out of 1 points A throw statement is associated with a specific exception handler through the Answer Selected Answer: A. type of the throw value. Correct Answer: A. type of the throw value. Question 7 0 out of 1 points What type of semantics for data access is a feature of objected-oriented language? Answer Selected Answer: B. Value type Correct Answer: C. Reference type Question 8 1 out of 1 points What function can be used for creating an object from a generic class? Answer Selected Answer: B. gcnew (); Correct Answer: B. gcnew (); Question 9 1 out of 1 points It does not cause memory (storage) overhead to create multiple Answer Selected Answer: D. names (alias) for a variable. Correct Answer: D. names (alias) for a variable. Question 10 0 out of 1 points The purpose of a generic class is to define a template for being instantiated by Answer Selected Answer: C. an interface class Correct Answer: B. an actual class Question 1 [Show More]
Last updated: 2 years ago
Preview 1 out of 22 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Dec 06, 2022
Number of pages
22
Written in
This document has been written for:
Uploaded
Dec 06, 2022
Downloads
0
Views
58
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·