0% found this document useful (0 votes)
28 views

Assignment of VB

This document outlines 5 programming assignments: 1. Develop a temperature conversion program that allows the user to select Fahrenheit or Celsius and converts the input accordingly. 2. Create a word counting program that counts the number of words entered into a text box. 3. Write a program to check if a given word is a palindrome. 4. Make a program that converts entered sentences to different cases (upper, lower, title etc) based on user selection. 5. Develop a number processing program that performs operations like reversing, summing digits or summing digit cubes on a number input by the user.

Uploaded by

udaymmm
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Assignment of VB

This document outlines 5 programming assignments: 1. Develop a temperature conversion program that allows the user to select Fahrenheit or Celsius and converts the input accordingly. 2. Create a word counting program that counts the number of words entered into a text box. 3. Write a program to check if a given word is a palindrome. 4. Make a program that converts entered sentences to different cases (upper, lower, title etc) based on user selection. 5. Develop a number processing program that performs operations like reversing, summing digits or summing digit cubes on a number input by the user.

Uploaded by

udaymmm
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment-1

1. Develop a program that will accept a Temperature either in Fahrenheit or in


Centigrade Scale and convert it into Centigrade or into Fahrenheit accordingly.
User will choose this option from a option list. Your input form should be like
this:

Point to be noted:
i) According to the user’s choice the Label with the text box will be changed.
(i.e. if he chooses Fahrenheit to Centigrade the first text box associated label
will be Fahrenheit and second text box associated label will be Centigrade)
ii) If user clicks on the close button in the form program will display a message
saying “Click on the Exit Button to exit”.

2. Develop a Program that will count the number of words written in a text box.
Output form of this program may like this. (Note the text box properties. It
supports Multi Line and Scroll Bars
3. Write a program that will accept a Word and check that the word is a palindrome
or not.
4. Develop a program that will accept Sentences and convert it into Upper Case/
Lower Case/Sentence Case / Title Case/Toggle Case according to the user’s
choice. Input form may look like this:

5. Check the following input form

In this form user will enter a number in the 1st text box and get the changed
number in the text box2 according to chosen option from the List Box. Four options are
available in the list box
a. Reverse the Number  It will reverse the given number.
b. Sum of its Digits  it will find the sum the digits of the given number i.e.
if the given number is 532 output will be 5+3+2 , 10
c. Sum of its Digits cube. d. Refresh  Clear the content of the text boxes.

Assignment 2
1. Develop a program that uses three Horizontal scroll bars to change the Red
Green Blue colors of two picture box. Each scroll bar has two events Change()
and Scroll(). Change event will change the Picture box 2’s back color and Scroll
event will change the back color of Picture Box 1’s Back color according to these
three scroll bar’s value.

Q3. Develop an image browser with stretch option using a common Dialog Box

Q4. Create a Progress Bar using line drawing in Picture box , with the progress bar
exhibiting all the VIBGYOR Colours.

You might also like