ENGR 111 (Fullerton TAMU) Exam #1 Questions with Correct Answers
2 views 0 purchase
Course
RN- Nursing
Institution
RN- Nursing
List the 7 properties of algorithms. Correct Answer-1. Input: An algorithm has input values from a specified set.
2. Output: From each set of input values, an algorithm produces output values from a specified set. The output values are the solution to the problem.
3. Definiteness: The steps o...
ENGR 111 (Fullerton TAMU) Exam #1 Questions
with Correct Answers
List the 7 properties of algorithms. Correct Answer-1. Input: An
algorithm has input values from a specified set.
2. Output: From each set of input values, an algorithm produces output
values from a specified set. The output values are the solution to the
problem.
3. Definiteness: The steps of an algorithm must be defined precisely.
4. Correctness: An algorithm should produce the correct output values
for each set of input values.
5. Effectiveness: It must be possible to perform each step of an
algorithm exactly and in a finite amount of time.
6. Finiteness: An algorithm should produce the desired output after a
finite (but perhaps large) number of steps for any input in the set.
7. Generality: The procedure should be applicable for all problems of the
desired form, not just for a particular set of input values.
Explain the difference between conditional and repetition algorithmic
structures. Correct Answer-Conditional: If some condition is met, then
do X, else do Y.
,Repetition (Loops): Repeat X N times or repeat X until condition C is
met.
Describe the four most common structures of algorithms. Correct
Answer-1. Sequential :First do X, then do Y, then do Z.
2. Conditional: If some condition is met, then do X, else do Y.
3. Repetition / Loops: Repeat X N times or repeat X until condition C is
met.
4. Concurrence: Do X and Y at the same time.
What is the input/output flow diagram symbol? Correct Answer-
Rhombus
What is the process instruction flow diagram symbol? Correct Answer-
Rectangle
What is the control flow flow diagram symbol? Correct Answer-Arrow
What is the conditional test or decision flow diagram symbol? Correct
Answer-Diamond
, What is the start/end flow diagram symbol? Correct Answer-Oval
What symbol is used to represent connectors on/off the page in a flow
diagram? Correct Answer-Circle/pentagon
What is the subroutine flow diagram symbol? Correct Answer-Divided
rectangle
What is pseudo code? Correct Answer-A linear written algorithm
(narrative set of instructions) to solve an engineering problem. Every
step included must not be subject to misinterpretation; clear list of
actions and decisions.
Define engineer. Correct Answer-"Engineers use scientific knowledge to
analyze, design and develop practical systems for the benefit of society."
Define algorithm. Correct Answer-An algorithm is a well defined
sequence of instructions that describe a process or a systematic generic
solution of an engineering problem.
Define a "standard computer." Correct Answer-It reads input and stores
it in memory. It computes functions of the input using an
arithmetic/logic unit, and stores the result in memory. It produces output.
Define "computation." Correct Answer-The movement and
transformation of data.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller cracker. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.99. You're not tied to anything after your purchase.