Programming Logic Flashcards
What is an Instruction?
An Instruction is a single step (one line)
What is a Sequence?
A Sequence is several steps in order (same as pseudocode)
What is a Procedure?
A Procedure is a self contained little segment which can be called on from elsewhere
What is a Method?
A Method is a procedure that an object can do (sometimes built in like .hide). Does not return a value when executed
What is a Function?
A Function is a procedure that returns a value
What is a Control Structure?
A Control Structure refers to the order or sequence of instructions
What is a Loop?
A Loop is a sequence and/or procedure that repeats (a fixed number of times or until a condition is met)
What is Syntax?
Syntax is the grammar or way commands are structured
What is the Purpose of Naming Conventions?
It makes it easier for the developer (current and future) to understand what things are quickly
What is the difference between CamelCasing and the Hungarian naming convention?
-No spaces, capital letter for each new word
H: Lower case 3 letter prefix, followed by single word