







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Input-Process-Output thinking standard to determine coding structure.
ANSWER IPO thinking standard
A special variable in Python that holds the name of the current module.
ANSWER name
A special variable in Python that indicates the main module.
ANSWER main
A resource for learning Python programming.
ANSWER Python Crash Course Book ๐
Application Programming Interfaces accessible to the public.
ANSWER Public API's
Time management method using a timer to break work into intervals.
ANSWER Pomodoro Technique
Data structure with key-value pairs used for mapping inputs to outputs.
ANSWER Dictionaries
An introductory course to computer science offered by Harvard University.
ANSWER CS
An efficient, comparison-based sorting algorithm.
ANSWER Merge Sort
Ordered collection of items in Python denoted by square brackets.
ANSWER Lists
Immutable ordered collection of items in Python denoted by parentheses.
ANSWER Tuples
Function to obtain the magnitude of an integer, removing the negative sign.
ANSWER Absolute value function
Function to round a value to a specified number of digits after the decimal point.
ANSWER Round function
Statements used for repeated execution of instructions in a program.
ANSWER Iteration Statements
An educational coding platform for honing programming skills.
ANSWER Codewars
An online platform offering data science and analytics courses.
ANSWER Data Camp
A comprehensive course for learning Python programming.
ANSWER Springboard Python course
A program that translates Python code into machine code.
ANSWER Python compiler
Extracting a portion of a sequence like a string or list in Python.
ANSWER Slicing
A notable resource for learning programming through tutorials and guides.
ANSWER Corey Schaefer
A collection of programming tutorials and resources.
ANSWER Bro Code Playlist
Converting a value to a different data type, e.g., int('1') returns 1 as an integer.
ANSWER Type conversion/casting
Enforcing order of operations using parentheses, e.g., 3 * (2+1) = 9.
ANSWER Precedence
Estimates average calories burned based on age, weight, heart rate, and time.
ANSWER Calories burned equation
Using math library for operations like power, absolute value, and square root.
ANSWER Math functions
Calculating frequencies of keys on a piano based on initial key frequency.
ANSWER Frequency calculation
Time taken for a substance to reduce to half its original value.
ANSWER Half-life
Outputting price change and estimated monthly mortgage based on current and last month's price.
ANSWER House real estate summary
Calculating product and average of floating-point numbers, rounding and formatting the output.
ANSWER Simple statistics
Determining the season based on input date and month, considering days in each month.
ANSWER Northern hemisphere seasons
Spring: March 20 - June 20, Summer: June 21 - September 21, Autumn: September 22 - December 20, Winter: December 21 - March 19.
ANSWER Seasons
A year with 366 days, occurring every 4 years and divisible by 4, except for century years not divisible by 400.
ANSWER Leap Year
Primary highways: 1-99, odd for north/south, even for east/west. Auxiliary: 100-999, servicing the rightmost two digits of the primary highway.
ANSWER Interstate Highway Numbers
Score names: 'Eagle' (2 less than par), 'Birdie' (1 less), 'Par' (equals par), 'Bogey' (1 more); 'Error' if par not 3, 4, or 5.
ANSWER Golf Scores
Used for multiple choices. 'if' for an option, 'elif' for alternatives, 'else' as the final option if none apply.
ANSWER Conditional Statements
Method to add elements to the end of a list.
ANSWER Append
Used to exit a loop based on a certain condition, instead of relying on the condition to become false.
ANSWER Break Statement
Representing an integer in reverse binary by outputting remainders of division by 2.
ANSWER Reverse Binary
Used to separate the main code from the function's code for unit testing.
ANSWER name == 'main'
Function taking miles per gallon, price per gallon, and miles driven to return the dollar cost.
ANSWER Driving Cost Function
Function returning 'Heads' or 'Tails' based on a random value of 1 or 0.
ANSWER Coin Flip Function
Testing small parts of a program in an isolated manner to ensure they work as expected.
ANSWER Unit Tests
Evaluates individual functions for correctness and proper naming, parameters, and return type.
ANSWER Unit test
Separates main code from functions' code for unit testing when running as a script.
ANSWER if name == 'main':
Function that converts weight in kilograms to pounds.
ANSWER kilo_to_pounds()
Function that swaps the positions of four integers.
ANSWER swap_values
Function that checks if a string represents an integer.
ANSWER check_integer_string
Data structure with key-value pairs, where keys must be unique.
ANSWER dictionary