2
7/23/2019 MCSL-025(P)S2 http://slidepdf.com/reader/full/mcsl-025ps2 1/2 MCSL-025 P)/S2 o. of Printed Pages : 2 MASTER OF COMPUTER APPLICATIONS Revised) (MCA) 9 7 3 erm-End Practical Examination June, 2015 MCSL-025(P)/S2 : LABORATORY COURSE (FOR DATA AND FILE STRUCTURES, NETWORKING, DBMS LAB & JAVA PROGRAMMING) Time : 3 Hours aximum Marks : 100 Note : here are four sections in this paper. Each section is of 45 minutes duration. Attempt only those sections in which you are not yet successful. Answer all the questions in each section. Each section carries 20 marks and the viva voce for each section is of 5 marks separately. SECTION A Data and File Structures Write a program in 'C' language to implement Bubble Sort . 0 SECTION B Networking 2 Write a shell script in LINUX / UNIX that accepts a text file as input and prints the number of words in the file that have a vowel in them. 0 MCSL-025(P)/S2 .T.O.

MCSL-025(P)S2

Embed Size (px)

Citation preview

Page 1: MCSL-025(P)S2

7/23/2019 MCSL-025(P)S2

http://slidepdf.com/reader/full/mcsl-025ps2 1/2

MCSL-025 P)/S2

o. of Printed Pages : 2

MASTER OF COMPUTER APPLICATIONS Revised)

(MCA)

9 7

3

erm-End Practical Examination

June, 2015

MCSL-025(P)/S2 : LABORATO RY COU RSE (FOR DATA AND FILE STRUCTURES,

NETW ORKING, DBMS LAB & JAVA PROGRAMMING)

Time : 3 Hours

aximum Marks : 100

Note :

here are four sections in this paper. Each section is of 45 minutes duration.

Attempt only those sections in which you are not yet successful. Answer all the

questions in each section. Each section carries 20 marks and the viva voce for

each section is of 5 marks separately.

SE CT ION A

Data and File Structures

Write a program in 'C' language to implem ent Bubble Sort .

0

S E C T IO N B

Networking

2

W rite a shell script in LINUX / UN IX that accepts a text f ile as input an d prints

the num ber of word s in the file that have a vow el in them .

0

MCSL-025(P)/S2

.T.O.

Page 2: MCSL-025(P)S2

7/23/2019 MCSL-025(P)S2

http://slidepdf.com/reader/full/mcsl-025ps2 2/2

SECTION C

DBMS Lab

a) Create the following table with proper datatype for all the fields. The key

field is underlined. Insert 10 meaningful records in the table.

LAPTOP Brand, Model_no, Screen_size)

b) Answer the following query using SQL on the above table :

List all the model numbers of all laptops whose screen size is larger than

17 inches.

SECTION D

Java Programming

4

Write a program in Java to create an Applet that accepts 5 strings as input and

prints the string with largest length.

MCSL-025(P)/S2

,00