Thursday, May 27, 2010

Final Year B.Sc Computer Science Practical List

Buzz It
The Record should contain a minimum of 30 programs from Java and Internet programming

PART A JAVA (35 Marks)

1. Write a program to calculate the sum of two complex numbers and display it using a class.
2. Write a program to calculate area and circumference of a circle using class.
3. Write a program to generate n prime numbers.
4. Write a program to create a student class with following attributes. Enrollment number, name of student, any 3 marks & total. Total must be calculated only when the student passes in all the three subjects. The pass mark for each subject is 50. If a candidate fails in any one of the subjects his/her total mark must be declared as zero. Using these conditions write a constructor for this class. Write separate functions for accepting and displaying student details.
5. Write a program to sort a set of numbers using class
6. Write a program to calculate distance between points.
7. Create a class hierarchy that stores information about Airships. Create a base class called Airships that stores the number of passengers and the amount of cargo in bounds that can be carried. Then create two subclasses called airplane and balloon from airships. Airplane stores the type of engine used and range in miles. Balloon stores the type of gas used (hydrogen & helium) and its maximum altitude in feets. Write a program to read and display airplane details and balloon details.
8. Write a program to generate Fibonacci numbers up to n.
9. Write a program to generate strange numbers up to n
10. Create a class Figure that stores the two dimensions. Create an abstract method area in figure. Derive two subclasses Rectangle and Triangle and compute area.
11. Write a program to create and run a thread and then make it sleep.
12. Write a program to illustrate thread priorities. Create three threads and assign priorities.

PART B INTERNET PROGRAMMING(35 Marks)

1. Create a simple HTML document. (Using bold, italics, underline, font, color, sizes, alignment, face etcs).
2. Create a web page with two frames and load different html documents in each frame.
3. Create a web page with different types of lists (ordered list, unordered, and defined lists).
4. Create a web page with four hyperlinks and show the linking documents.
5. Create a web page to accept background color from the user and make the changes to the document using JavaScript.
6. Create a home web page of a college-using html and add moving text.
7. Create a web page to add two numbers. Display the result by clicking a button. Show a confirmation dialog box by using JavaScript.
8. Create a web page to perform division of two numbers, accept numbers from the user by using JavaScript.
9. Create a web page with a student table.
10. Create a web page which has properly aligned paragraphs with images along with it.
11. Create a simple form with all controls.
12. Create an application form with various fields and appropriate front-end validations using JavaScript language.

The Record should contain a minimum of 15 programs from Windows, 15 programs from Visual C++, 10 programs from Assembly Language, and 5 programs from Multimedia. The student have to answer two questions, that are marked by the examiner



Part A Windows Programming (35 Marks)

1 To display a window on the screen and interact with it.
2 To display a text in the center of a window.
3 To display text at mouse clicked position
4 To perform freehand drawing in a window.
5 To draw a line joining 2 points clicked in the window.
6 To draw basic shapes.
7 To fill the shapes using logical pen.
8 To display a digital clock using Timer.
9 To change the cursor in the client area.
10 To display the icon horizontally and vertically in the client area.
11 Design a simple arithmetic calculator (*, +, -, /) using modeless dialog box.
12 Alter the colors in the client area using Timer.

Part B Visual C++ Programming (35 Marks)

1 Reading Data From Key Board and center the text in the window
2 Display text at mouse clicked position.
3 To find sum and reverse of a number using textbox and buttons.
4 Create an application that add and delete data in a List Box
5 Calculate and display Salary slip using checkbox and radio buttons.
6 Display slider position using Slider Control
7 Draw different shapes rectangle, ellipse using menus and corresponding toolbars
8 Create an application with Common Font Dialog box and common Color Dialog box.
9 To write data and read data from the file
10 Create a digital clock using timer.
11 Read keystrokes using MDI and serialization.
12 Create an application with modal dialog box.

Part C Assembly Language Programming (35 Marks)

1. 16 bit addition
2. 16 bit subtraction
3. multi byte addition
4. multi byte subtraction
5. sum of elements in an array
6. sorting in ascending order
7. sorting in descending order
8. search for an element in an array
9. smallest element in an array
10. largest element in an array
11. factorial of an 8 bit data
12. generate ascii code of the key pressed

0 comments:

Post a Comment