Week 3 Flashcards
How many numbers can be represented using four bits?
16
How many numbers can be represented using four bytes?
1 byte = 8 bits
4bytes = 4x8bits = 32bits
32x4numbers = 128
Collections of algorithms for specific technical tasks, e.g., image processing, optimization, or statistics, are called
toolbox(es)
The world’s first high-level programming language is called __________.
Fortran
The well-known constant __________ should not be redefined by a program during its execution.
pi
The __________ command lists all of the current workspace variables.
whos
User input is returned as a character string if the function input has __________ as a second argument.
’s’
There are two __________ data types: single precision and double precision.
floating-point
The function __________ rounds numbers to the nearest integers toward zero.
fix
The identity matrix is generated in MATLAB using the function __________.
eye
A(n) __________ occurs when a program executes completely but the result is not what is intended.
logic error(s)