100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU C173 Ultimate Study Guide Latest 2022 Already Passed

Rating
-
Sold
-
Pages
29
Grade
A+
Uploaded on
28-11-2023
Written in
2023/2024

abstraction Focus on the essential qualities of something rather than one specific example. actors An Actor in a use case is anything with behavior who lives outside of your system, outside of your application, but has a goal they want to accomplish within. algorithm A set of commands that return a value. This differs from a procedure, which is a set of commands that doesn't necessarily have to return a value. append() Mutates List by adding Element to the end of the list. argument The inputs to a procedure. Also called operands. attributes Characteristics of an object which may be used to reference other objects or save object state information. name = expression This is an assignment statement. A variable is named and also assigned a value or expression. If multiple values are assigned to the same named variable, the last assignment is the one used. base case An expression that has a value and is not defined in terms of some other thing we are defining. This breaks the chain of recursion. Boolean A value that is either True or False circular definition A definition that doesn't give us answers because it never finishes. It is stuck in a loop with each reference pointing to another reference. It has no base case.

Show more Read less
Institution
Course

Content preview

WGU C173 Ultimate Study Guide Latest
2022 Already Passed
abstraction ✔✔Focus on the essential qualities of something rather than one specific example.


actors ✔✔An Actor in a use case is anything with behavior who lives outside of your system,
outside of your application, but has a goal they want to accomplish within.


algorithm ✔✔A set of commands that return a value. This differs from a procedure, which is a set
of commands that doesn't necessarily have to return a value.


append() ✔✔Mutates <List> by adding <Element> to the end of the list.


argument ✔✔The inputs to a procedure. Also called operands.


attributes ✔✔Characteristics of an object which may be used to reference other objects or save
object state information.


<name> = <expression> ✔✔This is an assignment statement. A variable is named and also
assigned a value or expression. If multiple values are assigned to the same named variable, the last
assignment is the one used.


base case ✔✔An expression that has a value and is not defined in terms of some other thing we
are defining. This breaks the chain of recursion.


Boolean ✔✔A value that is either True or False


circular definition ✔✔A definition that doesn't give us answers because it never finishes. It is stuck
in a loop with each reference pointing to another reference. It has no base case.

,class ✔✔Describes what an object will be, but it isn't the object itself. This is a blueprint for that
object.


<ClassName> (<BaseClass>):
<Block> ✔✔How to define a class in Python


class diagram (UML) ✔✔The most common diagram in Object-Oriented Design. Shows the
system classes and relationships between them. Diagrams the primary attributes and primary
operations for each class.


code modularity ✔✔Dividing software or an application into smaller modules. This provides
prewritten code which saves resources and provides greater manageability.


comparison operator ✔✔Used to make a comparison between two values.


compiler ✔✔A program that takes source code and converts it to machine code by producing a
separate file.


concatenate ✔✔To connect or link in a series or chain.


constructor ✔✔A special type of function used to create a class or object. The constructor prepares
the new object for use.


dictionary ✔✔Provides a mapping between keys, which can be values of any immutable type, and
values, which can be any value. Because this is implemented using a hash table, the time to lookup
a value does not increase (significantly) even when the number of keys increases.


if <condition>:

, else: ✔✔Used in to provide a two-way decision. If the initial condition is true the first block of
code will execute. If the initial condition is false, the second block of code following the else clause
will execute.


encapsulation ✔✔Surrounding something to both keep the contents together and also to protect
those contents. In Object Orientation this refers to the idea of taking our attributes and behaviors
and bundling them together in the same unit, or the same class.


expression ✔✔Any Python construct that has a value


for <Name> in <Collection>: ✔✔Executes a block once for each element of a collection.


framework ✔✔Huge amounts of code already written, already tested, ready for you to link to and
use within your programs. Also called libraries.


grammar ✔✔In a programming language like Python, these are the rules that the code must adhere
to. When not followed, the interpreter will return a Syntax Error message. This means that the
structure of the code is inconsistent with the rules of the programming language. Proper formatting
for an expression would be: Expression -> Expression Operator Expression


immutable ✔✔Not able to change in form or nature


index() ✔✔used to find elements in a list. Outputs the position of the first occurrence of an element
matching <Value> in <List>. If <Value> is not found in <List>, produces an error.


indexing ✔✔To select sub-sequences. Positions are numbered starting with 0.


inheritance ✔✔A form of code reuse. We can create a new class, but instead of writing it from
scratch, we can base it on an existing class.

Written for

Course

Document information

Uploaded on
November 28, 2023
Number of pages
29
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$16.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
dennisgathiru
5.0
(1)

Get to know the seller

Seller avatar
dennisgathiru City University New York
Follow You need to be logged in order to follow users or courses
Sold
3
Member since
2 year
Number of followers
2
Documents
2234
Last sold
5 months ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions