Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS FINAL EXAM REVIEW Latest Update Exam 100 Questions with 100% Verified Correct Answers Guaranteed A+

Rating
-
Sold
-
Pages
14
Grade
A+
Uploaded on
08-01-2025
Written in
2024/2025

WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS FINAL EXAM REVIEW Latest Update Exam 100 Questions with 100% Verified Correct Answers Guaranteed A+

Institution
WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS F
Course
WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS F

Content preview

WGU C173 SCRIPTING AND PROGRAMMING –
FOUNDATIONS FINAL EXAM REVIEW Latest
Update 2025-2026 Exam 100 Questions with
100% Verified Correct Answers Guaranteed A+

- - CORRECT ANSWER: subtract


* - CORRECT ANSWER: multiply


/ - CORRECT ANSWER: divide


% - CORRECT ANSWER: Modulos, does division and returns the remainder


+ - CORRECT ANSWER: concatenate or add


< - CORRECT ANSWER: less than


<= - CORRECT ANSWER: less than or equal to


= - CORRECT ANSWER: assignment


== - CORRECT ANSWER: comparisons equality


> - CORRECT ANSWER: greater than


>= - CORRECT ANSWER: greater than or equal to


Boolean is a true or false value - CORRECT ANSWER: example: myVar = True

, How are buckets used in a hash table? What effect do they have on lookup speed? -
CORRECT ANSWER: Entries in a hash table are mapped to a number, which is the
position in the index where you should look for the entry. A hash table has numbered
bucket slots that hold entries. The entries are organized in the buckets based on their
assigned keyword number. When you run a search using a hash table the keyword
assigned will be used to determine which bucket the entry should be located in and
begin the search there. Because the search knows where to begin looking it is much
quicker to look up items.


How are compound mathematical expressions evaluated in Python? - CORRECT
ANSWER: First perform calculations within parentheses.
Next work left to right and perform all multiplication and division.
Finally, work left to right and perform all addition and subtraction


How are elements in a list indexed? - CORRECT ANSWER: List elements are assigned
an index number starting with 0.


How do you change the value of a variable with Python? - CORRECT ANSWER: Using
the = character to assign a new value
x=6
x=9
print x # would print out 9


How do you define outputs for a function? - CORRECT ANSWER: Using the return
keyword you can define what data will be returned or output when the procedure or
function runs. You can only access data from within a function if you return that specific
data to be used outside of the function.


How do you prioritize case (best case, worst case, average case) when analyzing
algorithms? - CORRECT ANSWER: You would look at them in this order: Worst case,
average case, best case. The worst case is the most important because this will give
you a better understanding of why the time scales as it does.

Written for

Institution
WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS F
Course
WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS F

Document information

Uploaded on
January 8, 2025
Number of pages
14
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$20.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Tutordiligent Chamberlain College Of Nursng
Follow You need to be logged in order to follow users or courses
Sold
609
Member since
3 year
Number of followers
219
Documents
8369
Last sold
2 weeks ago
Tutordiligent

Tutordiligent is a Medical Professional with a Bachelor of Medicine and Bachelor of Surgery (MBBS) from Chamberlain College of Nursing of Health Sciences. His academic journey included internships in Radiology, Cardiology, and Neurosurgery. His contributions to medical research extend to two publications in medical journals, solidifying his position as a promising addition to the field.

3.6

94 reviews

5
35
4
19
3
22
2
3
1
15

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions