Design & Theory of Programming - Handling Data Flashcards
1
Q
What is an example of a data structure?
A
A 1 dimensional array
2
Q
What will an array have? (3)
A
A name, an index and a data type
3
Q
How could you get data into a program?
A
Use an Input Box
4
Q
How would you display data?
A
Use a Message Box
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
6
Q
What does the arithmetic operator ‘Mod’ mean?
A
It returns the remainder of a division
7
Q
What is a basic conditional structure?
A
If…Then…Else
8
Q
What is a basic fixed loop structure?
A
For…Next
9
Q
What is a basic conditional loop structure?
A
Do While…Loop