security and other computing basics Flashcards

1
Q

What is a variable?

A

A name for a storage.

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

What is a sequence?

A

The order in which instructions are executed.

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

What is a condition?

A

Something that determines if something else is true or false.

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

What is a selection?

A

Something that involves making a decision based on a condition, leading to different pathways.

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

What is an iteration?

A

A loop.

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

What is an assignment?

A

When you give a value to a variable.

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

What is a Modularisation?

A

When you break a program down into smaller pieces.

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

What is the symbol for addition used in JavaScript?

A

+

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

What is the symbol for subtraction used in JavaScript?

A

-

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

What is the symbol for multiplication used in JavaScript?

A

*

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

What is the symbol for division used in JavaScript?

A

/

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

What is the symbol for finding the remainder used in JavaScript?

A

%

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

What is the symbol that is used for start/end in a flowchart?

A

Oval

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

What is the symbol that is used for input/output in a flowchart?

A

Parallelogram

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

What is the symbol that is used for Process in a flowchart?

A

Square

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

What is the symbol that is used for decision in a flowchart?

A

Diamond

17
Q

What are the two types of encryption?

A

Symmetric and Asymmetric encryption.

18
Q

What makes a strong password?

A

12-14 characters long
combination of uppercase and lower cans letters, numbers and symbols
not a word that can be found in the dictionary
different from previous passwords
easy for you to remember but hard for others to guess
not previously used.

19
Q

What does a hash do?

A

It turns information into a unique scrambled code

20
Q

What is frequency analysis?

A

It is the study of the frequency of letters.

21
Q

What is a frequency analysis used for?

A

It is used forbreaking cipher texts.

22
Q

What is compression?

A

Compression is a technique used to reduce the size of data while preserving its information.

23
Q

What are the two main types of compression?

A

Lossless compression and lossy compression.

24
Q

What is the difference between the two types of compression?

A

lossy compression loses some data while lossless compression doesn’t lose any data.

25
Q

What is a type of lossless compression?

A

Run length coding.