Assignment 1 PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

1. Explain the main facilities provided by an operating system. Give examples.

The operating system of a computer is the basic program which acts within the
computer. The operating system allows the computer to perform functions in a specific
way and allows the user to be involved with the management of the computer and the
material stored within it. These examples include running application programs, using
hardware, managing memory, controlling input and output, handling interruption,
securing data, accounting facilities and processing, such as copy and paste.
2. What type of computing do you normally use with your personal computer:
batch or interactive? Explain and give examples.
Batch processing is the execution of a series of programs or only one task on a
computer environment without manual intervention. All data and commands are
preselected through scripts or command-line parameters and therefore run to
completion without human contact.
Interactive sessions prompt the user for input as data or commands. Typically, in an
interactive session there is a software running on a computer environment and accepts
input from human.
Since this is we are talking about personal computer, I will go with interactive
processing. It is the simplest way to work on a system. I log in, run commands which
execute immediately, and log off when I’m finished.

3. Explain when you would prefer time-sharing processing instead of batch


processing.
Real-time processing is data processing that occurs as the user enters in the data or a
command. This is more preferred method over batch processing when we do not have
large jobs to be executed. Timesharing is the preferred strategy in cases where users
interact with the computer at different points in the execution of the program.
Timesharing emphasizes equitable sharing of the hardware resources among the users.

5. Get a Unix/Linux account and log in to the system; start experimenting with a
small set of commands. Get acquainted with the system’s prompt, which is
normally a dollar sign. Investigate the use and purpose of the following
commands: who, cd, pwd, ls, finger, mkdir, cp, more, cat, and pico.
who: gets the IP numbers or computer names of the terminals users have used.
cd: changes the current directory of the shell.
pwd: shows the current directory that you are in.

This study source was downloaded by 100000783702154 from CourseHero.com on 03-14-2024 15:05:12 GMT -05:00

https://www.coursehero.com/file/32852525/Assignment-1pdf/
is: is a utility for listing the files in a directory.
finger: it allows you to find information about computer users.
mkdir: is a utility for creating a directory.
cp: copies a file
more: allows you to display a file page at a time
cat: allows you to output the contents of a text file
pico: PICO is a text editor.

9. Search the Internet and, from the user point of view, list and explain the main
differences between Unix and Linux.
Unix is a family of multitasking, multiuser computer operating systems that derive from
the original AT&T Unix, developed in the 1970s at the Bell Labs research center by Ken
Thompson, Dennis Ritchie, and others. Unix is a proprietary software operating system.
The Unix OS works primarily on Command Line Interface, though, recently, there have
been developments for GUI on Unix systems.
On the other hand, Linux is an open source operating system based on Unix. Linux is
basically the name of the Kernel and was developed in 1991. The Linux kernel is
developed by the community and Linus Torvalds oversees things. In addition to the
command line interface, Linux has a graphical user interface like Windows operating
system and applications to make it a complete operating system.
Here is the list of differences between Unix and Linux:
License and Cost: Linux is free and can be downloaded from the Internet or redistribute
it under GNU licenses. Whereas, most Unix like operating systems are not free.
User Friendly: Linux is considered as most user-friendly Unix like operating systems. it
makes it easy to install sound card, flash players, and other desktop goodies. However,
Apple OS x is most popular Unix operating system for desktop usage.
Security Firewall Software: Linux comes with open source netfilter/iptables based
firewall tool to protect your server and desktop from the crackers and hackers. Unix
operating systems comes with its own firewall product or you need to purchase a 3rd
party software such as Checkpoint Unix firewall.
File Systems: Linux by default supports and use ext3 or ext4 file systems. Unix comes
with various file systems such as jfs, gpfs (AIX), jfs, gpfs (HP-UX), jfs, gpfs (Solaris).

This study source was downloaded by 100000783702154 from CourseHero.com on 03-14-2024 15:05:12 GMT -05:00

https://www.coursehero.com/file/32852525/Assignment-1pdf/
Powered by TCPDF (www.tcpdf.org)

You might also like