Question: Visual Basic Programming: Case Structure and Error Handling Objective: Use Visual Basic to develop a Graphical User Interface (GUD) for administering a quiz and handling

 Visual Basic Programming: Case Structure and Error Handling Objective: Use Visual

Basic to develop a Graphical User Interface (GUD) for administering a quiz

Visual Basic Programming: Case Structure and Error Handling Objective: Use Visual Basic to develop a Graphical User Interface (GUD) for administering a quiz and handling potential sources of errors. Task #1 : Create a program to ask a total of three questions. For each question, the program displays the question, lets a student type in a short answer, and tells the student whether his answer is right or wrong. It also keeps track of the total number of right answerS Part A: Create a user interface like the one in the figure below. s Quiz Program Question #1: T or F: The' symbol is used for comments in VB Yout Answer""> uestions Right: 0 uestions Asked: I Percent Right: 0.00 Check AnswerNew Questicn Note that in the above interface, there are labels for question number, question, answer box, statistics label, response label, and command buttons for check answer, new question, and exit- . Declare variables such as QuestionNumber, QuestionAsked, QuestionRight, PercentRight as Form level variables beneath the Public Class statement. Design and display the first question in the Form Load subroutine. . Part B: Program the interface with the following questions: 1. "Can a VB project have more than one form (Y/N)?" Answer is Y 2. "T/F: A label is a control that permits user input." Answer is T 3. "T/F: The" symbol is used for comments in VB." Answer is F Use the Case statement to show the remaining questions in the NewQuestion procedure Use the Case statement to show the answer for cach of the questions in the CheckAnswer procedure. . . The final answer screen should look like the followings

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!