Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Computer Architecture Review Questions and answers verified to pass

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
02-04-2025
Written in
2024/2025

Computer Architecture Review Questions and answers verified to pass Data and instructions - correct answer In the Von-Neumann model, what 2 things can we store in memory? 1. Control unit (instruction register and program counter) 2. Processing unit (arithmetic logic unit and processor registers) - correct answer Name 2 components inside the cpu: A bus is a communication system that transfers data between components inside a computer - correct answer What is a bus? The stack grows down from high memory and the heap grows up from low memory, so they will never bump into each other - correct answer What direction does the stack grow? The stack is a last in first out data structure, it is managed closely by the cpu, every time a function declares a variable it is pushed to the top of the stack, when the program ends everything in the stack is freed - correct answer What is the stack used for? The heap is a region of memory that is not automatically managed for you: This means that to allocate mem you must use malloc() and calloc() and once you do it is your responsibility to use free() to de-allocate the mem when you are done - correct an

Show more Read less
Institution
Computer Architecture
Course
Computer Architecture

Content preview

Computer Architecture Review
Questions and answers verified to pass
Data and instructions - correct answer ✔In the Von-Neumann model, what 2
things can we store in memory?


1. Control unit (instruction register and program counter)


2. Processing unit (arithmetic logic unit and processor registers) - correct
answer ✔Name 2 components inside the cpu:


A bus is a communication system that transfers data between components
inside a computer - correct answer ✔What is a bus?


The stack grows down from high memory and the heap grows up from low
memory, so they will never bump into each other - correct answer ✔What
direction does the stack grow?


The stack is a last in first out data structure, it is managed closely by the cpu,
every time a function declares a variable it is pushed to the top of the stack,
when the program ends everything in the stack is freed - correct answer
✔What is the stack used for?


The heap is a region of memory that is not automatically managed for you:


This means that to allocate mem you must use malloc() and calloc() and once
you do it is your responsibility to use free() to de-allocate the mem when you
are done - correct answer ✔What is the heap used for?

, An activation record is another name for a stack frame, it's the data structure
that composes a call stack - correct answer ✔What is an activation record?


1. A control link
2. An access link - correct answer ✔Name 2 things in an activation record:


Representing negative numbers in computers - correct answer ✔What are
signed magnitude, one's compliment, and two's complement used to
represent?


Two's complement - correct answer ✔Which representation do modern
systems use?


Even though you still have two zeros (000 and 111), arithmetic computation
becomes easier - correct answer ✔What is one advantage of one's
compliment over signed magnitude?


It still uses two zeros - correct answer ✔What is a disadvantage of one's
complement?


1. Sign: 1st bit determines positive/negative
2. Exponent: Next 8 bits indicate the exponent of the number
3. Mantisa: Last 23 bits used for the fraction - correct answer ✔What are the
3 parts of a floating point number in IEEE 754 notation?


Flip - correct answer ✔One's compliment


Flip + 1 - correct answer ✔Two's compliment

Written for

Institution
Computer Architecture
Course
Computer Architecture

Document information

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

Subjects

$15.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

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.
Academia199 Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
366
Member since
4 year
Number of followers
209
Documents
19757
Last sold
2 days ago

3.9

51 reviews

5
27
4
7
3
7
2
3
1
7

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions