Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Visual C#
Quiz 6: Modularizing Your Code with Methods
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
A parameter variable's scope is the ____________ in which the parameter variable is declared.
Question 2
Multiple Choice
When you pass an argument to a method, the argument's data type must be ____________ with the receiving parameter's data type.
Question 3
Multiple Choice
Which one of the following statements correctly calls a method named ShowName?
Question 4
Multiple Choice
A __________ is a variable that receives an argument that is passed into a method.
Question 5
Multiple Choice
Data values passed a method when it is called are known as ____________.
Question 6
Multiple Choice
When an argument is ____________, only a copy of the argument's value is passed into the parameter variable.
Question 7
Multiple Choice
The ____________ is a collection of statements that are performed when a method is executed.
Question 8
Multiple Choice
When you want a method to be able to change the value of a variable that is passed to it as an argument, the variable must be ____________.
Question 9
Multiple Choice
It is a standard convention among C# programmers to use ____________ for method names because it differentiates method names from variable and field names.
Question 10
Multiple Choice
The memory address that is saved by the system when a method is called and is the location to which the system should return after a method ends is known as the ____________.
Question 11
Multiple Choice
A method containing a(n) ____________ allows you to specify which parameter variable the argument should be passed to.
Question 12
Multiple Choice
When a ____________ is provided for a parameter, it is possible to call the method without explicitly passing an argument into the parameter.
Question 13
Multiple Choice
When you call a ____________ method, it executes statements it contains and then returns a value back to the program statement that called it.
Question 14
Multiple Choice
When a method contains multiple parameters, they are often referred to collectively as a(n) ____________.
Question 15
Multiple Choice
The benefit from dividing code into methods known as ____________ is gained as follows: After you write code to perform a task once, you can use the code again every time your program needs to perform the same task.