Skip to content
Marlbridge

AP® Computer Science A · Unit 1 · Topic 1.9

Method Signatures: Checklist (Computer Science A 1.9)

A self-check list for methods, signatures, parameters and arguments, void and non-void calls, call by value, overloading and flow of control, linked to the guide and practice questions.

Work through the list without notes. If you cannot do a statement, follow its link, then come back. Guide = study guide; Practice = practice questions.

Understanding

  • I can define a method and a block, and describe procedural abstraction. (Guide: “A method is a named block of code”)
  • I can define parameter and argument and tell them apart. (Guide: “The anatomy of a method header”)
  • I can state the signature of a method and say what is not part of it. (Guide: Figure 1; Practice Questions 1 and 2)
  • I can explain the difference between void and non-void methods and how a returned value is used. (Guide: “Void and non-void methods”; Practice Questions 4 and 6)
  • I can explain call by value. (Guide: “Call by value”; Practice Question 3)

Skills

  • I can match a call to a signature by the number, order and types of the arguments. (Guide: Worked example 2; Practice Question 4)
  • I can identify legal overloads and choose the method an overloaded call uses. (Guide: “Overloading”; Practice Questions 2 and 9)
  • I can trace the order of output through nested method calls. (Guide: “The flow of control”; Practice Question 5)
  • I can trace a program with parameters and return values using a table. (Guide: Worked example 1; Practice Question 8)
  • I can write a method header and body and call it, storing the result. (Practice Question 7)

Reasoning

  • I can explain why two methods cannot differ only in their return type. (Guide: “Overloading”; Practice Question 2)
  • I can explain why changing a primitive parameter does not change the caller’s variable. (Guide: “Call by value”; Practice Questions 3 and 8)
  • I can say where control goes when a method ends. (Guide: “The flow of control”; Practice Question 5)

All ticked? Move on to the Topic 1.10 study guide, Calling Class Methods, or return to the course roadmap.

AP® and Advanced Placement® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website. Marlbridge is an independent tuition provider. It is not an authorized AP course provider, an AP school or an exam centre, and these resources are not official College Board materials. Reading them or doing simulations does not meet the laboratory requirement of an AP science course.