








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 D522 STUDY GUIDE 2026 MASTER SOLUTION DIGEST
Typology: Exams
1 / 14
This page cannot be seen from the preview
Don't miss anything!









◉code navigation. Answer: facilitates easy navigation through large codebases by offering features such as code folding, code outlining, and quick navigation to definitions. ◉integrated documentation. Answer: provides access to documentation for Python libraries and modules directly within the IDE ◉code profiling. Answer: Allows developers to analyze code performance and identify areas for optimization ◉Problem solving process. Answer: analyze problem develop algo write code test and debug
◉python is dynamically typed. Answer: variable types in python are determined at runtime ◉Purpose of code editor in python IDE. Answer: provide a text editor offering syntax highlighting, code completion, and indentation. ◉Python variables. Answer: serving as placeholders to store and manage data. In Python, you don't need to explicitly declare a variable's data type; it dynamically infers it based on the assigned value. ◉Symbolic Names. Answer: refer to names or identifiers that represent values, objects, or entities. ◉variable name rules. Answer: number, letters, _ start with letter or _ cannot be a python keyword ◉assign multiple variables. Answer: x, y, z = "one", "two", "three" ◉assigning the same value multiple variables. Answer: hi = hello = hey = "greeting"
◉dictionaires. Answer: enable key value pair storage. ◉str:. Answer: string ◉int:. Answer: integer ◉float:. Answer: floating-point type ◉boolean. Answer: true or falseu is_true=true is_false=false ◉list. Answer: ordered, mutalble sequence [ ] ◉tuple. Answer: ordered, immutable sequence ( )
◉set:. Answer: unordered, mutable collection of unique elements ◉frozenset:. Answer: unchangeable set ◉dict:. Answer: dictionary, an unordered collection of key-pair values ◉int_num = int(float_num). Answer: converting something to integer, int same for x = float(y) x = round(y) x=abs(y) - absoluite value ◉You can create multiple strings with. Answer: three quotes ◉Repitition (*). Answer: repeat a string ◉concatenation (+). Answer: combine two strings ◉Indexing ([]). Answer: accessing individual characters by position. First pos is 0.
◉immutable. Answer: cannot be changed ◉mutable. Answer: can be changed ◉you can modify strings with. Answer: replace () upper () lower () ◉count (). Answer: counts the occurrences of a substring in the given string ◉strip (). Answer: removes leading and trailing whitespaces ◉lstrip (). Answer: removes leading white spaces ◉rstrip (). Answer: removes trailing whitepsaces ◉+=. Answer: shorthand for concatenation and assignment ◉greeting = "Hello " greeting =+ "Python!" print (greeting). Answer: Hello Python
◉join (). Answer: combine strings from an iterable (list) ◉positional arguments. Answer: arguments that are passed to a function or method in a specific order. ◉named arguments. Answer: keyword arguments, passed to a function or method by explicitly stating the name of the parameter and its value. ◉assignment operators. Answer: =, +=, - =, *=, /=, %=, //=, **= ◉membership operators. Answer: in, not in ◉identity operators. Answer: is, is not ◉modulus %. Answer: returns the remainder ◉floor division //. Answer: performs division and rounds down to the nearest whole number. ◉bitwise shift << >>. Answer: lower than arthimetic operations
◉set. Answer: unordered, mutable collections of unique elements ◉item indexes. Answer: represent the posotion of an element in the list. starts at 0. and last is - 1 ◉negative indexing. Answer: allows you to access elemends from the end of a sequence such as a list. - 1 is last - 2 is second to last. ◉insert (). Answer: add an item at a specific postion in a list. ◉append (). Answer: used to add an item to the end of a list. ◉extend (). Answer: used to add multile items to the end of a list. ◉remove (). Answer: remove the first occurence of a specified item from a list. ◉pop (). Answer: used to remove an item at a specified postion in a list and return in ◉del. Answer: delete objects.
◉clear (). Answer: used to remove all items from a list ◉reverse (). Answer: method used to reverse the order of items in a list. ◉copy (). Answer: creates a new list by copying the original list ◉you can combine lists together with. Answer: + operator also by using extend () ◉updating a tuple. Answer: involved converting it to a list, updating the list, then converting it back to a tuple. ◉list are tuples are. Answer: mutable immutable ◉key value mappion. Answer: dictionairies allow you to associate values with descriptive keys, providing a convenient way to represent relationships between data.
collection is more important than the order or how many times it occurs ◉A Python set is created by. Answer: placing a comma-separated sequence of items inside curly braces {}. or set() ◉add (). Answer: add items to a python set ◉remove () discard(). Answer: remove an item from a set ◉sets do not. Answer: allow duplicate values are unindexed ◉first for task scheduling. Answer: pip install schedule ◉first for cloud automation. Answer: pip install boto ◉definition. Answer: function is a named block of reusable code
◉syntax. Answer: defined with def, a name, parameters, and an indented code black ◉Parameters. Answer: input values passed to the function