Ict Exam Flashcards

1
Q

What are arithmetic operators?

A
Addition - +
Subtraction - -
Multiplication- *
Division - /
Floor division - //
Remainder - %
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is algorithm?

A

A procedure or formula for solving a problem

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

Data types

A

Data types

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

String

A

Holds alphanumeric data as text

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

Integer

A

Holds whole numbers

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

Float

A

Holds numbers with a decimal point

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

Boolean

A

Holds either ‘true’ or ‘false’

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

Comparison operators

A

== - equal to
!= - not equal to
> - greater than
= - greater than or equal to

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

Who uses IF statements?

A

Thinking of a mobile phone, for example, where might an IF statement appear in coding

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

What is a computer bug?

A

The name ‘bug’ refers to an error in a program.

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

What is a variable?

A

A variable is a location in memory in which you can temporarily store text or numbers.

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

Variables

A

A variable name can contain only numbers, letters and underscores.

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

Functions

A

Functions are special keywords that do a specific job

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

While loop

A

Keep doing something until that condition is broken.

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