CS 33 S23 Final Trial by Fire
Quiz
•
Computers
•
University
•
Hard

Jordan Lin
Used 13+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is hex 0xB6 in decimal?
182
163
192
136
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
A is an object of type foo. What does the memory at A look like when the following code is run?
00 00 00 00 64 44 01 02
01 02 00 00 00 00 00 00
02 01 c0 00 00 00 00 00
00 00 00 00 00 c0 01 02
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
For a floating point number, what would be an effect of allocating more bits to the exponent part by taking them from the fraction part?
You could represent fewer numbers, but they could be much larger.
You could represent the same numbers, but with more decimal places.
You could represent both larger and smaller numbers, but with less precision.
Some previously representable numbers would now round to infinity.
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these can prevent an ROP attack?
Set random values on the stack and check them to make sure they’re unchanged
Set stack as read-only by setting the correct bits in the process’s page table
Address space layout randomization– randomly move the starting address of the stack
Checking that the user input will not overwrite the amount of buffer space allocated for it
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is add %rsi, (%rax) in MIPS? Assume rsi == t0 and rax == t1.
add $t0, ($t1)
lw $t1, 0($t1)
add $t0, $t0, $t1
lw $t1, ($t0)
add $t1, $t0, $t1
add $t0, ($t1), $t0
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
When a program tries to access a page that is mapped in address space but not loaded in physical memory, then
Segmentation fault
Page fault
No issue - proceed as usual
Context switch
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the order in which preprocess flow happens?
Compile, Preprocess, Link
Compile, Link, Preprocess
Preprocess, Link, Compile
Preprocess, Compile, Link
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Auxiliar 03 - CC1002
Quiz
•
University
20 questions
UAS PLC
Quiz
•
University
14 questions
Unit Testing Quiz
Quiz
•
University
15 questions
Introduction to data structures
Quiz
•
University
13 questions
Idiomatic Python
Quiz
•
University
20 questions
EE1101 Chapter 7, 8 & 9 Quizzez 2024
Quiz
•
12th Grade - University
15 questions
Wide Area Network Technologies
Quiz
•
10th Grade - University
15 questions
PHA DAO NGANH CONG NGHIEP GAME
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University