Topic 2-Programming Flashcards
What is casting?
Technical term for assigning a different data type to a variable.
What is a string?
Sequence of anything.
What is float/real?
Decimal number.
What is a character?
A single character.
What is a boolean?
2 possible states.
What is robust?
Efficient in time, design and no repeating.
What is a variable?
Data values that can change.
What is div?
Integer division.
What is division?
Full division.
What do you need to remember when drawing logic gates?
To draw the input lines.
What is a subroutine?
A set of code that can be called for frequent use within a program.
What is the difference between a function and a procedure?
A function will return something to the main block of code whereas a procedure will not.
What is a function parameter?
The names passed into the function.
What is a function argument?
The value of the parameters.
What do data structures allow?
They allow programmers to store together large amounts of data.