Post University Programming Questions

70 multiple-choice, True/False questions in title………………………………………….

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

QUESTION 1
To correctly swap two values, you create an)_variable to hold one of the values.
O conversion
inversion
temporary
O
per-swap
QUESTION 2
A(n) — is the adjective that defines the type of access (public or private) outside classes will have to the attribute or method.
O control specifier
control modifier
access controller
access specifier
QUESTION 3
With a single CPU, multiple threads execute simultaneously.
O True
O False
QUESTION 4
methods are those for which no object needs to exist.
Static
O
Private
O Public
Nonstatic
QUESTION 5
A GUI picture album has a picture or sketch of a screen the user will see when running a program.
O True
O False
QUESTION 6
A calling method sends an_to a called method.
argument
O interface
OOO
parameter
O object
QUESTION 5
A GUI picture album has a picture or sketch of a screen the user will see when running a program.
True
O False
QUESTION 6
A calling method sends a(n) ___ to a called method.
argument
O interface
parameter
object
QUESTION 7
In OOP languages, a default constructor is created automatically by the compiler for every class you write.
True
False
QUESTION 8
In a ___ items in a list are compared with each other in pairs.
matrix sort
bubble sort
quick sort
shell sort
QUESTION 9
When using a bubble sort to sort a 10-element array, on the fourth pass through the array list you detect that no swap has occurred. This indicates ____
you must make one more pass through the array
the elements in the array were badly out of order
ŽOOO
you must make a total of 10 passes through the array
all elements in the array are already in the correct order
QUESTION 10
When records are in ___order, they are arranged one after another on the basis of the value in a particular field.
binary
O sequential
random
incremental
QUESTION 11
A method’s return type is part of its signature.
True
O False
QUESTION 12
The variables in the method declaration that accept the values from the actual parameters are ___ parameters.
O defined
proper
actual
O formal
QUESTION 13
GUI programs are frequently called action-controlled because actions occur in response to user-initiated events such as clicking a mouse button.
O True
O False
QUESTION 14
It is relatively easy for people to keep track of arrays with more than three dimensions.
O True
O False
QUESTION 15
You can create constructors for a class with or without parameters.
True
False
QUESTION 16
Object-oriented programs employ a more specific group of techniques for handling errors called
exception management
exception raising
garbage collection
exception handling
QUESTION 17
A___ method is also known as a help method.
private
public
set
work
QUESTION 18
Each time a method executes, any parameter variables listed in the method header are
O redeclared
O copied
O examined
O referenced
QUESTION 19
Classes that depend on field names from parent classes are said to be_because they are prone to errors.
O innovative
O fragile
constructive
O robust
QUESTION 20
The most popular computer coding schemes include ASCII, Numeric, and EBCDIC.
O True
False
QUESTION 21
If an exception is thrown, it is passed to a block of code that can
which means to receive it in a block that can handle the problem.
try the exception
raise the exception
O hold the exception
catch the exception
QUESTION 22
In object-oriented languages, the procedural modules that depend on user-initiated events are often called applets.
True
False
QUESTION 23
When a data field within a class is __, no outside class can use it—including a child class.
0
fragile
O reliable
protected
private
QUESTION 24
Any constructor you write must have the same name as the class it constructs and it cannot have a return type
QUESTION 24
Any constructor you write must have the same name as the class it constructs, and it cannot have a return type.
True
False
QUESTION 25
Code that has already been tested and used in a variety of situations is said to be
protected
private
overloaded
reliable
QUESTION 26
An insertion sort is another name for a bubble sort.
True
O False
QUESTION 27
When you create a segment of code in which something might go wrong, you place the code in a __block.
O try
catch
throw
hold
QUESTION 28
A method’s declared return type must match the type of value used in the return statement.
O True
False
QUESTION 29
Many object-oriented languages offer built-in classes that contain methods you can use to draw geometric figures.
O True
False
QUESTION 30
Two-dimensional arrays are never actually required in order to achieve a useful program.
True
False
QUESTION 31
A method could be called using any numeric value as an argument, whether it is a variable, a named constant, or a literal constant.
O True
False
QUESTION 32
When you program in a language that uses GUI components, you need to create them from scratch.
O True
False
QUESTION 33
You do not need to determine a record’s exact physical address in order to use it.
True
False
QUESTION 34
You can make additional improvements to a bubble sort to reduce unnecessary comparisons.
True
False
QUESTION 35
Computer users can expect to see a standard interface in the GUI programs they use.
True
O False
QUESTION 36
it makes sense that a parent class object has access to its child’s data and methods.
True
False
QUESTION 37
The sorting process is usually reserved for a relatively large number of data items.
True
False
QUESTION 38
When a record is removed from an indexed file, it has to be physically removed.
True
False
QUESTION 39
are arrays that have more than one dimension.
Multidimensional arrays
Unary dimensional arrays
One-dimensional arrays
Diverse dimensioned arrays
QUESTION 40
When you store data records, they exist in
some type of order
the reverse order from how they were entered
the same default ordering for all systems
ascending order
QUESTION 41
A called method accepts the value of an argument passed to it as its
argument
reference
parameter
O baseline
QUESTION 42
When methods must share data, you can pass the data into and return the data out of methods.
True
False
QUESTION 43
The method name and parameter list constitute the __.
O signature
variable list
title
input list
QUESTION 44
When you sort records, two possible approaches are to place related data items in parallel arrays and to
sort fields in records individually
O
place unrelated data items in parallel arrays
sort records as a whole
sort data in spreadsheets
QUESTION 45
In object-oriented terminology, “default constructor” means a constructor with a single standard parameter.
O True
False
QUESTION 46
The accessor method is another name for the set method.
True
False
QUESTION 47
Object-oriented programmers usually specify that their data fields will have private access.
O True
O False
QUESTION 48
The
is skewed by a few very high or low values.
mode
O
mean
standard deviation
median
QUESTION 49
When you purchase or download an) — for an object-oriented programming language, it comes packaged with many predefined, built-in classes.
sunny day case
interpreter
O IDE
compiler
QUESTION 50
in a method declaration as a funnel into the method.
You can think of the
commas
O
brackets
braces
parentheses
QUESTION 51
report, the records must have been sorted in order by a key field.
When you create a
summary
totals
O
detail
control break
QUESTION 52
All methods require a this reference.
True
O False
QUESTION 50
in a method declaration as a funnel into the method.
You can think of the
commas
O
brackets
braces
parentheses
QUESTION 51
report, the records must have been sorted in order by a key field.
When you create a
summary
totals
O
detail
control break
QUESTION 52
All methods require a this reference.
True
O False
QUESTION 53
An important advantage of using GUI data-entry objects is that you often can control what users enter by limiting their options.
True
O False
QUESTION 54
In an) ___ if an element is out of order relative to any of the items earlier in the list, you move each earlier item down one position and then insert the tested element.
sync sort
insertion sort
bubble sort
O selection sort
QUESTION 55
In several languages, the visual development environment is known by the acronym ___
O XML
ODI
IPE
O IDE
QUESTION 56
Performing an operation on an icon causes a(n)
message
interface
event
instance
QUESTION 57
All modern programming languages contain many methods that are predefined.
True
False
QUESTION 58
The input value that makes the recursion stop is called the base case or ending case.
True
False
QUESTION 59
is to return a value from the class to a client.
The purpose of a(n)
set method
pull method
access method
get method
QUESTION 60
In object-oriented terminology, the generic name used for errors is
exceptions
bugs
O interfaces
undefined branches
QUESTION 61
to describe what happens when worthless or invalid input causes inaccurate or unrealistic results.
Programmers use the phrase
O
LIFO
WIGO
GIGO
GOGI
QUESTION 62
In an event-driven program, you design the screens, define the objects, and define how the screens will connect.
True
O False
QUESTION 63
Within an event-driven program, a component from which an event is generated is the
O source of the event
target of the event
message handler
O interface of the event
QUESTION 64
Multithreaded programs often run faster and they are more user-friendly.
O True
False
QUESTION 65
In traditional programming probably the most often used error-handling outcome was to __
ignore the error
O handle the error
O
terminate the program in which the offending statement occurred
O
ask the user for additional input
QUESTION 66
Some programming languages allow multidimensional arrays.
O True
O False
QUESTION 67
approach is usually to store and access
based on their logical order.
When a large data file needs to be processed in ascending or descending order based on a particular field, the most effi
O True
O False
QUESTION 68
No object is necessary with a static method.
O True
O False
QUESTION 69
When a copy of a variable is sent to a method, it is passed by
O inference
reference
insinuation
value
QUESTION 70
to describe any extra time and resources required by an operation.
Programmers use the term
overhead
black box
O overload
cohesion

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER