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

Visual Basic

Question from visual basic 6.0 practical exam

Uploaded by

dewd551
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Visual Basic

Question from visual basic 6.0 practical exam

Uploaded by

dewd551
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

M. Sc.

Previous (Computer Science)


Visual Basic 6.0 Practical Questions

Q1. Write a program to perform addition, subtraction, multiplication and division of two
numbers given by user.
Q2. Write a program to find out area of square, circle, rectangle and triangle.
Q3. Write a program to calculate simple interest and compound interest for a given principal
amount rate and time.
Q4. Write a program that compares two numbers and tells the user, which one is greater
between them.
Q5. Write a program to print the smallest and the largest amongst three given numbers.
Q6. Write a program to check whether a given number is even or odd.
Q7. Write a program to print the first 50 natural numbers using loop.
Q8. Write a program to print even and odd number series from 1 to 50.
Q9. Write a program to print/show the capital of a selected Indian state using switch case.
Q10. Write a program to print the corresponding weekday name according to the given value
from 1 to 7 using switch case.
Q11. Write a program to print the factorial of a given number.
Q12. Write a program to find out whether a given number is prime or not.
Q13. Write a program to print the Fibonacci series up to a given range.
Q14. Write steps to create a menu bar in a form.
Q15. Design a Log In form in Visual Basic 6.0.
Q16. Write a program to animate a butterfly.
Q17. Write a program to convert the value of temperature from Fahrenheit to Celsius and vice
versa.
Q18. How Visual Basic 6.0 does error handling? Write code to handle “divide by zero” error.
Q19. How can you write to or read from a file (txt or html file) in Visual Basic 6.0. Write code.
Q20. What is an MDI form? Why it is used? Write a program to add an MDI form in your

project.

You might also like