Lesson 2.03

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

PEMDAS

A mnemonic device that helps us to remember the "order of operations' is?

Argument

A value that's located inside the parentheses() and is provided when a function is called is?

2

Area Lateral "" in this image equals pi radius. The radical symbol (which means squared) reflects that both the "h" and "r" have to been raised to the power of what to find the lateral surface area?

True

Evaluate the square root formula in this image . The argument, 16, is easily expressed as shown. True or false?

pi

Fill in the blanks. __

from math import *

For Python to use the functions in the math module we have to tell the computer where to find them. To do this our programs must start with an import statement. How does the import statement read?

True

Functions should execute "silently" (i.e. not print anything) and report the result of their computation through the return value. True or False?

B

In order to return a value you must first assign the return value to a variable. Which Python prompt will print the returned object?

3

In this image what _ (number) is squared?

Squared

Multiplying a number by itself is the way to make that number _______?

Black Box

Python has a library of built-in functions that make your programming work easier. These functions are sometimes called _____ ___ functions because the code and all the mathematical calculations are hidden?

ParseError

Syntax error is also know as __________?

Base

The 8 represents the ____ in this equation?

Argument

The Y (quantity inside the radical symbol) shown in this square root formula represents the ________.

y = x²

The area of a square is found by squaring the length of its side. (remember the word square means multiply) If y is the area of the square and x is the length of a side, then the following formula would be written as:

Import

The asterisk in the following statement tells Python to ______ all functions available in the math module. from math import *

Power or Index

The exponent is also called the _____ or _____

Function

The function returns the value 2.0 (the result of its computation) to the "calling context". This value is called the return value of the ________..

Greek Symbol

The pi symbol in this image was originated from a ____ ______

pi

The process shown in the image is a way to calculate __ which always equates to (3.1538...)

True

The return value of the function call math.sin(2) is assigned to the variable x, and x is printed in the next line. True or False?

1.2, Exponent

The second argument is number ___ in this image and it is the ________?

The Radical Symbol

The square root of y is usually written as shown in the image. What is the check in this image called?

Argument

The value we pass to the function sqrt is 4 in this example. This value is called the ________ of the function and a function may have more than one.

True

The word "function" has different meanings in mathematics and programming. In programming it refers to a named sequence of operations that perform a computation. Example: the function sqrt() which is defined in the math module computes the square root of a given value

pow()

This "function" tells Python to raise the first number by the value of the second number.

4 Squared equals 16

This equation says (or is interpreted as)?

Rate to the power of 2, height

To calculate a cone's volume we use 1.0/3.0 π r2 h. The 1 represents a whole unit(1) divided by 3.0. The 3.0 represents the 3 parts (r2 h). The 3 parts are

pow() and sqrt()

Two of the most common Math Module "functions" are?

Decimal or Float

Using a single slash to divide numbers produces a _______ or a _____

"8 to the power 2" or "8 to the second power", or "8 squared"

What are 3 ways to express this?

The modules Name

What does "math" in this import statement mean?

Sqrt()

What function is defined as the function that takes any positive number y as input and returns the positive number x which would have to be "squared" (i.e. multiplied by itself), to obtain y?

100

What is the first "argument" in this code? Note: This argument would be the "number" you want to raise.

sqrt()

What is the function shown here that tells Python to find the "square root" ?

From and Import

Which 2 words in the following import statement are Python keywords?

Exponent

________ of a number says how many times to use the number in multiplication.

Mnemonic

a device such as a pattern of letters, ideas, or associations that assists in remembering something. Aiding or designed to aid the memory.

Import

from math import * What type of "statement" is this?


Kaugnay na mga set ng pag-aaral

A&P 2: Chapter 21: Blood Vessels

View Set

AP Chemistry Final (Second Semester)

View Set

Abeka Science Matter and Energy Test 1

View Set

Passive Transport and Active Transport (7.3 and 7.4)

View Set

ChatGPT in our daily or professional lives. Fill in

View Set

Fungi (characteristics and function)

View Set

Farewell to Manzanar: Chapters 1-11

View Set

Learnsmart Chapter 8 Part 1 and Part 2

View Set

Universal Life insurance & Illustrations

View Set