Monday, March 2, 2020

SET 17 - Qbasic Program ----SEE Computer Science 2076 --- Practice Day 17 --- 12 Questions

SET 17 - Qbasic  Program ----SEE Computer Science 2076 --- Practice Day 17 --- 12 Questions


PROGRAMMING QUESTION
[9 Marks]

Group A
1.      Write a program to calculate the volume of a cylinder using FUNCTION….END FUNCTION.[SEE MODEL 2065], [SLC 2071 S]
2.      Using FUNCTION….END FUNCTION, Write a program to calculate distance travelled by a body. [SLC 2065R]
3.      Write a program using SUB…END SUB to get radius of circle and then print its area. [SLC 2065 S, SLC 2071 R, 2074, 2074 S]
4.      Write a program using FUNCTION module to calculate and print the volume of a box. [SLC 2066 R]
5.      Write a program using FUNCTION…END FUNCTION to find the average of any two numbers given by the user. [SLC 2066 S]
6.      Using FUNCTION…END FUNCTION Write a program to calculate the average of three numbers. [SLC 2067 R], [SLC 2070 S, SEE 2075]
7.      Write a program using SUB…END SUB to get radius of a circle and then print its circumference. [SLC 2067 S]
8.      Write a program to calculate the area of four walls using SUB…END SUB. [SLC 2068 R], [SEE 2073]
9.      Write a program in QBASIC to find the total surface area of a box using FUNCTION…END FUNCTION. [SLC 2068 S, 2075]
10.   Write a program to calculate and print the simple interest using FUNCTION…END FUNCTION. [SLC 2069 S]
11.   Write a program using FUNCTION…END FUNCTION to get temperature in celsius from the user and then print the temperature in fahrenheit. [SLC 2070 R]
12.   Write a program using FUNCTION…END FUNCTION, to find the area of triangle. [SEE 2072]

No comments:

Post a Comment