100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 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









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

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

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

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
View profile
Follow You need to be logged in order to follow users or courses
Sold
349
Member since
3 year
Number of followers
208
Documents
18895
Last sold
2 days ago

3.9

50 reviews

5
27
4
6
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

Frequently asked questions