Programming Flashcards

1
Q

Name the programming steps in the correct order

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an algorithm?

A

A method to solve a problem
systematically step by step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are comments used for?

A

Serve to explain other parts of the
program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a varibable?

A

Consists of a name, memory
address and a value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is data?

A

information whose meaning has
been agreed upon

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is coding?

A

The process of writing instructions
in a specific programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is debugging?

A

Finding, analysing and correcting
errors in a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a structogramm?

A

The graphical representation of an
algorithm.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Every program logic consists of three main structural elements. Name these

A

Sequence, Selection, and Iteration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a Sequence?

A

is a series of commands whereby B automatically Was and necessarily follows A.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an iteration?

A

repeats given commands as long as given conditions exist or until a given condition is fulfilled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a selection?

A

executes one of two or more possible instructions in a program depending on whether a given condition has been fulfilled or not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are run-time-errors?

A

errors which occur while the program is running

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are Syntax errors?

A

are mistakes due to faulty grammar, misspellings and false punctuation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are logic erros?

A

are mistakes caused by using illocical instructions or a false sequence of instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name 5 types of malware

A
  • adware
  • spyware
  • keyloggers
  • botnets
  • rootkits
17
Q

What is a spyware?

A

Captures personal information and transmit the date to other computers in the internetw

18
Q

What is adware?

A

software which automatically play, displays or downloads advertisements to the computer

19
Q

What is a keylogger?

A

records all users inputs and keeping a log of all keys that are pressed

20
Q

What are screenscrapers?

A

reading text data from a computers display by making screenshots at programmed

21
Q

What are botnets?

A

Network of computers that are controlled from a single source. Most botnets are for malware

22
Q

What are viruses?

A

can create files, move files, erase files, consume your computers memory and cause to not function correctly

23
Q

What are worms?

A

type of virus that replicates itself but does not alter any files. They can take all your available computer ressources

24
Q

What are trojan horses?

A

software programs that look like a normal program but if the are run these programs can do malicoius things to your computer

25
Q

what are rootkits?

A

programs and files designed to gain unauthorized root access. That means full admin privileges so they can do malicous things with your computer