Design & Theory of Programming - Handling Data Flashcards

1
Q

What is an example of a data structure?

A

A 1 dimensional array

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

What will an array have? (3)

A

A name, an index and a data type

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

How could you get data into a program?

A

Use an Input Box

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

How would you display data?

A

Use a Message Box

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

What is an assignment statement?

A

When you assign data on the right of an equals sign to the variable on the left

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

What does the arithmetic operator ‘Mod’ mean?

A

It returns the remainder of a division

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

What is a basic conditional structure?

A

If…Then…Else

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

What is a basic fixed loop structure?

A

For…Next

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

What is a basic conditional loop structure?

A

Do While…Loop

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