S.A.P Chapter 4 (4.0, 4.1)

5.0(2)
studied byStudied by 440 people
5.0(2)
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/20

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:42 PM on 11/19/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

21 Terms

1
New cards

List the 3 components in problem solving

Input

Process

Output

2
New cards

What is “input”?

List of things that is required by the problem

3
New cards

What is “process”?

Actions that need to be done to get output

4
New cards

What is “output”?

Outcome desired

5
New cards

Define algorithm

A step-by-step procedure to solve a given problem

6
New cards

What is used to connect symbols and to show the flow in flowchart?

Lines and arrows

<p>Lines and arrows</p>
7
New cards
<p>What is the purpose of this symbol?</p>

What is the purpose of this symbol?

Indicates the starting or ending point of the flowchart

8
New cards
<p>What is the purpose of this symbol?</p>

What is the purpose of this symbol?

It symbolize input or output

9
New cards
<p>What is the purpose of this symbol?</p>

What is the purpose of this symbol?

Symbolize any process in any algorithm

10
New cards
<p>What is the purpose of this symbol?</p>

What is the purpose of this symbol?

To be use when there are decisions to be made in the logic

11
New cards

What are the 3 basic control structures?

Sequential

Selection

Repetition

12
New cards

Draw a flowchart for a computer program that will get two test results from the user, calculate the average of the test results and display the calculation result.

knowt flashcard image
13
New cards

What is the difference between pseudocode and flowchart?

Pseudocode a structured English that has been formalized to look like the high-level computer languages while flowchart shows the program logic as each task is represented by certain symbols which are the connected by lines and arrows to show the flow.

14
New cards

Describe the structure of pseudocode?

Begin with “Start”

Body content(input, processes, output)

End with “End”

15
New cards

Keywords for input

Prompt and Get

Read

16
New cards

Keywords for output

Display

Output

Put

Print

Write

17
New cards

A program is to receive three numbers from user, multiply all three numbers and display the result. Write the pseudocode..

  1. Start

  2. Declare variables, num1, num2, num3, result

  3. Prompt and Get num1, num2, num3

  4. Calculate result= num1*num2*num3

  5. Display result

  6. End

18
New cards

What is Desk-checking?

A process of tracing through the algorithm with several sample data

19
New cards

Algorithm can be implemented by using _________ and __________.

Pseudocode, Flowchart

20
New cards

Give an example of flowchart using selection

knowt flashcard image
21
New cards

Give an example of flowchart using repetition.

knowt flashcard image

Explore top flashcards