COP4600 Exam 1 Questions With Correct
Answers
What pieces of hardware are in the CPU? - ANSWER✔✔✔-Registers,
| | | | | | | | | |
ALU, and control unit
| | |
Hardware which serves as the CPUs memory. There are special and
| | | | | | | | | | |
general purposed of these - ANSWER✔✔✔-Registers
| | | | |
Hardware which does arithmetic and logical computations -
| | | | | | | |
ANSWER✔✔✔-ALU
Hardware which tracks state/status. Also controls other components -
| | | | | | | | |
ANSWER✔✔✔-Control unit |
Instruction cycle responsible for loading the instruction -
| | | | | | | |
ANSWER✔✔✔-Fetch
Instruction cycle responsible for finding the opcode/operands of the
| | | | | | | | |
instruction and interpreting it - ANSWER✔✔✔-Decode
| | | | |
,Instruction cycle responsible for carrying out 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 boot process uses a dedicated bootloader partition? -
| | | | | | | | |
ANSWER✔✔✔-BIOS
Which boot process is usable on x86-64 (x64) standalone PCs? -
| | | | | | | | | | |
ANSWER✔✔✔-Both
Newer boot process - ANSWER✔✔✔-UEFI
| | | |
Which boot process simplifies diskless systems? - ANSWER✔✔✔-UEFI
| | | | | | |
What are the functions of an OS? - ANSWER✔✔✔-Loading programs
| | | | | | | | | |
onto machine, controlling I/O devices, managing resources (memory,
| | | | | | | |
CPU), multi-tasking execution, data protection (permissions), and task
| | | | | | | |
interaction (pipes, networking)
| |
Mode for directly manipulating hardware - ANSWER✔✔✔-Kernel mode
| | | | | | |
, T/F: No device is directly accessed without the kernel - ANSWER✔✔✔-
| | | | | | | | | |
True
T/F: Only system libraries can invoke system calls - ANSWER✔✔✔-False
| | | | | | | | |
T/F: The system call invokes code written by system developers, while a
| | | | | | | | | | | |
procedure call invokes code written by an application programmer -
| | | | | | | | | |
ANSWER✔✔✔-False
A running program is in ______ - ANSWER✔✔✔-Execution
| | | | | | |
When we run a program, we create a _________ for it - ANSWER✔✔✔-
| | | | | | | | | | | |
Process
Features of a process - ANSWER✔✔✔-Has some address space,
| | | | | | | | |
associated with specific resources, computational element/object, and
| | | | | | |
has one or more threads of execution
| | | | | |
When we make a _______, we add a stack frame to the call stack -
| | | | | | | | | | | | | | |
ANSWER✔✔✔-Procedure call |
Which pointer points to the beginning of the stack frame? -
| | | | | | | | | | |
ANSWER✔✔✔-Frame pointer |
Answers
What pieces of hardware are in the CPU? - ANSWER✔✔✔-Registers,
| | | | | | | | | |
ALU, and control unit
| | |
Hardware which serves as the CPUs memory. There are special and
| | | | | | | | | | |
general purposed of these - ANSWER✔✔✔-Registers
| | | | |
Hardware which does arithmetic and logical computations -
| | | | | | | |
ANSWER✔✔✔-ALU
Hardware which tracks state/status. Also controls other components -
| | | | | | | | |
ANSWER✔✔✔-Control unit |
Instruction cycle responsible for loading the instruction -
| | | | | | | |
ANSWER✔✔✔-Fetch
Instruction cycle responsible for finding the opcode/operands of the
| | | | | | | | |
instruction and interpreting it - ANSWER✔✔✔-Decode
| | | | |
,Instruction cycle responsible for carrying out 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 boot process uses a dedicated bootloader partition? -
| | | | | | | | |
ANSWER✔✔✔-BIOS
Which boot process is usable on x86-64 (x64) standalone PCs? -
| | | | | | | | | | |
ANSWER✔✔✔-Both
Newer boot process - ANSWER✔✔✔-UEFI
| | | |
Which boot process simplifies diskless systems? - ANSWER✔✔✔-UEFI
| | | | | | |
What are the functions of an OS? - ANSWER✔✔✔-Loading programs
| | | | | | | | | |
onto machine, controlling I/O devices, managing resources (memory,
| | | | | | | |
CPU), multi-tasking execution, data protection (permissions), and task
| | | | | | | |
interaction (pipes, networking)
| |
Mode for directly manipulating hardware - ANSWER✔✔✔-Kernel mode
| | | | | | |
, T/F: No device is directly accessed without the kernel - ANSWER✔✔✔-
| | | | | | | | | |
True
T/F: Only system libraries can invoke system calls - ANSWER✔✔✔-False
| | | | | | | | |
T/F: The system call invokes code written by system developers, while a
| | | | | | | | | | | |
procedure call invokes code written by an application programmer -
| | | | | | | | | |
ANSWER✔✔✔-False
A running program is in ______ - ANSWER✔✔✔-Execution
| | | | | | |
When we run a program, we create a _________ for it - ANSWER✔✔✔-
| | | | | | | | | | | |
Process
Features of a process - ANSWER✔✔✔-Has some address space,
| | | | | | | | |
associated with specific resources, computational element/object, and
| | | | | | |
has one or more threads of execution
| | | | | |
When we make a _______, we add a stack frame to the call stack -
| | | | | | | | | | | | | | |
ANSWER✔✔✔-Procedure call |
Which pointer points to the beginning of the stack frame? -
| | | | | | | | | | |
ANSWER✔✔✔-Frame pointer |