module 3

0.0(0)
studied byStudied by 2 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/90

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

91 Terms

1
New cards

Mathematical Functions

Functions that perform specific mathematical tasks, such as finding the absolute value, rounding numbers, and calculating trigonometric functions.

2
New cards

Strings

Sequences of characters in Python.

3
New cards

Objects

General term referring to any data type or variable in Python.

4
New cards

Functions

Groups of statements that perform a specific task.

5
New cards

Math Module

A module in Python that provides mathematical functions and constants.

6
New cards

GPS Locations

Latitude and longitude coordinates that represent a specific location on Earth.

7
New cards

Program

A set of instructions written in a programming language to solve a specific problem.

8
New cards

Absolute Value

The positive value of a number, regardless of its sign.

9
New cards

Max

A function that returns the largest value among a set of numbers.

10
New cards

Min

A function that returns the smallest value among a set of numbers.

11
New cards

Pow

A function that calculates the exponentiation of a number.

12
New cards

Round

A function that rounds a number to the nearest integer or a specified number of decimal places.

13
New cards

Float

A data type in Python that represents decimal numbers.

14
New cards

Floor

A function that rounds a number down to the nearest integer.

15
New cards

Exp

A function that calculates the exponential function of a number.

16
New cards

Log

A function that calculates the natural logarithm of a number.

17
New cards

Sqrt

A function that calculates the square root of a number.

18
New cards

Sin

A function that calculates the sine of an angle in radians.

19
New cards

Asin

A function that calculates the inverse sine of a number.

20
New cards

Cos

A function that calculates the cosine of an angle in radians.

21
New cards

Acos

A function that calculates the inverse cosine of a number.

22
New cards

Tan

A function that calculates the tangent of an angle in radians.

23
New cards

Degrees

A function that converts an angle from radians to degrees.

24
New cards

Radians

A function that converts an angle from degrees to radians.

25
New cards

Import

A keyword in Python used to import modules or libraries.

26
New cards

Algebraic Functions

Functions that involve algebraic operations, such as exponentiation and logarithms.

27
New cards

Test

To check the correctness or functionality of a program or function.

28
New cards

Triangle

A polygon with three sides and three angles.

29
New cards

Vertices

The points that define the corners of a polygon, such as a triangle.

30
New cards

Coordinates

The values that represent the position of a point in a coordinate system.

31
New cards

Acos

A function that calculates the inverse cosine of a number.

32
New cards

Assigns

To assign a value to a variable.

33
New cards

Variable

A named storage location in a program that holds a value.

34
New cards

Double Quotes

Another type of quotation mark used to enclose a string literal.

35
New cards

Empty String

A string with no characters.

36
New cards

Unicode

An encoding scheme for representing international characters.

37
New cards

ASCII Code

A 7-bit encoding scheme for representing all uppercase and lowercase letters, digits, punctuation marks, and control characters.

38
New cards

Character Encoding

The process of mapping a character to its binary representation.

39
New cards

Binary Representation

A sequence of Os and 1s used to store a character in a computer.

40
New cards

Subset

A smaller portion or part of a larger set.

41
New cards

Hexadecimal Digits

Digits that range from 0 to 9 and A to F, used in hexadecimal numbering system.

42
New cards

ord Function

A function that returns the ASCII code for a character.

43
New cards

chr Function

A function that returns the character represented by an ASCII code.

44
New cards

Escape Sequences

Special sequences of characters used to represent special characters in strings.

45
New cards

Linefeed

An escape sequence (\n) used to represent a line break or new line.

46
New cards

Carriage Return

An escape sequence (\r) used to represent the return of the cursor to the beginning of the line.

47
New cards

Backslash

An escape sequence (\\) used to represent a backslash character.

48
New cards

Single Quote

An escape sequence (\') used to represent a single quote character.

49
New cards

Double Quote

An escape sequence (\") used to represent a double quote character.

50
New cards

Newline

A linefeed character (\n) used to advance the output to the next line.

51
New cards

Radius

The distance from the center of a circle to any point on its circumference.

52
New cards

math.pi

A constant in the math module representing the value of pi (approximately 3.14159).

53
New cards

str Function

A function used to convert a number into a string.

54
New cards

String Concatenation

The process of combining two or more strings into one.

55
New cards

+ Operator

An operator used to add numbers or concatenate strings.

56
New cards

input Function

A function used to read a string from the console.

57
New cards

Case Study

Minimum Number of Coins:A program that calculates the minimum number of coins needed to represent a given amount of money.

58
New cards

Objects

Entities in Python that can be numbers, strings, or other data types.

59
New cards

Methods

Functions that are associated with objects and can be called on them.

60
New cards

id

A function in Python that returns the unique identifier of an object.

61
New cards

type

A function in Python that returns the type of an object.

62
New cards

object

A data structure in Python that has a unique identifier and a type.

63
New cards

integer

A data type in Python that represents whole numbers.

64
New cards

float

A data type in Python that represents decimal numbers.

65
New cards

string

A data type in Python that represents a sequence of characters.

66
New cards

method

A function that is associated with an object and can only be invoked from that object.

67
New cards

lower()

A method in Python that converts a string to lowercase.

68
New cards

upper()

A method in Python that converts a string to uppercase.

69
New cards

strip()

A method in Python that removes whitespace characters from the beginning and end of a string.

70
New cards

format()

A function in Python that returns a formatted string.

71
New cards

format specifier

A string that specifies the format of the output in the format() function.

72
New cards

field width

The width of the output in the format() function.

73
New cards

precision

The number of decimal places in the output of the format() function.

74
New cards

scientific notation

A way of representing numbers using powers of 10.

75
New cards

percentage

A way of representing numbers as a fraction of 100.

76
New cards

justification

The alignment of the output in the format() function.

77
New cards

integer formatting

Formatting an integer in decimal, hexadecimal, octal, or binary.

78
New cards

string formatting

Formatting a string with a specified width.

79
New cards

turtle

A module in Python that provides a way to create graphics using a turtle object.

80
New cards

pen

The tool used by a turtle object to draw on the canvas.

81
New cards

pendown()

A method in the turtle module that lowers the pen, allowing the turtle to draw.

82
New cards

penup()

A method in the turtle module that raises the pen, preventing the turtle from drawing.

83
New cards

pensize()

A method in the turtle module that sets the thickness of the lines drawn by the turtle.

84
New cards

forward()

A method in the turtle module that moves the turtle forward by a specified distance.

85
New cards

backward()

A method in the turtle module that moves the turtle backward by a specified distance.

86
New cards

right()

A method in the turtle module that turns the turtle right by a specified angle.

87
New cards

left()

A method in the turtle module that turns the turtle left by a specified angle.

88
New cards

goto()

A method in the turtle module that moves the turtle to an absolute position.

89
New cards

setx()

A method in the turtle module that moves the turtle's x-coordinate to a specified position.

90
New cards

sety()

A method in the turtle module that moves the turtle's y-coordinate to a specified position.

91
New cards

setheading()

A method in the turtle module that sets the orientation of the turtle to a specified angle.