All Matches
Solution Library
Expert Answer
Textbooks
Search Textbook questions, tutors and Books
Oops, something went wrong!
Change your search query and then try again
Toggle navigation
FREE Trial
S
Books
FREE
Tutors
Study Help
Expert Questions
Accounting
General Management
Mathematics
Finance
Organizational Behaviour
Law
Physics
Operating System
Management Leadership
Sociology
Programming
Marketing
Database
Computer Network
Economics
Textbooks Solutions
Accounting
Managerial Accounting
Management Leadership
Cost Accounting
Statistics
Business Law
Corporate Finance
Finance
Economics
Auditing
Ask a Question
Search
Search
Sign In
Register
study help
computer science
programming microsoft visual basic
Questions and Answers of
Programming Microsoft Visual Basic
Which property controls the background color of the Button object?
Which property controls the text color of a Label object?
Which color palette is guaranteed to be displayed properly on every computer?
When a PictureBox object is placed on the form, what is the default SizeMode property setting?
When you place a PictureBox object on a Windows form, in which project folder is the image stored in the Solution Explorer?
Which option should be selected in the SizeMode property to align the center of the image with the center of the PictureBox object?
Which option should be selected in the SizeMode property to make the image fit within the PictureBox object?
Which property has been set to False if a PictureBox object is hidden in a window when the program begins?
Which property has been set to False if a Button object is dimmed when you run the application?
What two options can you select for the Visible property in the Properties window?
Write a line of code that would set the Visible property to False for a PictureBox object named picCaptainAmerica.
Write a line of code that would set the Enabled property to True for a Button object named btnSuperman.
Write a line of code that would set the Visible property to True for a PictureBox object named picWonderWoman.
Write a comment line of code that states, "This code displays the superhero images."
What color is used to display comments in the code window of Visual Basic 2017?
Write a line of code that will close an application window and exit the application.
What does a red squiggly line mean in the code window?
Which symbol is associated with the assignment statement?
Why is it best to use IntelliSense when you enter code in the code window? List two reasons.
Fix the following line of code to set the Enabled property to True for the btnCharacter Button object. btnCharacter.Enable.True
Fix the following line of code to change the visibility of the btnExitProgram Button object so that you can view it when the program runs.btnExitProgram.Visibilty = Yes
Fix the following line of code to set the Visible property to False for the lblGotham Label object.lblGotham.Visible = ' False
Fix the following comment line of code.The 'following line of code makes the Batman logo visible
Fix the following line of code.Close
Examine the code below. Then, write a line of code to replace the erroneous line.\[\begin{aligned} & \text { btnMarvelProgram.Enabled = True } \\ & \text { picSpiderman.Visibilty = Enable } \\ &
For the Yellowstone National Park application shown in Figure 3-71, write the Visual Basic 2017 coding statement to view the picture when the user clicks the btn ParkImage button, assuming the
Which property in the Properties window controls whether the picParkBison image is displayed when the program begins? Which option for the property would you select to make the button dimmed when the
When you import the picture into the Resources folder and select the image to use in the picParkBison PictureBox object, which SizeMode property option would you select to view the complete picture?
Write the Visual Basic coding statement for the btnParkImage click event that would cause the image to be displayed.
To change the window background color to LightSkyBlue as shown in Figure 3-71, what property should you modify?
What property is used to display the text "View the World" in the window title bar?
Which data type should an ampersand (\&) symbol be assigned?
Write a Dim statement for each of the following variables using the variable type and variable name that would be best for each value.a. The population of Alaskab. The smallest data type you can use
Determine whether each of the following variable names is valid or invalid. Explain the error in each invalid variable name.a. \#samtechnowb. first_Input_Valuec. Orange-is-new-blackd. \(3
List the steps that specify how you would perfectly align a group of TextBox objects along their left edges.
Which data type is best for currency amounts?
Explain the hierarchy for the order of operations.
What is the solution to each of the following arithmetic expressions?a. \(6+7 * 2-1\)b. \(48 / 6^{*} 2^{\wedge} 2\)c. \(40-6 \wedge 2 / 3\)d. 74 Mod 9e. \(9 \backslash 4^{*} 3\)f. \(2 \wedge
What is the difference between a method and a procedure?
What is the difference between a variable and a literal?
Correct the following statements:a. DimitHeight As Integrb. Dim dblDiscountAmount A Dblc. Constant_cstrCollege As Sentence = "PVCC"d. Dim strSenatorName As Numbere. strLastName = 'Prof. J Starks'f.
Write a statement that sets the focus on the txtSeafood TextBox object.
Write a statement that removes the contents of the txtPrince TextBox object.
Write a statement that blanks the Text property of the lb|EligibilityAge Label object.
Write a statement to convert the value in the String variable strNeckSize to an integer value and place the integer value in a variable named intNeckSize.
Write a statement to convert the value in the String variable strHourlyPay to a Decimal value and place the Decimal value in a variable named decGross.
Write a statement to close a form that currently is open.
Write a statement that declares a constant named _cdecInsuranceDeductible as a Decimal data type and set its value to 500.00 .
Which Windows Form property allows the user to press the Esc key while the form is active and activate a button's event handler?
What is a local variable? How does its scope differ from that of a global variable?
When the following statements are executed, what would be displayed in the lblHourlyWage Label object decHourlyWage \(=13.837\)lblHourlyWage.Text = decHourlyWage.ToString("C")
Fix the following code:Option Strict Dim intDistance As Integer intDistance \(=17.5\)
Fix the following code:Dim dblRegularPay As Double Dim dblovertimePay As Double```intRegularPay = 783.87 intOvertimePay = 105.92 lbl.TotalPay = (dblRegularPay + dblOvertimePay).ToString ('C')```
Analyze the code and then correct it.Dim strCity as String = "Miami"Dim strState as Double = "Florida"Dim strLocation as String strLoc = strCity + strState
What will occur when the user clicks the btnSlope Button in the following code?```Private Sub btnSlope_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSlope.Click Dim
How would the number . 0456 be displayed if the format specifier ("P") is used in a Convert. ToString statement?
How would the number 3746.35555 be displayed if the format specifier ("F3") is used in a Convert.ToString statement?
If you want the user to enter her phone number with the area code, which.NET component would be best to use on the Windows Form object?
Using the format specifier with the ToString procedure, write the statement that would display:a. The value in the decDvdCost variable with a dollar sign and two places to the right of the decimal
Write a single line of code to declare a variable decWindSpeed as a Decimal data type and assign it the value 25.47. Use a forced literal to ensure that the compiler views this number as a Decimal
What would the values of these variables be at the end of the code that follows?a. intPartsb. intBoxesc. intLeftovers Dim intParts As Integer Dim intBoxes As Integer Dim intLeftovers As Integer
Are the following statements written correctly? If not, how should they be written?Dim dblPay as Double lblPay.Text = dblPay.ToString("C2")
For a Button object named btnCalories, write the click event handler to implement the following requirements and calculate the number of calories burned during a run:a. Declare variables named
What would the output be when the user clicks the btnDrivingAge Button?Private Sub btnDrivingAge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDrivingAge.Click Dim
If a form opens and the first of three RadioButtons is checked within a GroupBox object, what happens to the first RadioButton object when you click the second RadioButton object?
Write an If ... Then statement that tests whether the value in the variable intRow is between 1 and 8 . If the number is in that range, set the Text property for the lblCabin Label object to "First
Name the six relational operators and state the purpose of each operator.
Write an If... Then ... Else statement that assigns 70 to a variable named intSpeed if strInterstate is equal to "I40." Otherwise, assign 60 to intSpeed.
List the three most common logical operators and explain their meaning.
Rewrite the following line of code without a Not logical operator but keep the same logical processing:If Not decHoloLens
The intent of the following statement is to check whether the radBusTicket RadioButton object is checked. What is the error in the statement? Rewrite the statement so it is correct.If radBusTicket
The intent of the following statement is to check whether the value in the intGrade variable is less than 0 or greater than 100. What is the error in the statement? Rewrite the statement so it is
What is the most commonly used container object?
One of the most common mistakes when writing an If statement is writing one similar to this statement. Fix this statement.If decShoeSize > 5.5 and < 10.0 Then
What is the prefix for a RadioButton object and a GroupBox object?
Write a statement that opens a dialog box with the title "Escape Room" and the message "Group Size of Booking."
What is the difference between a Panel object and a GroupBox object?
What is the difference between the Or logical operator and the Xor logical operator?
Write a data validation statement that would check to ensure that the value in the intAge variable is between 1 and 115 . If the age is not valid, display an error message box that states the age is
How many radio buttons in a group can be selected at one time?
Using the concatenation operator (\&), write a statement that would create the compound word "reunion" from the following two strings: strClass 1 = "re" and strClass2 = "union." Assign the compound
Write a statement that would clear the radio button named radDrake.
Write a Select Case statement using the fewest Case statements possible to display the number of days in each month. The user enters the number of the month, such as 8 , which is converted to an
Which logical operator has the highest precedence in the order of operations?
The basic functions of many programs are: a._________________ b.___________________ C._________________ ;
Explain the differences between computer hardware and computer software.
Match the following terms and their definitions: a. Developer b. Persistent data c. Programming language d. Graphical user interface e. HoloLens f. Database g. Rapid application development (RAD) h.
Explain what an event is in the context of event-driven programs. Give two examples.
Give examples of the differences between an input operation and an output operation.
Describe three different databases where you think information about yourself might be stored.
What is programming language syntax? Why is it important?
What is a Toolbox in Visual Studio 2017? Why is it valuable?
Name two properties that a Button object can possess.
What are the five programming languages you can use with Visual Studio 2017?
Where can you sell the Windows Universal apps that you develop?
State three reasons that Visual Basic is one of the most widely used programming languages in the world.
Name two purposes of creating a Microsoft account for use in Visual Studio 2017.
Why is a class developed? How are classes organized and stored?
Differentiate between a class and an object. Give three examples each of classes and objects.
What is the primary use of ADO.NET?
Showing 200 - 300
of 696
1
2
3
4
5
6
7