XII C.Sc 1(MNR) 2(Hill)
XII C.Sc 1(MNR) 2(Hill)
XII C.Sc 1(MNR) 2(Hill)
Operating System
Bubble chart of Functions of operating system
1|Page
Bubble chart of types of operating system
https://www.msn.com/en-xl/feed?ocid=winp1taskbar&cvid=d176171ee4174509bbc8e6f39cafc8c1&ei=13
2|Page
3|Page
Topic wise Mcqs
1. The development of operating system has started since_________
a) Disk operating system b) double operating system c) Doctor of system d) none of these
3. RD command used for_____
4|Page
a) October 2009 b) October 2014 c) October 2015 d) march 2012
7. Unix was first developed in ________
9. _____ management is that function of OS in which it deals with running multiple processes on a single computer
13 __________ means that the process actually using the CPU at that particular time
.
a) new state b) Running state c) Blocked state d) Ready state
16 A Process is said to be in _______ if it is waiting for some external event which has not yet been occurred.
.
a) start state b) ready state c) blocked state d) terminating state
5|Page
a) System software b) Operating system c) Utility software d) Application software
20 A _______ is an OS that manages a group of independent computers and makes them appear to user as single
. computer.
24 _______ are those operating systems which give quick response to users request without any delay.
.
a) Real time OS b) multiprocessor OS c) Parallel processing OS d) distributed OS
27 In _________ OS, if the deadlines are missed by some amount of time still they are acceptable.
.
a) soft-real time b) hard-real time c) symmetric d) Asymmetric
6|Page
Q1.How does a real-time operating system (RTOS) ensure timely processing of tasks in a robotics
application?
Answer: An RTOS prioritizes tasks based on urgency and deadlines, using scheduling algorithms that
guarantee high-priority tasks are executed within a defined time frame. This is crucial for robotics, where
timely responses to sensor data can be the difference between success and failure.
Question:2
In a multi-user environment, how does an operating system manage resource allocation to ensure fair
access for all users?
Answer: The OS employs process scheduling algorithms to manage CPU time and employs mechanisms like
quotas or priority levels to manage memory and I/O resources. This prevents resource starvation and
ensures that all users can perform tasks without significant delays..
Question:3
In what ways does an embedded operating system differ from a desktop operating system in terms of
design and functionality?
Answer: An embedded OS is designed for specific hardware and applications, prioritizing efficiency and low
resource usage, while a desktop OS is general-purpose with a broader range of functionalities. Embedded
systems often have real-time constraints, while desktop OSs focus on user interface and multitasking
capabilities.
Question:4
Answer: The OS enhances security by implementing user authentication, access controls, and process
isolation. By ensuring that processes operate in their own memory space and cannot interfere with each
other, it minimizes the risk of unauthorized access and data breaches.
Question:5
7|Page
Describe how a mobile operating system manages power consumption differently from a traditional
desktop operating system.
Answer: Mobile operating systems employ strategies like aggressive power-saving modes, dynamic
frequency scaling, and app lifecycle management to reduce power consumption. Unlike desktop OSs, which
prioritize performance, mobile OSs are optimized for battery life and efficient resource use to extend device
usability.
Question: 6
How does the choice of operating system affect software compatibility in a development environment?
Answer: Different operating systems have distinct APIs, libraries, and system calls, which can lead to
compatibility issues. Developers must consider the target OS's architecture and supported languages when
creating software to ensure it functions correctly across platforms.
Question: 7
How does a distributed operating system enhance the performance and reliability of applications
compared to a centralized operating system?
Answer: A distributed OS allows multiple computers to work together as a single coherent system,
providing greater processing power and redundancy. By distributing tasks across various nodes, it can
balance loads, provide fault tolerance, and improve reliability, making it ideal for applications requiring high
availability and scalability
Question: How does Windows manage user accounts and what features support user security in a multi-
user environment?
Answer: Windows uses User Account Control (UAC) to manage permissions, allowing users to operate with
standard privileges while elevating rights for administrative tasks when needed. Features like password
policies, account lockout, and BitLocker encryption enhance security in a multi-user setup.
Question: In what ways does macOS leverage its UNIX-based architecture for application development
and system stability?
Answer: macOS provides a robust UNIX environment that supports POSIX-compliant applications, making it
easier for developers to create cross-platform software. Its stability comes from features like process
isolation and efficient memory management inherent in UNIX systems, reducing system crashes.
8|Page
Question: How does Linux's open-source nature benefit enterprises compared to proprietary operating
systems like Windows?
Answer: Linux's open-source nature allows enterprises to customize the OS to fit their specific needs,
reducing licensing costs and increasing flexibility. Additionally, the active community provides regular
updates and security patches, which can enhance reliability and security without vendor lock-in.
Question: What advantages does Android offer for mobile application development compared to iOS?
Answer: Android's open-source framework allows for greater customization and access to a wider range of
hardware, encouraging diverse app development. Additionally, its larger market share enables developers
to reach a broader audience, although they must also consider the fragmentation across different device
manufacturers.
Question: How does the file system used by Windows affect data management and retrieval
performance?
Answer: Windows primarily uses NTFS, which supports large file sizes, file permissions, and journaling for
data integrity. These features enhance performance in data retrieval and management, especially for
applications requiring quick access to large datasets, while also providing robust security and recovery
options.
Question: In what ways does the user interface design of macOS contribute to productivity for creative
professionals?
Answer: macOS features a streamlined, intuitive user interface with tools like Mission Control and Split
View, allowing users to manage multiple applications effectively. Its seamless integration with creative
software (like Final Cut Pro and Logic Pro) enhances workflow efficiency for professionals in design, audio,
and video production.
Question: How does the command-line interface in Linux provide advantages for system administrators
compared to graphical user interfaces?
Answer: The command-line interface (CLI) in Linux allows for faster execution of tasks, automation through
scripting, and the ability to perform complex operations that may not be easily accessible via a graphical
user interface (GUI). This efficiency is crucial for system administrators managing servers and networks.
9|Page
Question: What role does virtualization play in Windows Server environments, and how does it enhance
resource management?
Answer: Windows Server includes Hyper-V, a built-in virtualization platform that allows multiple virtual
machines to run on a single physical server. This enhances resource management by improving hardware
utilization, enabling easy scalability, and simplifying backup and disaster recovery processes.
Question: How does the use of package managers in Linux distributions streamline software installation
and updates?
Answer: Package managers automate the process of installing, updating, and removing software by
resolving dependencies and fetching the latest versions from repositories. This simplifies software
management for users, ensuring that their systems remain up-to-date and reducing the risk of compatibility
issues.
Question: In what way does the integration of cloud services in Windows 10 enhance user experience and
data accessibility?
Answer: Windows 10 integrates seamlessly with cloud services like OneDrive, enabling users to store and
access files from anywhere. This enhances collaboration, as files can be easily shared and edited in real-
time. It also ensures data backup and recovery options, improving overall user experience and security.
Multiprogramming
Definition: Multiprogramming is the ability of an operating system to execute multiple programs
simultaneously. The OS manages multiple processes in memory, switching between them to maximize CPU
usage.
Process Level: It involves multiple processes, where each process has its own memory space and resources.
Context Switching: The OS performs context switching between processes, which involves saving and
loading process states, and can be relatively expensive in terms of performance.
Resource Allocation: Each process has its own resources (e.g., memory, file handles). The OS allocates
these resources to ensure that processes do not interfere with each other.
10 | P a g
e
Overhead: There is generally more overhead in terms of memory and CPU time due to managing multiple
processes and their states.
Multithreading
Definition: Multithreading is the ability of a program to execute multiple threads concurrently. Threads are
lightweight and share the same memory space within a single process.
Thread Level: It operates at the thread level, allowing multiple threads within a single process to run
concurrently.
Context Switching: Context switching between threads is generally faster and less resource-intensive than
switching between processes, as threads share the same memory and resources.
Resource Sharing: Threads within the same process can easily share data and resources, making
communication between them more efficient.
Overhead: There’s typically less overhead involved compared to multiprogramming, making multithreading
more efficient for tasks that require frequent communication or data sharing.
Description: Processes are collected in batches and executed sequentially without user
interaction.
Example: Early mainframe systems like IBM's OS/360.
Description: Multiple users can access the system simultaneously through time-sharing. The
CPU time is divided among active users.
Example: UNIX, Linux.
Description: Manages a group of distinct computers and makes them appear to users as a
single coherent system.
Example: Google’s Android, Microsoft Windows Server.
Description: Designed to operate on embedded systems with limited resources and specific
functions.
Example: FreeRTOS, embedded Linux.
Description: Specifically designed for mobile devices, focusing on touch interfaces and
mobile connectivity.
Example: Android, iOS.
Description: Allow multiple processes to run concurrently, switching between them to give
the appearance of simultaneous execution.
Example: Windows, macOS.
Single-user: Designed for one user at a time (e.g., most desktop OS like Windows and
macOS).
Multi-user: Allows multiple users to access the system simultaneously (e.g., UNIX, Linux).
GUI: Uses graphical elements for user interaction (e.g., Windows, macOS).
CLI: Requires text-based commands (e.g., Linux terminal, DOS).
12 | P a g
e
Computer Science F.Sc-II
Unit-2
i. The requirements which define the function of a software system are called
functional
requirements.
ii. All the activities that make a software system available for use is known as
software deployment.
iii. The person who is familiar with a variety of programming languages,
operating systems and computer hardware is known as system analyst.
iv. A software tester is basically a programmer having a specialty in testing the
computer programs.
v. A project manager is a professional in the field of project
management.
Q.2 Select the correct choice for the following Multiple Choice Questions.
iii. Enhancements, upgradation and bugs fixation are done during the
step in the SDLC.
a) Maintenance and Evaluation
b)Problem Identification
c)Design
d)Development and Documentation
13 | P a g
e
iv. The determines whether the project should go forward. a)
Feasibility b) Problem identification
c) System evaluation
d) Program specification
v. spend most of their time in the beginning stages of the SDLC,
talking with endusers, gathering requirements, documenting systems
and proposing solutions. a) Project managers b)System analysts
c) Network engineers
d) Database administrators
vi. The entities having a positive or negative influence in the project
completion are known as .
a)Stakeholders
b)Stake supervisors
c)Stake owners
d)None of the above
vii. System maintenance is performed in response to
a)Business changes
b)Hardware and software changes
c)User's requests for additional features d All of the above
Q.4 Define software development life cycle (SDLC). What are its objectives?
If a business determines a change is needed during any phase of the SDLC, the
company might have to proceed through all the above life cycle phases again. The
life cycle approach of any project is a timeconsuming process. Even though some
steps are more difficult than others, none are to be overlooked. An oversight could
prevent the entire system from functioning as planned.
Objectives of SDLC
A System
15 | P a g
e
System is a broad and a general term, and as per to Wikipedia; “A system is a set of
interacting or interdependent components forming an integrated whole” it’s a term
that can be used in different
industries, therefore system/software development life cycle is a limited term that
explains the phases of creating a software component that integrates with other
software components to create the whole system.
Testing
If a business determines a change is needed during any phase of the SDLC, the
company might have to proceed through all the above life cycle phases again. The
life cycle approach of any project is a timeconsuming process. Even though some
steps are more difficult than others, none are to be overlooked. An oversight could
prevent the entire system from functioning as planned.
Stakeholders of SDLC:
This phase formally defines the detailed functional user requirements using high-
level requirements identified in the Initiation and Feasibility Phases. The
requirements are defined in this phase to a level of detail sufficient for systems
design to proceed. They need to be measurable, testable, and relate to the business
need or opportunity identified in the Initiation phase. OR
The phase is where businesses will work on the source of their problem or the need
for a change. In the event of a problem, possible solutions are submitted and
analyzed to identify the best fit for the ultimate goal(s) of the project. This is where
teams consider the functional requirements of the project or solution. It is also
where system analysis takes place—or analyzing the needs of the end users to
ensure the new system can meet their expectations. Systems analysis is vital in
determining what a business’s needs are, as well as how they can be met, who will
be responsible for individual pieces of the project, and what sort of timeline should
17 | P a g
e
be expected.
Functional Requirement
Functional software requirements help you to capture the intended behavior of the
system. This behavior may be expressed as functions, services or tasks or which
system is required to perform.
Examples of Functional Requirements
18 | P a g
e
Examples of Non-functional requirements
19 | P a g
e
What it is Verb Attributes
Requirement It is mandatory It is non-mandatory
It is captured in use
Capturing type It is captured as a quality attribute.
case.
End-result Product feature Product properties
Capturing Easy to capture Hard to capture
20 | P a g
e
21 | P a g
e