Chapter 2.1 - 2.2: Input, Processing, and Output

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

what are the three steps computer programs typically follow?

1. Input is received 2.Some process is performed on the input 3. Output is produced

this is the order of steps in programming --

1. designing. 2. the code is written. 3. all code must be cleared of all syntax errors. 4. after the executable is created, it can be checked for logic errors. 5. if logic errors exist, the program must be debugged.

these four general rules, programmers use to define variables --

1. must be one word, no spaces 2. generally, punctuation characters are avoided 3.generally, the first character cannot be a number 4. name a variable something that indicates what may be stored in it

the first step (1 of 2) in designing a program, is this --

1. understand the tasks that the program is to perform (learn what the customer wants.)

the second step (2 of 2) in designing a program, is this --

2. determine the steps that must be taken to perform the task.(create an algorithm, or step-by-step directions to solve the problem and use flowcharts and/or pseudocode to solve.)

computer programs typically follow this many general steps --

3 steps

there are this many steps in 'programming' --

5 steps

- is data that a program receives.

Input

-- is the keyword to take values from the user of the program

Input

- is data that is generated and displayed.

Output

-- are a sequence of characters

String Literals

the fourth step (4 of 5) in programming is --

after the executable is created, it can be checked for logic errors.

the third step (3 of 5) in programming is --

all code must be cleared of all syntax errors.

-- is popular naming convention.

camelCase

programmers can define variable names following these --

certain rules

the first step (1 of 5) in programming is --

designing.

-- is the keyword to show output to the screen

display

t or f: Well written pseudocode can NOT be easily translated to actual code.

false, well written pseudocode CAN be easily translated to actual code.

these diagrams graphically depict the steps that take place in a program --

flowcharts

these two things help with the process of programming designing --

flowcharts and pseudocode

the fifth step in (5 of 5) programming is --

if logic errors exist, the program must be debugged.

this parallelogram psuedocode symbol stands for --

input and output.

this rectangle psuedocode symbol stands for --

processes.

this is fake code used as a model for programs.

pseudocode

lines execute in the order they appear, called this --

sequence

this oval psuedocode symbol stands for --

start and stop.

the second step (2 of 5) in programming is --

the code is written.

t or f: the purpose of Programming Logic and Design is to focus on Flowcharts and Pseudocode.

true - the purpose of Programming Logic and Design IS to focus on Flowcharts and Pseudocode.

t or f: Pseudocode has NO syntax rules.

true, pseudocode has NO syntax rules.

in the first step of 'designing,' (not programming) there are this many steps --

two steps

input is usually stored in these --

variables

these are storage locations in memory for data --

variables


Set pelajaran terkait

Muscles: Origin, Insertion, Action

View Set

PEDS Ch. 23: Neurological and Sensory Disorders

View Set

Ch. 12 Gender, Sex, and Sexuality Prac. Test

View Set

History; Industry in the Colonies

View Set