Presentation is loading. Please wait.

Presentation is loading. Please wait.

Take out a piece of paper and PEN.

Similar presentations


Presentation on theme: "Take out a piece of paper and PEN."— Presentation transcript:

1 Take out a piece of paper and PEN.
Exposure Java 2015 for Teaching AP® Computer Science DYRT Quiz 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.

2 Title the quiz as shown below The quiz starts in ONE minute.
Name Period Date Quiz 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.

3 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

4 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

5 Question 03 A method can be a ___________ method. void return class
object all of the above.

6 Question 04 Which of these are Math class methods? sin cos tan log
All of the above

7 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.

8 Question 06 Using the name of the class is _______ if you are
calling a method from the same class. optional required forbidden

9 Question 07 Using the name of the class is _______ if you are
calling a method from a different class. optional required forbidden

10 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

11 Question 09 True or False: In a well-designed program, the main or
paint method will look like an outline. True (b) False

12 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.


Download ppt "Take out a piece of paper and PEN."

Similar presentations


Ads by Google