Information Technology Flashcards
What is an algorithm?
An algorithm is a precise number of steps which is followed correctly will produce the solution to any problem whether it is simple or complex
What is used to present an algorithm?
A flow chart or pseudocode.
What are the five steps to solving a problem?
Problem solving
Analyze the problem
Brainstorm possible solution
Select the best possible solution
Implement the solution
What is implementing?
To implement that is when you are testing the best solution that you choose.
What is executing?
Executing is the actual process of doing it.
What is a pseudocode?
A pseudocode is an English like fake code that mimics the real programming code.
What are the key words used to represent the different parts of a pseudocode?
Input
Processing
Output
Storage
What two words should pseudocode algorithms begin with and end with?
“Start” and “Stop”
Key words used in pseudocoding.
Declaration
Read/Input
Write/Output
Start/Begin
Stop/End
Declaration
Used to define variables used in the program
Read/Input
Used to accept input
Write/Output
Used to output results to the user
Start/Begin
Used indicate the beginning of a program
Stop/End
Used to indicate the end of a program
What is syntax?
Syntax is the set of rules that define what the various combinations of symbols mean.This tells the computer how to read the code
What is Input?
All the things needed
What is processing?
How you will use all that is needed to arrive at the desired results
What is output?
What you expect to get at the end. That is the result
What is an IPO chart used for?
IPO chart indicates the information you will need to begin the problem-solving process (Input)
It also outlines the steps you will need to take to arrive at the required solution (Processing)
The IPO chart identifies the goal rules or objectives to be achieved in the solution (Output)