Week 3 Flashcards

1
Q

How many numbers can be represented using four bits?

A

16

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

How many numbers can be represented using four bytes?

A

1 byte = 8 bits
4bytes = 4x8bits = 32bits
32x4numbers = 128

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

Collections of algorithms for specific technical tasks, e.g., image processing, optimization, or statistics, are called

A

toolbox(es)

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

The world’s first high-level programming language is called __________.

A

Fortran

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

The well-known constant __________ should not be redefined by a program during its execution.

A

pi

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

The __________ command lists all of the current workspace variables.

A

whos

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

User input is returned as a character string if the function input has __________ as a second argument.

A

’s’

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

There are two __________ data types: single precision and double precision.

A

floating-point

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

The function __________ rounds numbers to the nearest integers toward zero.

A

fix

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

The identity matrix is generated in MATLAB using the function __________.

A

eye

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

A(n) __________ occurs when a program executes completely but the result is not what is intended.

A

logic error(s)

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