mca (revised) term-end practical examination december, 2012
TRANSCRIPT
SET -1 No. of Printed Pages : 4
MCA (REVISED)
Term-End Practical Examination
December, 2012
03885
MCSL-025 : LABORATORY COURSE (FOR DATA AND FILE STRUCTURES, NETWORKING, DBMS LAB AND JAVA
PROGRAMMING)
Time allowed : 3 hours Maximum Marks : 100
Note : There 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
1. Write a 'C' program to create a Binary Tree. Also Write a function to print this tree in 20
inorder.
A
MCSL-025/S1 1 P.T.O.
SECTION-B
Networking
Perform the practical on LINUX/UNIX/Windows 2000. In case you do not have sufficient
rights to perform a task, then write all the steps to perform that task.
1. Run the following commands and write the uses of each command : 4
(a) date
(b) grep
(c) rcp
(d) drivers
2. Perform the following tasks :
(a) Find your Ethernet Physical Address.
(b) Add two users in a group and set their password.
(c) Make a new directory and make it sharable.
3. Install and configure a client.
MCSL-025/S1 2
SECTION-C
DBMS LAB
1. Create the following table and perform the necessary task defined below : 5
(a) Create Table : Student
(i) Roll - No.
(ii) Name
(iii) Date - of - Birth
(iv) Programme
(v) semester
(vi) Address
(vii) Year - of - Admission
(b) Enter at least 10 records in the above table and answer the following queries 15
using SQL :
(i) Find the name of all the students of MCA program whose date of birth is 01/01/1982.
(ii) List the name and roll number of all the students who are enrolled in year
2012.
(iii) List the name and address of all the students of BCA program.
MCSL-025/S1 3 P.T.O.
SECTION-D
Java Programming
1. Write a Java program to create a product class, with methods to update and display 20
product details. You may choose a product from the area of sports, Food, and Medicine.
Use appropriate specifier for data members of your class.
MCSL-025/S1 4
SET - 2 No. of Printed Pages : 4
MCA (REVISED)
Term-End Practical Examination
December, 2012 01285
MCSL-025 : LABORATORY COURSE (FOR DATA AND FILE STRUCTURES, NETWORKING, DBMS LAB AND JAVA
PROGRAMMING)
Time allowed : 3 hours Maximum Marks : 100
Note : There 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
1. Write a 'C' program to create a circular queue and insert 10 element in it. Also write a 20 function to check whether queue is empty or not.
MCSL-025/S2 1 P.T.O.
SECTION-B
Networking
Perform the practical on LINUX/UNIX/Windows 2000. In case you do not have sufficient
rights to perform a task, then write all the steps to perform that task.
1. Run the following commands and write the uses of each command :
(a) fc
(b) netdiag
(c) lable
(d) rmdir
2. Perform the following tasks :
(a) Create a hierarchical directory tree.
(b) Display the TCP/IP setting of your machine.
(c) Send a mail to you - self
3. Configure the Internet connection Fire wall (ICF)
MCSL-025/S2 2
SECTION-C
DBMS LAB
1. Create the following table and perform the necessary task defined below : 5
(a) Create the following table named DEPARTMENT
(i) Dep_ID
(ii) Name
(iii) Year_Established
(iv) Head_Name
(v) Address
(vi) Telephone
(vii) No_of_Employee
(b) Enter at least 10 records in the above table and answer the following queries 15 using SQL :
(i) List the name and address of departments which are at least 50 years old.
(ii) Find the name of head of department of department id = 202.
(iii) List name, address and telephone numbers of all the departments which are established after year 2010.
MCSL-025/S2 3 P.T.O.
SECTION-D
Java Programming
1. Write a program in Java to create a Matrix class to create two matrices of 20
3 x 3. Also your program should add these two matrices and display the
resultant matrix. Use appropriate constructor and access specifiers in your
program.
MCSL-025/S2 4
SET - 3 No. of Printed Pages : 4
MCA (REVISED)
Term-End Practical Examination
December, 2012
01325
MCSL-025 : LABORATORY COURSE (FOR DATA AND FILE STRUCTURES, NETWORKING, DBMS LAB AND JAVA
PROGRAMMING)
Time allowed : 3 hours Maximum Marks : 100
Note : There 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
1. Write a 'C' program to implement Binary search. Search 25 in the following list of 20 elements using this program.
20 23 25 28 30 40 51
MCSL-025/S3 1 P.T.O.
SECTION-B
Networking
Perform the practical on LINUX/UNIX/Windows 2000. In case you do not have sufficient
rights to perform a task, then write all the steps to perform that task.
1. Run the following commands and write the uses of each command : 4
(a) pathping
(b) nettime
(c) ipconfig
(d) sfc
2. Perform the following tasks : 9
(a) Display the TCP/IP setting of your machine
(b) Write a message for all user - "Do well".
(c) Copy a file named my. txt to some other directory from the current directory.
3. Configure TCP/IP packet - filter. 7
MCSL-025/ S3 2
SECTION-C
DBMS LAB
1. Create the following table and perform the necessary tasks defined below : 5
(a) Create the following table named Book :
(i) Tittle
(ii) ISBN - Number
(iii) Author
(iv) Year - of - publication
(v) Publisher
(vi) Price
(b) Enter at least 10 records in the above table and answer the following queries 15 using SQL :
(i) List the title and ISBN - Number of all the books which are published in year 2012 by "Popular publisher".
(ii) List the title and price of all the books published by "ABC publisher".
(iii) Find the authors name and price of book with ISBN - Number = "110056389".
MCSL-025/S3 3 P.T.O.
SECTION-D
Java Programming
1. Write an applet in Java to calculate the simple interest. The applet takes the amount, 20 rate of interest and duration in months. The applet display the interest amount after calculation.
MCSL-025/S3 4