PCLP2 Lab 08 Recap

PCLP2 Lab 08 Recap

University

7 Qs

quiz-placeholder

Similar activities

Dynamic Allocation

Dynamic Allocation

University

8 Qs

Easy Round - WMSU ICpeP Quizbowl 2021

Easy Round - WMSU ICpeP Quizbowl 2021

University

10 Qs

PDS - 04225  Intro to Data Structures and Algorithms - Chapter 2

PDS - 04225 Intro to Data Structures and Algorithms - Chapter 2

University

10 Qs

Core Java Quiz

Core Java Quiz

University

10 Qs

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

assemblyLanguageChap2

assemblyLanguageChap2

University

10 Qs

FCPC - COMPORG - MAct3

FCPC - COMPORG - MAct3

University

10 Qs

Python-Matrix-Reloaded-Workshop

Python-Matrix-Reloaded-Workshop

University

10 Qs

PCLP2 Lab 08 Recap

PCLP2 Lab 08 Recap

Assessment

Quiz

Computers

University

Hard

Created by

Anonymous Anonymous

Used 1+ times

FREE Resource

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