Posted in Semester 4

Sem 4 – VWP Unit 4 Programs

VWP – Visual & Windows Programming

Using menus, common dialogs, procedures, functions and arrays

1. Design a form that having subroutine of function with below operations
Button1: Find out the avg. of four values.
Button2: Find out the max. From that values.
Button3: Find out the min. from that values.

2. Create an application which provides four textboxes for accepting numbers and three option buttons to select two, three or four. Design function adds to find addition of numbers selected using option buttons.

3. Take two picture boxes on form which overlap each other. It we click on first picture it will hide itself and shows second one and if we click second one it will do the same. Continue reading “Sem 4 – VWP Unit 4 Programs”

Posted in Semester 4

Sem 4 – VWP Unit 3 Programs

VWP – Visual & Windows Programming

Unit 3 – Decision Making, Repetition and multiple forms

1. Enter 5 numbers find out highest and second highest. For highest no check it is prime or not and for second highest calculate Fibonacci series.

2. Create an application with a textbox in which user can enter a sentence then displays
1) Number of vowels
2) Number of spaces
3) Number of digits
4) Number of special symbols
When user press “analysis” button

3. Take one textbox. Enter paragraph with multiple lines and find out no. of vowels and no. of digits from paragraph. Continue reading “Sem 4 – VWP Unit 3 Programs”

Posted in Semester 4

Sem 4 – VWP Unit 2 Programs

VWP – Visual & Windows Programming

Unit 2 – Working with Variables, Constants, Data types and Expressions

1. Design a form that has three textboxes and radio button that calculate simple interest and compound interest.

2. Design an application which will have 2 radio buttons. One will convert the Celsius to Fahrenheit and another will convert Fahrenheit to Celsius. Show the appropriate output depends on the user’s selection. (Use radio button to take user choice and use textbox to enter value).

3. Create a loan calculator using Pmt function. Continue reading “Sem 4 – VWP Unit 2 Programs”

Posted in All Posts, Semester 4

Sem 4 – CJ Unit 4 Programs

CJ – Core Java

Unit 4 – Packages, Multithreading, Applets and Graphics

1. Write a program to calculate the area by using an interface.
Download

2. Write a program to show use of the import statement.
Download (Main file – cj4_2.java) || Download (Package file – Calculator.java)


3. Write an interface called Numbers, with a method int Process(int x, int y). Write a class called Sum, in which the method Process finds the sum of two numbers and returns an int value. Write another class called Average, in which the Process method finds the average of the two numbers and returns an int. Continue reading “Sem 4 – CJ Unit 4 Programs”

Posted in Semester 4

Sem 4 – VWP Unit 1 Programs

VWP – Visual & Windows Programming

Unit 1 – Building simple application in the VB.NET environment with form, textbox, label, numeric up down and button

1. Create a form with one textbox, one label and one button. Enter your name in textbox. On clicking of button, your name must display into the label.

2. Create a form with three buttons Red, green and blue. On the click of red button back color of form will be changed to red and so on.

3. Create a form, while running the application the form should always be shown in the middle of the screen. Continue reading “Sem 4 – VWP Unit 1 Programs”

Posted in All Posts, Semester 4

Sem 4 – CJ Unit 3 Programs

CJ – Core Java

Unit 3 – Exception Handling and Inheritance

1. Write a program to display the sum of digits of given numbers with exception handling.
Download

2. Write a java program which takes 2 arguments – a string and its length. If the length of the string is not according to given one then throw the user defined LengthMatchException and handles it appropriately.
Download

3. Write a Java program to input n integer numbers and display lowest and second lowest number. Also handle the different exceptions possible to be thrown during execution. Continue reading “Sem 4 – CJ Unit 3 Programs”

Posted in All Posts, Semester 4

Sem 4 – CJ Unit 2 Programs

CJ – Core Java

Unit 2 – Decision Making, Looping, String, Array, Wrapper Classes

1. Write a program to print even number up to 10 using while loop.
Download

2. Write a program to check whether the given number is even or odd.
Download

3. Write a program to demonstrate calculator using switch statement. Continue reading “Sem 4 – CJ Unit 2 Programs”