Ql: - Design a form and write a code to find the average value of N degrees using For Next Loop. Use InputBox function to read degrees.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Computer Science
1st year
Computer Science
Abdulmuttalib T. Rashid
Sheet No. 2
Q1: - Design a form and write a code to find the average value of N degrees using For
Next Loop. Use InputBox function to read degrees.
Q2: - Design a form and write a code to find the largest value of N numbers using Do
While Loop. Use InputBox function to read numbers.
Q3: - Write VB program using Do Loop While to read 7 marks, if pass in all marks
(>=50) print "pass" otherwise print "fail". Use input box to read marks.
Q4: - Write VB program using Do Until Loop to find the summation of student's marks,
and it's average, assume the student have 8 marks. Use InputBox function to read
marks.
Q5: - Write VB program to read the degrees of computer science material, and find how
many students are success, and how many students are failed. Use Do While Loop.
Q6: - Write VB program to calculate the following equation. Use inbut box to read
values of x and msgbox function to display the result values of y(x).
sin(x)
y(x) = x *
where x = 0.5, 1.0, ., 2Tn
Q7: - Write VB program to evaluate the following series. Use nested Do Loop While.
E-1 E (1 + 2 * j)
Q8: - Write VB program to print the following figures. Print the figure in picture box
using Do Loop Until.
****
***
**
*
Q9: - Write VB program to print the following figure. Print the figure in picture box
using Do Until Loop.
1
21
321
4321
5 4321
Q10: - Write VB program to inverse an integer number.
For example: 765432 => 234567
Basrah University - Electrical Eng. Dep.
Page 1
Transcribed Image Text:Computer Science 1st year Computer Science Abdulmuttalib T. Rashid Sheet No. 2 Q1: - Design a form and write a code to find the average value of N degrees using For Next Loop. Use InputBox function to read degrees. Q2: - Design a form and write a code to find the largest value of N numbers using Do While Loop. Use InputBox function to read numbers. Q3: - Write VB program using Do Loop While to read 7 marks, if pass in all marks (>=50) print "pass" otherwise print "fail". Use input box to read marks. Q4: - Write VB program using Do Until Loop to find the summation of student's marks, and it's average, assume the student have 8 marks. Use InputBox function to read marks. Q5: - Write VB program to read the degrees of computer science material, and find how many students are success, and how many students are failed. Use Do While Loop. Q6: - Write VB program to calculate the following equation. Use inbut box to read values of x and msgbox function to display the result values of y(x). sin(x) y(x) = x * where x = 0.5, 1.0, ., 2Tn Q7: - Write VB program to evaluate the following series. Use nested Do Loop While. E-1 E (1 + 2 * j) Q8: - Write VB program to print the following figures. Print the figure in picture box using Do Loop Until. **** *** ** * Q9: - Write VB program to print the following figure. Print the figure in picture box using Do Until Loop. 1 21 321 4321 5 4321 Q10: - Write VB program to inverse an integer number. For example: 765432 => 234567 Basrah University - Electrical Eng. Dep. Page 1
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY