0% found this document useful (0 votes)
87 views3 pages

UNIX and DBMS Lab Exam Guide

This document contains instructions for a term-end examination for a UNIX and DBMS lab course. It is divided into two sections worth 20 marks each, with an additional 5 marks for a viva voce for each section. Section A contains questions on UNIX commands worth 1 mark each to list previously used commands, show system status, logged in users, set file permissions, and count characters in a file. It also includes a question worth 15 marks to write a shell program to combine two text files and display the word count. Section B contains questions on a database schema involving branches, accounts, and depositors. It includes tasks to create tables with appropriate data types and keys, display balance, branch and city

Uploaded by

Aaryan Prajapati
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)
87 views3 pages

UNIX and DBMS Lab Exam Guide

This document contains instructions for a term-end examination for a UNIX and DBMS lab course. It is divided into two sections worth 20 marks each, with an additional 5 marks for a viva voce for each section. Section A contains questions on UNIX commands worth 1 mark each to list previously used commands, show system status, logged in users, set file permissions, and count characters in a file. It also includes a question worth 15 marks to write a shell program to combine two text files and display the word count. Section B contains questions on a database schema involving branches, accounts, and depositors. It includes tasks to create tables with appropriate data types and keys, display balance, branch and city

Uploaded by

Aaryan Prajapati
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

13

No. of Printed Pages : 3 MCSL-045/S 1

Master of Computer Application


(Revised) (MCA)
Term-End Examination
December, 2018

UNIX AND DBMS LAB

Time : 2 Hours Maximum Marks 50

Note : (i) There are two Sections in this paper.

(ii) All the questions of the two Sections are compulsory.

(iii) Each Section is of one hour duration and carries 20 marks.


(iv) 5 marks are for viva-voce for each Section separately.
(v) Attempt only those Section(s) in which you are not
successful as yet.

(A-8) P. T. 0.
[2] MCSL-045/S1

Section—A
(UNIX)
Note : Answer the following questions. They carry 20 marks and the
viva-voce is for 5 marks.

1. Create and execute the following 'UNIX commands : 1 each


(a) To list previously executed commands.
(b) To show one line summary of system status.
(c) To show who is logged onto this terminal.
(d) To set file permission of any file to r, w, x for all.
(e) To count characters in a file (text).
2. Write a shell program to combine any two text files into a single file
(appending) in the order they appear in the arguments and display the
word count. 15
Section—B
(DBMS)
Note : Answer the following questions. They carry 20 marks and the
viva-voce is for 5 marks.

3. For the schema given below, perform the tasks (a), (b) and (c) :
Branch (Branch_name, city)
Account (Branch_nalne, Acc_No, Balance)
Depositor (Customer_Name, Acc_No, Addl, Add2, City)
(a) Create tables. Select appropriate data types for each of the fields.
Identify appropriate keys. Input meaningful data for at least
10 records. 5
(A-8)
[3I

(b) Display the balance, branch_name and city for the


Acc_No. = 7943486591. 2
2

(c) List all the Customer_Name, Ac _No whose accounts are in the city
Bengaluru. 2 2I

4. Write a procedure which takes Acc_No as input and displays the


Customer_Name, Add1 Add2, City, Branch Name and Balance. 5
5. Write a trigger which fires before inserting and deleting a record in the
"Depositor" table. 5

MCSL-045/S1 3,000
(A-8)

You might also like