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

C173 Scripting and Programming OA Questions and Answers (100% Correct Answers) Already Graded A+

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
08-10-2025
Written in
2025/2026

C173 Scripting and Programming OA Questions and Answers (100% Correct Answers) Already Graded A+

Institution
C173
Course
C173









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
C173
Course
C173

Document information

Uploaded on
October 8, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

1
For Expert help and assignment solutions, +254707240657


C173 Scripting and Programming OA
Questions and Answers (100% Correct
Answers) Already Graded A+


C173 Scripting and Programming OA1 Questions and Answers
(100% Correct Answers) Already Graded A+ A variable should
hold the names of all past U.S. presidents. Which data type should
the variable be? —ANS: String array
© 2025 Assignment Expert




A program uses the number of seconds in a minute in various
calculations. How should the item that holds the number of
seconds in a minute be declared? —ANS: Constant integer
secondsPerMinute
Guru01 - Stuvia




A program determines if a user's age is high enough to run for U.S.
president. The minimum age requirement is 35. How should the
item that holds the minimum age be declared? —ANS: Constant
integer minAge
What kind of operator is the == in the expression i == 20? —ANS:
Equality
Which data type is used for items that are measured in length? —
ANS: Float
Joe is building an online game. He wants to provide a riddle and
have the player guess the answer. The game needs to prompt the
user to enter the answer, check to see if it the input provided does
not match the correct answer, and continue prompting the user
until the answer entered matches the correct answer. Which
control structure supports Joe's needs? —ANS: Do-while loop
A programmer has developed the following code:


count = 0

, 2
For Expert help and assignment solutions, +254707240657
while count is less than 5:
print 'Hello'


What is the result of implementing this code? —ANS: 'Hello' will
print indefinitely.
What is the loop expression in the following pseudocode?
i=0
while i < 20
Put i to output
i = i + 1 —ANS: i < 20
© 2025 Assignment Expert




Order the tasks needed to create a pyramid (large on bottom,
small on top) on a table from first (1) to last (4). Select your answer
from the pull down list.
Guru01 - Stuvia




Clear Table
Place Smallest Shape
Place middle sized shape
Place largest shape —ANS: Clear table
Largest
Middle
Smallest
What does an output of 1 indicate for the following algorithm
running on a five-element list of integers?
i=0
x=0
while i < 5
if list[i] < 0
x=1
i=i+1

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.
JordanBrook NURSING
View profile
Follow You need to be logged in order to follow users or courses
Sold
231
Member since
1 year
Number of followers
33
Documents
21536
Last sold
6 days ago

3.9

42 reviews

5
21
4
8
3
7
2
1
1
5

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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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