2007 Alagappa University M.C.A(S) Question paper

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007. First Semester PRINCIPLES OF INFORMATION TECHNOLOGY(2005 onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE questions. (5 ? 20 = 100)1. (a) Discuss connectivity and interactivity. (10) (b) Explain the developments in communication technology. (10)2. (a) Explain the five categories of Application software. (12) (b) Discuss the features for editing and formatting documents. (8)3. (a) What are the three developments in computing and the five types of computers? Explain. (12) (b) Discuss the features of desktop publishing. (8)4. (a) Discuss : (i) Fax messages. (5) (ii) Voice mail. (5) (b) Discuss any five online services. (10)5. (a) Discuss the various topology of LANs. (10) (b) Write short notes on (i) ISDN lines. (5) (ii) Cable modem. (5)6. (a) Discuss the features of DBMS. (10) (b) Explain the various types of files with an example. (10)7. (a) What is compression and decompression? Why is it important? Discuss the various types and standards of compression. (10) (b) Discuss (i) Decision support system for TOP managers. (5) (ii) MIS for middle managers. (5)8. (a) What is a program? Discuss the five steps for software engineering in detail. (15) (b) Discuss any three concepts of OOPs. (5)———————

DISTANCE EDUCATION M.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.First SemesterC and DATA STRUCTURES (2005 Onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE questions. All questions carry equal marks.1. (a) Define the character set of C. (5) (b) How to use puts and gets functions in C? (15)2. (a) With examples show how constants and variables are declared and used in C. (10) (b) Write a program in C to add all the even numbers lying between 1 and 100 (both numbers inclusive). (10)3. (a) How to access a function in C? (10) (b) Write a program in C to find the value of the factorial n where n is a integer (Using recursion). (10)4. (a) Explain the concept of C preprocessor. (10) (b) Write a program in C to multiply two matrices of order (3 ? 3). (10)5. (a) How to pass the pointers to function? (10) (b) Write a program in C to show how a data file can be created. (10)6. (a) Define structures. (5) (b) How a data file can be opened and closed? Explain with examples. (15)7. (a) What is a Queue? How it differs from a stack? (10) (b) Write a program in C to do the following operations in stack. (i) PUSH (ii) POP (10) 8. (a) Define a Binary Tree. Show how it is to be represented. (10) (b) Write a program in C to show how to add a node in the middle of the single linked list. (10)———————

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.First SemesterOFFICE AUTOMATION (2005 onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE questions.All questions have equal marks.1. (a) Explain in detail about windows explorer. (b) Explain how to create, open and save files in windows.2. (a) Explain the word opening screen in detail. (b) What do you mean by formatting text in word? Explain.3. Explain the mail merge option with an example.4. (a) Explain how to enter text, numbers, date and time in excel. (b) Explain the excel options-Borders, headers and footers.5. (a) Explain how to create power point presentation. (b) Explain the option-view slide show in power point.6. (a) Explain how to create a new database in access. (b) Explain how to create, save and edit a query in access.7. (a) Explain the method of creating and printing reports in access. (b) Explain the method of searching and sorting excel database.8. Write short notes on : (a) Table handling in word. (b) Page Numbering in word. (c) Move and copy data in excel. (d) Primary key creation in access. (e) Copy and paste using clipboard in power point.————————

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.Second SemesterOBJECT ORIENTED PROGRAMMING AND C++ (2005 onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE of the following.1. (a) Explain the advantages of object oriented programming. (10) (b) Write short notes on various data types with example. (10)2. (a) What are all the looping statements? Discuss . (10) (b) Write a program to perform array operations (Insert, Delete and Display operations). (10)3. (a) What is the use of pointers? Explain. (10) (b) Write a program to find the product of two matrices using pointers. (10)4. (a) Discuss the role of function in a program in detail. (10) (b) Write short notes on Inline function and friend function. (10)5. (a) Explain about constructor and Destructor. (10) (b) Explain the concept of operator overloading with example. (10)6. (a) Discuss the various types of Inheritance. (10) (b) Write a program to perform STACK operations. (10)7. (a) Write a program to prepare a mark list using classes and objects. (10) (b) Explain the virtual function with example. (10)8. (a) Discuss the various file related functions. (10) (b) How to pan the parameters from command line. Explain with example. (10)————

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.Second SemesterVISUAL PROGRAMMING(2005 onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE questions. (5 ? 20 = 100 )1. (a) Explain the VB environment and help system. (8 + 6 + 6) (b) Write a program in VB to pick out the biggest number among the given three numbers A, B and C. (c) Briefly explain the property window.2. (a) Explain the looping structures in VB with examples. (10) (b) Explain the use of Timer control with an example. (10)3. (a) Explain any five date functions with examples. (10) (b) Explain the scope of variables with examples. (10)4. (a) Write note on debugging tools and modules in VB. (10) (b) Write a program in VB to move a rectangle from left to right and top to bottom. (10)5. Write a program in VB to create a sequential file and store number, name and mark of n students. Read the file and calculate the result using the following norms. If mark > 50 declare ‘‘PASS’’ else declare ‘‘FAIL’’ Display the result with student number, name and mark. 6. (a) Write a detailed account on OLE in VB. (10) (b) Explain the properties of Drive, directory and file list boxes. (10)7. (a) Write a program in VB to print the row sum of each row in a matrix. (10) (b) Explain control array with an example. (10)8. Write notes on (6 + 6 + 8) (a) Data control (b) Financial functions (c) Editing tools.————————

DISTANCE EDUCATIONM.C.A. (Semester) DEGREE EXAMINATION, DECEMBER 2007.Third SemesterDISCRETE MATHEMATICS(2005 onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE questions.Each question carries 20 marks.1. (a) Define the connectives conditional and biconditional. Construct the truth table of the following formula. . (b) Obtain the principal disjunctive normal form of . (c) Show that follows from the premises , , S.2. (a) Symbolize the statement ‘‘given a positive integer, there is a greater positive integer’’, with and without using the set of positive integers as the universe of discourse. (b) Show that . (c) Show that follows logically from and .3. (a) Define the Cartesian product of two sets A and B. Show that if and only if either or or . (b) Let and is divisible by 3}. Show that R is an equivalence relation. Draw the graph of R. (c) Define compactible relation and partial order relation. Give example for each.4. (a) Let be the set of all one-one and onto functions from to X. Write the elements of and find the inverse of each function. (b) Show that for a function f from X to Y, and . Show by an example that equality does not hold in the second relation.5. (a) Define semigroup and monoid. Prove that for any commutative monoid, , the set of idempotent elements of M form a submonoid. (b) Define subgroup. Prove that a subset of a group G is a subgroup of G if and only if for any pair of elements , .6. (a) Find all the subgroups of generated by the permutation. (b) State and prove Lagrange’s theorem.7. (a) Define unilaterally connected and connected graphs. Prove that in a simple digraph, every node of the digraph lies in exactly one strong component. (b) Define adjacency matrix and path matrix in a graph. Explain how will you obtain path matrix from adjacency matrix.8. (a) Define directed tree and ordered tree. How many different directed trees are there with three nodes? How many different ordered trees are there with tree nodes? (b) Write the Warshall algorithm.

DISTANCE EDUCATIONM.C.A.(S) DEGREE EXAMINATION, DECEMBER 2007.Third SemesterRDBMS (2005 onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE of the following. (5 ? 20 = 100)1. (a) What are the kinds of Databases. (10) (b) What are the features and advantages of DBMs? (10)2. (a) Explain different user interfaces. (10) (b) Write notes on Gridlines for use. (10)3. (a) Write the Relational Algebra. (10) (b) Briefly comments on the Relational Model. (10)4. (a) What are the Benefits oracle? (10) (b) Mention some properties in Relational Database. (10)5. (a) What are the elements of SQL language? (10) (b) What are the oracle queries? (10) 6. (a) Write notes on Joining multiple tables in a Queues. (10) (b) How can we use subqueries? (10)7. (a) Create the Table Statement. (10) (b) Explain Embedded SQL statements. (10)8. (a) What are the reason for database objects? (10) (b) Write short notes on copying another table. (10)————————

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.Third SemesterUNIX AND SHELL PROGRAMMING(2005 onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE questions.(5 ? 20 = 100)1. (a) Explain Directory hierarchy in Unix. (b) How to know and set permissions for files.2. (a) How to create new commands in shell. Give an example. (b) Explain about evaluating arguments, executing command and Trapping exit codes.3. (a) How to customize cal command. (b) How to traps and catching interrupts.4. (a) How to access the environment variables in Unix. (b) Explain process system calls.5. (a) Write a shell program to implement four function calculator. (b) Explain about features of macro package.6. (a) Explain about differences between functions and procedures with suitable example. (b) Explain about the features of Tbl and eqn.7. Write short notes on : (a) Awk (b) Fillers (c) Grep (d) Inodes.8. (a) Explain about zap – pick commands (b) Get and put (c) Zap and pick. ————————

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.Third SemesterCOMMUNICATION SKILLS(2005 onwards)Time : Three hours Maximum : 100 marksAnswer any FIVE questions.1. Write the concepts of communication. 2. Enumerate why good readers are called leaders. 3. Why is telephone etiquette necessary? Not down the dos and don'ts of telephonic conversation. 4. What level of confidence do you have, personally, for the news you see on commercial television and in newspaper? 5. Does the participant in Group Discussion seek a useful ‘Plan of Attack’ on the problem at hand? Illustrate it. 6. What are the various steps to be taken for the conduct of a meeting? 7. Define Group dynamics. Explain the art of guiding and controlling the Group Discussion. 8. Write short notes on :(a) (a) Inter personal communication.(b) (b) Intra personal communication.(c) (c) Planning for interviews.(d) (d) Body language. (4 ? 5 = 20)9. Does the discussant distinguish disagreements in language from more fundamental disagreements? ————————

2. (a) Define a waiting line. (5) (b) If for a period of 2 hours in a day say 8 to 10 A.M. trains arrive at the yard every 20 minutes but the service time continues to remain 36 minutes, then calculate for this period (i) the probability that the yard is empty (ii) average queue length. On the assumption that the line capacity of the yard is limited to 4 trains only. (15)3. A newspaper boy buys papers for 30 paise each and sell them for 70 paise. He cannot return unsold news papers. Daily demand has the following distributionsNo. of customers : 23 24 25 26 27Probability p (x) : .01 .03 .06 .10 .20No. of customers : 28 29 30 31 32Probability p (x) : .25 .15 .10 .05 .05 If each day’s demand is independent of previous day’s demand, how many papers should be order each day? (20)4. A manufacturer has to supply his customer with600 units of his product per year. Shortages are not allowed and the shortage cost amounts to Rs. 0.60 per unit/year. The setup cost per unit run is Rs. 80.00. Find the optimum run size and the minimum average yearly cost. (20)5. (a) What is network analysis? (5) (b) Distinguish between CPM and PERT. (15)6. The following data is derived from a problem of network :Activity Expected time Cost slope Maximum time reduction1-2 8 4 32-3 7 3 32-4 6 10 22-5 11 7 43-4 5 6 24-5 12 4 64-7 6 6 37-5 6 9 2 Compress the project to the least possible duration and estimate the cost of crashing. (20)7. (a) What is replacement? (5) (b) Describe some important replacement situations. (15)8. A pipeline is due for repairs. It will cost Rs. 10,000 and lasts for 3 years. Alternatively, a new pipeline can be laid at a cost of Rs. 30,000 and lasts for 10 years. Assuming cost of capital to be 10% and ignoring solvage value, which alternative should be chosen. (20)

DISTANCE EDUCATION M.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.First SemesterComputer Lab I — DATA STRUCTURES USING C(2005 onwards)Time : Three hours Maximum : 100 marks Practicals : 95 marks Record : 5 marksExaminer should select and give ONE question to each candidate by lot system.1. (a) Write a program in C to find all possible tools of a quadratic equation. (30) (b) Write a program in C to perform matrix addition. (30) (c) Using structures in C perform the students list. (40)

2. (a) Write a C program to find the sum of ‘n’ natural numbers using recursion. (20) (b) Write a C program to arrange the numbers in descending order. (30) (c) Write a program in C to sort the alphabetical strings both in ascending & descending order. (50)3. (a) Write a program in C to sort the given numbers using quick sort. 12 10 87 21 35 30 32 . (50) (b) Write a C program to perform PUSH ( ) and POP ( ) operations in Linked list implementation of stack. (50)

5. (a) Write a C program to perform Enqueue, Dequeue operations in linked list implementation of Queue. (50) (b) Write a C program to convert infix to postfix expression. (25) (c) Write a C program to perform Bubble sort (25)

6. (a) Write a program in C to perform Balanced parenthesis. (25) (b) Write a C program to insert first and deletion middle in List ADT. (50) (c) Write a C program to perform insertion sort. 10 12 8 5 7 20. (25)7. (a) Write a C program to find the largest number in an array using pointers. (50) (b) Write a C program to find the occurrences of a character in a string. (25) (c) Write a C program to perform Merge sort. (25)

8. (a) Write C program to perform Binary Search. (50) (b) Write a C program to evaluate the determinant of a matrix. (25) (c) Write C program for reversing an integer. (25)—————————

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.First SemesterCOMPUTER LAB II — MS OFFICE AND INTERNET(2005 onwards)Time : Three hours Maximum : 100 marksAnswer any TWO questions choosing ONE from MS-Excel and MS-Word and another from HTML.Each question carries 50 marks.1. Create a database for the following details : (a) Employee Table (10 Records) (b) Emp_Code (c) Emp_Name (d) Emp_Category (e) Salary. Display the data in following order. Display Emp_Name in Alphabetical order. Display Emp_Name whose salary is greater than 5,000.2. Create a students details table which include roll-no, name m1, m2, m3, m4, m5, total avg, grade. Use not null key to roll no. total avg. grade has to be store values by queries.3. Prepare a employee database, this must include employee name, employee number, salary, commission, department using MS-Excel. Perform sorting in this database.4. (a) Find mean, median and standard deviation. (b) Correlation, coefficient between x and y. (c) Draw the bar chart and shading cells.x 1 2 3 4 5 6y 22 10 5 15 55 495. Create a HTML document, which should display image in centre of the page with description below the image. ‘‘WELCOME” should scroll from left to right use appropriate tags.6. Create a HTML document, which should display the students details in the following form :S.No. StudentName M1 M2 M3102 ARUN 90 87 82104 BALA 82 88 90106 SUDHA 90 87 967. (a) Perform the following in word using appropriate symbols : (i) (ii) (b) Send a letter to five different persons using mail merge feature in MS-Word.8. Prepare a Biodata in MS-Word this must include your name father name address, qualification from 10th class with academic year, percentage and your technical qualification. (Qualification must be in table).9. Prepare the following details in word. Use appropriate bullets and numbers. Introduction (a) Computer/Organization (b) Input / Output Devices Keyboard Mouse Printer Plotter (c) Generation of computers.10. Draw a flow chart to find the sum of ‘n’ natural numbers using MS-Word.————————

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.Second SemesterLAB III — GRAPHICS USING C++(2005 onwards)Time : Three hours Maximum : 100 marksThe examiner should select ONE program and give it to the student by lot system.1. Write a program to draw a straight line using DDA technique.2. Write a program to animate the flying national flag. 3. Write a program to show the scaling, rotation and translation of a 2D object.4. Write a program to clip an ellipse against a rectangular window.5. Implement a 3D clipping algorithm for clipping against an arbitrary plane.6. Extend the Sutherland-Hodgman polygon clipping algorithm to clip 3D planes.7. Write a program for the fill ellipse function.8. Write a program to modify a circle procedure to draw a spiral and a cardioid.9. Write a program to show how shear transformations may be expressed in terms of rotations and scales.10. Write a program to implement Sutherland-Hodgman polygon algorithm.11. Write a program to draw the non linear objects Arc and Curve.12. Write a program to draw a car and drive it in a path using animation.13. Write a program to manipulate the graphical object using shading technique.14. Write a program to implement polygon clipping algorithms.15. Draw a ball and perform animation on it. ————————

2. (a) Write a VB program to sort the given numbers in ascending order. (b) Write a VB project using control array that create a scientific calculator with appropriate command buttons.3. (a) Write a VB program to copy the contents of one file into another. (b) Write a VB project that stores 10 student details with fields Reg. No., Name, Class. Display data fields in Text boxes and provide command buttons to move to the desired record.

4. (a) Write a VB program to find the Simple interest for the given P, N and R. (b) Add Data control and Text boxes to your Form and set its properties such that you can display the customer ID, Name, Address from Customer table of Invoice.mdb.

5. (a) Write a VB program to reverse the given string. (b) Create a Menu system like the one you see in WordPad.

6. (a) Write a VB program to convert the given decimal number to binary. (b) Write a VB project for Bank operations using SB-account database with the options : (i) Add new account (ii) Deposit amount (iii) Withdraw account (iv) Display account.7. (a) Write a VB program to calculate the sum and average of three Subject marks and display its results and class. (b) Write a VB program to add records to the database using database controls.

8. (a) Write a VB program to test whether the given string is Palindrome (or) not. (b) Write a VB project to view records using Database controls.

9. (a) Write a VB program to display the University result of MCA students in 5 subjects provided, grade, result, marks in 5 subjects with their name and roll number should be displayed. (b) Write a VB project that receives a year number from a Text box and month name from the list box and displays the number of days in the given month.

10. (a) Write a VB program to reverse the given 4 digit number. (b) Write a VB program to add records to the database using database controls.————————

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.Third SemesterLab V : RDBMS(2005 onwards)Time : Three hours Maximum : 100 marksOne question is to be given by the examiner to each candidate by lot systm.

1. Consider the following relations for a database that keeps track of business trips of sales persons in a sales office : SALES PERSON (SSN, Name, Start-year, Dept-No) TRIP (SSN, From-City, To-City, Dep-Date, Rep-Date, Trip- ID) Expense (Trip-ID . Account #, Amount) Create tables in oracle for the above schema specify the foreign keys. Write SQL for the following : (a) Print the SSN of sales person who tools trips to ‘‘Bangalore’’. (b) Print the total trip expenses incurred by sales man with SSN = ‘‘234 – 56 – 7890’’.2. Consider the following relations for a database that keeps track of auto sales in a car dealership. Option refers to zone optional equipment installed on an auto. Car (Serial – no., Model, Manufactures, price) Options (Serial – no., Option – name, Price) Sales (Sales person – id, Serial – no., Date, Sales price) Sales person (Sales person – Id, Name, Phone) Create tables in oracle for the above scheme Specify the foreign keys. Next populate the relations with a few example tuples and then show an example of an in section in the SALES and SALES PERSON relations that violates the referential integrity constraints. Specify the following queries in SQL. (a) For the sales person named ‘ram’, list the following information for all the cars he sold : Serial no., manufacturers, sale-price. (b) List the serial no and model of cars that have no options.

3. Consider the following relations for a database that keeps fresh and student enrollment in courses and the books adopted for each course. Student (SSN, Name, Major, Bdate) Course (Course No., Course Name, Dept) Enroll (SSN, Course No., Quarter Grade) Book – Adoption (Course No., Quarter, Book-ISBN) Text (Book-ISBN, Book-Title, Publisher, Author) Create table by Specifying the foreign keys for the above schema stating any assumptions you make. (a) List the number of courses taken by all students named ‘‘John’’ in 1999. (b) List the books from particular author, borrowed by a student.4. Consider the following six relations for an order processing database applications in a company : Customer (customer id, cname, city) Order (order no, order date, customer id, order amt) Order – item (order no, item no, qty) Item (item no., unit-price) Shipment (order no., ware house no, ship-date) Warehouse (ware house no, city). Here order amt refers to total doller amount of an order. Order date is the date the order was placed. Ship-date is the date an order is shipped from the warehouse. Create tables for the above schema and specify foreign keys specify the following SQL queries : (a) List the order no, shipment date, for all orders shipped from warehouse number = ‘‘w3’’. (b) List the warehouse information from which the customer named ‘‘John’’ was supplied his orders. Produce a listing order no, warehouse no.

5. Write a PL/SQL program to implement the following exceptions : (a) Too_Many_Rows (b) DVD_VAL_ON_INDEX (c) INVALID_NUMBER.6. Write a PL/SQL program to implement the following exceptions : (a) NO_DATA_FOUND (b) VALUE_ERROR (c) Other was defined exceptions.

7. A relational database is given with the following relations : EMPLOYEE (Emp¬-Name, Street, City) WORKS (Emp-Name, Company-Name, Salary) COMPANY (Company-Name, City) MANAGES (Emp-Name, Manager-Name) Construct tables for the above relations. Write SQL for the following : (a) Find the company with most employees (b) Find the company with smallest payroll (c) Find the names of all employees who work for ABC company (d) Find the names of all employees who do not work for ABC company.8. Consider the following relations : SUPPLIER (S-ID : integer, S-name : string, Address : String) PARTS (P-ID : integer, P-Name : string, colour : string) CATALOGUES (S-ID : integer, P-ID : integer, COST : real) Create tables for the above relations. Write SQL for the following : (a) Find the name of suppliers who supply same red part (b) Find the P-IDs of parts that are supplied by atleast two different suppliers. (c) Find the S-IDs of suppliers who supply same red part and green parts (d) Find the S-IDs of suppliers who supply every part.9. Let us assume that a database system has the following relations : STUDENTS (Name, Roll-no., Address, Main) ADMISSION (Roll-no., Course, Semester) FACULTY (Course, Faculty, Semester) OFFERING (Branch, Course) Write SQL to generate outputs for the following queries. (a) All courses taken by a given student (b) All faculty that at same time taught a given student (c) The names of students admitted in a particular course in a given semester (d) Students who have taken all course offered by a given faculty.

10. Construct an E-R diagram for a hospital management system with a set of doctors and a set of patients. With each patient, a series of various tests and examinations are conducted. On the basis of preliminary report patients are admitted to a particular speciality ward. Construct appropriate tables for the above E-R diagram.––––––––––––––––

1. (a) Write a program to solve Towers of Hanoi problem. (b) Write a shell program which accepts the name of a file from input and performs the following tasks. (i) File Existence (ii) File readable (iii) File writable.2. (a) Write a program for Fibonacci series implementation. (b) Write a shell program to monitor the disk for existence and to execute the program once the file has been located.

3. (a) Write a program to implement linear search. (b) Write a shell program to prepare pay slip for a company (make relevant assumptions).

4. (a) Write a program to solve traveling salesman problem. (b) Write a menu driven shell program to copy, edit, rename and delete a file.

5. (a) Write a program to solve Knight tour problem using backtracking method. (b) Write a shell program to prepare the patient details in a hospital (make relevant assumptions).

6. (a) Write a program for heap sort. (b) Write shell program to prepare electric bill in the following format for domestic consumers. (Make relevant assumptions) (i) Customer No. (ii) Customer Name (iii) Previous Reading (iv) Current Reading (v) Unit Consumed (vi) Charge.7. (a) Write a program for quick sort implementation. (b) Write a shell program to sum up the series.

8. (a) Write a program to implement straight exchange sorting. (b) Write a shell program to have a calculator with basic arithmetic operations.

9. (a) Write a program to implement straight insertion sorting. (b) Write a shell program to convert given string in center of given row in Bold, normal or Reverse video.

10. (a) Write a program to implement straight selection sorting. (b) Write a shell program to prepare leave status report of an organization (make relevant assumptions).

––––––––––

DISTANCE EDUCATIONM.C.A. (S) DEGREE EXAMINATION, DECEMBER 2007.Fourth SemesterLAB VII — INTERNET PROGRAMMING(2005 onwards)Time : Three hours Maximum : 100 marksEach question carries 50 marks.Examiner has to choose question for each candidate by LOT system.1. (a) Write a Java Script to create an Order Form to select the house articles. (b) Write a VBScript to create a time table for a class.

2. (a) Write a JavaScript to create a Color Pallet and display the background in the color chosen from the pallet. (b) Write a VBScript to do the following (i) Find the difference between two dates. (ii) To find whether the number is an armstrong number or not.

3. (a) Write a JavaScript to create a scrolling banner to display the text, in your windows status bar. (b) Write a VBScript to calculate income tax of an employee. (Assume your own data).

4. (a) Write a VBScript to create a calender for given month. (b) Write a Java Script to display “Alagappa university – Karaikudi” in different styles.

5. (a) Write a VBScript to do the following : (i) To display the first 20 Fibonacci series. (ii) To find the sum of the digits of the given number. (b) Write Java Script to create a monthly budget for a family.

6. (a) Write a VBScript to do the following : (i) Find the differences between two dates. (ii) To display the current date. (iii) To find the factorial of a number. (b) Write a Java Script to find the sum of the given integer number.————————

8. Write a Java program to transfer the contents of a file from the server system to the client system.

9. Write a Java Program to implement stop and wait protocol.10. Write a Java Program to implement sliding - Window protocol.

11. Write a Java Program to find shortest path.

12. Write a Java Program to find the IP address of any system.

13. Write a Java Program to implement remote procedure call.

14. Write a Java Program to access remote Hard disk and floppy disk.

15. Write a Java Program for sending message using cryptography.

16. Write a Java Program to develop an Email program.

———————

DISTANCE EDUCATIONM.C.A.(S) DEGREE EXAMINATION, DECEMBER 2007.Fifth SemesterLAB IX — VISUAL C++(2005 onwards)Time : Three hours Maximum : 100 marksExaminer should select and give ONE question to each candidate from lot.1. (a) Write a Visual C++ win32 application program using MFC that display a message ‘‘Happy New Year”. (b) Write a Visual C++ win32 application program using MFC to perform all Bitwise Operation.

2. (a) Write a Visual C++ win32 application program using MFC that create two push button CLEAR and OK on the client area. Buttons should respond to user click over them and display appropriate message. (b) Write a Visual C++ win32 application program using MFC to perform following (i) Find the length of a String (ii) Sort the given Strings (iii) Reverse a String.3. (a) Write a Visual C++ win32 application program using MFC to display the factorial of a number. (b) Write a Visual C++ win32 application program using MFC that display the status of CAP LOCK, ENTER, PAGE UP and SHIFT keys.

4. (a) Write a Visual C++ win32 application program using MFC to find Sum of ODD numbers. (b) Write a Visual C++ win32 application program using MFC to draw the following (i) Line (ii) Ellipse (iii) Rectangle (iv) Polygon. Use mouse to draw and fill with color.

5. (a) Write a Visual C++ win32 application program using MFC to find the average of ‘N’ numbers. (b) Write a Visual C++ win32 application program using MFC that creates a list box and display name of course available in Distance Education.

6. (a) Write a Visual C++ win32 application program using MFC that display Number of Right Clicks and Numbers of Left Clicks in the Mouse. (b) Write a Visual C++ win32 application program using MFC to fill background of the client area with a bitmap.7. (a) Write a Visual C++ win32 application program using MFC to perform Matrix Addition. (b) Write a Visual C++ win32 application program using MFC to display Text in different Size and in Fonts.

8. (a) Write a Visual C++ win32 application program using MFC to display a Marklist. (b) Write a Visual C++ win32 application program using MFC to display Mouse status in the status bar.————————