Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer the following multiple choice questions 1. In OOP, why do some languages have implicit arguments to member functions? a) the conceptual breakdown of higher

Answer the following multiple choice questions

1. In OOP, why do some languages have implicit arguments to member functions?

a) the conceptual breakdown of higher order concepts into data points that are representative of the concept make up the "thing" in questions.

b) Inheritance allows for the reuse of code.

c) If all member functions are going to have it, then it is simpler for the programmer to not have to wirte it out everytime.

d) It makes it easier to ensure the correct syntax is enfored.

2. What is a data type?

a) A specifier that restricts the kind of data that may be stored in a location in memory.

b) A specifier that restricts when data may be accessed

c) A specifier that defines how a region of memory is to be interpreted as a higher order concept.

d) Something all compilers require to be able to run source code.

3. Which mechanisms does C lack that OOP langauges support? (Circle all that apply)

a) Access Specifiers.

b) Heap allocation of memory.

c) Inheritance/Polymorphism

d) Static functions

4. Which concepts allow the MAP concept we discussed in class to operate correctly(Circle all that apply):

a) A lack of global state

b) A restriction on the use of standard computer science variables.

c) The ability to treat functions as data.

d) Implicitly local scope.

5. What is the purpose of pointers? (Circle all that apply)

a) Pointers allow you to access many elements of data through a single variable.

b) Pointers allow a programmer to use data on the stack, otherwise it would be inaccessible.

c) Pointers allow different sections of a program to have access to the same data.

d) Pointers allow the programmer to modify other applications.

6. Functional programming has certain constraints. What are the benefits of these constraints?

a) Functions can be automatically applied in parallel.

b) The data are independent of each other.

c) Iterative code is easier to write.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago