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 17:30, Artemis3821
Scientists have changed the model of the atom as they have gathered new evidence. one of the atomic models is shown below. what experimental evidence led to the development of this atomic model from the one before it? a few of the positive particles aimed at a gold foil seemed to bounce back. the colors of light emitted from heated atoms had very specific energies. experiments with water vapor showed that elements combine in specific proportions. cathode rays were bent in the same way whenever a magnet was brought near them.
Answers: 2
Computers and Technology, 23.06.2019 22:20, andrew412603
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
Computers and Technology, 24.06.2019 08:00, nataliamontirl4230
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
Computers and Technology, 24.06.2019 08:00, ineemorehelp
Arah has entered data about football players from team a and team b in a worksheet. she enters names of players from team a with details about each player in different columns of the worksheet. similarly, she enters details of all the players from team b. which option will her view the data for team a and team b in two separate sections after printing? a. page break view b. freeze pane view c. split screen view d. full screen view e. zoom out view
Answers: 1
What type of programming encapsulates data and functions together in an object?
a.
a.
Biology, 22.04.2020 17:59
Mathematics, 22.04.2020 17:59
English, 22.04.2020 17:59
Biology, 22.04.2020 17:59
History, 22.04.2020 17:59