AP Computer Science A · Lesson 1.10 · Unit 1 · CED topic 1.11

The Math class

Name:   Date:  

1 Why this lesson matters

Read the opening paragraph and the "Required content" box on the lesson page. In your own words, explain each objective below.

11.A. Develop code to write expressions that incorporate calls to built-in mathematical libraries and determine the value that is produced as a result.

2 The five methods you need

Read this section. In your own words, summarize the main idea.

3 Random numbers

Read this section. In your own words, summarize the main idea.

4 Worked example

Read the "Worked example" box. Then, without looking back, try writing your own answer below.

Find the distance between (1, 2) and (4, 6) with the distance formula.

5 Exam focus: avoid this mistake

Read the "Exam focus" box, then restate it in your own words.

6 Sum it up

In two or three sentences, explain this lesson's main idea to someone who has not read it.