Ace - AI Tutor
Ask Our Educators
Textbooks
My Library
Flashcards
Scribe - AI Notes
Notes & Exams
Download App
thomas brown

thomas b.

Divider

Questions asked

BEST MATCH

In the South, poultry is especially associated with what state? O Florida O Virginia O Texas O Georgia O Delaware

View Answer
divider
BEST MATCH

5) Suppose we wish to create a binary heap containing the keys: DATASTRUCT URE. (All comparisons use alphabetical order). [5M] a. Show the resulting min-heap if we build it using successive insert operations (starting from D). b. Show the resulting min-heap, if we build it using bottom up heap.

View Answer
divider
BEST MATCH

Choose all that are common symptoms of Parkinson disease. ? Slurred speech ? Deafness ? Progressive loss of motor function ? Change in gait; smaller and slower steps

View Answer
divider
BEST MATCH

When bond prices fall, interest rates a. do not change b. rise c. fall d. change, but the direction cannot be determined e. become inverted

View Answer
divider
BEST MATCH

Jason, the scientist, tries to figure out the relationship between the temperature and the reaction rate for H2 and 02. He knows the relationship (a.k.a, reaction function) is K = a * T<sup>b</sup> * e<sup>-c/T</sup>, K is the reaction rate, T is the temperature He decides to use gradient descent to find out the value for a, b and c. Jason gathers all past lab results, 10,000 records in total. Each record has the format of (T, K', Ku) where K' is the reaction rate measured in the lab test and Ku is the uncertainty of K'. Jason uses the loss function below. \begin{equation} L (T, a, b, c) = \frac{1}{20000} \sum \left(\frac{K(T, a, b, c) - K'}{K_u}\right)^2 \end{equation} K(T,a,b,c) is the value calculated by the reaction function. K' is the reaction rate measured in a lab result. Ku is the uncertainty of K' 1.1 (3 pts) You can assume the learning rates for a, b and c are La, Lb and Lc respectively. Write the update functions for parameter a, b and c for the process of gradient descent. Please explain why. 1.2 (3 pts) Jason knows that the approximate values of a, b and c, which are 10<sup>-10</sup>, -0.1 and 60. The range of temperature for the lab results is [300, 2000]. $\frac{K_u}{K}$ is approximately 10%. Please choose the initial values for the learning rates La, Lb and Lc. Explain why. 1.3 (1pt) Jason finds that if he choose different initial values of a, b and c, he often gets different final results. Please explain why.

View Answer
divider
BEST MATCH

x(t) 6 4 2 0 -2 -4 -6 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 Time (sec)

View Answer
divider
BEST MATCH

Problem 1 (35 points) Based on the AVR code given below, answer the questions that follows: // Problem 1 #define F_CPU 8000000UL #include <avr/io.h> #include <avr/interrupts.h> int time_entr = 0; int main () { TCCR0=0x03; TCNT0=0x00; DDRB=0xFF; while (1) {}; } ISR (TIMERO_OVF_vect) { TCNT0 = 6; if (time_entr++ == 500) { PORTB = PORTB ^ 0x10; time_entr = 0; } } 1. What is the prescalar value and, as a result of this value, what clock signal (specify in Hz) gets applied to Timer0? 2. After how many seconds the Timer 0 interrupt occurs? Explain your answer. 3. What is the frequency of waveform generated at Port B pin 4? Show calculations. 4. Achieve the same task (by re-writing the program) by using the polling method. [5 points] [5 points] [10 points] [15 points]

View Answer
divider
BEST MATCH

= CO2 + Ar Mg X Ar COOH Ar CHOH Ar COONH2 Aldehydes may be prepared by oxidation of primery alcohols T F By heating Carboxylic acid with primary or secondary alcohol in presence of small amount of ametalic acid, an ester and water will formed Esters Carboxylic acid Alcohol

View Answer
divider
BEST MATCH

Given: Computer A has an overall CPI of 1.3 and can be run at a clock rate of 600 MHz. Computer B has a CPI of 2.5 and can be run at a clock rate of 500 MHz. We have to find the number of instructions the program would need to have when compiled for Computer B in order for the two computers to have exactly the same execution time for this program. Part 1: How many instructions would the program need to have when compiled for Computer B in order for the two computers to have exactly the same execution time for this program? a) 41600 instructions b) 65000 instructions c) 50000 instructions d) 42000 instructions e) 162500 instructions f) 125000 instructions g) 240000 instructions h) 80000 instructions Answer 1: (Note: Indicate ONLY the LETTER corresponding to your choice) Part 2: Calculate the MIPS ratings for Computer A and Computer B, given the condition in Partial Credit 1) a) A:MIPS=600, B:MIPS=750 b) A:MIPS=600000, B:MIPS=750000 c) A:MIPS=600000000, B:MIPS=750000000 d) A:MIPS=461000, B:MIPS=300000 e) A:MIPS=461, B:MIPS=200 f) A:MIPS=461000000, B:MIPS=300000000 Answer 2: (Note: Indicate ONLY the LETTER corresponding to your choice)

View Answer
divider
BEST MATCH

Q1 (20 points) IEEE Binary Floating Point System. Suppose in a specific IEEE format, the width of the exponent field is 5 and the width of the fraction field is 5. (a) (2 points) What are the smallest positive subnormal and normal floating point numbers? (b) (2 points) Give the values of machine precision and machine epsilon. (c) (2 points) What are the smallest gap and largest gap between two consecutive finite floating point numbers? (d) (3 points) What is the smallest positive integer that is not exactly representable by this IEEE floating point format? (e) (5 points) Let a real number $x = (1.b_1b_2b_3b_4b_5b_6...)_2 \times 2^E$ be in the range of normal floating point numbers. What is the largest floating point number smaller than $x$ and what is the smallest floating point number larger than $x$? Show that for the rounding to nearest mode $\frac{|round(x) - x|}{|x|} \le \frac{1}{2} \epsilon$. (f) (3 points) Given two finite real numbers $a$ and $b$ with $a < b$, is it true that $round(a) \le round(b)$ for any rounding mode? Justify your answer. (g) (3 points) Suppose $x$ is any finite floating point number. Is it true that $x \oplus x = 2 \otimes x$ for any rounding mode? Either give a proof or a counter example.

View Answer
divider