Data Structures Flashcards

1
Q

What is branching and why it it used in coding?

A

It is used to tell a computer to begin executing a different instruction sequence. E.g. to deviate from its default behaviour of executing instructions in order.
It is used to make a decision.

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

What is the flow of control?

A

It is the order in which the computer executes statements in a script.

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

What is floating point/float?

A

It is a variable that contains non whole numbers e.g. the numbers have decimals like 3.1415.

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

What is a string?

A

It means text/words/characters e.g. 321, hello

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

What is an integer?

A

It is a whole number.

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

What is a Boolean?

A

It is a true or false expression.

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

What is an array?

A

It is a list of values/information.

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

What does object oriented mean?

A

It means you can assign objects to be data functions. This is mostly used for gaming and in languages like Java, C++, C#

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