100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Study Efficiently with the Updated 2023 [Programming in Visual Basic 2010,Bradley,] Test Bank

Rating
-
Sold
-
Pages
204
Grade
A+
Uploaded on
30-07-2023
Written in
2022/2023

Boost your chances of exam success with the Test Bank for [Programming in Visual Basic 2010,Bradley,]. With meticulous practice exam questions and official exams and answers, your path to passing the class in is clear.

Content preview

Ch01
Student: ___________________________________________________________________________

1. With Visual Basic, you can write computer programs that run in the Microsoft Windows
environment.
True False
2. Visual Basic is an object-oriented programming language.
True False
3. In Form1.Text, the word Text is referring to a method.
True False
4. Writing a program in Visual Basic is so easy that it is not necessary to do any planning.
True False
5. When creating a project in Visual Basic, you should always begin by writing the Basic code.
True False
6. A .vb file is a text file that can be opened with any text editor and it holds the code procedures that you
write.
True False
7. The .resx file is a text file that defines all resources used by the form including any graphics that are
displayed on the form.
True False
8. The Properties window is used to set the properties for the objects on your form.
True False
9. The Solution Explorer window is used to design a form that makes up your user interface.
True False
10. You are in run time when you design the user interface.
True False
11. You write Visual Basic code statements during design time.
True False
12. Snap lines are blue lines that assist the programmer in aligning controls.
True False
13. You can use the Properties window to change the properties of controls during run time.
True False
14. After you have added a label to a form, you can change the words that are displayed inside the button by
changing the Text property.
True False
15. If the programmer does not write code for a button control, Visual Basic automatically provides code in
the Click procedure that will close the form when the user clicks the button.
True False
16. Remark statements are not executable code.
True False

,17. Programmers should add comments to their code in order to make the program logic easier to
understand.
True False
18. Assignment statements work from left to right, assigning the value on the left side of the equal sign to the
property named on the right side of the equal sign.
True False
19. In order to properly save changes that have been made to a Visual Basic project, you should choose Save
All from the File menu.
True False
20. The Visual Studio IDE will automatically create a new folder for each new project.
True False
21. If a project runs without a syntax error, you can be certain that the code has performed the project's task
correctly.
True False
22. Microsoft Windows uses a GUI environment. GUI (pronounced "gooey") stands for _______.
A. Geographical User Interchange
B. Graphical User Interface
C. Geometrical Upper Intelligence
D. Grammatical User Incorporation
23. Visual Basic is a(n) _______.
A. Procedural programming language
B. Object-oriented programming language
C. Hyperlink programming language
D. Sequential programming language
24. In Visual Basic, we work with objects that have _______.
A. Programmer preference
B. Projects, solutions, and procedures
C. Classes, actions, and disciplines
D. Properties, methods, and events
25. When you plan a Visual Basic program, you follow a three-step process that should end with
_______.
A. Setting the properties
B. Writing the Basic code
C. Coding all of the remark statements
D. Defining the user interface
26. After the steps for planning a Visual Basic project are competed, you can begin actually constructing a
program by _______.
A. Setting the properties
B. Creating the interface
C. Writing the code
D. Executing the next step based on the programmer's preference
27. Which of the following shows the correct order for creating a Visual Basic program?
A. Set the properties, create the interface, write the code
B. Create the interface, set the properties, write the code
C. Create the interface, write the code, set the properties
D. Write the code, set the properties, create the interface

,28. The _______ holds information about the solution and the projects it contains. This is the file that you
open to work on or run your project.
A. project file
B. resource file
C. solution file
D. .vb file
29. Each Visual Basic project contains a text file that defines all resources used by the form. This file has a
_______ extension.
A. Resx
B. Designer.vb
C. sln
D. vb
30. The Visual Studio environment contains many different windows. Which window will be the user
interface when the project is running?
A. The Toolbox
B. The Solution window
C. The Properties window
D. The Form Designer window
31. Which window do you open if you want to see all of the objects that you can add to a form?
A. The Toolbox
B. The Solution window
C. The Properties window
D. The Form Designer
32. While you are creating the user interface, you are in _______.
A. stop time
B. debug time
C. run time
D. design time
33. If you encounter a run-time error or you pause the program execution, you are in _______.
A. stop time
B. debug time
C. pause time
D. design time
34. A project in Visual Basic contains _______.
A. form(s)
B. controls
C. code
D. all of these
35. Which of the following are coding conventions required by the textbook?
A. Remarks must be included in the Declarations section.
B. Every event procedure must include remarks.
C. All objects (except labels not referred to in code) must be given descriptive names.
D. All of these
36. If you have added a label to a form and you want to make sure that nothing is displayed in it when the
program begins, you must delete the contents of the _______.
A. Text property
B. Alignment property
C. Name property
D. Form window

, 37. Where does the Text property for a form appear?
A. In the lower left corner of the form
B. In the form's title bar
C. In the center of the form
D. In the Toolbox
38. The property used to display information in the title bar of a form is _______.
A. TitleBar
B. Name
C. Text
D. Title
39. Remarks, or comments, that programmers add to their code in order to make the program more readable
and understandable, _______.
A. are executable code
B. begin with an asterisk (*)
C. are not considered "executable"
D. display on the form when the program runs
40. If a line of code is not considered "executable", it must be _______.
A. a Close statement
B. an Assignment statement
C. a Remark statement
D. an event procedure
41. What is the code used to display the words "Visual Basic" in a label named TitleLabel?
A. TitleLabel.Name = "Visual Basic"
B. TitleLabel.Name.Visual Basic
C. TitleLabel.Text = "Visual Basic"
D. "Visual Basic" = TitleLabel.Text
42. Use the code, _______, to end a program.
A. Me.Exit
B. Me.Close
C. Me.End
D. Me.Stop
43. Which of the following choices CANNOT be used to start running a project?
A. Press and hold the CTRL key and then press the S key.
B. Open the Debug menu and choose Start Debugging.
C. Press the Start Debugging button on the toolbar.
D. Press F5.
44. When you create a new Visual Basic project and choose the disk location for your project, the VS IDE
_______.
A. will create a folder and save all of the project files in the folder
B. will automatically save your project every 5 minutes
C. requires that the project file be stored on a hard drive
D. will create remarks in the Declarations section that list all of the files in the project
45. To print a form, add a _______ component to the component tray.
A. FormPrint
B. Print
C. PrintForm
D. PrintAll

Document information

Uploaded on
July 30, 2023
Number of pages
204
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
PracticeExams my own
View profile
Follow You need to be logged in order to follow users or courses
Sold
327
Member since
2 year
Number of followers
194
Documents
3266
Last sold
1 week ago
ExamPrepZone

4.1

42 reviews

5
26
4
4
3
7
2
2
1
3

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions