Doeacc Online dot com
Study Room for Doeacc Students !  

Also visit www.IgnouOnline.com
 
home | site map | faqscontact us |



When you subscribe for our newsletter by entering your name and email id at Subscribe you receive the following free...

- Tips to clear exams
- Question Papers
- And other useful info



3125 sheets of paper are produced from 1 tree. We request you to save paper and use paper on both sides if possible.




LINKS TO OUR other WEBSITES

* www.ignouonline.com
for IGNOU MCA BCA CIC MBA students.

* www.degreewala.com
for DOEACC O A B C LEVEL students.

* www.gphindia.com
for IGNOU DOEACC books.

* www.gullybaba.com
premium site for IGNOU DOEACC (Must Visit)


astrologyeverywhere
An Astrology website



Click to know
Important Last Dates
For Exams, Registration, Admission, Forms Etc.



DOEACC SOCIETY ADDRESS AND PHONE NUMBERS




JOBS FOR FRESHERS / EXPERIENCE

For our network of websites we require website searcher, content developer, website designers. Mail your resume at jobs@doeacconline.com




SITE MENU

our blog

REGISTRATION
OR ADMISSION
Qualification O A B Level
Last Date for all Levels
How to get form?>?
Where to submit?
EXAMS
date sheet july 2006 'o' 'a' 'b' level
how to apply?
where to apply?
how to prepare?
un-solved previous year questions papers
solved previous year questions papers
practical exams
result
FINAL PROJECT REPORT / SYNOPSIS
O level project
A level project or PGDCA or BCA Level
B level project or MCA or M.Sc. Level
C level project or M.Tech Level
SYLLABUS
O level
A level
B level
C level

Search the Web


Buy GPH
Previous
Year
Questions Papers
Booklet
!

Work at Home Mom's Masters Course

Get a free eBook ! (coming soon)

 

A8-R3: BASICS OF OS, UNIX AND SHELL PROGRAMMING
: JANUARY 2006

NOTE:
1. There are TWO PARTS in this Module/paper. PART ONE contains FOUR questions and PART TWO contains FOUR questions.

2. PART ONE is to be answered in the TEAR-OFFANSWER SHEET only, attached to the question paper, as per the instructions contained therein. PART ONE is NOT to be answered in the answer book.

3. Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be supplied at the table when the answer sheet for PART ONE is returned. However, candidates who complete PART ONE earlier than one hour, can collect the answer book for PART TWO immediately after handing over the answer sheet for PART ONE.
TOTAL TIME: 3 HOURS TOTAL MARKS: 100
(PART ONE-40; PART TWO – 60)

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1 x 10)

1.1 Which one of the following is used to replace a single character in “vi”?
A) O
B) x
C) r
D) N

1.2 Which one of the following lets you know the line number of the current cursor position in “vi” ?
A) <ctrl> g
B) <ctrl> <shift> g
C) <ctrl> <alt> h
D) <ctrl> h

1.3 The available disk space can be determined under Unix using the command
A) dir
B) df
C) du
D) file

1.4 “init” run-level for system shutdown is:
A) 3
B) 2
C) 1
D) 0

1.5 Which one of the following is a multipurpose tool?
A) grep
B) sed
C) awk
D) editor

1.6 Shell is:
A) Interactive command interpreter
B) Programming language
C) Both A) and B)
D) None of the above

1.7 Which one is an “awk” built-in variable
A) NFS
B) RF
C) OFS
D) None of the above

1.8 Which of the following keys when pressed will generate a shell signal?
A) <shift> <ctrl> a
B) <del?
C) <ctrl> a
D) <ctrl> <del>

1.9 State of a process changes from “run” to “ready” when:
A) Time slice expires
B) Waiting for disk read occurs
C) Waiting for user response occurs
D) All of the above

1.10 A new process executes in Unix by the following command:
A) execute ( )
B) exec ( )
C) exct ( )
D) xcute ( )

2. Each statement below is either TRUE or FALSE. Choose the most appropriate one and ENTER in the “tear-off” sheet attached to the question paper, following instructions therein. (1 x 10)

2.1 In “vi” A appends text at the end of line.
2.2 In “vi” cc changes a line.
2.3 A shell is a user interface.
2.4 i-node is a unix command.
2.5 awk is only a command.
2.6 passwd asks for the old password to every category of users.
2.7 init run level 3 is a full multi-user mode.
2.8 init startup file is /etc/initd.
2.9 forkp ( ) is used to create a process in Unix.
2.10 URL provides the location of the content searched for

3. Match words and phrases in column X with the closest related meaning/ word(s)/phrases in column Y. Enter your selection in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1 x 10)

X Y
3.1 ~ A. Scheduling process
3.2 File restore B. Encryption of password
3.3 SMTP C. vi
3.4 IP D. HTML
3.5 /etc/shadow E. Toggle case of text in "vi"
3.6 File compression F. grep
3.7 Ipsched G. tar
3.8 DNS H. A mail protocol
3.9 cron I. gzip
3.10 Request  reply protocol J. HOME
K. Domain Name Service
L. FTP
M. Client server protocol
N. WWW
O. An Internet protocol for transmission of data
P. Daemon

4. Each statement below has blank space to fit one of the word(s) or phrases in the list below. Enter your choice in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1 x 10)

A. sleep B. trap C. telnet
D. nice E. awk F. head
G. i-node H. magic-no I. getty
J. startx K. in-core inode L. wait
M. command N. a.out O. unmask
P. exec Q. PCB R. command

4.1 _________ can be used to change the default access permission of file.
4.2 Most of the function in “vi” operate in _________ mode.
4.3 To start X server manually _________ command is needed.
4.4 _________ can be single-line programs also.
4.5 init spawns a(n) _________ at every serial port connected to a Terminal.
4.6 The shell built-in command _________ setup a sequence of commands to be executed when a signal occurs.
4.7 Remote login to a machine can be done via _________ command.
4.8 The _________ command provides output from the beginning of the concerned file.
4.9 _________ contains the necessary information about a process.
4.10 _________ keeps description of an open file. For more questions papers visit www.DoeaccOnline.com, www.IgnouOnline.com

PART TWO
(Answer ALL questions)

5. a) Using “vi” (i) how do you save your work without leaving the editor?
Using “vi” (ii) how will you write selected lines to a file? Mention all options. Give suitable examples.
iii) What is “yanking”? What does the “I” operator do in “vi”?
b) What do the following commands in “vi” specify? How are they used?
i) map
ii) ?pat
iii) set
iv) ab
(9+6)

6. a) What are the advantages of having distinct disk partitions?
b) What are the components of every file system?
c) How does kernel access a file?
(5+5+5)

7. a) How does the “login:” prompt appear?
b) What is the use of sticky bit?
c) How does cron work?
d) What does shell’s & operator do?
(4+4+5+2)

8. a) What type of variables are PATH and HOME? Why are they called variables? In what ways are they used? What is sed?
b) What are the advantages of cpio over tar?
c) How a client-server environment is created in X?
d) What is xterm?
(6+4+3+2)

9. a) Write a script to check whether right number of arguments (say, 4) have been entered.
b) Consider the following table:

Employee Id Name Designation Department Date of birth Salary
2256 A. SINHA Manager Sales 01/01/50 12000
2334 R. KUMAR Sp. Officer Accounts 02/12/60 16000
2987 B. ROY Director Personnel 03/02/58 20000
3214 M. PRAKASH Manager R & D 04/06/70 12500

Using awk find the employees who are either born in 1996 or drawing a salary greater than 12000/-
c) What is grep used for? What are its various options? Give the syntax for the command.
d) What is the purpose of nice command?
(5+4+4+2)


<<BACK

Visit our other websites

"We are determined to help student community, our objective is to provide the quality and assist the students in completing there degree, diploma or certificate on time with our quality help."

Bookmark our Website Blog

As we discover interesting things for doeacc, or ignou students, or when we want to make a point about something, we often post it to our blog.  We encourage you to bookmark it because you'll find tips and tricks there that we may not necessarily have here.  View our blog on doeacc.

 

home   |  faqs  |  site map  |  computing articles useful for exams   |  free downloads


Copyright 2006 · doeacconline.com · All Rights Reserved
bookmark our special blog for DOEACC students