COP 4600 EXAM 1 QUESTIONS AND ANSWERS 100% CORRECT
What hardware components does a CPU comprises? - ANSWER Registers, ALU, and
control unit
Hardware that serves as the memory for the CPU. These are used for special and
general purposes - ANSWER Registers
Hardware that does arithmetic and performs logical calculations - ANSWER ALU
Hardware that maintains state/status. Also, responsible for controlling other
components - ANSWER Control unit
Instruction cycle in charge of loading the instruction - ANSWER Fetch
Instruction cycle responsible for determining the opcode/operands of the instruction
and interpreting it - ANSWER Decode
Instruction cycle responsible for executing the instruction - ANSWER Execute
Protected instructions can only be executed in a ____________ - ANSWER Protected state
Legacy boot process - ANSWER BIOS
What does BIOS stand for? - ANSWER Binary Input Output System
The ________ bootstraps the boot sector - ANSWER Bootloader
,What does bootstrap mean? - ANSWER Loading up the computer
Why are the bootsector and bootloader separate? - ANSWER Bootsector is too small
Where is the BIOS init stored? - ANSWER The motherboard
What boot process is usable on x86-64 (i386) standalone PCs? - ANSWER BIOS
What boot process has standard for ARM chipset systems? - ANSWER Neither
Which boot process has standardized NVRAM locations for system variables? -
ANSWER UEFI
Which of the following boot process uses a dedicated bootloader partition? - ANSWER
BIOS
Which of the following boot process isusable with x86-64 (x64) stand-alone PCs? -
ANSWER Both
Newer boot process - ANSWER UEFI
Which of the following boot process makes diskless systems easier? - ANSWER UEFI
Name some of the functions of an OS. - ANSWER Loading programs onto machine,
controlling I/O devices, managing resources memory and CPU, multi-tasking execution,
data protection - permissions and task interaction - pipes, networking
Operating mode for kernel's direct manipulation of hardware - ANSWER Kernel mode
, T/F: None of the devices is directly accessed w/o the kernel - ANSWER True
T/F: System calls can be invoked only by system libraries - ANSWER False
T/F: A system call invokes a code written by system developers, whereas a procedure
call invokes code written by an application programmer - ANSWER False
A running program is in _____ - ANSWER Execution
When a program is executed we create for that program a _________ - ANSWER Process
Features of a process - ANSWER Has some address space, associated with particular
resources, computational element/ object and has at least one thread of execution
When we make a _______, we add on the call stack a stack frame - ANSWER Procedure
call
Which pointer points to the start of the stack frame? - ANSWER Frame pointer
Which pointer points at the start of the call stack? ANSWER Stack pointer
A _________ entails a switch into kernel mode for execution ANSWER System call
Invocation of a system call causes a what? ANSWER Kernel trap
What must be stored in a kernel trap? ANSWER Current address, registers, etc
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Easton. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.99. You're not tied to anything after your purchase.