0% found this document useful (0 votes)
64 views

MCSL 045p s4 Dec 2010

This document is an exam for a UNIX and DBMS lab course. It contains instructions for a 2 hour exam with two 1 hour parts - one for UNIX and one for DBMS. For the UNIX part, students are asked to write UNIX commands to perform tasks like changing file ownership and displaying time. They are also asked to write shell scripts, one to output initials from a name and another to sort numbers in a file. For the DBMS part, students work with three provided tables - CD_STORE, ARTIST, and CUSTOMER. They are asked to insert sample records, run queries like finding albums by a specific artist, and find customers who purchased an album in a given year.

Uploaded by

Nitin Nilesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

MCSL 045p s4 Dec 2010

This document is an exam for a UNIX and DBMS lab course. It contains instructions for a 2 hour exam with two 1 hour parts - one for UNIX and one for DBMS. For the UNIX part, students are asked to write UNIX commands to perform tasks like changing file ownership and displaying time. They are also asked to write shell scripts, one to output initials from a name and another to sort numbers in a file. For the DBMS part, students work with three provided tables - CD_STORE, ARTIST, and CUSTOMER. They are asked to insert sample records, run queries like finding albums by a specific artist, and find customers who purchased an album in a given year.

Uploaded by

Nitin Nilesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

No.

of Printed Pages : 2

SET-4

MCA (Revised)
Term-End Practical Examination

01493

December, 2010
MCSL-045(P) : UNIX AND DBMS LAB
Maximum Marks : 50

Time allowed : 2 hours


Note :

There are two parts (UNIX and DBMS) in this paper. Each part is for 1 hour
duration. Attempt only that part(s) in which you are not yet successful .
PART - I
UNIX

Note :
1.

Answer the following questions. They carry 20 marks and 5 marks is for viva-voce for
each part.
5

Write and execute the UNIX commands for the following :


(i) Change the ownership of a file.
(ii) To run a program at high priority.
(iii) To display date and time.
(iv) To print first ten lines of a text file .
(v) To find the length of a file.

2.

Write a shell script to write the initials of any name given as input .

3.

Write a shell script to sort a list of 20 numbers stored in a file ( created by you ), in
ascending order.

MCSL-045(P)/S4

10

P.T.O.

PART - II
DBMS
Note : Questions asked in this part are based on the following relations .
CD - STORE ( S. No., Type, Album, Price, Year, Album ID)
ARTIST ( Name , Album , Album ID, Year )
CUSTOMER ( Name, Address, Album, Year)
Where, Album ID is unique for any Album .
1.

Insert 10 meaningful records in these table.

2.

List all the albums of Artist Named " Myleo " in the CD - STORE.

3.

List all the Albums launched in the year 2009 which is available in the CD - STORE.

4.

Find the name (s) of customers) who purchased Album CD of year 2007.

MCSL-045(P)/ S4

2,000

You might also like