stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Comp 167 Final Flashcards | StudBud
Explore
/
Comp 167 Final
Comp 167 Final
103 terms
·
StudBud Administration
·
54 plays
created by chiamaka
Flashcards
103 cards
F
Practice quiz
P
Host live
L
Questions
103
Answers
1
Container for all content in a scene graph
stage
pane
primary stage
scene
2
places the nodes on top of each other in the center of the pane.
hbox
grid pane
stack pane
vbox
3
the dot (.) Used with a class object to access class members
class access operator
member access operator
modifier access operator
period
4
provides a lightweight, hardware Java UI platform for enterprise business applications.
java application
java fx
java swing
UML
5
Used to activate activities, services, and broadcast recievers
java virtual machine
component providers
content providers
intents
6
a technique that is used to ensure future code changes do not break existing features.
unit testing
incremental testing
regression testing
modular development
7
a JavaFX Pane component that positions graphical components in a two-dimensional grid
gridpane
stack pane
microwave pane
hbox
8
each module is tested alone in an attempt to discover any errors in its code
test bench
incremental testing
unit testing
modular development
9
an interpreter for compiled Java bytecodes.
IVM
compiler
JVM
main method
10
Contains number of elements, which are referenced by an index
linear search
array
arraylist
string buffer
11
non-synchronized, mutable
string builder
interned string
string buffer
dynamic binding
12
A member is accessible within all classes in the same package
private
default
public
protected
13
defines what can be accessed by a client, public methods and constants
accessor
class contract
encapsulation
mutator
14
a reserved block of memory for creating new variables during runtime
runtime stack
stack pane
runtime heap
stack frame
15
the program's behavior is controlled by writing code that responds to various events that occur
event listener
action event
event handler
event-driven programming
16
an Android app component that responds to system-wide broadcast announcements.
service
component sharing
content provider
broadcast reciever
17
when a parent class reference is used to refer to a child class object.
abstraction
polymorphism
concentration
encapsulation
18
Used inside a sub-class method definition to call a method defined in the super class
this()
this
super
super()
19
Searching a sorted array by repeatedly dividing the search interval in half.
local variable scope
selection sort
binary search
linear search
20
two or more methods in one class have the same method name but different parameters.
overriding
overloading
overlooking
overdoing
21
separating the use of a method from its implementation
method abstraction
abstraction
encapsulation
class abstraction
22
invalid conditions that occur in a Java program due to invalid user input
input exception
mix max exception
checked exception
null
23
values entered by a user when running a program in main method
no-args
command-line arguments
formal parameters
actual parameter
24
A group of one or more statements enclosed in braces
class
method header
stub
block
25
Copying the value from a larger datatype to a smaller datatype.
implicit casting
explicit casting
Shallow copy
Deep copy
26
mutable. synchronized, thread safe
string
string buffer
string builder
constructor chaining
27
a set of application program interfaces used by Java programmers
Swing
Java fx
Stage
AWT
28
parameter values are copied to another variable and then the copied object is passed,
pass-by-stub
pass-by-reference
pass-by-value
pass-by-variable
29
The program is told, rather than to execute some code, to try to execute some code.
try/catch block
input file
command-line argument
scanner
30
used to compare two values, and returns a Boolean (true/false).
equals()
"=="
compareTo
"="
31
Templates used to create objects and to define object data types and methods
class
parameter
arguments
constructors
32
Releases memory that was used for a variable's value once the variable is no longer to be used.
sanitation disposal
you shouldn't get this question wrong period
garbage collection
trash pickup
33
Integer, real, character or Boolean data types.
data type
actual data type
real data type
primitive data type
34
A declared method without body (no implementation) only have method signatures
static method
abstract method
method block
method header
35
A member that is only accessible within the same class its declared in
private
protected
default
public
36
A superclass that cannot be instantiated and is used to define general characteristics
object class
abstract class
subclass
interfaces
37
method name and the parameter list
method header
method parameter
method signature
method invocation
38
A method used to compare the equality of two objects
"=="
equals()
equalsTo()
"="
39
graphical user interface for android
activity
intent
service
content provider
40
Wrapping variables and methods together as a single unit, thus, hiding data
inheritance
mutator
wrapper class
encapsulation
41
associating one constructor with another by calling the "this()" keyword or "super()"
polymorphism
inheritance
dynamic binding
constructor chaining
42
Copying the value from a smaller datatype to a larger datatype.
shallow copy
explicit casting
deep copy
implicit casting
43
methods which require an object of its class to be created before it can be called.
static method
static variable
instance variable
instance method
44
Combination of data & procedures working on available data
primitive data type
object
class
method
45
an expression that defines the parameters and return value of a method in a compact notation
actual expression
UML chart
lambda
no-arg
46
designed to contain primitive data type so the primitive type can behave like reference type
abstract class
wrapper class
private class
interface
47
The base class within an Android app that contains all other components
java fx class
primary stage
scene
application class
48
An alias to the actual parameter is passed to the method
pass-by-reference
pass-by-variable
pass-by-stub
pass-by-value
49
specific implementation of a method which is already provided by its superclass.
overriding
overdoing
overlooking
overloading
50
A method of sotring only one copy of each distinct string value
interning
string builder
string copier
string buffer
51
duplicates an object
for loop
method
deep copy
shallow copy
52
has implementation for all its methods that were inherited from abstract classes or interfaces
object class
super class
concrete class
public class
53
Specifies a method that returns no type
Primitive data type
Null
Invalid
Void
54
A section of code where a variable can be accessed
stub
scope
block
class
55
A class to encapsulate symbolic colors representing the color of native GUI objects on a system
Swing
Color
Application
Object
56
A classes member variables that are later implemented to effect the classes behavior
class value
class state
class contract
class variable
57
A set of program components for programmers that provide the ability to create GUI components
AWT
Application
Java fx
swing
58
A reference type that withholds a collection of abstract classes
concrete class
primitive class
wrapper class
interface
59
A relationship between 2 classes, which is referred to as a HAS-A relationship
this()
subclass
super()
aggregation
60
The position of an item in an array
index
location
size
length
61
When a new class is derived from an existing class
encapsulation
abstraction
inheritance
polymorphism
62
The identifier used in the callee's method signature.
actual parameter
access modifer
command-line argument
formal parameter
63
Creates a timer that is called in each frame while it is active
animationjava class
constructortimer class
javatimer class
animationtimer class
64
repeatedly scans for the smallest item in the list and swaps it with the element at the index
selection sort
linear search
binary search
nested for loop
65
Separates class implementation from how the class is used
method abstraction
class abstraction
abstraction
java abstraction
66
The operator that allocates new memory from the heap.
runtime heap
new operator
stack frame
runtime stack
67
Can be used to refer instance variable of current class.
default constructor
super()
this()
instance method
68
A software routine that processes keystrokes and mouse movements
event handler
listener object
event source
action event
69
associated with a particular class as a whole--not with particular instances of the class.
class state
class state
class variable
class value
70
manage application data
service
activity
content provider
component provider
71
A method used to change the value of an attribute of an object.
mutator
constructor
getter
accessor
72
Makes a members access public which means it can be used in any other class
private
public
default
protected
73
Places the nodes in a single row
vbox
stack pane
grid pane
hbox
74
A simple sorting algorithm that builds the final sorted array (or list) one item at time.
binary sort
selection sort
linear sort
insertion sort
75
an operation that copies one class object to another without copying any pointed-to data
implicit casting
shallow copy
deep copy
explicit casting
76
A control component that has a label and generates an event when pressed
event handler
button
action listener
action event
77
checks each element of the list for the target until match is found
nested for loop
binary search
selection sort
linear search
78
An error raised by compiler to indicate a special circumstance that should be handled
check exception
mix match exception
data exception
exception
79
runs in the background, can be started by an activity
stage
application
broadcast reciever
service
80
a notation that shows all the information needed to invoke, or call, the method
method header
method parameter
method signature
method invocation
81
defined variable or method item is only visible to part of a program, known as the item's scope
public variable scope
scope
local variable scope
block
82
a special method that initializes an object of that class
default constructor
parameter
constructor
default parameter
83
Creates an entire pane with child nodes top, left, right, bottom, and center
stackpane
borderpane
gridpane
vbox
84
A value that is passed to a method
object
command-line
formal parameter
argument
85
occurs in runtime and spends some time to find out actual method to be called.
command-line
constructor chaining
dynamic binding
method invocation
86
variable only available to one instance of a class
static variable
instance variable
static method
instance method
87
the line of code that causes a method to be executed
method parameter
method signature
method header
method invocation
88
Objects that cant be changed
mutable
immutable
interchangable
classes
89
a blueprint showing the overall functionality of the program
class
UML
method
abstraction
90
A small program routine that substitutes for a longer program, possibly to be loaded later
bench
block
header
stub
91
A java field that is made public
default properties
static
data properties
class properties
92
parameters as they appear in function calls.
formal parameter
actual parameter
no-arg
visual parameter
93
A top-level container that hosts a scene, which consists of visual images
service
application
pane
stage
94
An interface that is used to order the objects of a user-defined class
comparable
compares
compareTo
compare
95
a two-dimensional array in which each row may have a different length
ragged array
jagged array
matrix
arraylist
96
designed to make it easy to repeat a section of code using a counter variable.
scanner
while loop
for loop
if/else statements
97
event generated when a button is clicked
event handler
click event
action event
button event
98
A keyword used to exit from a method
void
null
return
back
99
Class that arranges user interface components inside a container.
stage
layout manager
application
pane
100
An event that indicates that a mouse action occurred in a component
action event
click event
mouse event
event handler
101
the area of memory that stores local variables and parameters for active function calls
stack frame
runtime stack
stack pane
heap
102
variable defined that only has one value for classes in package including methods
static variable
instance method
instance variable
abstract variable
103
An address that indicates where an objects variables and methods are stored
address
return
class
reference