





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
WGU D335 INTRO TO PYTHON ALGORITHM DESIGN OBJECTIVE SCALES: MEASUREMENT TECHNIQUES AND COMPLEXITY MODELING 2026.
Typology: Exams
1 / 9
This page cannot be seen from the preview
Don't miss anything!






⫸ IPO thinking standard. Answer: Input-Process-Output thinking standard to determine coding structure ⫸ name. Answer: A special variable in Python that holds the name of the current module ⫸ main. Answer: A special variable in Python that indicates the main module ⫸ Python Crash Course Book. Answer: A resource for learning Python programming ⫸ Public API's. Answer: Application Programming Interfaces accessible to the public ⫸ Pomodoro Technique. Answer: Time management method using a timer to break work into intervals ⫸ Dictionaries. Answer: Data structure with key-value pairs used for mapping inputs to outputs
⫸ CS50. Answer: An introductory course to computer science offered by Harvard University ⫸ Merge Sort. Answer: An efficient, comparison-based sorting algorithm ⫸ Lists. Answer: Ordered collection of items in Python denoted by square brackets ⫸ Tuples. Answer: Immutable ordered collection of items in Python denoted by parentheses ⫸ Variables and Expressions. Answer: Symbols used to represent values and perform operations ⫸ Functions. Answer: Blocks of organized, reusable code for specific tasks ⫸ Lab Walkthroughs. Answer: Guided demonstrations of critical programming exercises ⫸ Arithmetic Operators. Answer: Symbols used to perform mathematical operations in Python
⫸ Slicing. Answer: Extracting a portion of a sequence like a string or list in Python ⫸ Corey Schaefer. Answer: A notable resource for learning programming through tutorials and guides ⫸ Bro Code Playlist. Answer: A collection of programming tutorials and resources ⫸ Type conversion/casting. Answer: Converting a value to a different data type, e.g., int('1') returns 1 as an integer ⫸ Precedence. Answer: Enforcing order of operations using parentheses, e.g., 3 * (2+1) = 9 ⫸ Data type check. Answer: Using type() to find the data type of a variable or value ⫸ List. Answer: An ordered and changeable collection in Python allowing duplicates ⫸ Set. Answer: An unordered and immutable collection in Python, allowing addition/removal but no duplicates
⫸ Tuple. Answer: An ordered and unchangeable collection in Python, allowing duplicates and faster operations ⫸ Immutable. Answer: Unable to be changed, e.g., tuple elements ⫸ Floor division. Answer: Dividing integers to get the whole number part of the quotient ⫸ Calories burned equation. Answer: Estimates average calories burned based on age, weight, heart rate, and time ⫸ Math functions. Answer: Using math library for operations like power, absolute value, and square root ⫸ Frequency calculation. Answer: Calculating frequencies of keys on a piano based on initial key frequency ⫸ Half-life. Answer: Time taken for a substance to reduce to half its original value ⫸ House real estate summary. Answer: Outputting price change and estimated monthly mortgage based on current and last month's price ⫸ Simple statistics. Answer: Calculating product and average of floating-point numbers, rounding and formatting the output
⫸ Nested Loops. Answer: Loops within loops, used for complex iterations and operations ⫸ Nested Lists. Answer: Lists within lists, used for organizing and managing complex data structures ⫸ Range Function. Answer: Returns a sequence of numbers, commonly used in for loops ⫸ Smallest and Largest Numbers in a List. Answer: Iterating through a list to find the smallest and largest values ⫸ Append. Answer: Method to add elements to the end of a list ⫸ Break Statement. Answer: Used to exit a loop based on a certain condition, instead of relying on the condition to become false ⫸ Reverse Binary. Answer: Representing an integer in reverse binary by outputting remainders of division by 2 ⫸ name == 'main'. Answer: Used to separate the main code from the function's code for unit testing ⫸ Driving Cost Function. Answer: Function taking miles per gallon, price per gallon, and miles driven to return the dollar cost
⫸ Coin Flip Function. Answer: Function returning 'Heads' or 'Tails' based on a random value of 1 or 0 ⫸ Unit Tests. Answer: Testing small parts of a program in an isolated manner to ensure they work as expected ⫸ Unit test. Answer: Evaluates individual functions for correctness and proper naming, parameters, and return type ⫸ if name == 'main':. Answer: Separates main code from functions' code for unit testing when running as a script ⫸ kilo_to_pounds(). Answer: Function that converts weight in kilograms to pounds ⫸ swap_values. Answer: Function that swaps the positions of four integers ⫸ check_integer_string. Answer: Function that checks if a string represents an integer ⫸ Mad Libs. Answer: Activity where user provides words to complete a story in unexpected ways