Starting Out With Visual Basic (8th Edition)
8th Edition
ISBN: 9780135204658
Author: Tony Gaddis, Kip R. Irvine
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 2, Problem 8MC
Program Description Answer
A piece of data written into the code of a
Hence, correct answer is option “D”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
3.
Software is defined as ____ .
a.
Instructions
b.
Data Structures
c.
Documents
d.
All of the above
Name Format - Use Java
GPA Calculator
Students are concerned about their GPA. They need to calculate it accurately every
semester to monitor their progress. Develop a GPA calculator that follows the AOU
regulations (AOU-OU Grade Scale) using C# programming language. The application asks the
student to enter his numeric grade of each course and the course's credit hours.
Accordingly, the application calculates the student's GPA after converting the numeric
grade to letter grade. The GPA calculation should produce floating-point results. Display
the results rounded to the nearest hundredth. You should store the letter grades of all
student's courses in an array. The final grade of the student should be also calculated.
Sample I/O
Enter the course grade (-1 to end): 93
Enter the course credit hours: 3
Enter the course grade (-1 to end): 74
Enter the course credit hours: 2
Enter the course grade (-1 to end): 60
Enter the course credit hours: 3
Enter the course grade (-1 to end): -1
The grades of your courses…
Chapter 2 Solutions
Starting Out With Visual Basic (8th Edition)
Ch. 2.1 - Prob. 2.1CPCh. 2.1 - Prob. 2.2CPCh. 2.1 - What is the purpose of an objects sizing handles?Ch. 2.1 - What must each form and control in an applications...Ch. 2.1 - Prob. 2.5CPCh. 2.1 - Prob. 2.6CPCh. 2.1 - Prob. 2.7CPCh. 2.1 - What does a forms Text property determine?Ch. 2.1 - Prob. 2.9CPCh. 2.1 - Prob. 2.10CP
Ch. 2.1 - Prob. 2.11CPCh. 2.1 - Prob. 2.12CPCh. 2.3 - What must be added to an application so that it...Ch. 2.3 - Prob. 2.14CPCh. 2.3 - Prob. 2.15CPCh. 2.3 - Prob. 2.16CPCh. 2.3 - Prob. 2.17CPCh. 2.3 - Prob. 2.18CPCh. 2.3 - Prob. 2.19CPCh. 2.3 - Prob. 2.20CPCh. 2.3 - Prob. 2.21CPCh. 2.4 - Prob. 2.22CPCh. 2.4 - Prob. 2.23CPCh. 2.4 - Prob. 2.24CPCh. 2.4 - Prob. 2.25CPCh. 2.4 - Prob. 2.26CPCh. 2.4 - Prob. 2.27CPCh. 2.4 - Prob. 2.28CPCh. 2.4 - Prob. 2.29CPCh. 2.4 - What is a literal?Ch. 2.4 - Prob. 2.31CPCh. 2.4 - Prob. 2.32CPCh. 2.4 - Prob. 2.33CPCh. 2.7 - What is a PictureBox control used for?Ch. 2.7 - Prob. 2.35CPCh. 2.7 - Prob. 2.36CPCh. 2.7 - Prob. 2.37CPCh. 2.7 - Prob. 2.38CPCh. 2.7 - Prob. 2.39CPCh. 2.8 - Prob. 2.40CPCh. 2.8 - Prob. 2.41CPCh. 2.8 - Suppose an application has a Picture Box control...Ch. 2.8 - Prob. 2.43CPCh. 2.9 - Prob. 2.44CPCh. 2.9 - The keyword Me is shorthand for referring to what?Ch. 2.10 - Prob. 2.46CPCh. 2.10 - What character does a comment begin with in Visual...Ch. 2.10 - Prob. 2.48CPCh. 2.10 - Why do programmers insert blank lines and...Ch. 2.11 - Prob. 2.50CPCh. 2.11 - Prob. 2.51CPCh. 2.11 - Prob. 2.52CPCh. 2.11 - Prob. 2.53CPCh. 2.11 - What type of error usually causes the program to...Ch. 2.11 - Prob. 2.55CPCh. 2.11 - Prob. 2.56CPCh. 2.11 - How do you find runtime and logic errors in a...Ch. 2.12 - Prob. 2.58CPCh. 2.12 - Prob. 2.59CPCh. 2.12 - Prob. 2.60CPCh. 2.12 - Prob. 2.61CPCh. 2.13 - Prob. 2.62CPCh. 2.13 - Prob. 2.63CPCh. 2.13 - Prob. 2.64CPCh. 2 - Prob. 1MCCh. 2 - Prob. 2MCCh. 2 - _____ is the name of the blank form that Visual...Ch. 2 - Prob. 4MCCh. 2 - A(n) _____ is a procedure that executes when a...Ch. 2 - Prob. 6MCCh. 2 - In programming we use the term string to mean...Ch. 2 - Prob. 8MCCh. 2 - Prob. 9MCCh. 2 - Prob. 10MCCh. 2 - Prob. 11MCCh. 2 - Prob. 12MCCh. 2 - Prob. 13MCCh. 2 - Prob. 14MCCh. 2 - Prob. 15MCCh. 2 - Prob. 16MCCh. 2 - The equal sign ( = ) is known as the ___________...Ch. 2 - The standard notation for referring to a controls...Ch. 2 - _____ is a feature of Visual Studio that provides...Ch. 2 - Prob. 20MCCh. 2 - Prob. 21MCCh. 2 - Prob. 22MCCh. 2 - Prob. 23MCCh. 2 - Prob. 24MCCh. 2 - Prob. 25MCCh. 2 - Programmers commonly use blank lines and...Ch. 2 - To close an applications form in code, you use the...Ch. 2 - T F: Changing an objects Text property also...Ch. 2 - Prob. 2TFCh. 2 - T F: The forms title is displayed in the bar along...Ch. 2 - Prob. 4TFCh. 2 - Prob. 5TFCh. 2 - Prob. 6TFCh. 2 - Prob. 7TFCh. 2 - Prob. 8TFCh. 2 - Prob. 9TFCh. 2 - Prob. 10TFCh. 2 - Prob. 11TFCh. 2 - Prob. 12TFCh. 2 - Prob. 13TFCh. 2 - Prob. 14TFCh. 2 - Prob. 15TFCh. 2 - T F: Comments are ignored by the Visual Basic...Ch. 2 - Prob. 17TFCh. 2 - Prob. 18TFCh. 2 - What does a bounding box indicate about an object...Ch. 2 - Prob. 2SACh. 2 - What determines an objects appearance and other...Ch. 2 - Prob. 4SACh. 2 - Prob. 5SACh. 2 - What steps must you perform to change a forms Size...Ch. 2 - Prob. 7SACh. 2 - Prob. 8SACh. 2 - Prob. 9SACh. 2 - Prob. 10SACh. 2 - Prob. 11SACh. 2 - Prob. 12SACh. 2 - Prob. 13SACh. 2 - Prob. 14SACh. 2 - Prob. 15SACh. 2 - Prob. 16SACh. 2 - Prob. 17SACh. 2 - Prob. 1AWCh. 2 - Prob. 2AWCh. 2 - Prob. 3AWCh. 2 - Prob. 4AWCh. 2 - Suppose an applications GUI has a PictureBox...Ch. 2 - Prob. 1WDTCh. 2 - Prob. 2WDTCh. 2 - Prob. 3WDTCh. 2 - Open the Error1 project from the student sample...Ch. 2 - Open the Error2 project from the student sample...Ch. 2 - Look at the following list of Latin words and...Ch. 2 - Create an application that displays a simple math...Ch. 2 - Prob. 3PCCh. 2 - Prob. 4PCCh. 2 - State Abbreviations The following table shows...Ch. 2 - Prob. 6PCCh. 2 - Prob. 7PCCh. 2 - Joke and Punch line A joke typically has two...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- **using C# and Visual Studio design a program to satisfy the below problem** Create an application that generates a random number in the range of 1 through 100 and asks the user to guess what the number is. If the user’s guess is higher than the random number, the program should display “Too high, try again.” If the user’s guess is lower than the random number, the program should display “Too low, try again.” If the user guesses the number, the application should congratulate the user and then generate a new random number so the game can start over. Optional Enhancement: Enhance the game so it keeps count of the number of guesses that the user makes. When the user correctly guesses the random number, the program should display the number of guesses.arrow_forward*program must be made in C# using visual studio* You will be creating a program that will allow the user to enter information about a home rental. The program should allow them to enter the name of the rental, the number of months the rental will be used, the cost per a single month and the total budget allowed to rent. There should be a button that will then calculate the total cost of the rental, as well as output the name, number of months, individual cost and total cost of the rental each in their own label. In addition, there should be a label that lets the user know if the rental would be over or under the budget entered. The number of months will need to be entered as a number between 0 and 13. If they enter a number outside of that range, when the calculation button is clicked a label should show up letting the user know the number of months entered was not in the correct range. A similar check should be performed for the individual cost and budget, one that ensures a number…arrow_forwardA _______ error is when a program the programmer type a * instead of a + in a formula or calculation. The program will run but the output will be incorrect A logic B Expression C Syntax D runtimearrow_forward
- Pig Latin is a nonsense language. To create a word in pig Latin, you remove the first letter and then add the first letter and ay at the end of the word. For example, dog becomes ogday and cat becomes atcay. Write a program named PigLatin that allows the user to enter a word and displays the pig Latin version.arrow_forwardA(n) specifies a variable’s name and data type.a. assignmentb. variable specificationc. variable certificationd. variable declarationarrow_forward**using C# and visual studio design a program to satisfy the below problem** Create an application that generates two random integers, each in the range of 100 through 500. The numbers should be displayed as addition problems on the application’s form, such as The form should have a text box for the user to enter the problem’s answer. When a button is clicked, the application should do the following: Check the user’s input and display a message indicating whether it is the correct answer. Generate two new random numbers and display them in a new problem on the form.arrow_forward
- 1. Complete an algorithm, code and compile the following program. Save the program as mathTutor.py. Math Tutor You will be creating a math tutor program that can be used for young children to practice their math skills. The program will be driven by the following menu: See Rules Practice Math Exit If the user chooses (1) from the menu, the following rules will be displayed: This program will help you practice your math skills. First, you will choose Addition, Subtraction or Multiplication. Next, you will choose a level. Level 1 will give you problems with single digits and Level 2 will use two-digit numbers. Then, you will choose how many math problems you would like to complete. After you have completed all your problems, you will be given a score. You can play as many times as you want. Have fun!! If the user chooses (2) from the menu: First, prompt from the following math operation menu: Addition Subtraction Multiplication Next, prompt from the following level menu:…arrow_forwardINFS3410 Practice Questions Chapters 1, 2 and 3 The Following is an example run of an educational program for school children. The program help kids to practice their additions and subtraction skills. Your task is to develop a program that can achieve the same exact thing. Bear in mind the following important guidelines: - The user may choose between additions and subtractions - The user may choose the difficulty level (easy, medium, hard) - The program should display 5 questions and calculate the total score - No two questions should be the same Please enter your name: Hafedh AlShihi ************** Hello Hafedh AlShihi Welcome to our Additions / Subtractions Practice ****k********* Which operation you want to practice? Type 1 for Additions, or Type 2 for subtractions: 2 Please select your difficulty level Type 1 for Easy (numbers 1 to 10) Type 2 for Medium (numbers 10 to 100) Type 3 for Hard (numbers 100 to 1000) 1 Here are 5 easy-level subtraction questions, please attempt all: How…arrow_forwardTrue or False 1. Programmers must be careful not to make syntax errors when writing pseudocode programsarrow_forward
- Fat Percentage Calculator Develop a C# application that allows the user to calculate the fat of his daily food. The user should enter: • The total number of calories for a food item • The number of fat grams in that food item Accordingly, the application will calculate and display: • The number of calories from fat • The percentage of calories that come from fat Additionally, the applications categorizes if the food is considered low fat, normal fat, or high fat as the following rule. If the calories from fat are less than 30% of the total calories of the food, the food is considered low fat. If the calories from fat are between 30% and 40% of the total calories of the food, the food is considered normal fat. If the calories from fat are more than 40% of the total calories of the food, the food is considered high fat. Note: Make sure the number of calories and fat grams are not less than 0. Also, the number of calories from fat cannot be greater than the total number of calories. If…arrow_forwardVisual Basic programming language Design Windows form application which will ask the user to enter two numbers. Theprogram should print out the sum of the two numbers.arrow_forwardC++ Visual 2019 Last month Joe purchased some stock in Acme Software, Inc. Here are the details of the purchase: The number of shares that Joe purchased was 1,000. When Joe purchased the stock, he paid $45.50 per share. Joe paid his stockbroker a commission that amounted to 2 percent of the amount he paid for the stock. Two weeks later, Joe sold the stock. Here are the details of the sale: The number of shres that Joe sold was 1,000. He sold the stock for $56.90 per share. He paid the stockbroker another commission that amounted to 2 percent of the amount he received for the stock. Write a program that displays the following information: The amount of money Joe paid for the stock. The amount of commission Joe paid his broker when he bought the stock. The amount that Joe sold the stock for. The amount of commission Joe paid his broker when he sold the stock. Display the amount of profit that Joe made after selling his stock and paying the two commissions to his broker. (If the…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
- EBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Expressions in C++ | C++ tutorial for beginners; Author: Tutorial Mart;https://www.youtube.com/watch?v=XHbsZGpmRc8;License: Standard YouTube License, CC-BY
expression in python # python expressions; Author: Abhishek Tripathi;https://www.youtube.com/watch?v=Cc-kJGRjH6k;License: Standard Youtube License