Save Time & improve Grades
- Questions Asked
- Experts
- Total Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!
MIS 505 Programming-Final-Exam-Review PART 3 1. You can invoke or call a method from another program or method. A) True B) False Points Earned: 1.0 /1.0 2. When methods must share data, you can pass the data into and return the data out of methods. A) True B) False Points Earned: 1.0/1.0 3. A method could be called using any numeric value as an argument, whether it is a variable, a named constant, or a literal constant. A) True B) False Points Earned: 1.0/1.0 4. A method- return type is part of its signature. A) True B) False Points Earned: 1.0/1.0 5. A method- declared return type must match the type of value used in the return statement. A) True B) False Points Earned: 1.0/1.0 6. Methods with identical names that have identical parameter lists but different return types are ambiguous. A) True B) False Points Earned: 1.0/1.0 7. All modern programming languages contain many methods that are predefined. A) True B) False Points Earned: 1.0/1.0 8. In implementation hiding, the calling method needs to understand only the interface to the method that is called and it need not know how the method works internally. A) True B) False Points Earned: 1.0/1.0 9. Most programmers consciously make decisions about cohesiveness for each method they write. A) True B) False Points Earned: 1.0/1.0 10. Programs that use recursion are error-prone but easy to debug. A) True B) False Points Earned: 1.0/1.0 11. The last statement in a method is a(n) ____. A) begin statement B) return statement C) exit statement D) end statement Points Earned: 1.0/1.0 12. Variables and constants are ____ within, or local to, only the method in which they are declared. A) in scope B) out of bounds C) out of scope D) limited Points Earned: 1.0/1.0 13. When a data item is known to all of a program- modules, it is a ____data item. A) scope B) defined C) local D) global Points Earned: 1.0/1.0 14. A calling method sends a(n) ____ to a called method. A) parameter B) interface C) object D)argument Points Earned: 1.0/1.0 15. A called method accepts the value of an argument passed to it as its ____. A) parameter B) reference C) baseline D)argument Points Earned: 1.0/1.0 16. A method- name and parameter list constitute the method- ____. A) header B)interface C) contract D)signature Points Earned: 1.0/1.0 17. You can think of the ____ in a method declaration as a funnel into the method. A) braces B) brackets C) parentheses D) commas Points Earned: 1.0/1.0 18. A variable usually is passed into a method by ____. A) reference B) inference C) insinuation D) value Points Earned: 1.0/1.0 19. Each time a method executes, any parameter variables listed in the method header are ____. A) examined B) redeclared C) referenced D) copied Points Earned: 1.0/1.0 20. The variables in the method declaration that accept the values from the actual parameters are ____ parameters. A) defined B) proper C) formal D) actual Points Earned: 1.0/1.0
Ask a question
Experts are online
Answers (1)
MIS505 MIS/505 MIS 505 Programming-Final-Exam-Review PART 3
Answer Attachments
1 attachments —