
CS 33 S23 Final Trial by Fire
Authored by Jordan Lin
Computers
University
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
Round 1 ( RHA Learner Contest )
Quiz
•
University
15 questions
Unit 1 lesson 1
Quiz
•
University - Professi...
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
15 questions
Data Security Worksheet
Quiz
•
10th Grade - University
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
18 questions
CIS2303 Week 4_5 Ch_3
Quiz
•
University
20 questions
Software Engineering Quiz 1
Quiz
•
University
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University