¿Qué tiempo hace en Seattle?
Write the most appropriate adjective to fill in the blank. D…
Write the most appropriate adjective to fill in the blank. Do not use capital letters. Pay attention to spelling and make sure the adjective agrees with the noun it modifies. Baja Buena Rico Corta Largo Trabajadores Viejos Bonita Inteligentes Gran Malos Rubios Pequeños Tontas Generosas Mi profesora de español no es muy alta, ella es ____________.
Let’s assume that an SM has an execution width of 32 threads…
Let’s assume that an SM has an execution width of 32 threads and can accommodate 128 threads. Each instruction involves at most 2 read and 1 write register operations. How many minimum register read ports are needed to execute each instruction in one cycle, given that a register has 8 banks and 1 register read takes 1 cycle?
[CPU-OpenMP-question-step1: part b] Now choose the minimum a…
Now choose the minimum array size N that will allow the GPU to outperform the CPU. Choose the closest number. If two numbers are equally close, choose the larger number.
Using Amdahl’s Law, if an application has a 10% serial porti…
Using Amdahl’s Law, if an application has a 10% serial portion, how many processors are needed to achieve a 10x speedup? Choose the most closet answer.
Assuming that an integer (int) requires 4 bytes of memory, h…
Assuming that an integer (int) requires 4 bytes of memory, how much memory is leaked by the following code (i.e. how many bytes)? int x = 0;int* y = new int;y = new int;delete;y = &x;
A const class method protects:
A const class method protects:
Assuming this is our only source file, and there are no libr…
Assuming this is our only source file, and there are no libraries aside from the standard library, what type of error would result from compiling this code? #pragma once float comeAddMeBrah(int first, double second);void comeAddMeBrah(int first, float second){ first + second;}int main() { int indianaPi = 3; float theRest = 0.14159f; float result = comeAddMeBrah(indianaPi, theRest); }
Part 1: General Multiple Choice and Matching (23 Points)
Part 1: General Multiple Choice and Matching (23 Points)
You can do work on scratch paper. Label your work with the…
You can do work on scratch paper. Label your work with the problem number. After completing and submitting the exam, you should scan your work and submit it to the Midterm Upload #2 within 30 minutes. You are allowed two sheets of notes. Non-programmable calculator allowed. Good luck! Do not discuss this exam in any way with other students until Tuesday, 4/9/24