How To Exam?

a knowledge trading engine...


DOEACC Society 2006 DOEACC A Level A8-R3 Basic of OS, Unix

Thursday, 13 June 2013 07:20Web
B) IP address of the server.
C) The port number of the service on the server and the IP address of the server.
D) The port number of the service on the server and the Ethernet address of the server.
1.10 Which of the subsequent is not an X client?
A) xargs
B) xterm
C) xcalc
D) xclock
A8-R3 Page two of six July, 2006
2. every statement beneath is either actual or FALSE. select the most improper one
and ENTER in the “tear-off” sheet attached to the ques. paper, subsequent
instructions therein. (1 x 10)
2.1 The output of ls * is identical as that of echo *.
2.2 A user can delete a file from a directory even if that user does not have write permission
over the file.
2.3 1 file can have more than 1 inode and vice-versa.
2.4 The 1st character d in the permissions field represents device files.
2.5 X window is based on the Client-Server computing.
2.6 Every network card has a unique Ethernet address throughout the world.
2.7 A floppy disk can be mounted only if a file system exists on it.
2.8 The names of the system calls are identical in all the flavors of UNIX.
2.9 The inode number if determined by its position in the super block.
2.10 On execution of wc *, the * is changed by the filenames by wc itself.
3. Match words and phrases in column X with the nearest related meaning/
word(s)/phrase(s) in column Y. Enter your selection in the “tear-off” ans sheet
attached to the ques. paper, subsequent instructions therein. (1 x 10)
X Y
Command Interpreter paste
Relative pathname sed
Hypertext :set
Command continuation prompt sched
Vertical concatenation init
Macro in vi shell
Global variables vi
System reboot /bin/passwd
Orphan processes parent sh
Non-interactive editor :map
../../bin/passwd
PS2
URL
MIME
export
init level 6
A8-R3 Page three of six July, 2006
4. every statement beneath has a blank space to fit 1 of the word(s) or phrase(s) in
the list beneath. Enter your option in the “tear-off” ans sheet attached to the
ques. paper, subsequent instructions therein. (1 x 10)
A. 0 B. Name C. .kshrc
D. D E. * F. ..
G. Null H. chmod I. /bin/passwd
J. .profile K. Successful L. Hidden
M. Unsuccessful N. /etc/shadow O. .*
P. .
4.1 If A.B.C.D is a fully qualified domain name, then ________ is at the top of the domain
hierarchy.
4.2 The permissions of a directory are changed using the command ________.
4.3 A .(dot) as the starting character in the filename makes it a(n) ________ file.
4.4 A variable unless explicitly initialized is set to ________ by default.
4.5 The script executed every time a sub shell begins is ________.
4.6 An inode of a file does not store ________ of the file.
4.7 An exit status of 0 for a command represents its ________ termination.
4.8 The trend to match anything upto the end of the line is ________
4.9 The current directory is denoted by ________.
4.10 The encrypted passwords of the users of the system are stored in ________.
A8-R3 Page four of six July, 2006
PART TWO
(Answer any 4 questions)
5.
a) Write commands to do the following:
i) display the list of users currently logged in along with their count on the terminal.
ii) terminate the last background process without knowing its PID such that it cannot
ignore the signal to terminate it.
iii) use the current working directory along with the user name as the prompt.
iv) count the number of files in the directory tree /usr/abc.
v) count the number of blank lines in a file.
b) Write a crontab entry to execute run.sh script every 30 minutes on every Tuesday,
Thursday and Saturday ranging from nine am to five pm.
(10+5)
6.
a) Consider a file having the sales record of salesmen with every line corresponding to a
single salesman as ‘Salesman_Name Sales_by_salesman_per_day’. The records of a
salesman are not necessarily consecutive in the file. Write an awk script to print the total
sales of every salesman in the file along with improper headings for the 2 columns
along with the grand total of all the sales.
b) Briefly discuss 3 phases involved in process creation.
(9+6)
7.
a) Briefly define 2 kinds of cut and paste operations supported by X windows.
b) define the role of /etc/hosts in mapping of the hostnames to IP addresses in LAN and
Internet.
b) Write the necessary commands to execute .run in 3 various ways. Also pass two
arguments: string1and string2 to it.
(4+5+6)
8.
a) How will you accomplish the subsequent in vi?
i) combine 2 consecutive lines into one.
ii) display line numbers.
iii) display the file in learn only mode.
iv) save the file and quit vi.
v) obtain the occurrence of printf from current position onwards.
b) What is a directory file? What does it contain? If a user has write permission over it, is it
possible for the user to open it in an editor and make modifications to it? Justify your ans.
What modifications are done to the directory file as a outcome of the operations: rm and cp?
c) Write a shell script that gets executed the moment a user logs in. It should display the
message “Good Morning/ Good Afternoon/ Good Evening” depending upon the time at
which the user logs in.
(5+5+5)
A8-R3 Page five of six July, 2006
9.
a) What do you understand by multitasking, multiuser and multiprogramming?
b) List (in order as they are laid out on the disk) and briefly discuss the contents of the four
components of a file system.
c) elaborate the main functions performed by system administrator in Unix?
(3+6+6)
A8-R3 Page six of six July, 2006




( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER DOEACC Society 2006 DOEACC A Level A8-R3 Basic of OS, Unix