Assignment 1
Assignment 1
Ques 2: A software development firm is facing slow application performance and system
unresponsiveness during builds, especially when multiple applications are running simultaneously.
a) How can multiprogramming, multitasking, multithreading, and multiprocessing help
optimize resource utilization and resolve the performance issues in this scenario?
b) Recommend OS-level techniques (e.g., process scheduling, thread prioritization, virtual
memory) to improve system performance during heavy workloads. (3 marks)
Ques 3: For each of the following instructions, classify whether it is privileged or non-privileged.
Provide a brief explanation for your choice.
Modifying the system page tables (e.g., setting page table entries)
Performing an arithmetic addition operation (e.g., ADD AX, BX)
Accessing an I/O device register (e.g., reading a value from a port)
Switching from user mode to kernel mode (e.g., using a system call)
Changing the CPU's control registers (e.g., CR3 on x86 architecture)
Disabling system interrupts
Executing a system call to request resources from the OS (e.g., memory allocation)
Performing a conditional jump operation in a program
Writing data to the screen (e.g., using a print statement)
Initiating a context switch between processes
(2 marks)
a) Present a case to the management highlighting three key benefits of virtualization that
align with their business needs.
b) Explain how virtualization characteristics can provide competitive edge to their business
needs.
(2 marks)
a) What are the key differences in terms of architecture, performance, and use cases?
b) Which type would be more suitable for TechSolutions’ production environment and why?
c) How does the choice of hypervisor affect security in a virtualized environment?
d) What security measures should be implemented for both Type 1 and Type 2 hypervisors?
(5 marks)
a) What are the key features introduced by Intel VT-x and AMD-V that enhance
virtualization on x86 systems?
b) How do these technologies improve the performance and security of virtual machines
compared to software-only virtualization?
(5 marks)