Name: 
 

VB.Net Practice Test 1



Multiple Choice
Identify the choice that best completes the statement or answers the question.
 
 
nar001-1.jpg
 

 1. 

As shown in the accompanying figure, ____ the physical equipment associated with a computer.
a.
computer hardware is
c.
computer programs are
b.
computer software is
d.
computer cables are
 

 2. 

In which order do most programs follow these general steps?
a.
process data, accept input data, create output data
b.
create output data, accept input data, process data
c.
accept input data, process data, create output data
d.
accept input data, create output data, process data
 

 3. 

Both the program and the data must be placed in the computer’s ____ in order for the computer to carry out the instructions in the program.
a.
read only memory (ROM)
c.
CD-ROM
b.
central processing unit (CPU)
d.
random access memory (RAM)
 

 4. 

Data is said to be ____ if it remains available after the computer is powered off.
a.
persistent
c.
fragmented
b.
volatile
d.
temporary
 

 5. 

The ____ is comprised of the program’s window and the objects in the window.
a.
processing component
c.
command console
b.
graphical user interface (GUI)
d.
program view
 

 6. 

A ____ is an example of an input device.
a.
printer
c.
speaker
b.
CPU
d.
scanner
 

 7. 

A ____ is an example of an output device.
a.
keyboard
c.
memory
b.
printer
d.
mouse
 

 8. 

Which of the following is an example of an input device?
a.
digital camera
c.
plotter
b.
printer
d.
speakers
 

 9. 

Addition and subtraction are considered to be ____ operations performed by a computer.
a.
input
c.
arithmetic
b.
comparing
d.
output
 

 10. 

It is the ability of a computer to perform ____ operations that separates it from other types of calculating devices.
a.
arithmetic
c.
logical
b.
input
d.
output
 

 11. 

A computer uses ____ operations to compare two values to see if they are equal to each other.
a.
arithmetic
c.
grouping
b.
logical
d.
sorting
 

 12. 

A computer is able to make decisions based on the results of ____ operations.
a.
arithmetic
c.
logical
b.
grouping
d.
sorting
 

 13. 

A ____ is a collection of data organized in a manner that allows access, retrieval, and use of that data.
a.
file
c.
program
b.
folder
d.
database
 

 14. 

The ____ of a programming language is the set of rules that describe how the programming language elements can be used.
a.
logic
c.
syntax
b.
semantics
d.
GUI
 

 15. 

A(n) ____ is a set of services and tools that enable a developer to code, test, and implement a computer program or series of programs.
a.
integrated development environment (IDE)
b.
graphical user interface (GUI)
c.
development studio
d.
Microsoft Intermediate Language (MSIL)
 

 16. 

The ____ contains a list of commands that allow you to create, edit, save, print, test, and run a Visual Basic program.
a.
menu bar
c.
toolbox
b.
toolbar
d.
Properties window
 

 17. 

The ____ contains the .NET components that you can use to develop the graphical user interface for a program.
a.
menu bar
c.
toolbox
b.
toolbar
d.
Properties window
 

 18. 

A ____ is an item that is a visible part of a graphical user interface.
a.
property
c.
class
b.
control
d.
library
 

 19. 

The ____ of the Visual Studio IDE contains buttons for commands that are frequently used, such as Open New Project, Save, Cut, Copy, Paste, and Undo.
a.
menu bar
c.
toolbox
b.
toolbar
d.
Properties window
 

 20. 

____ are the characteristics of objects in Visual Basic.
a.
Methods
c.
Identifiers
b.
Function
d.
Properties
 

 21. 

____ is a language that can be used in Visual Studio.
a.
Fortran
c.
Lisp
b.
Visual C#
d.
COBOL
 

 22. 

The Visual Studio programming language, ____, is a synthesis of C++ and Visual Basic.
a.
Visual J#
c.
Visual C++
b.
Visual C#
d.
Java
 

 23. 

The Visual Studio programming language, ____, is based on the Java language.
a.
Visual Java
c.
Visual C#
b.
Visual C++
d.
Visual J#
 

 24. 

The process of ____ is used to create an object from a class.
a.
initialization
c.
objectification
b.
instantiation
d.
classification
 

 25. 

A set of prewritten classes called ____ allows you to access data stored in a database.
a.
ADO.NET 2.0
c.
RAD
b.
ASP.NET 2.0
d.
CLR
 

True/False
Indicate whether the statement is true or false.
 

 26. 

Computer hardware is the physical equipment associated with a computer.
 

 27. 

The set of instructions that directs a computer to perform tasks is called computer software.
 

 28. 

Computer hardware will perform its tasks automatically, regardless of whether a software program is running or not.
 

 29. 

The three basic functions of most programs are to first accept input, then write output, and finally process the data, in that order.
 

 30. 

In order for the computer to execute a program, or carry out the instructions in the program, only the data must be placed in the computer’s random access memory (RAM).
 

 31. 

Data must be placed in the CPU in order to be processed.
 

 32. 

Data must be placed in random access memory (RAM) in order to be processed.
 

 33. 

Persistent data remains available even after the computer is powered off.
 

 34. 

A person who creates computer programs is called a computer programmer.
 

 35. 

Computer programs can be written in standard English.
 

 36. 

A computer program that communicates interactively with the user through a graphical user interface is called an event-driven program.
 

 37. 

A graphical user interface (GUI) is a special device for communicating with a user.
 

 38. 

Clicking a button on a program screen causes an event to occur.
 

 39. 

A programming language is a set of words and symbols that can be interpreted by special computer software to create instructions that can be executed by a computer.
 

 40. 

Scanners, digital cameras, video cameras, mice, and keyboards are all input devices.
 

 41. 

Computer monitors, printers, PDA screens, and Smartphone screens are all output devices.
 

 42. 

Both program instructions and the data to be processed must be stored in RAM.
 

 43. 

Addition, subtraction, multiplication, and division are logical operations that a computer can perform.
 

 44. 

A computer program can perform addition, subtraction, multiplication, and division operations on numeric data.
 

 45. 

It is the ability of a computer to perform arithmetic operations that separates it from other types of calculating devices.
 

 46. 

Logical operations are used to compare two values.
 

 47. 

Logical operations can only be used to compare two numeric values.
 

 48. 

A logical operation can be used to determine if two values are equal, if one value is greater than the other, or if one value is less than the other.
 

 49. 

If you write a computer program, and want to execute the same program many times without rewriting it each time, you must save the program on disk.
 

 50. 

A program can write data, but it cannot save data on disk.
 

 51. 

A database is a collection of data organized in a manner that allows access, retrieval, and use of that data.
 

 52. 

Visual Basic 2005 is a programming language.
 

 53. 

The programming rules of a language are called its semantics.
 

 54. 

Buttons for frequently used commands such as Open New Project, Save, Cut, Copy, Paste, and Undo are found on the Standard toolbar.
 

 55. 

Buttons for the .NET components used to develop the graphical user interface are found on the Standard toolbar.
 

 56. 

There are only a few programming languages available today.
 

 57. 

Visual Studio can be used to write programs only in Visual Basic language.
 

 58. 

Visual Basic is the most widely used programming language in the world.
 

 59. 

Visual J# is a language that is derived from the programming language C.
 

 60. 

The software environment in which programs and applications can be developed for .NET is called the .NET Framework.
 

 61. 

A class library is available for all developers who need to use it.
 

 62. 

An object acts as a general template and a class is a specific item generated based on the object template.
 

 63. 

The process of creating an object from a class template is called generation.
 

 64. 

The .NET Framework 2.0 contains thousands of classes and many class libraries that can be used by Visual Basic developers.
 

 65. 

The use of .NET Framework 2.0 classes allows a program to be developed rapidly.
 

 66. 

ADO.NET 2.0 contains a set of classes used to create common GUI objects such as buttons and text boxes.
 

 67. 

ADO.NET 2.0 provides the tools for a program to examine data that was retrieved from a database.
 

 68. 

ADO.NET 2.0 allows a program to examine data from a database, but does not permit the program to update data in a database.
 

 69. 

ADO.NET 2.0 is not part of the .NET Framework 2.0.
 

 70. 

ADO.NET 2.0 is a programming framework used to build Web applications on a Web server.
 

 71. 

Almost all of the objects available in the .NET framework, such as buttons, text boxes, and picture boxes, are available in ASP.NET 2.0.
 

 72. 

ASP.NET 2.0 offers tools for maximizing performance and enhancing security for a Web application.
 

 73. 

Translating programming language statements into machine-executable instructions is accomplished by a process called program compilation.
 

 74. 

When a Visual Basic 2005 program is compiled, machine executable code is produced in the first step.
 

 75. 

The purpose of the Common Language Runtime (CLR) is to translate Microsoft Intermediate Language (MSIL) into machine-executable instructions.
 

Completion
Complete each statement.
 

 76. 

Program instructions and data must be placed in the computer’s ____________________ to allow the computer to carry out the program instructions.
 

 

 77. 

Stored data is said to be ____________________ because it remains available even after the computer is powered off.
 

 

 78. 

Most Visual Basic 2005 programs are ____________________ programs because they communicate with the user through a graphical user interface (GUI).
 

 
 
nar002-1.jpg
 

 79. 

As shown in the accompanying figure, a(n) ____________________ consists of a window containing a variety of objects such as buttons, text boxes, etc.
 

 

 80. 

Clicking a button when a Visual Basic program is running triggers a(n) ____________________.
 

 

 81. 

Operations, such as addition and subtraction, are called ____________________ operations.
 

 

 82. 

Operations, such as comparing two numbers to determine if they are equal, are called ____________________ operations.
 

 

 83. 

A(n) ____________________ is a collection of organized data that can be accessed, retrieved, and used by a program.
 

 

 84. 

The rules of a programming language are called the ____________________ of the language.
 

 

 85. 

Visual Studio 2005 is an example of a set of services and tools called a(n) ____________________ which allows a developer to code, test, and implement programs.
 

 

 86. 

In the Visual Studio IDE, the ____________________ identifies the window or application open in the window.
 

 

 87. 

The ____________________ in the Visual Studio IDE contains the .NET components that can be used in developing the graphical user interface of a program.
 

 

 88. 

Each object, or control, has a set of characteristics called ____________________.
 

 

 89. 

A button or a text box are examples of objects, also called ____________________, that are part of the graphical user interface.
 

 

 90. 

The characteristics, or properties, of GUI controls such as buttons and text boxes can be set using the ____________________ window in the Visual Studio IDE.
 

 

 91. 

The most widely used programming language in the world is ____________________.
 

 

 92. 

The ____________________ programming language is a synthesis of Visual Basic and C++.
 

 

 93. 

The ____________________ language provides the ability to use the Java language in Visual Studio.
 

 

 94. 

The ____________________ provides tools and processes developers can use to produce and run programs.
 

 

 95. 

ADO.NET, ASP.NET, the .NET class library, and the Common Language Runtime are four major features of the ____________________.
 

 

 96. 

Each control that you use when developing the graphical user interface is created from a(n) ____________________ in the .NET 2.0 Framework.
 

 

 97. 

A(n) ____________________ is a collection of classes that can be made available for developers to use.
 

 

 98. 

When an object has been created from a class, we say that a(n) _______________ of the class has been created.
 

 

 99. 

The process of creating an object from a class is called ____________________.
 

 

 100. 

An object is instantiated from a(n) ____________________.
 

 

 101. 

A class acts as a general template from which a(n) ____________________ can be created.
 

 

 102. 

All GUI controls in Visual Studio 2005 exist as ____________________ in the .NET Framework 2.0.
 

 

 103. 

The process of using prebuilt classes to make application development faster, easier, and more reliable is called ____________________.
 

 

 104. 

____________________ is the set of prewritten classes in the .NET Framework 2.0 used in Visual Studio to work with databases.
 

 

 105. 

____________________ is the set of prewritten classes in the .NET Framework 2.0 that is used in Visual Studio 2005 to produce Web applications.
 

 

 106. 

When a program written in a Visual Studio 2005 programming language is compiled, the code is translated into an intermediate language called the ____________________.
 

 

 107. 

The ____________________ reads the MSIL code and causes the program instructions to be executed.
 

 

 108. 

An application that runs on a Pocket PC or Smartphone device is called a(n) ____________________ application.
 

 

 109. 

An application that runs on a computer device using the Windows graphical user interface is called a(n) ____________________ application.
 

 

 110. 

A Web site application runs on a Web server and produces ____________________ code that is downloaded to a client computer’s browser.
 

 



 
Check Your Work     Start Over