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, 22.06.2019 15:00
This is not a factor that you should use to determine the content of your presentation. your audience your goals your purpose your technology
Answers: 1
question
Computers and Technology, 23.06.2019 10:30
How would you categorize the software that runs on mobile devices? break down these apps into at least three basic categories and give an example of each.
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
You know the right answer?
What type of programming encapsulates data and functions together in an object?

a.
Questions
question
Mathematics, 12.03.2021 14:00
question
English, 12.03.2021 14:00
question
Computers and Technology, 12.03.2021 14:00
question
English, 12.03.2021 14:00
question
Mathematics, 12.03.2021 14:00
Questions on the website: 13722363