Programming Flashcards

1
Q

Define integer.

A

A number with no decimal.

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

Define real.

A

A number that contains a decimal.

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

Define boolean.

A

A true/false value.

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

Define character.

A

A letter, number, space, punctuation mark, or symbol.

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

Define string.

A

Used to represent text, it is a collection of characters.

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

In pseudocode, what does MOD do?

A

q

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

In pseudocode, what does * do?

A

Multiplies

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

In pseudocode, what does ← do?

A

Assigns a value to a variable.

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

In pseudocode, what does DIV do?

A

q

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

What is meant by a constant?

A

A variable value that can’t be changed.

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

What is meant by a variable?

A

A variable value that can be changed.

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

Define string concatenation.

A

q

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

Give an example of string concatenation being used.

A

q

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

What is an IF statement?

A

q

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

Why are arrays useful?

A

q

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

What is a record?

A

q

17
Q

What is a field?

A

q

18
Q

Give one benefit of storing data in an external file.

A

q

19
Q

Describe what OPEN() does.

A

q

20
Q

Describe what CLOSE() does.

A

q

21
Q

Describe what WRITELINE() does.

A

q

22
Q

Describe what READLINE() does.

A

q

23
Q

What is a subroutine?

A

q

24
Q

What is the difference between a subroutine and a procedure?

A

q

25
Q

Define parameter.

A

q

26
Q

Define local variable.

A

q

27
Q

Define global variable.

A

q