Programming Flashcards
Name the programming steps in the correct order
1) Analyse the problem
2) Design the program
3) Write the Code
4) Compile the Program
5) Test and correct the program
6) Provide Documentation
7) Train the users
8) Get feedback from the users
What is an algorithm?
A method to solve a problem
systematically step by step
What are comments used for?
Serve to explain other parts of the
program
What is a varibable?
Consists of a name, memory
address and a value
What is data?
information whose meaning has
been agreed upon
What is coding?
The process of writing instructions
in a specific programming language
What is debugging?
Finding, analysing and correcting
errors in a program.
What is a structogramm?
The graphical representation of an
algorithm.
Every program logic consists of three main structural elements. Name these
Sequence, Selection, and Iteration
What is a Sequence?
is a series of commands whereby B automatically Was and necessarily follows A.
What is an iteration?
repeats given commands as long as given conditions exist or until a given condition is fulfilled
What is a selection?
executes one of two or more possible instructions in a program depending on whether a given condition has been fulfilled or not
What are run-time-errors?
errors which occur while the program is running
What are Syntax errors?
are mistakes due to faulty grammar, misspellings and false punctuation
What are logic erros?
are mistakes caused by using illocical instructions or a false sequence of instructions
Name 5 types of malware
- adware
- spyware
- keyloggers
- botnets
- rootkits
What is a spyware?
Captures personal information and transmit the date to other computers in the internetw
What is adware?
software which automatically play, displays or downloads advertisements to the computer
What is a keylogger?
records all users inputs and keeping a log of all keys that are pressed
What are screenscrapers?
reading text data from a computers display by making screenshots at programmed
What are botnets?
Network of computers that are controlled from a single source. Most botnets are for malware
What are viruses?
can create files, move files, erase files, consume your computers memory and cause to not function correctly
What are worms?
type of virus that replicates itself but does not alter any files. They can take all your available computer ressources
What are trojan horses?
software programs that look like a normal program but if the are run these programs can do malicoius things to your computer
what are rootkits?
programs and files designed to gain unauthorized root access. That means full admin privileges so they can do malicous things with your computer