Programming Logic Flashcards

1
Q

What is an Instruction?

A

An Instruction is a single step (one line)

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

What is a Sequence?

A

A Sequence is several steps in order (same as pseudocode)

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

What is a Procedure?

A

A Procedure is a self contained little segment which can be called on from elsewhere

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

What is a Method?

A

A Method is a procedure that an object can do (sometimes built in like .hide). Does not return a value when executed

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

What is a Function?

A

A Function is a procedure that returns a value

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

What is a Control Structure?

A

A Control Structure refers to the order or sequence of instructions

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

What is a Loop?

A

A Loop is a sequence and/or procedure that repeats (a fixed number of times or until a condition is met)

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

What is Syntax?

A

Syntax is the grammar or way commands are structured

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

What is the Purpose of Naming Conventions?

A

It makes it easier for the developer (current and future) to understand what things are quickly

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

What is the difference between CamelCasing and the Hungarian naming convention?

A

-No spaces, capital letter for each new word

H: Lower case 3 letter prefix, followed by single word

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