

Object-Oriented Programming Exam Practice Tests
Course Introduction
Object-Oriented Programming introduces students to the fundamental concepts and principles of programming using the object-oriented paradigm. The course covers essential topics such as classes, objects, inheritance, encapsulation, polymorphism, and abstraction. Students will learn to design and implement software solutions by modeling real-world entities as objects and establishing relationships among them. Through hands-on projects and coding exercises, participants will develop problem-solving skills and gain proficiency in an object-oriented programming language, preparing them for advanced software development and engineering tasks.
Recommended Textbook
Microsoft Visual Basic 2012 for Windows Web Office and Database Applications Comprehensive
Available Study Resources on Quizplus
12 Chapters
1344 Verified Questions
1344 Flashcards
Source URL: https://quizplus.com/study-set/940

Page 2

Chapter 1: Introduction to Visual Basic 2012 Programming
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18522
Sample Questions
Q1) A computer is able to make decisions based on the results of ____ operations.
A) arithmetic
B) grouping
C) logical
D) sorting
Answer: C
Q2) You are looking for a program that will be the most user-friendly for two of the junior members of your team,both of whom are new to programming.Which of the following is the best match?
A) Visual Basic
B) C++
C) Visual C#
D) All of the above
Answer: A
Q3) The process of creating an object from a class is called ____________________.
Answer: instantiation
Q4) Tapping or clicking a button on a program screen causes an event to occur.
A)True
B)False
Answer: True
To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Program and Graphical User Interface Design
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18523
Sample Questions
Q1) A Label object can only contain one line of text.
A)True
B)False
Answer: False
Q2) When an object is selected on a Windows Form object,these will appear on the object
A)presentation layer
B)Dockable
C)blue
D)sizing handles
E)title bar
F)use case
G)PictureBox
H)lbl
I)red
J)btn
Answer: D
Q3) A snap line that is colored _______________ indicates that the text within an object is aligned with the text in another object.
Answer: red
To view all questions and flashcards with answers, click on the resource link above. Page 4

Chapter 3: Program Design and Coding
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18524
Sample Questions
Q1) A(n)___________________ means the user has initiated an action that causes the program to perform the type of processing called for by the user's action.
Answer: event
Q2) The predefined ____ procedure will close the program.
A) Off
B) Sleep
C) Exit
D) Close
Answer: D
Q3) The first code written for an event should be ____ code.
A) assignment
B) comment
C) enabling
D) disabling
Answer: B
Q4) ____________________ is the set of instructions written by the developer that direct the program to accomplish its tasks.
Answer: Program code
To view all questions and flashcards with answers, click on the resource link above.
Page 5

Chapter 4: Variables and Arithmetic Operations
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18525
Sample Questions
Q1) A ____ beneath a variable name in a declaration statement indicates that the variable has not been used in the program.
A) blue squiggly underline
B) green squiggly underline
C) red squiggly underline
D) yellow squiggly underline
Q2) A special variable whose value cannot be changed by any statement within the program
A)program
B)ToString
C)constant
D)precision specifier
E)function
F)method
G)class
H)procedure
I)local
J)literal
Q3) The ____________________ data type holds a nondecimal whole number value.
Q4) The * operator is the ____________________ arithmetic operator.
To view all questions and flashcards with answers, click on the resource link above. Page 6

Chapter 5: Decision Structures
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18526
Sample Questions
Q1) A ____ structure is used to deal with different conditions that occur based on values entered into an application.
A) compound
B) logical
C) decision
D) baseline
Q2) The business traveling rule,"If the flight costs less than $300.00 and the hotel is less than $120.00 per night" is an illustration of ____ conditions.
A) continuous
B) compound
C) contiguous
D) grouped
Q3) Since the first days of computers,the phrase "____________________" has described the fact that allowing incorrect input data into a program produces incorrect output.
Q4) Each code snippet inserted by the command in the accompanying figure consists of a complete programming task.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 7

Chapter 6: Loop Structures
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18527
Sample Questions
Q1) Smart actions can be specified for a menu by using Action Tags._________________________
A)True
B)False
Q2) Loop in which the body of the loop is executed until the condition becomes true
A)ListBox
B)wizard
C)bottom-controlled
D)infinite
E)accumulator
F)For...Next
G)breakpoint
H)looping
I)InputBox
J)Do Until
Q3) In Visual Basic 2012,a deployed program can be created easily by using ____________________ Deployment.
Q4) A(n)____________________ loop should be used when the iterations should continue as long as a condition remains true.
Q5) A(n)____________________ is used to pause the execution of code while debugging.
To view all questions and flashcards with answers, click on the resource link above. Page 8

Chapter 7: Using Procedures and Exception Handling
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18528
Sample Questions
Q1) Must be explicitly called from within the program code
A)template
B)Project Designer
C)SelectedIndex
D)SelectedIndexChanged
E)procedure
F)ListBox
G)Sub procedure
H)Private
I)procedure call
J)Select Case
Q2) You specify you want to pass a value by reference by entering the keyword ByRef in the Sub procedure declaration.
A)True
B)False
Q3) A Finally statement is required after each Catch block in a Try-Catch structure to execute any necessary clean-up code.
A)True
B)False
Q4) How is a Function procedure similar to or different from a Sub procedure?
To view all questions and flashcards with answers, click on the resource link above. Page 9

Chapter 8: Using Arrays and File Handling
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18529
Sample Questions
Q1) When using a For Each loop to process each element in an array,you must specify the number of iterations for the loop.
A)True
B)False
Q2) An array can be passed as an argument to a(n)____ procedure.
A) Baseline
B) Order
C) Sort
D) Function
Q3) Which of the following lines could replace the line at the bottom of the code in the sample and retain the data in the elements 0 through 50?
A) ReDim Retain strEmployees(65)
B) ReDim Reserve strEmployees(65)
C) ReDim Restore strEmployees(65)
D) ReDim Preserve strEmployees(65)
Q4) An instance is a special type of form that can be loaded with another form still showing.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 10

Chapter 9: Creating Web Applications
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18530
Sample Questions
Q1) Use the ____ property of the Calendar object to reference the current date.
A) Today
B) Current
C) TodaysDate
D) ThisDate
Q2) When using a Calendar object on a Web form,which are often important?
A) the current time
B) the current date
C) the date selected by the user
D) the calendar extension
Q3) Web application filenames in Visual Basic 2012 can include blank spaces.
A)True
B)False
Q4) Visual Basic will automatically trim off extra spaces from the beginning and end of a string.
A)True
B)False
Q5) You can change the color of a page by selecting the background color and foreground color tools on the ____________________ toolbar.
To view all questions and flashcards with answers, click on the resource link above. Page 11

Chapter 10: Incorporating Databases with ADONET
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18531
Sample Questions
Q1) ADO.NET 4.5 works with ____.
A) Access 2010
B) Access 2013
C) SQL
D) Oracle
Q2) A column in a database table is referred to as a ____.
A) field
B) record
C) row
D) table
Q3) To view the data available in the source database,you need to click Show Data Sources on the VIEW menu.
A)True
B)False
Q4) In a database,a(n)____________________ is referred to as a field.
Q5) The Fill command is used to fill a(n)____________________ object with data from a database.
Q6) Explain OleDbDataAdapter and what it consists of,and provide its general form.
Q7) A DataSet object is a temporary ____________________ storage for data retrieved from a data source.
To view all questions and flashcards with answers, click on the resource link above. Page 12

Chapter 11: Multiple Classes and Inheritance
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18532
Sample Questions
Q1) Generally,when using multiple classes within a program,variables in a class should not be available to code within other classes within the program.
A)True
B)False
Q2) This can inherit procedures within the base class
A)classes
B)TabIndex
C)encapsulation
D)SelectedIndex
E)subclass
F)Overridable
G)object
H)three-tier
I)StreamWriter
J)inheritance
Q3) To determine if a selection was made in a combo box,the value of the ____________________ property should be tested.
Q4) ____________________ allows one class to inherit attributes and procedures from another class.
To view all questions and flashcards with answers, click on the resource link above. Page 13

Chapter 12: Windows Store Apps
Available Study Resources on Quizplus for this Chatper
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/18533
Sample Questions
Q1) In the Solution Explorer,a(n)____ file includes information that describes your app and lists the files that your app contains
A) manifest
B) glossary
C) protocol
D) index
Q2) A motion you make on a touch screen with the tip of one or more fingers
A)touch-first
B)app package
C)pinch
D)chromeless
E)swipe
F)press and hold
G)gesture
H)double-tap
I)stretch
J)drag
Q3) Apps in the Windows Store cannot use custom controls.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 14