APCSA Unit 5 Review

Beschreibung

Quiz am APCSA Unit 5 Review, erstellt von Shannon Anderson-Rush am 29/10/2017.
Shannon Anderson-Rush
Quiz von Shannon Anderson-Rush, aktualisiert more than 1 year ago
Shannon Anderson-Rush
Erstellt von Shannon Anderson-Rush vor mehr als 6 Jahre
2297
0

Zusammenfassung der Ressource

Frage 1

Frage
What is a condition that should be true when a method is called?
Antworten
  • Constructor
  • Precondition
  • Postcondition

Frage 2

Frage
Cannot have any return type, even void.
Antworten
  • Constructor
  • Precondition
  • Postcondition

Frage 3

Frage
A variable declared in a method is local to that method and cannot be used outside of it.
Antworten
  • True
  • False

Frage 4

Frage
Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner.
Antworten
  • True
  • False

Frage 5

Frage
A return value must match the return type in the method header.
Antworten
  • True
  • False

Frage 6

Frage
When a method is called, the formal parameters are copied into the actual parameters. The types of the corresponding parameters must match.
Antworten
  • True
  • False

Frage 7

Frage
You can have multiple methods with the same name in the same program.
Antworten
  • True
  • False

Frage 8

Frage
A method invoked through one object may take as a parameter another oject of the same class.
Antworten
  • True
  • False

Frage 9

Frage
Instance variables should be declared with public visibility to protect their data.
Antworten
  • True
  • False

Frage 10

Frage
Each object has a state and a set of behaviors.
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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