CS 33 S23 Final Trial by Fire

CS 33 S23 Final Trial by Fire

University

18 Qs

quiz-placeholder

Similar activities

Compilation Techniques (Final Exam Prep)

Compilation Techniques (Final Exam Prep)

University

15 Qs

Kuis Online 9 Arsitektur Komputer CEH4G3 Week 9

Kuis Online 9 Arsitektur Komputer CEH4G3 Week 9

University

15 Qs

AI and ML Introduction

AI and ML Introduction

University

20 Qs

COA Q2

COA Q2

University

15 Qs

Training Formulación de Proyectos

Training Formulación de Proyectos

University

20 Qs

DS UNIT-2 TEST-2

DS UNIT-2 TEST-2

University

13 Qs

Quiz Latihan Soal-Soal UAS Cloud Computing (Bagian 1)

Quiz Latihan Soal-Soal UAS Cloud Computing (Bagian 1)

1st Grade - University

20 Qs

Các thuật toán tô màu - Đồ họa

Các thuật toán tô màu - Đồ họa

University

21 Qs

CS 33 S23 Final Trial by Fire

CS 33 S23 Final Trial by Fire

Assessment

Quiz

Computers

University

Hard

Created by

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

Media Image

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)

  1. lw $t1, 0($t1)

  2. 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?