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 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”

Posted in All Posts, Semester 4

Sem 4 – CJ Unit 1 Programs

CJ – Core Java

Unit 1 – Java Introduction, Operator, Objects, Methods

1. Write a program to calculate the hypotenuse of right angled triangle when other sides of the triangle are given. (Hypotenuse = Square root (x*x + y*y)).
Download (Input using command line) | Download (Input using scanner method)


2. Write a program to evaluate simple interest of a given principal, rate and time.
Download

3. Write a program to find maximum of two numbers without using third variable. Continue reading “Sem 4 – CJ Unit 1 Programs”