Introduction to Programming Using Visual Basic (10th Edition)
10th Edition
ISBN: 9780134542782
Author: David I. Schneider
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
Chapter 2.3, Problem 37E
Program Plan Intro
To find the effect of pressing the small text boxes.
Write a program in which the text box displays the specific sayings in the large text box when the focus is moved to any of the three small text boxes.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Design form in vb contains three
command buttons, the first title
buttons (Start) and show an input box
contain blank phrase student's name
with the title "name" and then display it
on a text box. The second title button
(Clear) by using msgbox contains blank
phrase (are you sure to clear? , yes &
No button and title "clear" , The third
title button (Exit) and show an input
box contain blank phrase "exit" with
title close and display it on label
*
2 11. 4 AM
Computer Science
create a jumping rectangle, create a second rectangle that move back and forth across the bottom (yLimit) and allow the jumping rectangle to move left and right too. The jumping box must avoid a collision with the second rectangle, if they hit a message should be shown that you died and end the program. in C#
VB Small Project 16 – Function
Pattern this Visual Basic program after Small Project 15:
Main()
Create the random number in the same way.
EvenOrOdd Function()
Pass that number into this function, where it will be found to be either Even or Odd. Return a value indicating which one that will be used back in Main.
DisplayResults Sub
The result from the EvenOrOdd Function is passed into this Sub and the same results as from SP 15 will be printed.
Chapter 2 Solutions
Introduction to Programming Using Visual Basic (10th Edition)
Ch. 2.2 - Prob. 1ECh. 2.2 - While a program is running, a control is said to...Ch. 2.2 - In Exercises 3 through 24, carry out the...Ch. 2.2 - Prob. 4ECh. 2.2 - Prob. 5ECh. 2.2 - Prob. 6ECh. 2.2 - Prob. 7ECh. 2.2 - Prob. 8ECh. 2.2 - Prob. 9ECh. 2.2 - Prob. 10E
Ch. 2.2 - Prob. 11ECh. 2.2 - Prob. 12ECh. 2.2 - In Exercises 3 through 24, carry out the...Ch. 2.2 - Prob. 14ECh. 2.2 - Prob. 15ECh. 2.2 - Prob. 16ECh. 2.2 - In Exercises 3 through 24, carry out the task. In...Ch. 2.2 - Prob. 18ECh. 2.2 - Prob. 19ECh. 2.2 - Prob. 20ECh. 2.2 - Prob. 21ECh. 2.2 - In Exercises 3 through 24, carry out the task....Ch. 2.2 - Prob. 23ECh. 2.2 - Prob. 24ECh. 2.2 - Prob. 25ECh. 2.2 - Prob. 26ECh. 2.2 - Prob. 27ECh. 2.2 - Prob. 28ECh. 2.2 - Prob. 29ECh. 2.2 - Prob. 30ECh. 2.2 - Prob. 31ECh. 2.2 - Prob. 32ECh. 2.2 - Prob. 33ECh. 2.2 - Prob. 34ECh. 2.2 - Prob. 35ECh. 2.2 - Prob. 36ECh. 2.2 - Prob. 37ECh. 2.2 - Prob. 38ECh. 2.2 - Prob. 39ECh. 2.2 - Prob. 40ECh. 2.2 - Prob. 41ECh. 2.2 - Prob. 42ECh. 2.2 - Prob. 43ECh. 2.2 - Prob. 44ECh. 2.2 - The following hands-on exercises develop...Ch. 2.2 - The following hands-on exercises develop...Ch. 2.2 - Prob. 47ECh. 2.3 - Prob. 1ECh. 2.3 - Prob. 2ECh. 2.3 - Prob. 3ECh. 2.3 - Prob. 4ECh. 2.3 - Private Sub Handles btnOutput.Click
End Sub
Ch. 2.3 - Prob. 6ECh. 2.3 - Prob. 7ECh. 2.3 - Prob. 8ECh. 2.3 - Prob. 9ECh. 2.3 - Prob. 10ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 12ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 15ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 17ECh. 2.3 - Prob. 18ECh. 2.3 - Prob. 19ECh. 2.3 - Prob. 20ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 22ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 24ECh. 2.3 - Prob. 25ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 28ECh. 2.3 - Prob. 29ECh. 2.3 - Prob. 30ECh. 2.3 - Prob. 31ECh. 2.3 - Write a simple program to demonstrate that a...Ch. 2.3 - Prob. 33ECh. 2.3 - Prob. 34ECh. 2.3 - Prob. 35ECh. 2.3 - Prob. 36ECh. 2.3 - Prob. 37ECh. 2.3 - Prob. 38ECh. 2.3 - Prob. 39ECh. 2.3 - In Exercises 39 through 44, write a program to...Ch. 2.3 - Prob. 41ECh. 2.3 - In Exercises 39 through 44, write a program to...Ch. 2.3 - Prob. 43ECh. 2.3 - In Exercises 39 through 44, write a program to...
Knowledge Booster
Similar questions
- CREATE BOTH A PSEUDOCODE AND A FLOWCHART TO ILLUSTRATE THE PROGRAM.arrow_forwardCreate a Visual Basic project to find the Perimeter and area of any triangular using the equation formula as shown below, by using a define sub procedure. Perimeter a+b+c ; s= (a + b + c)/2 = Area = √√√s* (sa) * (sb) * (s-c) Design the program so that the values of a, b, and c are entered by using input box statement. Display Perimeter and area in separate (labeled) text boxes. When the value of the side length of the triangle (a or b or c) equal to zero, write a message box to enter a new value of the side length or end the program.arrow_forwardFigure 1: A screenshot of quadrant for angle Part2: Letter Grade To Number Write a program that translates a letter grade into a number grade. Letter grades are A, B, C, D, and F, possibly followed by + or -. Their numeric values are 4, 3, 2, 1, and 0. There is no F+ or F-. A + increases the numeric value by 0.3, a decreases it by 0.3. However, an A+ has value 4.0. A template java file: LetterGradeToNumber.java is provided. Your program output should like Figure 2: Submission Upload the following items on D2L dropbox, including: 1. The source code (Quadrants.java and LetterGradeToNumber.java). 2. Screenshots of your program outputs for each program (saved as png or jpg files).arrow_forward
- Background: The town recluse has invited you to dinner at his lavish century-old Victorian mansion outside of town; the dress is formal. When you arrive, you greet and are greeted by the other guests and house staff. After socializing, dinner begins in the dining room underneath the sparkling crystal chandelier with dishes that dazzle every sense. Eventually all the guests, including you, retire to the beautifully appointed and elegant drawing room. You lean back in a comfortable chair to enjoy after dinner refreshments and even better conversation and games. Eventually, despite your best efforts, you fall asleep from all the good food and refreshment. When you wake, you are seated in total darkness and briefly disoriented. Suddenly, a mellifluous voice announces that there is a new game in which you have the chance to win $100,000 simply by finding the bag of cash behind a certain door in the room. Once you have found the money, then you must find the door to the mansion’s corridor.…arrow_forwardThe text presented the Sierpinski triangle fractal. Inthis exercise, you will write a program to display another fractal, called the Kochsnowflake, named after a famous Swedish mathematician. A Koch snowflake iscreated as follows:1. Begin with an equilateral triangle, which is considered to be the Koch fractalof order (or level) 0, as shown in Figure a.2. Divide each line in the shape into three equal line segments and draw an outwardequilateral triangle with the middle line segment as the base to create aKoch fractal of order 1, as shown in Figure b.3. Repeat Step 2 to create a Koch fractal of order 2, 3, . . . , and so on, as shownin Figures c and d.arrow_forwardExercise 4: Write a program (call it MyCounterOptions) as shown in the Figure below. Each time the "Count" button is clicked, the counter value will be changed (incremented or decremented) according to the selected options: counting up or counting down the value of the counting step selected in the ComboBox (increment or decrement by 1, 2, 3, 4 or 5). The button count will consider all options and displays the result accordingly in the counter text field. Swing Counter with RadioButton & ComboBox Counter: O Down Step: 1 Countarrow_forward
- Q1) Design project and write a code to show picture and un-active the show command button. Q2) Design project and write a code to solve the following equationarrow_forwardRemaining Time: 54 minutes, 49 seconds. * Question Completion Status: QUESTION 19 Write a Java program that prompts the user to enter the School Grade Level of a student and then calculate their discount amount in the regular fees structure offered during this pandemic situation. By using the below table, calculate their discount amount from the amount of the regular fee and then print the discount amount in OMR by using the appropriate selection structure. (Assume the user is entering a maximum Grade level is 12) discount amount = Regular Fees * percentage of discount rate School Grade Level Regular Fees in OMR Discount Rate >9 and 6 and 3 and 0 and <=3 30.500 5% otherwise 20.400 No discount T T T Arial 3 (12pt) v T -E E- 只i ン Click Save and Submit to save and submit. Click Save All Answers to save all answers. Save All Answers TOSHIBA F5 F6 F7 F8 F9 F10 F11 F12 INS SCNULL LOCK AD & 67 7 V 8A9 4 0arrow_forwardS: Design a form with four text boxes and three commands. Design the VB program so that the values of num1, num2, and Symbol are entered into separate three text boxes. Write a code to perform (add, subtract, multiply and divide) when pressing on command (Calculate). Display the result in separate text box. The command (Clear) used to clear values in text boxes. Click command (Exit) to end the program and return to the project window. Form1 num1 symbol num2 result 8 Calculate Clear Exitarrow_forward
- The 24-point card game involves picking any four cards from 52 cards, as shown in Figure 10.20. Note that the jokers are excluded. Each card represents a number. An ace, king, queen, and jack represent 1, 13, 12, and 11, respectively. Enter an expression that uses the four numbers from the four selected cards. Each card number can be used only once in each expression, and each card must be used. You can use the operators ( *, and /) and parentheses in the expression. The expression must evaluate to 24. After entering the expression, click the Verify button to check whether the numbers in the expression are currently selected and whether the result of the expression is correct. Display the verification in a dialog box. You can click the Refresh button to get another set of four cards. Assume thatimages are stored in files named 1.gif, 2.gif, ..., 52.gif, in the order of spades, hearts, diamonds, and clubs. So, the first 13 images are for spades 1, 2, 3, ..., and 13.arrow_forwardQ1/ Write a Program to compute the area of triangle with design. Q2/Write a program to enter the name of a student and two marks of any subject by input box then computes the average and display the name and average in two labels. Q3/ Write a program to enter a real number then find its square after putting suitable design. Q4/ Design a project with three forms, such that forml contains two command buttons "Pethagors equation" and "area of triangle" such that when click on command1 "Pythagoras equation", form2 will be appear so in this form the third side of triangle will be compute with Pythagoras equation after enter the first and second side, and when click on "area of triangle" the third form displayed so that the area will be compute after entering the base and height. Use suitable output and input methods. Q5/ Write a program to display the message below after click on command button "run". quit do you want to quit? Yes No Q6/Write a program to display the time and the date, put…arrow_forwardUsing the SELECT CASE Structure, write the code of a Visual basic program that will calculate and display the sum, product, quotient or difference of two numbers depending on which radio button is selected. In the case of difference, the smaller number should be subtracted from the larger number and in the case of quotient, the larger number must be the divisor.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
- C++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage LearningC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr