Course Code : MCSL-054
Course Title : Laboratory Course
Assignment Number : MCA(5)/L054/Assign/2011
Maximum Marks : 100
Weightage : 25%
Last Date of Submission : 30th April, 2011 (For January Session)
31st October, 2011 (For July Session)
This assignment has two parts A (Advanced Internet Technologies) and B (Computer Graphics & Multimedia) and each part is for 20 marks. Answer all the questions. Lab record for all the respective sessions (given in the MCSL-054 Lab Manual) for each course carries 20 Marks each. Rest 20 marks are for viva voce. Please go through the guidelines regarding assignments given in the MCA Programme Guide for the format of presentation. Made assumptions if any while solving the problems and state them clearly.
PART-I: Lab for MCS-051 (Advanced Internet Technologies)
Question 1: Write a Servlet program for session tracking using cookies. (3 Marks)
Write a JSP Program, which displays a web page containing two web links one for showing details of your Study Centre and other for FAQs on Practicls in MCA Programme . When one click on link Study Centre it goes to a page which shows all the details of study centre and counselling schedule for MCA students .Clicking on link for FAQs on Practicls in MCA ,another JSP page consisting of some FAQ related to different practical courses in MCA, will open.
Write a program using JSP and JDBC to provide details of MCA/BCA/CIT study centres in your regional centre of IGNOU. This program should provide the list of students in different semesters of MCA/BCA/CIT.
Question 4: Create an XML document for keeping books records in a Library. (4 Marks)
PART-II: Lab for MCS-053 (Computer Graphics and Multimedia)
Write a program in C/C++ using OpenGL to draw a circle of red colour inside of a
rectangle of blue colour on a background of green colour.
Write a program in C or C++ to implement Scan-Line Polygon Filling Algorithm. (5 Marks)
Write a program in C/C++ using OpenGL to draw a hard wire diagram as shown in
figure given below. Use basic primitives of openGL. (5 Marks)
Write a program in C/C++ using OpenGL to perform a 3-Dimensional transformation,
such as translation ,rotation and reflection, on a given triangle.
Write a program in C/C++ to implement Cohen-Sutherland line clipping algorithm. In this
implementation consider two cases of a line: totally visible, totally invisible, against the rectangular clipping window.