Author name: admin

What is the primary purpose of inter-process communication (IPC) in operating systems?

What is the primary purpose of inter-process communication (IPC) in operating systems? a) To allow processes to communicate with each other b) To provide hardware interrupts to the CPU c) To allocate memory to multiple processes d) To provide access control to system resources Answer: a) To allow processes to communicate with each other Explanation:

What is the primary purpose of inter-process communication (IPC) in operating systems? Read More »

What is the purpose of a process control block (PCB) in an operating system?

What is the purpose of a process control block (PCB) in an operating system? a) It stores the program counter and process state b) It manages user interactions with the system c) It handles file input/output operations d) It manages network connections Answer: a) It stores the program counter and process state Explanation: The Process

What is the purpose of a process control block (PCB) in an operating system? Read More »

Which of the following is a function of memory management in an operating system?

Which of the following is a function of memory management in an operating system? a) Allocating and deallocating memory to processes b) Managing system file permissions c) Establishing network connections d) Managing user interface Answer: a) Allocating and deallocating memory to processes Explanation: Memory management is a crucial function of an operating system that involves

Which of the following is a function of memory management in an operating system? Read More »

Which of the following is a non-preemptive scheduling algorithm?

Which of the following is a non-preemptive scheduling algorithm? a) Round-Robin b) Shortest Job Next (SJN) c) First-Come, First-Served (FCFS) d) Priority Scheduling Answer: c) First-Come, First-Served (FCFS) Explanation: First-Come, First-Served (FCFS) is a non-preemptive scheduling algorithm where the CPU executes processes in the order they arrive. Once a process starts executing, it runs to

Which of the following is a non-preemptive scheduling algorithm? Read More »

What is an Operating System?

What is an Operating System? a) A software that manages computer hardware and software resources b) A program that runs in the background c) A set of applications for performing tasks d) A hardware component Answer: a) A software that manages computer hardware and software resources Explanation: An Operating System (OS) is a system software

What is an Operating System? Read More »

What does git clone do?

What does git clone do? a) Copies a remote Git repository to your local machine b) Deletes a remote repository c) Merges a remote repository into the current branch d) Pushes changes to the remote repository Answer: a) Copies a remote Git repository to your local machine Explanation: The git clone command creates a copy

What does git clone do? Read More »

How do you fetch all remote branches without merging them into your local branches?

How do you fetch all remote branches without merging them into your local branches? a) git fetch b) git pull –no-merge c) git fetch –merge d) git clone –all Answer: a) git fetch Explanation: The git fetch command retrieves all remote branches, tags, and commits without merging them into your local branches. It updates your

How do you fetch all remote branches without merging them into your local branches? Read More »

Scroll to Top