Intro to Coding - Using Flowcharts and Pseudocode

Ace your homework & exams now with Quizwiz!

Which are characteristics of flowcharts? Check all that apply. A. Flowcharts are a graphical representation of a set of instructions used to solve a problem. B. Flowcharts use predefined shapes to represent the start and finish of a program. C. Flowcharts include pseudocode to connect the symbols and indicate the direction of logic flow. D. Flowcharts use a diamond to represent a decision or branching point.

A. Flowcharts are a graphical representation of a set of instructions used to solve a problem. B. Flowcharts use predefined shapes to represent the start and finish of a program. D. Flowcharts use a diamond to represent a decision or branching point.

Use the drop-down menu to complete the sentences about the benefits of flowcharts. A. Flowcharts are a good choice because they ________ to understand. B. Flowcharts are ________ representations of the solution. C. Flowcharts can be used to ________ a solution.

A. are easy B. graphical C. map out

Use the drop-down menu to complete the sentences about pseudocode. A. Pseudocode proves a ________ of what is happening in the computer program. B. Pseudocode ________ detail(s) every single step of the program.

A. summary B. does not

Use the drop-down menu to complete the sentences about the benefits of pseudocode. A. Pseudocode is a good choice to communicate a ________ of a process. B. Pseudocode uses simple and concise words and ________ to represent the different operations of the code.

A. summary B. symbols

For what purpose does a programmer use flowcharts and pseudocode? A. to execute code B. to translate code into assembly language C. to communicate the steps needed to write a program D. to communicate methods to test code

C. to communicate the steps needed to write a program

What is the purpose of pseudocode? Check all that apply. A. Pseudocode allows you understand the way data flow through a program. B. Pseudocode is just another way of representing the process flow of a solution. C. Pseudocode compiles and executes code. D. Pseudocode identifies the processes needed to produce the desired outputs.

A. Pseudocode allows you understand the way data flow through a program. B. Pseudocode is just another way of representing the process flow of a solution. D. Pseudocode identifies the processes needed to produce the desired outputs.

What are some characteristics of pseudocode? Check all that apply. A. Pseudocode is an informal way of expressing ideas and algorithms during the development process. B. Pseudocode uses simple and concise words and symbols to represent the different operations of the code. C. Pseudocode can be used to express both complex and simple processes. D. Pseudocode can be executed as a software program.

A. Pseudocode is an informal way of expressing ideas and algorithms during the development process. B. Pseudocode uses simple and concise words and symbols to represent the different operations of the code. C. Pseudocode can be used to express both complex and simple processes.

Use the drop-down menu to complete the sentences about data flow. A. The flow of data is indicated by ________. B. The inputs, processes, and ________ are included in a flowchart.

A. arrows B. outputs

Using the drop-down menu, identify the flowchart symbols. A. The oval represents the ________. B. The rectangle represents the ________. C. The diamond represents the ________. D. The parallelogram represents the ________.

A. start and end of a program B. process to be carried out C. decision of branching point D. input of output operation

Which statements correctly describe flowchart symbols? Check all that apply. A. A circle represents a code loop. B. An oval represents the start of end of a program. C. A parallelogram represents an input or output operation. D. A checkmark represents when it is good to move to an input operation. E. A rectangle represents a process to be carried out. F. A diamond represents a decision or branching point. G. A line connects the symbols and indicates the direction of logic flow.

B. An oval represents the start of end of a program. C. A parallelogram represents an input or output operation. E. A rectangle represents a process to be carried out. F. A diamond represents a decision or branching point. G. A line connects the symbols and indicates the direction of logic flow.

What are the purposes of flowcharts and pseudocode? Check all that apply. A. Flowcharts and pseudocode have no shared purpose. B. Flowcharts and pseudocode are two ways to communicate the solution to a problem. C. Flowcharts and pseudocode are both graphical representations of a solution.

B. Flowcharts and pseudocode are two ways to communicate the solution to a problem.

Identify the purpose of flowcharts. Check all that apply. A. Flowcharts highlight the errors in a program. B. Flowcharts help us see how the program works and what results are intended. C. Knowing the complete process flow from the start helps the programmer create a computer program that will solve the problem. D. Flowcharts provide an idea of what data is needed at each point in the program.

B. Flowcharts help us see how the program works and what results are intended. C. Knowing the complete process flow from the start helps the programmer create a computer program that will solve the problem. D. Flowcharts provide an idea of what data is needed at each point in the program.

What happens in the process represented by the pseudocode to the right? A. The person eats lunch if the answer is "no." B. The person eats lunch no matter what the answer may be. C. The person eats lunch if the answer is "yes." D. The person does not eat lunch under any circumstances.

C. The person eats lunch if the answer is "yes."

What happens in the process represented by the flowchart to the right? A. The person eats lunch if the answer to "Hungry?" is "no." B. The person eats lunch no matter what the answer to "Hungry?" may be. C. The person eats lunch if the answer to "Hungry?" is "yes." D. The person does not eat lunch under any circumstances.

C. The person eats lunch if the answer to "Hungry?" is "yes."

Imagine you are responsible for making a presentation that includes a representation of the logic flow through a process. You understand the process and want to be sure everyone agrees with your solution. What should you use for this presentation? A. A flowchart, because pseudocode is too complicated. B. Pseudocode, because it gives a summary of the process required to solve the problem. C. Pseudocode, because a flowchart is too complicated. D. A flowchart, because it is a graphical representation of the steps required to solve the problem.

D. A flowchart, because it is a graphical representation of the steps required to solve the problem.


Related study sets

Lecture 6b: Chapter 4 & 5 Igneous rocks & volcanoes -Geology 301

View Set

A&P II Chapter 19: Blood Vessels

View Set

Chemistry Chapter 5.1 Models of the Atom

View Set

Chapter 2 Economics Key Questions 1-7

View Set