Download ecet105-mmmmmmmmmmmmmmm

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
1. (TCO 1) Which lab instrument is used to generate power for a DC circuit? (Points : 5)
Power supply
Function generator
Oscilloscope
DMM
0
1237282102
MultipleChoice
2
Question 2. 2. (TCO 2) When is the output of a NOR gate LOW? (Points : 5)
All inputs LOW
One input LOW
One input HIGH
All inputs HIGH
0
1237282103
MultipleChoice
12
Question 3. 3. (TCO 3) Which decimal number is equivalent to 25? (Points : 5)
10
25
31
32
0
1237282104
MultipleChoice
13
Question 4. 4. (TCO 1) The figure below shows an oscilloscope screen capture of a periodic
signal. The oscilloscope settings are: time scale = 5 µs ÷ div and voltage scale = 5 V ÷ div. What
are the frequency and the peak voltage for the signal shown? The minimum value of the signal is
0V.
(Points : 5)
F=1/t
Where f=frequency and t=time(seconds)
There are 6 divisions each 5micro seconds
F=1/(6x5x10^-6)
1s=10^6 micro seconds
F=1/((3x10^-5)
=33333Hz
=33.33Khz
Peak voltage
=4 divisions x 5=20volts
0
1237282105
Essay
3
Question 5. 5. (TCO 3) How many decimal numbers can be represented by 10-bits? What is the
largest unsigned
decimal number that can be represented by 10-bits? (Points : 5)
1 bit can represent 0 and 1
2 bit can represent 0, 1, 2, 3
n bit can represent 2^n - 1
So, 10 bits can encode 2^10-1 = 1023 different numbers - you can count from 0 to 1023 with 10
bits.
Decimal numbers:
S: signum (positive or negative)
M: mantisse
E: exponent
comparing it with scientific notation for numbers, example -3.5210 * 10^-4. "-" would be S,
"3.5210" would be the M part, "-4" would be the E part
machine numbers c represented by 10 bits
Will depend on how many bits M has, and how many bits E has. S is always 1-bit, so there are 9bit left for M+E. M can represent 2^M-1 different numbers. E can represent 2^E-1 exponents.
Together, M+E can represent (2^M-1)*(2^E-1) different numbers. Altogether, 10 bits can
represent
= 2*(2^M-1)*(2^(9-M)-1) signed decimal numbers
Largest unsigned machine number that can be represented with 10 bits:
-unsigned means, that S isn't there
- E is a signed integer so that decimal numbers become possible => (2^(E-1)-1) exponents at the
most
- the base of machine numbers is always 2 ,maximize (2^M-1)*2^((2^(E-1)-1) )
=> happens when E maximal (growth in exponent increases the overall number much faster than
growth in mantisse)
= M = 1; E = 9
= largest decimal number: (2^1-1)*2^(2^(9-1)-1)
= 1*2^(2^8-1)
= 2^255
Related documents