WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS
FINAL OBJECTIVE ASSESSMENT EXAM
1. What is an editor g g g
g ANS A program that allows you to write code
g g g g g g g g
2. What is a compiler g g g
g ANS A program that produces other programs. The compiler does all the work at once
g g g g g g g g g g g g g g
and then runs the new program. We're translating the code we wrote to computer code
g g g g g g g g g g g g g g
ll at once. This is often when we produce an .exe(executable) file.
g g g g g g g g g g g
3. What is an interpreter g g g
g ANS A program that runs code one line at a time. Instead ofconverting all of the code
g g g g g g g g g g g g g g g g g
at once it runs each line as it's needed. It interprets that specific line from your code to
g g g g g g g g g g g g g g g g g g
computer code. g
4. What is an operator and what does it do
g g g g g g g g
g ANS An operator takes two operands (values) and does something with them. It
g g g g g g g g g g g g
1g/g10
,is an object capable of manipulating a value. If it is a comparison or logical operator it
g g g g g g g g g g g g g g g g g
would compare to see if they are similar or dissimilar. If it is a mathematical operator it
g g g g g g g g g g g g g g g g
g would perform mathematicalcalculations.
g g
5. What is an expression g g g
g ANS something that has a value.
g g g g g
6. What is the difference in a terminal and non-terminal expression
g g g g g g g g g
g ANS A terminalis a final value, while a non-terminal can be reduced further.
g g g g g g g g g g g g
7. What is proper Python grammar for making an expression
g g g g g g g g
g ANS Expression ’Expression Operator Expression
g g g g
The Expression non-
g g
terminal that appears on the left side can be replaced by an Expression, followed by a
g g g g g g g g g g g g g g g
n Operator, followed by another Expression. For example, 1 + 1 is an Expression Oper
g g g g g g g g g g g g g g
ator Expression. g
8. What is a variable g g g
g ANS a name that refers to a value
g g g g g g g
2g/g10
, 9. What are the three main types of data covered? How do you declare each
g g g g g g g g g g g g g
3g/g10
FINAL OBJECTIVE ASSESSMENT EXAM
1. What is an editor g g g
g ANS A program that allows you to write code
g g g g g g g g
2. What is a compiler g g g
g ANS A program that produces other programs. The compiler does all the work at once
g g g g g g g g g g g g g g
and then runs the new program. We're translating the code we wrote to computer code
g g g g g g g g g g g g g g
ll at once. This is often when we produce an .exe(executable) file.
g g g g g g g g g g g
3. What is an interpreter g g g
g ANS A program that runs code one line at a time. Instead ofconverting all of the code
g g g g g g g g g g g g g g g g g
at once it runs each line as it's needed. It interprets that specific line from your code to
g g g g g g g g g g g g g g g g g g
computer code. g
4. What is an operator and what does it do
g g g g g g g g
g ANS An operator takes two operands (values) and does something with them. It
g g g g g g g g g g g g
1g/g10
,is an object capable of manipulating a value. If it is a comparison or logical operator it
g g g g g g g g g g g g g g g g g
would compare to see if they are similar or dissimilar. If it is a mathematical operator it
g g g g g g g g g g g g g g g g
g would perform mathematicalcalculations.
g g
5. What is an expression g g g
g ANS something that has a value.
g g g g g
6. What is the difference in a terminal and non-terminal expression
g g g g g g g g g
g ANS A terminalis a final value, while a non-terminal can be reduced further.
g g g g g g g g g g g g
7. What is proper Python grammar for making an expression
g g g g g g g g
g ANS Expression ’Expression Operator Expression
g g g g
The Expression non-
g g
terminal that appears on the left side can be replaced by an Expression, followed by a
g g g g g g g g g g g g g g g
n Operator, followed by another Expression. For example, 1 + 1 is an Expression Oper
g g g g g g g g g g g g g g
ator Expression. g
8. What is a variable g g g
g ANS a name that refers to a value
g g g g g g g
2g/g10
, 9. What are the three main types of data covered? How do you declare each
g g g g g g g g g g g g g
3g/g10