100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COSC 2325 Final Exam questions with verified answers A+ rated

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
13-12-2024
Written in
2024/2025

COSC 2325 Final Exam questions with verified answers A+ rated

Institution
Cosc
Course
Cosc









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Cosc
Course
Cosc

Document information

Uploaded on
December 13, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COSC 2325 Final Exam questions with
verified answers A+ rated

In a stack, the first value pushed on a stack is the last one to be removed. - correct answer ✔✔True



Stacks are known as FIFO (First In First Out) data structures. - correct answer ✔✔False



The runtime stack is managed by the processor using the EBP. - correct answer ✔✔False



The SS Stack Segment is associated with the ESP register. - correct answer ✔✔True



The EBP register points to the last value pushed on the runtime stack. - correct answer ✔✔False



The ESP register always points to the next available position (NAP) where a new value will be pushed on
the stack. - correct answer ✔✔False



The PUSH instruction copies a value from the stack to an operand before decrementing the stack pointer.
- correct answer ✔✔False



When a POP instruction executes, the ESP register is incremented after the value it points to is copied
from the stack. - correct answer ✔✔True



The RET instruction causes the hardware to put the return address pointed to by the ESP register on the
stack to the EIP. - correct answer ✔✔True



In 32-bit mode, immediate values pushed on the stack are always 32 bits long. - correct answer ✔✔True



The USES directive follows the PROC directive, all registers listed are saved and then restored before the
return. - correct answer ✔✔True

, The FPO Convention Model stands for Frame Pointer Overhead because it uses the ESP as the frame
pointer. - correct answer ✔✔False



In the 'C' (decl) Call Model, the called function (proc) is responsible for de-allocating (balancing) the stack
parameters. - correct answer ✔✔False



The StdCall Convention Model requires the calling function to not use local variables on the stack,
because it cannot know how to de-allocate those local stack variables. - correct answer ✔✔False



In the STD Call Model, the called function is responsible for balancing the stack before the RET. - correct
answer ✔✔True



A complete procedure definition occurring before an INVOKE directive serves as its own prototype. -
correct answer ✔✔True



Intel's CALL instruction, allows passing multiple arguments in the call statement. - correct answer
✔✔False



C++ passes to a function arguments on the stack in a left to right order. - correct answer ✔✔False



A Multimodule program is a program whose masm source code exists in separate ASM files that results
in separate object files. - correct answer ✔✔True



For all 3 of the Call Models on an Intel system, the EAX register is used to return to C++ the by function
name value. - correct answer ✔✔True



The letter S in the commands known as the string commands (MOVSX) actually stands for Sequence. -
correct answer ✔✔True



A sequence or string is a non-contigous area in memory. - correct answer ✔✔False

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BravelRadon Havard School
View profile
Follow You need to be logged in order to follow users or courses
Sold
873
Member since
4 year
Number of followers
540
Documents
41495
Last sold
4 days ago
EXAM HUB

Welcome to Exam Hub Are you looking for high-quality, exam-ready notes, past papers, Test Banks, and well-researched study materials to boost your grades? You’re in the right place! I create and upload detailed, easy-to-understand, and well-structured documents across multiple subjects. All my materials are designed to help you study , save time, and excel in your coursework and exams! On this page NURSING EXAMS,STUDY GUIDES,TESTBANKS AND QUALITY EXAMS IS THE KEY TO STUDENTS CAREER EXCELLENCE, you find all documents, package deals, and flashcards offered by BravelRadon (EXAM HUB STORES!)....kindly recommend a friend for A+ GARANTEEd either you are a first-year student or final-year graduation! best of luck!

Read more Read less
3.5

154 reviews

5
56
4
30
3
32
2
8
1
28

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions