Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 1, Problem 7RQ
Program Description Answer
“picMy.Dog” is the invalid name for an object.
Hence, correct answer is option “A”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Which of the following is an invalid name for an object? a. picMy.Dog b. btnCalcSalesTax c. lbl2017 d. All of the above are invalid names.
Which of the following instantiates an Animal object and assigns the object to the cat variable?a. Dim cat As Animalb. Dim cat As New Animalc. Dim cat As Animal cat = New Animald. both b and c
What is the syntax, if we wanted to change the property of an object at run time?
Select one:
a. all of the choices
b. Object.Property.Value
c. ObjectName.Property.Value
d. ObjectName.Property=Value
What is wrong with this statement?
Dim alice 1 as string
Select one:
a. all of the choices
b. alice and 1 should have ,(comma) in between
c. alice 1 should be one word only
d. the string should be enclosed in “ ”
Chapter 1 Solutions
Programming with Microsoft Visual Basic 2017
Ch. 1 - What is a computer program?Ch. 1 - What is a GUI?
Ch. 1 - What is the process of translating a solution into...Ch. 1 - In object-oriented programming, what is a class?Ch. 1 - Which window in the IDE lists the tools you can...Ch. 1 - While designing an interface, which window in the...Ch. 1 - Prob. 3MQ2Ch. 1 - Prob. 1MQ3Ch. 1 - Prob. 2MQ3Ch. 1 - What filename extension indicates that the file is...
Ch. 1 - Prob. 1MQ4Ch. 1 - Prob. 2MQ4Ch. 1 - Prob. 3MQ4Ch. 1 - Prob. 4MQ4Ch. 1 - Prob. 1MQ5Ch. 1 - What is the three-character ID used when naming...Ch. 1 - What is the purpose of an access key?
Ch. 1 - What character is used to designate an access...Ch. 1 - Prob. 1MQ6Ch. 1 - Prob. 2MQ6Ch. 1 - Prob. 3MQ6Ch. 1 - Prob. 4MQ6Ch. 1 - Prob. 1MQ7Ch. 1 - Prob. 2MQ7Ch. 1 - Prob. 3MQ7Ch. 1 - Prob. 4MQ7Ch. 1 - In the Code Editor window, what character...Ch. 1 - A(n)._____ is an environment that contains all of...Ch. 1 - When using an analogy involving a blueprint and a...Ch. 1 - You create your application’s user interface in...Ch. 1 - Each tool in the toolbox represents a class from...Ch. 1 - Which window is used to set the characteristics...Ch. 1 - Prob. 6RQCh. 1 - Prob. 7RQCh. 1 - Prob. 8RQCh. 1 - Which property is used to give a form file a more...Ch. 1 - Which property determines the initial position of...Ch. 1 - Prob. 11RQCh. 1 - Prob. 12RQCh. 1 - Prob. 13RQCh. 1 - Prob. 14RQCh. 1 - Prob. 15RQCh. 1 - What is the three-character extension appended to...Ch. 1 - Prob. 17RQCh. 1 - Prob. 18RQCh. 1 - Which statement terminates an application that...Ch. 1 - Prob. 20RQCh. 1 - Prob. 21RQCh. 1 - Prob. 22RQCh. 1 - Prob. 23RQCh. 1 - Prob. 24RQCh. 1 - Prob. 25RQCh. 1 - Prob. 1ECh. 1 - Prob. 8E
Knowledge Booster
Similar questions
- .Which of the following is a valid declaration of an object of class Box? a) Box obj = new Box(); b) Box obj = new Box; c) obj = new Box(); d) new Box obj;arrow_forwardWhich of the following string methods is a mutator? Choice 1 of 5:.replaceChoice 2 of 5:.upperChoice 3 of 5:All of the aboveChoice 4 of 5:None of the aboveChoice 5 of 5:.striparrow_forwardWhich of the following modifiers prevents an instance variable or method from being accessible outside of the class by name?privateprotectedpublicdefaultWhich response, please?arrow_forward
- Q1) Which of the following options will return the last letter of the string "Carleton"? Try to answer this question from your understanding and not typing the expression into the Python interactive mode. Question 1 options: my_string = "Carleton" last = len(my_string) - 1 print(last) my_string = "Carleton" last = len(my_string) print( my_string[last] ) my_string = "Carleton" size = len(my_string) last = my_string[size] print(last) my_string = "Carleton" size = len(my_string) last = my_string[size -1] print(last)arrow_forwardWhich of the following are illegal variable names, and why?X99bottlesjuly97theSalesFigureForFiscalYear98r&dgrade_reportarrow_forwardWhich of the following declarations does not follow the Java conventions? Select 4 correct answer(s) a) double costValue; b) double costvalue; c) public class Areacalculator{ d) int FirstGrade; e) public class AreaCalculatorFinder{ f) String MyFirstName;arrow_forward
- Which of the following are called white space characters? (A) The blank space (B) New line character (C) Blank space & new line character (D) None of the abovearrow_forwardWhich of the following statements is true? a. You can auto-hide a window by clicking the Auto Hide (vertical pushpin) button on its title bar. b. An auto-hidden window appears as a tab on the edge of the IDE. c. You temporarily display an auto-hidden window by clicking its tab. d. all of the abovearrow_forwardWhich of the following are examples of code refactoring? (select all that apply) a. Removing duplicate code. b. Changing the architecture of the code. c. Changing the layout of the GUI. d. Renaming attributesarrow_forward
- Which of the following methods returns a value? Method changeName(String lName, String fName) lastName = lName firstName = fName Display "The name has been changed to " +firstName + " " + lastNameEnd Method Method displayInfo() Display "Account #: " + acctNumber Display "Account type: " + acctType Display "Owner name: " + lastName + ", " + firstName Display "Current balance: " + acctBalEnd Method Method withdraw(Numeric amt) acctBal = acctBal - amt Display "The new balance is: $" + acctBalEnd Method Method inquire() Return accarrow_forwardWhat belongs in the blank in the following JavaScript code if you want to create the document fragment <h1>Weekly Coupons</h1>? let boxTitle = document.createElement("h1"); let boxTitleText = document.createTextNode("Weekly Coupons"); boxTitle._____; a. insertBefore(boxTitleText) b. appendChild(boxTitleText) c. appendChild(boxTitle) d. cloneNode(boxTitle)arrow_forwardWhat will be the output of the following code if Radiolluttont is checked? Private Sub RadioButton CheckedChangedtsender As Object Ad EventArgs Handles RacinButton CheckedChanged If Radiolutton1 Checked True Then TextBoxt Text"YOU ARE A MALE Elself Radiobutton2 Checked-True Then Textbort Text YOU ARE A FEMALE End If End Sub End Clawarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningProgramming 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 - CONSIGNMENTEBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
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
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