• wonderlic tests
  • EXAM REVIEW
  • NCCCO Examination
  • Summary
  • Class notes
  • QUESTIONS & ANSWERS
  • NCLEX EXAM
  • Exam (elaborations)
  • Study guide
  • Latest nclex materials
  • HESI EXAMS
  • EXAMS AND CERTIFICATIONS
  • HESI ENTRANCE EXAM
  • ATI EXAM
  • NR AND NUR Exams
  • Gizmos
  • PORTAGE LEARNING
  • Ihuman Case Study
  • LETRS
  • NURS EXAM
  • NSG Exam
  • Testbanks
  • Vsim
  • Latest WGU
  • AQA PAPERS AND MARK SCHEME
  • DMV
  • WGU EXAM
  • exam bundles
  • Study Material
  • Study Notes
  • Test Prep

C173 WGU Scripting and Programming

Latest WGU Jan 14, 2026 ★★★★☆ (4.0/5)
Loading...

Loading document viewer...

Page 0 of 0

Document Text

C173 WGU Scripting and Programming

  • studiers today 3.4 (5 reviews)
  • Students also studied Terms in this set (129) MathsAlgebra Pre Algebra Save D278 Pre-Assessment Scripting and ...70 terms Judi_0310Preview Applied Probability and Statistics C...132 terms melatronicsPreview

PRAXIS Elementary Education: Multi...

Teacher 101 terms mlk14Preview C173 Pr 70 terms jhic Practice questions for this set Learn1 / 3Study using Learn A function should convert hours and minutes to seconds, such as converting 1 hour and 10 minutes to 4,200 seconds. What should be the input to the function?%Which operator should be used to determine if a number is evenly divisible by 5?divisionA car drove 200 miles using 10 gallons of fuel. Which operation should be used to compute the miles per gallon, which is 20?Choose an answer 1Minutes only2Hours only 3Hours, minutes, and seconds4Hours and minutes Don't know?

FloatA variable should hold a person's height in meters. Which data type should the variable be?String arrayA variable should hold the names of all past U.S. presidents. Which data type should the variable be?Constant integer secondsPerMinuteA 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?Constant integer minAgeA 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?

6.5Given integer x = 3 and integer y = 5.What is the value of the [removed] x / 2.0) + y?

10.2Given float x = 10.2 and float y = 1.0.What is the value of the expression x / y?EqualityWhat kind of operator is the == in the expression i == 20?to group expressionsWhat is the purpose of parentheses () in a programming expression?x / 2 + 0.5 /2 + .25Given float x = 3.0. Which expression evaluates to 2.0?

  • x >= 18) and ( x <= 24)Which expression evaluates to true only when the user is within 3 years of 21
  • years, given a variable x containing a user's age?FloatWhich data type is used for items that are measured in length IntegerWhich data type should be used to keep track of how many planes are in a hangar?Hours and minutesA function should convert hours and minutes to seconds, such as converting 1 hour and 10 minutes to 4,200 seconds. What should be the input to the function?xA function returns a number x cubed. For example, if x is 3, the function returns 3

  • 3, or 27. What should be the input to the function?
  • DiffA function calculates the weight difference (Diff) given two sample weights (S1 and S2). What should be the output from the function?10function P(integer x) returns integer y y = 2 * x What does P(5) evaluate to?HeyHeyHeyFunction F() Put "Hey" to output What entire output appears after three successive calls to F()?a valid identifierWhat is a valid user-defined function name?z onlyA function MyFct has an input x and an output z.What does MyFct return?

Output of a functionWhat is the return value of a function?While loopA program should continue accepting input numbers, adding each to a sum, until a 0 is input.Which control structure should be used?Do-while loopJoe 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?

  • 2 1What is put to output by the following pseudocode? x = 3do Put x to output Put "
  • " to output x = x - 1while x > 0 'Hello' will print indefinitely.A programmer has developed the following code: count = 0while count is less

than 5: print 'Hello' What is the result of implementing this code?

i < 20What xss=removed xss=removed y=0What xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed>

TestingWhich phase of an agile approach would define a hypothesis to find a problem in a program ImplementationWhich phase of an agile approach would create an executable program DesignWhich phase of an agile approach would create a list of components needed to build an online auction site AnalysisWhich phase of a waterfall approach defines a program's goals?TestingAfter a programmer is done writing a program, another person runs the program hundreds of times, each time with different input, checking that each run yields correct output. Which phase of a waterfall approach is the person carrying out?ImplementationA programmer decides a program should convert U.S. units to metric units and decides to write the program in C++ using several functions. Which phase of a waterfall approach is occurring when the programmer starts writing the program?AnalysisA company has a new project it wishes to implement to track and analyze employee and customer interactions. The company leadership determines that the system should support direct data entry as well as automated data capture of phone calls and emails. Which phase of the waterfall process is occurring?ImplementationA programmer shows a program's first version to a customer. The customer provides feedback, which causes the programmer to change the goals of the program. In which phase of an agile approach are goals changed based on customer feedback?TestingA programmer shows a program's first version to a customer. Based on feedback, the programmer creates a second version, and then has a colleague run the second version on numerous inputs to ensure outputs are correct. Which phase of an agile approach is that colleague carrying out?ImplementationA programmer is currently programming the fourth version of a program. Each version has additional features to satisfy more customers. In which phase of an agile approach does the programming of the fourth version occur?System's classes, attributes, and methods and their features, constraints, and relationships Which elements are characteristic of a class diagram?Provides an overview of several use casesWhat does a use case diagram do?Include the libraryWhat does a programmer do first to use an existing programming library?Functions all relate to the same purpose.What relationship is common among a programming library's functions?The code has already been tested.What is an advantage of using a programming library?PythonWhich language is dynamically typed?

User Reviews

★★★★☆ (4.0/5 based on 1 reviews)
Login to Review
S
Student
May 21, 2025
★★★★☆

The comprehensive coverage offered by this document was incredibly useful for my research. A outstanding purchase!

Download Document

Buy This Document

$11.00 One-time purchase
Buy Now
  • Full access to this document
  • Download anytime
  • No expiration

Document Information

Category: Latest WGU
Added: Jan 14, 2026
Description:

C173 WGU Scripting and Programming 9 studiers today 3.4 (5 reviews) Students also studied Terms in this set MathsAlgebra Pre Algebra Save D278 Pre-Assessment Scripting and ... 70 terms Judi_0310 Pr...

Unlock Now
$ 11.00