Exam 6: Using Methods
Exam 1: An Overview of Computer Programming50 Questions
Exam 2: Applications and Data50 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Looping50 Questions
Exam 5: Arrays50 Questions
Exam 6: Using Methods50 Questions
Exam 7: Object-Oriented Concepts50 Questions
Exam 8: More Object Concepts50 Questions
Exam 9: Event-Driven Programming With Graphical User Interfaces50 Questions
Exam 10: Exception Handling50 Questions
Exam 11: System Modeling With the Uml50 Questions
Exam 12: Manipulating Larger Quantities of Data50 Questions
Select questions type
The method name and parameter list taken together form the ____________________ of the method.
Free
(Short Answer)
4.7/5
(29)
Correct Answer:
signature
When you create methods with the same name but with different parameter lists, those methods are known as ____________________.
Free
(Short Answer)
4.8/5
(40)
Correct Answer:
overloaded
overloaded methods
You can pass an entire array to a method, or individual array element values.
Free
(True/False)
4.9/5
(32)
Correct Answer:
True
Programmers say that data items are ____ only after they have been declared and within the method in which they are declared.
(Multiple Choice)
5.0/5
(37)
The ____________________ type of a method indicates the data type of the value that the method will send back to the location where the method call was made.
(Short Answer)
4.7/5
(36)
A method's name and parameter list constitute the method's ____.
(Multiple Choice)
4.9/5
(34)
When a method returns nothing, it is known as a(n) ____________________ method.
(Short Answer)
4.7/5
(33)
Methods can be ____ correctly by providing different parameter lists for methods with the same name.
(Multiple Choice)
4.8/5
(40)
In every object-oriented programming language, the variables and constants declared in any method are usable anywhere within the program.
(True/False)
4.9/5
(34)
A(n) ____________________ is a reasonable unit of programming, designed to tackle one small task at a time.
(Essay)
4.9/5
(40)
____ is the feature of programs and methods that assures you each has been tested and proven to function correctly.
(Multiple Choice)
4.8/5
(40)
An advantage of ____________________ is that multiple programmers can work on a large problem.
(Short Answer)
4.8/5
(38)
Overloading a method is a good idea because it eliminates some programming work compared to writing separate methods.
(True/False)
4.8/5
(28)
Programmers say that variables and constants declared within a method are ____ only after declaration within that method.
(Multiple Choice)
4.9/5
(45)
A method's ____ includes the method identifier and possibly other necessary identifying information.
(Multiple Choice)
4.9/5
(34)
If you declare variables and constants within the methods that use them, the methods are more ____________________.
(Short Answer)
4.9/5
(38)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)