a.
Computers and Technology, 16.01.2020 02:31 brionnashelp
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
Answers: 2
Computers and Technology, 23.06.2019 07:00, bskyeb14579
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
Computers and Technology, 23.06.2019 09:00, mimithurmond03
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
Computers and Technology, 23.06.2019 16:30, vitothebest1
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
Computers and Technology, 24.06.2019 05:00, alfarodougoy8lvt
Who is most likely be your target audience if you create a slide presentation that had yellow background and purple text
Answers: 2
What type of programming encapsulates data and functions together in an object?
a.
a.
English, 15.12.2020 15:30
Computers and Technology, 15.12.2020 15:30
Mathematics, 15.12.2020 15:30
Mathematics, 15.12.2020 15:30
Mathematics, 15.12.2020 15:30