Search Header Logo

PCLP2 Lab 08 Recap

Authored by Anonymous Anonymous

Computers

University

Used 1+ times

PCLP2 Lab 08 Recap
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"The road to power is paved with hypocrisy... and casualties."

Frank Underwood, House of Cards

Jim Gordon, Batman Begins

Emperor Palpatine, Star Wars, the Last Jedi

Jean-Luc Picard, Star Trek: The Next Generation

2.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

What is the stack used for?

Local variables

Passing parameters to functions

Returning from function calls

Global Variables

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the effect of the following sequence: "sub esp, 20"

Place for 20 bytes is allocated on the stack

The stack is freed of 20 bytes

Place for 80 bytes is allocated on the stack

The stack is freed of 80 bytes

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the role of EBP?

It retains the beginning of the current stack

It retains the end of the current stack

It retains the last pushed element on the stack

It is a general-purpose register

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

True or False? The stack grows towards big addresses

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the effect of the following sequence? "push eax; push ebx; pop eax; pop ebx"

eax and ebx are swapped

eax and ebx remain the same

eax and ebx become 0

eax and ebx become undefined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"Men's hearts hold shadows darker than any tainted spirit."

Flemeth, Dragon Age: Origins

Paarthurnax, The Elder Scrolls: Skyrim

Zed, League of Legends

Sylvanas Windrunner, World of Warcraft, The Burning Crusade

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?