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

scripting and programming-WGU C173 |Comprehensive questions and verified answers/accurate solutions|Already graded A+|Get it 100% correct.

Rating
-
Sold
-
Pages
18
Grade
A+
Uploaded on
25-02-2025
Written in
2024/2025

scripting and programming-WGU C173 |Comprehensive questions and verified answers/accurate solutions|Already graded A+|Get it 100% correct./scripting and programming-WGU C173 |Comprehensive questions and verified answers/accurate solutions|Already graded A+|Get it 100% correct./scripting and programming-WGU C173 |Comprehensive questions and verified answers/accurate solutions|Already graded A+|Get it 100% correct.

Show more Read less
Institution
Scripting And Programming
Course
Scripting and programming










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

Written for

Institution
Scripting and programming
Course
Scripting and programming

Document information

Uploaded on
February 25, 2025
Number of pages
18
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

scripting and programming-WGU C173 |Comprehensive questions and verified answers/accurate
solutions|Already graded A+|Get it 100% correct.

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

,scripting and programming-WGU C173 |Comprehensive questions and verified answers/accurate
solutions|Already graded A+|Get it 100% correct.

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


must be a sequence of letters (a-z, A-Z) underscores, and digits and start with a letter


Case sensitive

, scripting and programming-WGU C173 |Comprehensive questions and verified answers/accurate
solutions|Already graded A+|Get it 100% correct.

What is a reserved word? (or keyword) - correct answer a word that is part of the language, like
integer, Get or Put


reserved words cannot be used as an identifier
What is a naming convention?


and what are the 2 most common conventions? - correct answer A set of style guidelines
defined by a company, team, teacher, etc for naming variables


- camel case
- underscore separated
What is an expression? - correct answer A combination of items, like variables, literals,
operators, and parentheses, that evaluates to a value and commonly are used on the right side
of an assignment statement.


Example: 2 * (x + 1)


(an assignment would be y = 2 * 1)


An expression can just be a variable or a literal
What is a literal? - correct answer a specific value in code, like 2


commas are not allowed in integer literals. Example: 1,333,555 is written as 1333555
What is an operator? - correct answer a symbol that performs a built in calculation, like the
operator + performs addition
What is the order of precedence for arithmetic operators? - correct answer 1. ( )


2. unary - used for negation (unary minus)

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.
NGNs All notes
View profile
Follow You need to be logged in order to follow users or courses
Sold
23
Member since
2 year
Number of followers
9
Documents
742
Last sold
4 weeks ago

5.0

4 reviews

5
4
4
0
3
0
2
0
1
0

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