-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathos.html
More file actions
330 lines (277 loc) · 18.3 KB
/
os.html
File metadata and controls
330 lines (277 loc) · 18.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
<!DOCTYPE HTML>
<!--
Caminar by TEMPLATED
templated.co @templatedco
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
-->
<html>
<head>
<title>DataCode</title>
<!-- Required meta tags -->
<meta keyword="datacode,data-science,Programming,python,developers,tcsupdated,TCS NQT,TCS ninja">
<meta description="Datacode is Technical Education Site for Programers and developers">
<meta link="https://www.datacamp.com/home">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/all.min.css" />
<link rel="stylesheet" href="https://shrikant9907.github.io/webstyle/webstyle.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/responsive.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="assets2/css/main.css" />
</head>
<style>
.topnav {
overflow: hidden;
background-color: #333;
margin-top:-117px;
}
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
margin-top:15px;
}
.active {
background-color: #333;
color: white;
}
.topnav .icon {
display: none;
}
.topnav a:hover, .dropdown:hover .dropbtn {
background-color: #555;
color: white;
}
@media screen and (max-width: 600px) {
.topnav a:not(:first-child), .dropdown .dropbtn {
display: none;
}
.topnav a.icon {
float: right;
display: block;
}
}
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
.topnav.responsive .dropdown {float: none;}
.topnav.responsive .dropdown-content {position: relative;}
.topnav.responsive .dropdown .dropbtn {
display: block;
width: 100%;
text-align: left;
}
}
</style>
<body style="background-color: white ">
<header style="background-color:black" id="main_header" class="fixed-top">
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="site_logo">
<a class="d-block line_height_0" href="index.html"> <span class="logo_text p_t_10 text-white"><strong style="color:#fff">DATA</strong>CODE</span>
</a>
</div>
</div>
<div class="col-md-9 text-right header_mobile_control">
<div class="header_menus">
<nav class="navbar navbar-expand-lg">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"><i class="fas fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown" style="margin-right:-80px">
<ul class="navbar-nav" >
<li class="nav-item" > <a class="nav-link" href="index.html" style="text-decoration: none">Home</a>
</li>
<li class="nav-item"> <a class="nav-link" href="index.html" style="text-decoration: none">About</a>
</li>
<li class="nav-item dropdown "> <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/tutorials" role="button" aria-haspopup="true" aria-expanded="false" style="text-decoration: none">Languages</a>
<div class="dropdown-menu"> <a class="dropdown-item" href="codingquestionswithsolution.html">C</a>
<a class="dropdown-item" href="index.html">C++</a>
<a class="dropdown-item" href="index.html">Java</a>
<a class="dropdown-item" href="index.html">Python</a>
<a class="dropdown-item" href="index.html">JavaScript</a>
<a class="dropdown-item" href="index.html">Html & Css</a>
</div>
</li>
<li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="index.html" role="button" aria-haspopup="true" aria-expanded="false" style="text-decoration: none">Technologies</a>
<div class="dropdown-menu"> <a class="dropdown-item" href="index.html">Latest Technology</a>
<a class="dropdown-item" href="index.html">Machine Learning</a>
<a class="dropdown-item" href="index.html">Data Science</a>
</div>
</li>
<li class="nav-item"> <a class="nav-link" href="newarticle.html" style="text-decoration: none">Articles</a>
</li>
<li class="nav-item"> <a class="nav-link" href="events.html" style="text-decoration: none">Events</a>
</li>
<li class="nav-item"> <a class="nav-link" href="form.html" style="text-decoration: none">Sign in</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
</header>
<!-- Header-->
<!-- Main -->
<section id="main">
<div class="inner">
<!-- One -->
<section id="one" class="wrapper style1">
<div class="image fit flush">
<img src="images/articles.jpeg" alt="" />
</div>
<header class="special">
<h2>Tasks Performed by an Operating System</h2>
</header>
<div class="content" style="margin-top:-95px">
<p style="color:#333">More recently, operating systems have started to pop up in smaller computers as well. If you like to tinker with electronic devices, you're probably pleased that operating systems can now be found on many of the devices we use every day, from cell phones to wireless access points. The computers used in these little devices have gotten so powerful that they can now actually run an operating system and applications. The computer in a typical modern cell phone is now more powerful than a desktop computer from 20 years ago, so this progression makes sense and is a natural development.
<br>
<br>
The purpose of an operating system is to organize and control hardware and software so that the device it lives in behaves in a flexible but predictable way. In this article, we'll tell you what a piece of software must do to be called an operating system, show you how the operating system in your desktop computer works and give you some examples of how to take control of the other operating systems around you.
<br>
<br>
For other devices, an operating system creates the ability to:
<ul>
<li>serve a variety of purposes</li>
<li>interact with users in more complicated ways</li>
<li>keep up with needs that change over time</li>
</ul>
<br>
<br>
For a desktop computer user, this means you can add a new security update, system patch, new application or even an entirely new operating system rather than junk your computer and start again with a new one when you need to make a change. As long as you understand how an operating system works and how to get at it, in many cases you can change some of the ways it behaves. The same thing goes for your phone, too.
Regardless of what device an operating system runs, what exactly can it do?
<br>
<br>
The operating system's tasks, in the most general sense, fall into five categories:
<ol>
<li>Processor management</li>
<li>Memory management</li>
<li>Device management</li>
<li>Storage management</li>
<li>Application interface</li>
</ol>
<br>
<br>
<strong>Process management</strong> involves various tasks like creation, scheduling, termination of processes, and a deadlock. Process is a program that is under execution, which is an important part of modern-day operating systems. The OS must allocate resources that enable processes to share and exchange information. It also protects the resources of each process from other methods and allows synchronization among processes.
It is the job of the OS to manage all the running processes of the system. It handles operations by performing tasks like process scheduling and such as resource allocation.
<br>
<br>
<strong>Memory management</strong> is the functionality of an operating system which handles or manages primary memory and moves processes back and forth between main memory and disk during execution. Memory management keeps track of each and every memory location, regardless of either it is allocated to some process or it is free. It checks how much memory is to be allocated to processes. It decides which process will get memory at what time. It tracks whenever some memory gets freed or unallocated and correspondingly it updates the status.
<br>
<br>
<strong>Device Management</strong> is another important function of the operating system. Device management is responsible for managing all the hardware devices of the computer system. It may also include the management of the storage device as well as the management of all the input and output devices of the computer system. It is the responsibility of the operating system to keep track of the status of all the devices in the computer system. The status of any computing devices, internal or external may be either free or busy. If a device requested by a process is free at a specific instant of time, the operating system allocates it to the process.
<br>
<br>
<strong>Storage Management</strong> is another important function of the operating system. Since main memory is usually too small to accommodate all the data and programs permanently, the computer system must provide secondary storage to back up main memory. Modern computer systems use disks as the primary on-line storage medium for information (both programs and data). The file system provides the mechanism for on-line storage of and access to both data and programs residing on the disks. A file is a collection of related information defined by its creator. The files are mapped by the operating system onto physical devices. Files are normally f organized into directories for ease of use.
The devices that attach to a computer vary in many aspects. Some devices transfer a character or a block of characters at a time. Some can be accessed only sequentially, others randomly. Some transfer data synchronously, others asynchronously. Some are dedicated, some shared. They can be read-only or read-write. They vary greatly in speed. In many ways, they are also the slowest major component of the computer.
Because of all this device variation, the operating system needs to provide a wide range of functionality to applications, to allow them to control all aspects of the devices. One key goal of an operating system's I/O subsystem is to provide the simplest interface possible to the rest of the system. Because devices are a performance bottleneck, another key is to optimize I/O for maximum concurrency.
<br>
<br>
<strong>Application Interface</strong> is an Important task of OS. Operating system APIs are typically integrated into the software development kit for the corresponding program. For example, Apple's Xcode IDE allows developers to drag and drop elements into an application's interface. It also provides a list of available functions and includes syntax highlighting for known elements and commands.
While operating system APIs have a robust set of features, other types of APIs are much more basic. For example, a website may provide an API for web developers that allows them to access specific information from the site. A website API may be as simple as a set of XML elements with a few basic commands for retrieving the information.</p>
</div>
</section>
<!-- Two -->
<!-- Three -->
<section id="three" class="wrapper">
<h1>Recommended</h1>
<div class="spotlight">
<div class="image flush"><a href="dsarticle.html"><img src="images/ds.jpeg" alt="" style="height:400px; width:370px" /></a></div>
<div class="inner">
<h3>Getting Started with Datascience</h3>
<p>10 Intresting Facts about Machine Learning</h3>
<p>Machine learning is about creating algorithms and systems that can learn from the data they process and analyze. The more data is processed, the better the algorithm will become. It is actually a science of getting computers to act without explicitly being programmed and is a branch of Artificial Intelligence (AI). </p>
</div>
</div>
<div class="spotlight" style="background: #1e1f23; color: #fff;
">
<div class="image flush"><a href="tech.html"><img src="images/crack.jpeg" alt="" style="height:400px; width:370px" /></a></div>
<div class="inner">
<h3 style="color:#fff">How to crack A technical Interview</h3>
<p>Getting a job after graduation or during bachelor’s Degree is sometimes proves to be a nightmare for a fresher.
Most of the students, most of the time clears all the rounds but fails to clear the final round ie; The Technical Interview, which becomes a hurdle for them, In this article we will Meet the final hurdle between you and getting a job. The technical interview.</p>
</div>
</div>
<div class="spotlight">
<div class="image flush"><a href="ml.html"><img src="images/ml.jpeg" alt="" style="height:400px; width:370px" /></a></div>
<div class="inner">
<h3>10 Intresting Facts about Machine Learning</h3>
<p>Machine learning is about creating algorithms and systems that can learn from the data they process and analyze. The more data is processed, the better the algorithm will become. It is actually a science of getting computers to act without explicitly being programmed and is a branch of Artificial Intelligence (AI). </p>
</div>
</div>
<!--#1e1f23-->
</section>
</div>
</section>
<!-- Blog Section End -->
<footer class="footer_style1 p_t_60 f_14_18">
<div class="container">
<div class="row">
<div class="col-md-8">
<h3 class="widget-title f_20_26 m_b_20 text-uppercase" style="color:#fff">Social</h3>
<ul class="list-unstyled footer-social">
<li class="d-inline-block mr-3"><a href="https://www.facebook.com/Datacode.in/"><i class="fab fa-facebook-f" color="white" style="font-size:50px"></i> </a></li>
<li class="d-inline-block mr-3 "><a href="#"><i class="fab fa-instagram" color="white" style="font-size:50px"></i> </a></li>
<li class="d-inline-block mr-3"><a href="https://www.youtube.com/channel/UCEnd8Limn06xmD6hLzaGxvA/featured"><i class="fab fa-youtube" color="white" style="font-size:50px"> </i> </a></li>
<!-- <li class="d-inline-block mr-3"><a href="#"><i class="fab fa-linkedin" color="white" style="font-size:50px"></i> </a></li>-->
<!-- <li class="d-inline-block mr-3"><a href="#"><span class="fa fa-vimeo" color="white" style="font-size:30px"></span> </a></li>
<li class="d-inline-block"><a href="#"><span class="fa fa-snapchat" color="white" style="font-size:30px"></span> </a></li>-->
</ul>
</div>
<div class="col-md-20">
<h5 class="widget-title f_20_26 m_b_20 text-uppercase" style="color:#fff">For Help and Support</h5>
<div class="menu-help-and-support-container">
<ul id="menu-help-and-support" class="menu">
<li id="menu-item-285" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-285"><a href="/contact.html" style="color:white ; font-size:15px">datacode.in@gmail.com</a>
</li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class=" col-12 col-md-6 text-left p_y_30">Copy © 2018. All rights reserved.</div>
<!-- <div class="col-12 col-md-6 text-right p_y_30">Designed by - Akash and Team.</div>-->
</div>
</div>
</footer>
<script type='text/javascript' src='js/jquery.min.js'></script>
<script type='text/javascript' src='js/jquery-migrate.min.js'></script>
<script type='text/javascript' src='js/popper.min.js'></script>
<script type='text/javascript' src='js/bootstrap.min.js'></script>
<script type='text/javascript' src='js/all.min.js'></script>
<script type='text/javascript' src='js/custom.js'></script>
<!-- Scripts -->
<script src="assets2/js/jquery.min.js"></script>
<script src="assets2/js/jquery.poptrox.min.js"></script>
<script src="assets2/js/skel.min.js"></script>
<script src="assets2/js/util.js"></script>
<script src="assets2/js/main.js"></script>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</body>
</html>