Topic 1 - Programming Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a Sequence

A

every instruction comes one after the other from the top of the file to the bottom of the file

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

What is Blocking

A

blocking a code segments is indication by indentation and subprogram calls.

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

What is a Comment

A

anything next to a #

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

What is an Identifier

A

any sequence of letters digits or underscores

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

What are Boolean Operators?

A

a true or false statement

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

What is a Subprogram?

A

a block of code given a unique identifiable name within a pro

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

Benefits of Subprograms?

A

easier to code, debug and reuse

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

What are the 3 Programming Constructs?

A

sequence, iteration and selection

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

What is Sequence

A

executing one instruction after another

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

What is Selection

A

a program branching depending on a condition

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

What is Iteration

A

repeating sections of code

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

What is a Function?

A

a block of organized, reusable code that is used to perform a single, related action

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

What is a Procedure?

A

order of the steps to be taken to make something happen, or how something is done

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