RE-PROG3112 PROGRAMMING
JAVA NCIII PART 2
Question 1
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The equivalent of clauses in coding is?
Select one:
a. Expressions
b. Paragraphs
c. Statements
d. Blocks
Feedback
The correct answer is: Expressions
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
In adding a new printer, the _____________ will guide you on the steps to be
taken.
Select one:
a. Printer Wizard
b. Printer Affix
c. Printer Install
d. Printer Guide
Feedback
The correct answer is: Printer Wizard
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
An array can be infinitely long.
Select one:
a. False
b. True
Feedback
The correct answer is: False
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
An iteration of a loop is equivalent to one pass through.
Select one:
a. True
b. False
Feedback
The correct answer is: True
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Analyze the diagram below to answer. Fill in the blanks with the correct answer
or categorize the causes if they are considered problems in Materials,
Measurement, Method, People, Equipment or Environment.
When the program was written, some team mates are talking too loud and
environment
distracted the others. This cause is categorized under:Answer .
Feedback
The correct answer is: environment
Question 6
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
The method arraycopy( ) does what?
Select one:
a. Copies the contents of an array and deletes the old one.
b. Copies the contents of an array to a destination array.
c. Create multiple array duplicates.
d. Copies the contents of an array and makes a new one.
Feedback
The correct answer is: Copies the contents of an array to a destination array.
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
In the correct order, the essential parts of the communication process are:
Select one:
a. Source, Message, Encoding, Channel, Receiver, Decoding, Feedback
b. Source, Message, Encoding, Channel, Decoding, Receiver, Feedback
c. Source, Message, Encoding, Receiver, Decoding, Channel, Feedback
d. Source, Message, Encoding, Channel, Decoding, Feedback, Receiver
Feedback
The correct answer is: Source, Message, Encoding, Channel, Decoding, Receiver,
Feedback
Question 8
Correct
Mark 1.00 out of 1.00
Flag question
Question text
An int can be used even if it is declared outside a for-loop.
Select one:
a. True
b. False
Feedback
The correct answer is: True
Question 9
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: Monitoring and evaluating means brainstorming.
false
Answer:
Feedback
The correct answer is: False
Question 10
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
True or False: Organizational policies and procedures are used as a guide in
decision making and help employees understand the company’s goals and
values.
false
Answer:
Feedback
The correct answer is: True
Question 11
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Loop that has a pre-determined number of iterations
Select one:
a. for
b. while
c. none of the choices
d. do-while
e. all of the choices
Feedback
The correct answer is: for
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
FORmu
FORTRAN stands for Answer .
Feedback
The correct answer is: FORmula TRANslator
Question 13
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: Stakeholders are people or group who are directly or indirectly
affected by a company’s decision, policies and objectives.
true
Answer:
Feedback
The correct answer is: True
Question 14
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Decide whether it is a communication instrument or purpose.
A Gantt chart that shows the schedule for the development process of the
student record system.
instrument
Answer:
Feedback
The correct answer is: Instrument
Question 15
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: Documenting the decision is the last action needed to be taken to
solve the problem.
false
Answer:
Feedback
The correct answer is: False
Question 16
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: Comments are considered part of Java’s internal documentation
and it is therefore read and executed by the compiler.
False
Answer:
Feedback
The correct answer is: False
Question 17
Correct
Mark 1.00 out of 1.00
Flag question
Question text
An array _______ hold objects.
Select one:
a. Fills
b. discouraged
c. boolean
d. any
e. one
f. bytes
g. object
h. 255
i. 3-d or 3-dimensional
j. Allocate
k. arraycopy( )
l. int[ ]
m. 2-d or 2-dimensional
n. can
o. Index
Feedback
The correct answer is: can
Question 18
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Categorize the following subcharacteristics of the ISO/IEC 25010:2011’s product
quality model and write the letter that corresponds to your answer.
Integrity
Select one:
a. Functional Suitability
b. Security
c. Portability
d. Reliability
e. Performance Efficiency
f. Usability
g. Compatibility
h. Maintainability
Feedback
The correct answer is: Security
Question 19
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
True or False: After compiling a Java program through the CLI, run it using the
java and press Enter.
False
Answer:
Feedback
The correct answer is: True
Question 20
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Refer to the code snippet below. Determine whether the given is a local variable,
instance variable, access modifier or a class name.
GIVEN: String bossName
Local Variable
Answer:
Feedback
The correct answer is: Local Variable
Question 21
Correct
Mark 1.00 out of 1.00
Flag question
Question text
byte( ][ ][ ) myArray; is an example of ________.
Select one:
a. A 3-dimensional array
b. A 2-dimensional array
c. An error
d. A Byte array
Feedback
The correct answer is: An error
Question 22
Correct
Mark 1.00 out of 1.00
Flag question
Question text
1+2+3/4*5 is an unambiguous expression
Select one:
a. False
b. True
Feedback
The correct answer is: False
Question 23
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: To solve a problem means to know first what the problem is before
coming up with the feasible solutions.
True
Answer:
Feedback
The correct answer is: True
Question 24
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Axel is finally documenting his work. What could he be writing?
Select one:
a. system analysis
b. instructions for the users
c. bug reviews and errors
d. requirements of the program
Feedback
The correct answer is: instructions for the users
Question 25
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
True or False: Feedback is not needed in communication.
True
Answer:
Feedback
The correct answer is: False
Question 26
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A reference variable can be reassigned to other objects provided that it is not
declared ________.
Select one:
a. Encapsulation
b. Private
c. More than one
d. Different forms
e. Directly
f. Inheritance
g. Parent class
h. Abstract class
i. Final
j. Super class
Feedback
The correct answer is: Final
Question 27
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: An asterisk is used instead of a small letter x to depict
multiplication operation in Java.
True
Answer:
Feedback
The correct answer is: True
Question 28
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The first computer concept invented is called _________________________.
Select one:
a. Analytical Engine
b. COBOL
c. PlanKalKul
d. FORTRAN
Feedback
The correct answer is: Analytical Engine
Question 29
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The random( ) method sorts the array randomly.
Select one:
a. True
b. False
Feedback
The correct answer is: False
Question 30
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Battery level, Internet connection and date and time are usually located in the
Notification Area.
Select one:
a. True
b. False
Feedback
The correct answer is: True
Question 31
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: Gantt chart is one of the tools used in identifying workloads. It
states who is responsible or accountable for one task or activity.
false
Answer:
Feedback
The correct answer is: False
Question 32
Correct
Mark 1.00 out of 1.00
Flag question
Question text
In the code snippet:
int num = 1;
if(num==1 && num<=1){
body;
}
The conditional statement will _______.
Select one:
a. execute the body
b. skip the body
c. produce an error
d. go to the else statement
Feedback
Your answer is correct.
The correct answer is: execute the body
Question 33
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Loops must always have a continue or break statement.
Select one:
a. Doesn’t matter
b. False
c. True
d. Maybe
Feedback
The correct answer is: False
Question 34
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The following can be used as a channel for conveying messages, EXCEPT:
Select one:
a. email
b. social media
c. hyperlinks
d. speaking
Feedback
The correct answer is: hyperlinks
Question 35
Not answered
Marked out of 1.00
Flag question
Question text
Read the situation below as your basis for answering the following question:
Ricka is creating a student record system where the profile,
educational attainment and contact person of the students will be
saved and restored. She is planning to implement it during the second
semester.
Identify whether Ricka’s role is accountable, responsible, consult or inform:
Ricka should be told about the students who volunteered to test the student
record system.
Answer:
Feedback
The correct answer is: Inform
Question 36
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The last part in a for loop setup can be an ________.
Select one:
a. decrement
b. both
c. none of the two
d. increment
Feedback
The correct answer is: both
Question 37
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The return value of the equals( ) method is ________ .
Select one:
a. An int
b. A double
c. None of the choices
d. All of the choices
e. A string
Feedback
The correct answer is: None of the choices
Question 38
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Abstract methods need sub-classes to contain their implementations.
Select one:
a. True
b. False
Feedback
The correct answer is: True
Question 39
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Actions that you need to take to reach the goals you set are called
____________________.
Select one:
a. Process
b. Actions
c. Objectives
d. Standard
Feedback
The correct answer is: Objectives
Question 40
Correct
Mark 1.00 out of 1.00
Flag question
Question text
An if-else-if-else statement is a block.
Select one:
a. False
b. True
Feedback
The correct answer is: True
Question 41
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: Listing down the issues related to the problem is second to the last
step in an effective problem solving process.
False
Answer:
Feedback
The correct answer is: False
Question 42
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Int num = 1; for(num=num;num<=10;num++) is an acceptable code snippet.
Select one:
a. True
b. False
Feedback
The correct answer is: True
Question 43
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
True or False: If you are running a program through CLI, the class name and the
file name should be different.
True
Answer:
Feedback
The correct answer is: False
Question 44
Not answered
Marked out of 1.00
Flag question
Question text
Determine whether the stated person / group is an internal or external
stakeholder.
Programmers
Answer:
Feedback
The correct answer is: Internal
Question 45
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A loop can contain no expressions or statements inside.
Select one:
a. True
b. False
Feedback
The correct answer is: True
Question 46
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Method invocations are statements
Select one:
a. False
b. True
Feedback
The correct answer is: True
Question 47
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: A method could be declared without any parameters.
True
Answer:
Feedback
The correct answer is: True
Question 48
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: To establish empathy means to interpret the message received.
False
Answer:
Feedback
The correct answer is: False
Question 49
Correct
Mark 1.00 out of 1.00
Flag question
Question text
True or False: Nothing good ever comes from giving feedback. If anything,
anyone who does give will only get scolded by the boss.
False
Answer:
Feedback
The correct answer is: False
Question 50
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A product or service must go through this phase to ensure that it is fit to use and
that its quality matches with the company’s standards.
Select one:
a. Performance Appraisal
b. Safety Programs
c. Reflective Behavior
d. Quality Control
Feedback
The correct answer is: Quality Control