Take out a piece of paper and PEN. Exposure Java 2015 for Teaching AP® Computer Science DYRT Quiz 07.01-05 Take out a piece of paper and PEN. The quiz starts TWO minutes after the tardy bell rings. You will have 30 seconds per question.
Title the quiz as shown below The quiz starts in ONE minute. Name Period Date Quiz 07.01-05 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Question 01 Which of the following can be stored by a simple or primitive data type? Only 1 single value Only Attributes Only Methods Both Attributes and Methods
Question 02 Which of the following can be stored by a an object? Only 1 single value Only Attributes Only Methods Both Attributes and Methods
Question 03 A method can be a ___________ method. void return class object all of the above.
Question 04 Which of these are Math class methods? sin cos tan log All of the above
Question 05 Modular programming places statements that achieve a common purpose into its own module. specifies "one task, one module". is an important programming design concept. all of the above.
Question 06 Using the name of the class is _______ if you are calling a method from the same class. optional required forbidden
Question 07 Using the name of the class is _______ if you are calling a method from a different class. optional required forbidden
Question 08 True or False: Programs should be written by placing all of the program statements in the main or paint methods. True (b) False
Question 09 True or False: In a well-designed program, the main or paint method will look like an outline. True (b) False
Question 10 The initial house program is an example of a program that needs to be divided into methods. shows good modular programming. is easy to debug to make corrections. is small enough to fit inside the paint method.