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
Document preview thumbnail
Preview 3 out of 24 pages
Exam (elaborations)

WGU C173 - Scripting And Programming: Questions Answered Correctly By Expert

Document preview thumbnail
Preview 3 out of 24 pages

WGU C173 - Scripting And Programming: Questions Answered Correctly By Expert

Content preview

WGU C173 - Scripting And Programming:
Questions Answered Correctly By Expert
What are the basic instruction types of a computer program?
Correct Answer - - input
- process
- output

What is a variable? Correct Answer - refers to data that
programs use. A variables value changes or is "varying" as a
program assigns a variable with new values.

What is the equation for a triangles area? Correct Answer -
base x height divided by 2

base x height / 2

How do you find the average of a set of numbers? Correct Answer
- The sum of the numbers divided by the total number of values
in the set.

For example, suppose we want the average of 24 , 55 , 17 , 87 and
100 . Simply find the sum of the numbers: 24 + 55 + 17 + 87 + 100 =
283 and divide by 5 to get 56.6

What is computational thinking? Correct Answer - creating a
sequence of instructions to solve a problem

What is an algorithm? Correct Answer - A sequence of
instructions that solves a problem

What is a flowchart? Correct Answer - a graphical language for
creating computer programs

,What is a program? Correct Answer - A list of statements, each
statement carrying out some action and executing one at a time

What is a tool that runs a programs statements? Correct Answer -
Interpreter

What is a specific action in a program? Correct Answer - a
statement

What shape is used for an input and output statement?
(zyflowcharts) Correct Answer - parallelogram

What represents a new line? Correct Answer - \n

What is a comment? Correct Answer - text a programmer adds
to a program, to be read by humans to better understand the code,
but ignored by the program when executing.

Comments begin with //

What should not include whitespace? Correct Answer -
variable names and digits of a number

When did the industrial age start? Correct Answer - late 1700's

When did the information age start? Correct Answer - 1990's

What is an embedded computer? Correct Answer - text a
programmer adds to a program, to be read by humans to better
understand the code, but ignored by the program when executing.

What is a character? Correct Answer - s a letter (a, b, ..., z, A,
B, ..., Z), symbol (!, @, #, ...), or single-digit number (0, 1, ..., 9)

, What does ASCII stand for? and when was it developed? Correct
Answer - developed in 1963

American Standard Code for Information Interchange

How many bits per code does ASCII use? Correct Answer - 7
and has codes for 128 characters

Unicode Correct Answer - published in 1991 whose codes can
have more bits than ASCII and thus can represent over 100,000
items, such as symbols and non-English characters.

What is Pseudocode? Correct Answer - text that resembles a
program in a real programming language but is simplified to aid
human understanding.

What is an assignment statement? Correct Answer - Assigns a
variable with a value, such as x=5. That statement means x is
assigned with 5, and x keeps that value during subsequent
statements, until x is assigned again.

What is a variable declaration? Correct Answer - declares a
new variable, specifying the variables name and type.

example: variable type of integer holds whole number values.
userAge = 23

Integer values are automatically initialized with 0 until a value is
assigned

What is an identifier? Correct Answer - A name created by a
programmer for an item like a variable or function

Document information

Uploaded on
July 4, 2025
Number of pages
24
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$22.49

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

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.
StudyHall
3.8
(231)
Sold
1348
Followers
825
Items
17221
Last sold
1 day ago




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