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

studied byStudied by 439 people
5.0(2)
Get a hint
Hint

List the 3 components in problem solving

1 / 20

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

21 Terms

1

List the 3 components in problem solving

Input

Process

Output

New cards
2

What is “input”?

List of things that is required by the problem

New cards
3

What is “process”?

Actions that need to be done to get output

New cards
4

What is “output”?

Outcome desired

New cards
5

Define algorithm

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

New cards
6

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

Lines and arrows

<p>Lines and arrows</p>
New cards
7
<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

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

What is the purpose of this symbol?

It symbolize input or output

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

What is the purpose of this symbol?

Symbolize any process in any algorithm

New cards
10
<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

New cards
11

What are the 3 basic control structures?

Sequential

Selection

Repetition

New cards
12

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
New cards
13

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.

New cards
14

Describe the structure of pseudocode?

Begin with “Start”

Body content(input, processes, output)

End with “End”

New cards
15

Keywords for input

Prompt and Get

Read

New cards
16

Keywords for output

Display

Output

Put

Print

Write

New cards
17

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

New cards
18

What is Desk-checking?

A process of tracing through the algorithm with several sample data

New cards
19

Algorithm can be implemented by using _________ and __________.

Pseudocode, Flowchart

New cards
20

Give an example of flowchart using selection

knowt flashcard image
New cards
21

Give an example of flowchart using repetition.

knowt flashcard image
New cards

Explore top notes

note Note
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 46 people
Updated ... ago
4.5 Stars(2)
note Note
studied byStudied by 429 people
Updated ... ago
5.0 Stars(4)
note Note
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 3095 people
Updated ... ago
4.7 Stars(7)
note Note
studied byStudied by 13523 people
Updated ... ago
4.8 Stars(51)

Explore top flashcards

flashcards Flashcard87 terms
studied byStudied by 28 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard148 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard22 terms
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard57 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard32 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard27 terms
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard84 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard33 terms
studied byStudied by 1966 people
Updated ... ago
4.6 Stars(29)