QUESTION 21 Assume the following is a row of grayscale pixel values [94 112 102 98 114 150 170 160 148 144 168 182 192 1

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

QUESTION 21 Assume the following is a row of grayscale pixel values [94 112 102 98 114 150 170 160 148 144 168 182 192 1

Post by answerhappygod »

QUESTION 21
Assume the following is a row of grayscale pixel values
[94 112 102 98 114 150 170 160 148 144 168 182 192 196 198
200]
How many steps are needed to complete the 1D Haar transform for
this vector?
A.
4
B.
8
C.
16
D.
2
QUESTION 22
Assume you have carried out an analysis of an audio signal using
an FFT with a frequency resolution of 100 Hz. Now you want to carry
out another analysis with a frequency resolution of 50 Hz. How will
you modify the block size?
A.
Set the block size to 50 samples
B.
Increase the block size to hold twice as many samples
C.
Set the block size to the Nyquist frequency
D.
Decrease the block size to hold half as many samples
QUESTION 23
Given an audio system with a 44.1 kHz sample rate (44,100
samples/sec), what block size (how many samples) will you use for a
Fourier transform if you want a frequency resolution of 100 Hz?
A.
100
B.
50
C.
441
D.
882
QUESTION 24
Given the following Huffman code, what is the message for the
following bit sequence?
x: 10; y: 11; z: 000; a: 001; b: 011; c: 0100; d: 0101
110011010010100011011
A.
yaxdybda
B.
yaxxdayb
C.
dcbazyx
D.
xyzabcd
QUESTION 25
Which of the following code segments will correctly add reverb
to a sound, as described in class? Assume snd is a numpy array
holding audio samples, the value of x is 1600, and the value of y
is .2.
A.
for i in range(x, len(snd)):
snd = (1-y) * snd + y
* snd[i-x]
B.
for i in range(x, len(snd)):
snd = y * snd + (1-y)
* snd[i-x]
C.
for i in range(x, len(snd)):
snd += x * y
D.
for i in range(len(snd)):
snd = snd + snd[i-x]
* x + y
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply