• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 25 pages
Exam (elaborations)

ENGR 200 STUDY GUIDE QUESTIONS WITH ANSWERS AND EXPLANATIONS | American Public University

Document preview thumbnail
Preview 3 out of 25 pages

ENGR 200 STUDY GUIDE QUESTIONS WITH ANSWERS AND EXPLANATIONS | American Public University

Content preview

ENGR 200 STUDY GUIDE QUESTIONS WITH
ANSWERS AND EXPLANATIONS
| American Public University
1. Which analysis best distinguishes the concepts behind these two observations: A variable declared inside a
block cannot be used by code outside that block after the block ends. versus An assignment ending with a
semicolon changes the value stored in a variable.
A. The first reflects statement; the second reflects scope.
B. Both are best explained by scope.
C. Neither observation can be classified using an engineering or computing concept.
D. The first reflects scope; the second reflects statement.
Correct Answer: D. The first reflects scope; the second reflects statement.
Explanation: The first observation matches scope, whereas the second matches statement. The two should not be
collapsed into one concept.

2. Which comparison between infinite loop and while loop is accurate?
A. Both terms refer to a pretest repetition statement that repeats while its condition remains true.
B. Both terms refer to a loop whose termination condition never becomes false during execution.
C. infinite loop is a pretest repetition statement that repeats while its condition remains true; while loop is a loop
whose termination condition never becomes false during execution.
D. infinite loop is a loop whose termination condition never becomes false during execution; while loop is a pretest
repetition statement that repeats while its condition remains true.
Correct Answer: D. infinite loop is a loop whose termination condition never becomes false during execution; while
loop is a pretest repetition statement that repeats while its condition remains true.
Explanation: The concepts differ: infinite loop is a loop whose termination condition never becomes false during
execution, whereas while loop is a pretest repetition statement that repeats while its condition remains true.

3. Which option repairs the conceptual error in defining main function as 'the conversion of a value from one type
to another'?
A. the region of a program in which a declared name can be referred to
B. the ++ operator used to increase an arithmetic object by one
C. the conversion of a value from one type to another
D. the standard entry point at which execution of a hosted C++ program begins
Correct Answer: D. the standard entry point at which execution of a hosted C++ program begins
Explanation: The correction is that main function is the standard entry point at which execution of a hosted C++
program begins. The mistaken wording instead describes type conversion.

4. A review is focused on container pass by const reference. Which observation best matches the target concept?
A. for (double x : samples) processes each stored measurement without explicitly managing an index.
B. for (double& x : values) can change each vector element in place.
C. A statistics function accepts const vector<double>& values and computes the mean without changing the vector.
D. A loop compares each stored ID with the requested ID and stops when a match occurs.
Correct Answer: C. A statistics function accepts const vector<double>& values and computes the mean without
changing the vector.
Explanation: The selected observation most specifically demonstrates container pass by const reference: passing a
collection efficiently to a read-only function without copying all elements.

,5. Select the term that best names a named variable in a function definition that receives information from a call.
A. parameter
B. recursion
C. function prototype
D. function definition
Correct Answer: A. parameter
Explanation: parameter refers to a named variable in a function definition that receives information from a call.

6. To demonstrate statement in practice, which outcome would be most useful?
A. A conversion factor is declared const so accidental reassignment is rejected.
B. In 2 + 3 * 4, multiplication is applied before addition.
C. An assignment ending with a semicolon changes the value stored in a variable.
D. Casting one integer operand to double allows a quotient to preserve a fractional part.
Correct Answer: C. An assignment ending with a semicolon changes the value stored in a variable.
Explanation: The selected observation most specifically demonstrates statement: a program instruction or declaration
that forms an executable or structural unit.

7. Two findings must be interpreted separately. First: A project team evaluates loads, drainage, and site conditions
for a highway bridge. Second: An electrical, mechanical, and software team coordinates interfaces for a prototype
rather than optimizing each subsystem in isolation. Which option identifies the two concepts correctly?
A. Neither observation can be classified using an engineering or computing concept.
B. The first reflects Interdisciplinary teamwork; the second reflects Civil engineering.
C. Both are best explained by Civil engineering.
D. The first reflects Civil engineering; the second reflects Interdisciplinary teamwork.
Correct Answer: D. The first reflects Civil engineering; the second reflects Interdisciplinary teamwork.
Explanation: The first observation matches Civil engineering, whereas the second matches Interdisciplinary teamwork.
The two should not be collapsed into one concept.

8. Consider two independent findings. Finding A: Input validation, calculation, and report formatting are placed in
separate routines. Finding B: Each recursive call creates another active frame until the base case is reached. Which
conclusion correctly assigns a concept to each?
A. The first reflects function decomposition; the second reflects call stack.
B. The first reflects call stack; the second reflects function decomposition.
C. Both are best explained by function decomposition.
D. Neither observation can be classified using an engineering or computing concept.
Correct Answer: A. The first reflects function decomposition; the second reflects call stack.
Explanation: The first observation matches function decomposition, whereas the second matches call stack. The two
should not be collapsed into one concept.

, 9. Which description would an engineer accept for De Morgan transformation?
A. a multiway selection that chooses among labeled cases based on an integral or enumeration expression
B. the equivalence that negating a conjunction becomes a disjunction of negations and vice versa
C. the ?: operator that selects one of two expression values based on a boolean condition
D. a selection statement that executes a controlled statement when a condition is true
Correct Answer: B. the equivalence that negating a conjunction becomes a disjunction of negations and vice versa
Explanation: De Morgan transformation is the equivalence that negating a conjunction becomes a disjunction of
negations and vice versa.

10. A review is focused on Trade-off analysis. Which observation best matches the target concept?
A. Operators use the prototype in realistic conditions to determine whether it solves the workflow problem.
B. A portable device must fit within a fixed enclosure and operate from a specified battery voltage.
C. A team accepts slightly higher cost to obtain a major reduction in power consumption and maintenance.
D. A low-cost mock-up is used to evaluate sensor placement before committing to the final enclosure.
Correct Answer: C. A team accepts slightly higher cost to obtain a major reduction in power consumption and
maintenance.
Explanation: The selected observation most specifically demonstrates Trade-off analysis: systematic comparison of
benefits and drawbacks among competing alternatives.

11. How should while loop and break statement be distinguished?
A. Both terms refer to a pretest repetition statement that repeats while its condition remains true.
B. while loop is a jump statement that terminates the nearest enclosing loop or switch; break statement is a pretest
repetition statement that repeats while its condition remains true.
C. Both terms refer to a jump statement that terminates the nearest enclosing loop or switch.
D. while loop is a pretest repetition statement that repeats while its condition remains true; break statement is a jump
statement that terminates the nearest enclosing loop or switch.
Correct Answer: D. while loop is a pretest repetition statement that repeats while its condition remains true; break
statement is a jump statement that terminates the nearest enclosing loop or switch.
Explanation: The concepts differ: while loop is a pretest repetition statement that repeats while its condition remains
true, whereas break statement is a jump statement that terminates the nearest enclosing loop or switch.

12. A team must explain two different effects. One shows that The expression 17 % 5 produces 2. Another shows
that A program uses #include <iostream> before using standard stream declarations. Which pairing is correct?
A. Neither observation can be classified using an engineering or computing concept.
B. The first reflects remainder operator; the second reflects include directive.
C. The first reflects include directive; the second reflects remainder operator.
D. Both are best explained by remainder operator.
Correct Answer: B. The first reflects remainder operator; the second reflects include directive.
Explanation: The first observation matches remainder operator, whereas the second matches include directive. The two
should not be collapsed into one concept.

Document information

Uploaded on
September 29, 2026
Number of pages
25
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

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.
Favorgrades
3.8
(197)
Sold
843
Followers
377
Items
57675
Last sold
3 hours 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