%
% % Quiz title: Sample Quiz from Template %
% % Quiz description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tristique fermentum odio ut accumsan. Suspendisse sit amet lorem ut tellus vehicula rutrum. Integer nisi diam, tempus sed diam quis, suscipit interdum libero. Maecenas nec lacus maximus massa rhoncus hendrerit bibendum vitae ante. Sed et mauris dolor. Mauris non urna tellus. Vivamus ut lectus euismod, mattis libero non, aliquet est. Integer ut justo ut sapien tincidunt rutrum sed sed sapien. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Cras congue erat est, in molestie velit lobortis ac. Nulla nulla erat, egestas vel eleifend at, tincidunt sit amet massa.
Nunc at elit urna. Nullam vitae varius quam. Vivamus vitae risus metus. Donec lorem libero, pharetra ac feugiat elementum, tristique vel libero. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Mauris auctor cursus fermentum. Donec faucibus nulla elementum, vehicula augue at, commodo nisi. Aliquam eu tellus erat. Phasellus ultrices luctus libero quis ultrices. Phasellus sapien nisl, aliquam eget leo eu, faucibus rhoncus nulla. %
% % Shuffle answers: true Show correct answers: true One question at a time: true Can't go back: true %
%
% % % Title: Multi-choices question % Points: 2 % % Q. What is 2+3?
Think about the addition example we had learned previously
% ... General question feedback. (For example, "continue to next question")
- Feedback for correct answer. (For example, "congratulations" ) ~ Feedback for incorrect answer. (For example, "try next time" ) % % a) 6 ... Feedback for this particular answer.(For example, "should be smaller" ) b) 1 ... Feedback for this particular answer.(For example, "should be larger ") % *c) 5 ... Feedback for this particular answer.(For example, "congratulations" ) %
% Title: Multi-answers question Points: 1 Q. Which of the following are dinosaurs? % [ ] Woolly mammoth [] Tyrannosaurus rex [] Triceratops [ ] Smilodon fatalis %
% Text title: Instructions about the next questions Text: General comments about the next questions. %
% Title: Numerical question 1 Points: 3 Q. What is the square root of 2? % % = 1.4142 +- 0.0001
Title: Numerical question 2 Points: 3 Q. What is the cube root of 2? % = [1.2598, 1.2600]
Title: Numerical question 3 Points: 3 Q. What is 2+4? (dup?) % = 6 %
% Title: Short-answer (fill-in-the-blank) questions Points: 3 Q. Who lives at the North Pole? % <> Santa <> Santa Claus <> Father Christmas <> Saint Nicholas <> Saint Nick %
% Title: (Essay questions) Points: 10 Q. Write an essay. % %
%
% Title: (File Upload) Points: 10 Q. Upload a file. % % ^^^^ %
% Title: Fill in multiple blanks Points: 10 Q. In the box below, every place you want to show an answer box, type a reference word (no spaces) surrounded by brackets(i.e. "Roses are [color1], violets are [color2]") % <> [color1] red <> [color1] RED <> [color1] Red <> [color2] BLUE %
% Title: Cache and Memory (Multiple dropdown example) Points: 10 Q. Consider a word-addressable (1 word = 4 bytes) computer with a main memory of 16 MB (2^24). The cache is capable of storing a total of 128 B of data and a block size of 16 bytes.
The physical memory address is [Addr_len] bits.
As a 4-way set associative cache:
-
the tag is [tag] bits
-
the set index is [set] bits
-
the block offset is [offset] bits
What is the lowest address in the cache block, when the address 0x17634E is brought into the cache? [lowest_address]
% % {} [Addr_len] 22 { } [Addr_len] 24 { } [Addr_len] 23 { } [Addr_len] 26 {} [tag] 19 { } [tag] 20 { } [tag] 21 { } [tag] 22 { } [tag] 28 {} [set] 1 { } [set] 0 { } [set] 2 { } [set] 3 { } [set] 4 { } [offset] 1 { } [offset] 0 {} [offset] 2 { } [offset] 3 { } [offset] 4 { } [offset] 5 { } [lowest_address] 0x17634E {*} [lowest_address] 0x17634C { } [lowest_address] 0x01053F { } [lowest_address] 0x010538 %
%
Title: Test
Points: 1
Q. Implement the function compute() in MIPS assembly language)
Functions process1(), process2() and process3() are functions that your compute() function must call.
Your code must implement the register conventions taught in class.
%
int compute(int a, int b) {
(int x, int y) = process1(b, a);
int z = process2(y, b);
return process3(x, y, z, a);
}
Upload a SINGLE IMAGE of your written code or a txt/asm file ^^^ %
% % GROUP % pick: 2 points per question: 3
% Title: Test1 Q. A question. *a) true b) false
Title: Test2 Q. A question. a) true *b) false
Q. Which of the following are cloud service providers? [ ] EVGA [] Azure [] AWS [ ] LG
Q. What is the cube root of 3? = [1.4420, 1.4425] END_GROUP %
