Intro Programming in VisualBASIC - Chapter 1
Home > Preview
The flashcards below were created by user
on FreezingBlue Flashcards.
What are the fundamental building blocks of programming?
Control (or Logic) Structures
What is an algorithm?
A set of step by step instructions to accomplish a task.
What are the 3 types of Control/Logic Structures?
- -Sequence Structure
- -Selection/Decision Structure
- -Repetition/Iteration Structure (or Loop)
Which control structure is used in every program?
What does a Sequence Structure do?
directs computer to process program instructions, one by one, in the order listed.
What does a Selection structure do?
Directs computer to make a decision and then select an appropriate action based on the decision.
What is another name for selection structure?
What does a Repitition structure do?
Directs the computer to repeat one or more program instructions until some condition is met.
What are some other names for Repitition structure?
iteration structure and loop
What is another name for control structure?
Is an algorithm written in computer code?
No, it is a basic set of English instructions to be translated into computer code later.
What is an iteration?
One pass through a loop/iteration/repitition structure. (i.e. performing the instruction(s) once, before repitition starts.) A loop tells the computer how many iterations there are. (i.e. how many times it should perform the set of instructions - either a specific number, or until some condition is met)
What controls the flow of a program's logic?
What would you like to do?
Home > Flashcards > Print Preview