subject

What type of programming encapsulates data and functions together in an object?

a.
object-oriented.

b.
interactive.

c.
procedural.

d.
menu-driven.

e.
none of the above.

2.5 points

question 2

what software entity contains both data and procedures?

a.
objects.

b.
instances.

c.
events.

d.
memory location(s).

e.
none of the above.

2.5 points

question 3

the variables, arrays, or other data structures that are stored in the object are known as the object’s

a.
records.

b.
methods.

c.
addresses.

d.
fields.

e.
none of the above.

2.5 points

question 4

the procedures that the object performs are known as

a.
records.

b.
methods.

c.
addresses.

d.
fields.

e.
none of the above.

2.5 points

question 5

the programmer determines the fields and methods of an object and creates the code.

a.
print.

b.
class.

c.
module.

d.
procedure.

e.
none of the above.

2.5 points

question 6

the class starts with the word class followed by the name of the class.

a.
body.

b.
definition.

c.
return.

d.
members.

e.
none of the above.

2.5 points

question 7

what is the term used for the fields and methods that belong to a class?

a.
body.

b.
definition.

c.
return.

d.
members.

e.
none of the above.

2.5 points

question 8

the word private that appears before a field declaration, in a class definition, is known as a(n)

a.
access specifier.

b.
specifier.

c.
class specifier.

d.
inside specifier.

e.
none of the above.

2.5 points

question 9

the mutator methods are sometimes called

a.
getters.

b.
accessors.

c.
setters.

d.
private.

e.
none of the above.

2.5 points

question 10

what allows you to create methods with the same name in different classes and gives you the ability to call the correct method depending on the type of object that is used to call it?

a.
constructor.

b.
inheritance.

c.
accessor.

d.
polymorphism.

e.
none of the above.

2.5 points

question 11

is a standard way of drawing diagrams that describe object-oriented systems.

a.
data flow diagram.

b.
uml.

c.
flowchart.

d.
hierarchy chart.

e.
none of the above.

2.5 points

question 12

is another name for accessor methods.

a.
getters.

b.
accessors.

c.
setters.

d.
private.

e.
none of the above.

2.5 points

question 13

which method is called automatically when an object is created?

a.
design.

b.
public.

c.
private.

d.
constructor.

e.
none of the above.

2.5 points

question 14

allows a new class to extend an existing class.

a.
successor.

b.
accessor.

c.
inheritance.

d.
public.

e.
none of the above.

2.5 points

question 15

which of the following tasks are performed by a procedure?

a.
reading a file.

b.
gathering input.

c.
displaying output.

d.
all of the above.

e.
none of the above.

2.5 points

question 16

which of the following are contained in a uml diagram for a class?

a.
class name.

b.
class fields.

c.
class methods.

d.
all of the above.

e.
none of the above.

2.5 points

question 17

in a uml diagram what character do you place in front of a field of method name to indicate it is public?

a.
+.

b.
=.

c.
p.

d.
-.

e.
none of the above.

2.5 points

question 18

the act of declaring a class variable does not actually create an object in memory.

true

false

2.5 points

question 19

if a constructor is not written when the class is compiled, then a constructor is automatically provided and it is known as the default constructor.

true

false

2.5 points

question 20

when a superclass method has the same name as a subclass method, it is often said that the superclass method overrides the subclass method.

true

false

2.5 points

question 21

external entities do not have direct access to the object’s private methods.

true

false

2.5 points

question 22

when the program is running, it can use the class to create, in memory, one object of a specific type as needed.

true

false

2.5 points

question 23

the private object fields can be directly manipulated by outside entities.

true

false

2.5 points

question 24

when a class variable is assigned the address of an object, it is said that the variable references the object.

true

false

2.5 points

question 25

in an inheritance relationship, the superclass inherits members from the subclass, not the other way around.

true

false

2.5 points

question 26

when an object’s internal data is hidden from outside code and access to the data is restricted to the object’s methods, the data is protected from accidental corruption.

true

false

2.5 points

question 27

there are primarily three methods of programming in use today: procedural, recursive, and object-oriented.

true

false

2.5 points

question 28

the separation of data and the code that operates on the data can lead to problems as a program becomes larger and more complex.

true

false

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 15:30
Communication is the exchange of information. true or false?
Answers: 1
question
Computers and Technology, 22.06.2019 00:00
11. is the ability to understand how another person is feeling. a. authority b. sympathy c. empathy d. taking a stand
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
question
Computers and Technology, 23.06.2019 04:20
4. a1. vince owns a television repair shop that is insured undera commercial package policy. the policy includes thebuilding and personal property coverage form and thecauses-of-loss broad form. the declarations page indicatesthat coverage applies to both the building and the namedinsured's business property. explain whether or not thefollowing losses would be covered under his policy.a. a fire occurs on the premises, and the building isbadly damaged.b. a burglar steals some money and securities from anunlocked safe.c. a business computer is damaged by vandals whobreak into the shop after business hours.d. a tornado touches down near the store. several tel-evision sets of customers in the shop for repair aredamaged in the storm.til
Answers: 2
You know the right answer?
What type of programming encapsulates data and functions together in an object?

a.
Questions
question
Health, 04.12.2021 19:40
question
Mathematics, 04.12.2021 19:40
question
English, 04.12.2021 19:40
question
Mathematics, 04.12.2021 19:40
question
Mathematics, 04.12.2021 19:40
question
Mathematics, 04.12.2021 19:40
question
Mathematics, 04.12.2021 19:40
Questions on the website: 13722363