null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
11137327
APCSA Unit 5 Review
Description
Quiz on APCSA Unit 5 Review, created by Shannon Anderson-Rush on 29/10/2017.
No tags specified
computer science
review
Quiz by
Shannon Anderson-Rush
, updated more than 1 year ago
More
Less
Created by
Shannon Anderson-Rush
about 7 years ago
2305
0
0
Resource summary
Question 1
Question
What is a condition that should be true when a method is called?
Answer
Constructor
Precondition
Postcondition
Question 2
Question
Cannot have any return type, even void.
Answer
Constructor
Precondition
Postcondition
Question 3
Question
A variable declared in a method is local to that method and cannot be used outside of it.
Answer
True
False
Question 4
Question
Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner.
Answer
True
False
Question 5
Question
A return value must match the return type in the method header.
Answer
True
False
Question 6
Question
When a method is called, the formal parameters are copied into the actual parameters. The types of the corresponding parameters must match.
Answer
True
False
Question 7
Question
You can have multiple methods with the same name in the same program.
Answer
True
False
Question 8
Question
A method invoked through one object may take as a parameter another oject of the same class.
Answer
True
False
Question 9
Question
Instance variables should be declared with public visibility to protect their data.
Answer
True
False
Question 10
Question
Each object has a state and a set of behaviors.
Answer
True
False
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr
Browse Library