Please log in to purchase this document.

WGU C173 SCRIPTING AND PROGRAMMING FOUNDATIONS

WGU EXAMS Sep 5, 2025
Loading...

Loading document viewer...

Page 0 of 0

Document Text

1 / 10

WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS

FINAL OBJECTIVE ASSESSMENT EXAM

  • What is an editor

ANS A program that allows you to write code

  • What is a compiler

ANS A program that produces other programs. The compiler does all the work at once and then runs the new program. We're translating the code we wrote to computer code all at once. This is often when we produce an .exe (executable) file.

  • What is an interpreter

ANS A program that runs code one line at a time. Instead of converting all of the code at once it runs each line as it's needed. It interprets that specific line from your code to computer code.

  • What is an operator and what does it do

ANS An operator takes two operands (values) and does something with them. It 1 / 3

2 / 10

is an object capable of manipulating a value. If it is a comparison or logical operator it would compare to see if they are similar or dissimilar. If it is a mathematical operator it would perform mathematical calculations.

  • What is an expression

ANS something that has a value.

  • What is the difference in a terminal and non-terminal expression

ANS A terminal is a final value, while a non-terminal can be reduced further.

  • What is proper Python grammar for making an expression

ANS Expression ’ Expression Operator Expression The Expression non-terminal that appears on the left side can be replaced by an Expression, followed by an Operator, followed by another Expression. For example,

  • + 1 is an Expression Operator Expression.
  • What is a variable

ANS a name that refers to a value

  • What are the three main types of data covered? How do you declare each 2 / 3

3 / 10

one

ANS string is a sequence of characters surrounded by quotes, either single or double

example: myVar = "string data"

  • Integer is a number
  • : ANS example: myVar = 33

11. Boolean is a true or false value:

ANS example: myVar = True

  • What is grammar used for in programming

ANS In a programming language like Python, the code must match the language grammar exactly. When programming language grammar is not followed the interpreter will return a Syntax Error message. This means that the structure of the code is inconsistent with the rules of the programming language.

  • How do you change the value of a variable with Python

ANS Using the = character to assign a new value x = 6 x = 9 print x # would print out 9

  • / 3

Download Document

Buy This Document

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

Document Information

Category: WGU EXAMS
Added: Sep 5, 2025
Description:

WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS FINAL OBJECTIVE ASSESSMENT EXAM 1. What is an editor ANS A program that allows you to write code 2. What is a compiler ANS A program that produces...

Get this document $30.00