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
Write a test_book.py file. Complete the following tasks.
A . Create 2 book objects with the following information
“Get Started with Python”, 66.99, 100
“Get Started with Visual Basic”, 55.99, 88
B. If you have sold 10 copies of “Get Started with Python”, call sell_copies() method of object to change the quantity of the book. Display the current quantity of book on screen to verify the information is correct.
C. Use pickle to save the information of the 2 books in book.dat file.
write the code in python please and thank you
) Answer true or false and correct the answer for the following questions.
- The OLE object is used to join VB with Micro Soft Word Only.
2- The Caption tool is used to enter title to the object.
3- There is no diference to use Image and Picture tools to put picture in form.
4- There are many events for each tools.
5- The VB can be classified as a high level programming language because it is close to
machine language.
using visual basic 6.0
Which of the following, can be done, with the help of the this reference?
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
- Answer true or false and correct the answer for the following questions.- The Caption tool is used to enter title to the object.arrow_forwardIN PYTHON PLEASE, THANK YOU!!!arrow_forwardCreate two objects of DateTime using two different dates so each date has the Year, Month, Day, Hour, and Minutes. Then write a code which checks if the Month of either of the two dates is same as the Month of the current time now, assign Yes to a variable checker when they are same, otherwise No. The language Code is Visual C#arrow_forward
- Write code to declare and create a Random class object (use the rand object reference variable). Then, using the nextInt method, create a list of expressions that produce random numbers in the following ranges, including the end points. Use the nextInt method's iteration that only takes an integer input.a. 0 to 10 b. 0 to 500c. 1 to 10d. 1 to 500e. 25 to 50f. -10 to 15 Write code to declare and create a Random class object (use the rand object reference variable). Then, using the nextInt method, create a list of expressions that produce random numbers in the following ranges, including the end points. Use the nextInt method's iteration that only takes an integer input.a. 0 to 10 b. 0 to 500c. 1 to 10d. 1 to 500e. 25 to 50f. -10 to 15arrow_forwardIn python: The program should ask users for their email address and password for connecting to the mail server. You can create a new gmail account and use it for this assignment. Once the connection is complete, the program should ask for the receiver''s email address, and lastly send the email. Write "Hello" for the subject and "Email from Python" as body. Use the getpass library to hide password from shell. Instantiate an object and call it. Submit the .py file as well as screenshots showing the code runs and email received.arrow_forwardCan you use it in a scanner so i can copy paste please. Part 1 A regular triangle is one for which all sides are congruent and all interior angles. Create a class RegularTriangle with a field side (int) Create a constructor which accepts an int parameter and will assign the parameter to field side Create assessor and mutator for this class Create a method getPerimeter() which should return 3*side; Part 2 in the constructor, add a logic that if the input parameter is less than 5 then set the side to 5, if it is >10 then set the side to 10, otherwise set the side to the input value. Screenshot final outputarrow_forward
- Which pattern of the following define a one-to-many relationship between objects Select one: a. abstract factory b. Decorator c. factory method d. Observerarrow_forwardIn python, must have docstrings Thank youarrow_forwardusing java (Use the Date class) Write a program that creates a Date object, sets its elapsedtime to 10000, 100000, 1000000, 10000000, 100000000, 1000000000,10000000000, and 100000000000, and displays the date and time using thetoString() method, respectively.arrow_forward
- a. You have a class named AirConditioner that has a private boolean field named on. It has method named turnOn that sets the field to true and one named turnOff that set it to false. It also has a method named isOn that returns the value of the on field. You have made an object of this class named myAC. If it is not already on, you want the AC on. Fill in the blank to make this happen. if (!myAC.isOn()) { ___________________} b. A class named Book has two String fields: title and author. Write the header for a full constructor for this class. Include the opening brace.arrow_forwardQ. What happens if I forget to use new when creating an object?arrow_forward.Write constant declarations for the following: ■ A public variable that is used to measure tolerance, with the value 0.001. ■ A private variable that is used to indicate a pass mark, with the integer value of 40. ■ A public character variable that is used to indicate that the help command is 'h'.arrow_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 LearningEBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT