Accounting
Anthropology
Archaeology
Art History
Banking
Biology & Life Science
Business
Business Communication
Business Development
Business Ethics
Business Law
Chemistry
Communication
Computer Science
Counseling
Criminal Law
Curriculum & Instruction
Design
Earth Science
Economic
Education
Engineering
Finance
History & Theory
Humanities
Human Resource
International Business
Investments & Securities
Journalism
Law
Management
Marketing
Medicine
Medicine & Health Science
Nursing
Philosophy
Physic
Psychology
Real Estate
Science
Social Science
Sociology
Special Education
Speech
Visual Arts
Computer Science
Q:
Which of the following is most closely associated with Moore's Law?
(a) Every year or two, the price of computers has approximately doubled.
(b) Object-oriented programming uses less memory than previous software-development methodologies.
(c) Demand for communications bandwidth is decreasing dramatically each year.
(d) Every year or two, the capacities of computers have approximately doubled without any increase in price.
Q:
Computer programs are __________.
(a) sequences of instructions
(b) the information processed by the computer
(c) the various devices (disks, memory, keyboard) that comprise a computer system
(d) the people programming the computers
Q:
Which of the following would not be considered hardware?
(a) an operating system
(b) a CPU
(c) a keyboard
(d) a disk
Q:
Today's fastest computers are called __________.
(a) mega computers
(b) terminals
(c) supercomputers
(d) CPUs
Q:
Which of the following is going to be the key programming methodology for the next decade?
(a) object-oriented programming
(b) structured programming
(c) "legacy C code"
(d) "live-code approach"
Q:
Which of the following statements is true?
(a) hardware controls software
(b) software commands the computer to perform actions and make decisions
(c) C is an object oriented programming language
(d)Both (b) and (c)
Q:
The ____ tool verifies that an entry passes the specified validation logic. a.
RangeValidator b.
RequiredFieldValidator c.
CompareValidator d.
CustomValidator
Q:
The ____ tool verifies that a control contains data. a.
RangeValidator b.
RequiredFieldValidator c.
CompareValidator d.
CustomValidator
Q:
The ____ section of the toolbox provides validator tools for validating the user input on a Web page.
a. Validation
b. SummaryValidation
c. CustomValidation
d. Summation
Q:
The ____ extension on a filename indicates that the file contains Visual Basic code. a.
.vb b.
.bvs c.
.vbs d.
.vbsrc
Q:
A(n) ____ Web page contains controls with which the user can interact. a.
immutable b.
dynamic c.
static d.
mutable
Q:
You can use the ____ menu to close and also open an existing Web application. a.
FILE b.
EDIT c.
TOOLS d.
HELP
Q:
The link button control's ____ property specifies the Web page to display when the control is clicked. a.
PostBackUrl b.
PostBack c.
Link d.
Page
Q:
To add another Web page to an application: Click WEBSITE on the menu bar and then click ____. a.
Add New Item b.
Add New Page c.
Add Item d.
Add New
Q:
Text that cannot be changed by the user is referred to as ____ text. a.
dynamic b.
stable c.
static d.
fixed
Q:
ASP stands for "____" and refers to the type of Web page created by the ASP technology.
a. active server program
b. active service page
c. active server page
d. activate server page
Q:
A ____ is a document whose purpose is merely to display information to the viewer. a.
dynamic Web page b.
stable Web page c.
static Web page d.
normal Web page
Q:
The information is requested and subsequently viewed through the use of a program called a ____. a.
Web server b.
Web browser c.
Web reader d.
Web slave
Q:
A ____ is a computer that uses a browser to request information from a Web server. a.
server b.
browser c.
middle-man d.
client computer
Q:
A(n) ____ is a computer that contains special software that "serves up" Web pages in response to requests from client computers. a.
FTP server b.
Telnet server c.
Web server d.
HTML server
Q:
The CompareValidator tool verifies that an entry passes the specified validation logic.
Q:
The RegularExpressionValidator verifies that an entry matches a specific pattern.
Q:
A dynamic Web page contains code that tells the controls how to respond to the user's actions.
Q:
You can add an image to a Web page using the Picture tool in the toolbox.
Q:
Although not identical to viewing in a browser window, full screen view provides a quick and easy way to verify the placement of controls and text on the Web page.
Q:
To view a Web page in full screen view, you use the Open Screen option on the View menu.
Q:
While you are designing a Web page, you can periodically view the page in full screen view to determine how it will appear to the user.
Q:
You can use either the FORMAT menu or the Formatting toolbar to format the static text on a Web page.
Q:
You can only add static text to a Web page using a label control.
Q:
You can use the Properties window to include a title on a Web page.
Q:
Only selected ASP pages contain Flash tags that tell the client's browser how to render the page on the computer screen.
Q:
One advantage of static Web pages is that they are interactive.
Q:
Currently, the two most popular browsers are Microsoft Internet Explorer and Mozilla Firefox.
Q:
The Web consists of documents called Web pages that are stored on Web servers.
Q:
After defining a class, you can use it to instantiate a maximum of one object.
Q:
Constructors can be either Sub or Function procedures.
Q:
A class can contain methods other than constructors.
Q:
A class can have more than one default constructor.
Q:
You can enter one or more instructions between the Set and End Set clauses.
Q:
The Get block in a Property procedure contains the Set statement, which begins with the keyword Set and ends with the keywords End Set.
Q:
When an application instantiates an object, only the Public members of the object's class are made available to the application.
Q:
When naming the Private variables in a class, many programmers use the underscore as the first character and then use camel case for the remainder of the name.
Q:
Pascal case means you capitalize the first letter in the name and the first letter in any subsequent words in the name.
Q:
When you define a class using the Class statement, you are required to use Pascal case for class names.
Q:
In addition to using Visual Basic classes, you also can define your own classes.
Q:
A class itself is not an object; only an instance of a class is an object.
Q:
The text boxes, labels, and buttons included in most Windows applications are objects.
Q:
The first word in a method name should be a(n) ____. a.
noun b.
verb c.
adjective d.
adverb
Q:
A class can have only one default ____. a.
maker b.
creator c.
instantiate d.
constructor
Q:
A(n) ____ is a class method, a Sub procedure named New, that contains the instructions for initializing the class's Private variables. a.
default constructor b.
maker c.
default creator d.
instantiate
Q:
The code in the ____ block of a Property procedure allows an application to assign a value to the Private variable associated with the property. a.
Get b.
SetProperty c.
Set d.
GetProperty
Q:
The code contained in the ____ block of a Property procedure allows an application to retrieve the contents of the Private variable associated with the property. a.
Get b.
SetProperty c.
Set d.
GetProperty
Q:
You create a Public property using a(n) ____ procedure. a.
Attribute b.
Property c.
Set d.
Get
Q:
An application must use a ____ property to either assign data to or retrieve data from a Private variable in a class. a.
Private b.
Public c.
Default d.
Event
Q:
Using OOP terminology, the Public members are "exposed" to the application, whereas the ____ members are "hidden" from the application. a.
Private b.
Public c.
Global d.
Class level
Q:
You define a class using the ____ statement. a.
Object b.
ClassType c.
Type as Class d.
Class
Q:
A class containsor, in OOP terms, it ____all of the attributes and behaviors of the object it instantiates.
a. encapsulates
b. exposes
c. collapses
d. implements
Q:
____ are the actions to which an object can respond. a.
Actions b.
Behaviors c.
Events d.
Instances
Q:
____ are the operations (actions) that the object is capable of performing. a.
Instances b.
Behaviors c.
Events d.
Methods
Q:
Every object has ____, which are the characteristics that describe the object.
a. properties
b. attributes
c. parts
d. elements
Q:
Every object used in an object-oriented program is created from a ____, which is a pattern that the computer uses to create the object. a.
class b.
basic type c.
structure d.
template
Q:
The real advantage of object-oriented programming is the ability to reuse a classfor example, use it in a different way or in a different application.
Q:
The ____ operator returns the smallest value in the group. a.
Max b.
Smallest c.
Min d.
Minimum
Q:
The ____ operator returns the total of the values in the group.
a. Total
b. Sum
c. Calc
d. Add
Q:
The LINQ ____ operator returns a single value from a group of values.
a. collect
b. collapse
c. integrate
d. aggregate
Q:
The basic syntax for assigning a LINQ variable's contents to a BindingSource object is ____.
a. DataSource.bindingSource = AsDataView.variableName
b. DataSource.bindingSource = variableName.AsDataView
c. bindingSource.DataSource = AsDataView.variableName
d. bindingSource.DataSource = variableName.AsDataView
Q:
The basic syntax to use the LINQ to select and arrange records in a data set is ____.
a. Dim variableName = In dataset.table From elementName
b. Dim variableName = From elementName In dataset.table
c. Dim In dataset.table From elementName = variableName
d. Dim From elementName In dataset.table = variableName
Q:
In a query, the ____ clause is used to sort the records in either ascending (the default) or descending order by one or more fields. a.
Order By b.
Select c.
From d.
Where
Q:
Similar to the condition in If"¦Then"¦Else and Do"¦Loop statements, the ____ clause specifies a requirement that must be met for a record to be selected. a.
Select b.
Where c.
From d.
Order By
Q:
In a query, the ____ clause is used to specify the records you want to select in the dataset. a.
Select b.
From c.
Where d.
Order
Q:
You can create a query in Visual Basic 2012 using a language feature called ____.
a. Integrated Language Query
b. Language Query
c. Structured Language
d. Language Integrated Query
Q:
You use a(n) ____ to specify both the records to select in a dataset and the order in which to arrange the records.
a. query
b. question
c. inquiry
d. access
Q:
The Total operator returns the sum of the values in the group.
Q:
The only calculations that are performed using the LINQ aggregate methods are Average and Count.
Q:
In addition to using LINQ to sort and select the records in a dataset, you also can use it to perform arithmetic calculations on the fields in the records.
Q:
The LINQ statement merely selects the records but does not assign them to the records variable.
Q:
If you are sorting records in ascending order, you need to include the keyword Ascending in the Order By clause.
Q:
The following syntax selects all of the records in the dataset:
Dim records = From employee In EmployeesDataSet.tblEmploy
Select employee
Q:
In a query, the Where and Order By clauses are optional parts of the syntax.
Q:
The syntax for LINQ requires you to specify the variable's data type.