

Object-Oriented Programming Exam Review
Course Introduction
Object-Oriented Programming is a foundational computer science course that introduces students to the principles and practices of building software using the object-oriented paradigm. The course covers key concepts such as classes, objects, inheritance, polymorphism, encapsulation, and abstraction. Students will learn to structure programs that are modular, extensible, and easier to maintain by organizing code into reusable components. Through hands-on projects and coding exercises, students will gain experience designing and implementing object-oriented solutions to real-world problems using a programming language such as Java, C++, or Python. This course serves as a crucial step for those pursuing advanced topics in software development and computer science.
Recommended Textbook
Starting Out With Visual Basic 2012 6th Edition by Tony Gaddis
Available Study Resources on Quizplus
12 Chapters
430 Verified Questions
430 Flashcards
Source URL: https://quizplus.com/study-set/3852

Page 2

Chapter 1: Introduction to Programming and Visual Basic
Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/76827
Sample Questions
Q1) The standard toolbar __.
A) allows the programmer to place controls on the form
B) contains buttons that execute frequently used commands
C) is difficult to use, since you must remember the commands
D) allows the programmer to create user defined controls
Answer: B
Q2) You can think of ___as the computer's work area.
A) the CPU
B) main memory
C) secondary storage
D) the desktop
Answer: B
Q3) Programs should use comments remarks) to ___.
A) help the human reader of the program
B) make a program run more efficiently
C) make the code run faster
D) make the program smaller in size
Answer: A
To view all questions and flashcards with answers, click on the resource link above.
3

Chapter 2: Creating Applications With Visual Basic
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76826
Sample Questions
Q1) When you have an item selected and press the F1 key, you get __.
A) properties window
B) the solution explorer window
C) context-sensitive help
D) tool-tip for the item
Answer: C
Q2) You can display the Code window in all of the following ways except __.
A) Click the View Code button in the Solution Explorer window
B) Click PROJECT on the menu bar, and then click Show all files
C) Click VIEW on the menu bar, and then select Code
D) Press the F7 key
Answer: B
Q3) Which of the following statements are correct?
A) A Visual Studio project is a container that holds a solution.
B) A Visual Studio project may have multiple solutions.
C) A Visual Studio project must belong to a solution.
D) Both A and B are correct.
Answer: C
To view all questions and flashcards with answers, click on the resource link above.
4

Chapter 3: Variables and Calculations
Available Study Resources on Quizplus for this Chatper
41 Verified Questions
41 Flashcards
Source URL: https://quizplus.com/quiz/76825
Sample Questions
Q1) Which of the following declares an Integer variable named intLength and assigns it the integer literal 12?
A) Dim intLength As Integer initialize to 12
B) Dim intLength = 12 As Integer
C) Dim intLength As Integer = 12
D) Dim intLength As Integer 12
Answer: C
Q2) Which of the following has the highest order of precedence in arithmetic expressions?
A) Multiplication and division
B) Addition and subtraction
C) Exponentiation the ^ operator)
D) None of the above; calculations are always evaluated from left to right.
Answer: C
Q3) When you declare a constant, you must assign it an initial value.
A)True
B)False
Answer: True
To view all questions and flashcards with answers, click on the resource link above.
5

Chapter 4: Making Decisions
Available Study Resources on Quizplus for this Chatper
39 Verified Questions
39 Flashcards
Source URL: https://quizplus.com/quiz/76824
Sample Questions
Q1) What value is assigned to the variable strSnip when the following statements execute? Dim strSnip As String
Dim strFullString As String = "Washington" StrSnip = strFullString.Substring1, 3)
A) "ton"
B) "ash"
C) "Was"
D) "h"
Q2) Which statement copies a string from a text box named txtLastName, converts the string to uppercase and saves the string in strLastName?
A) strLastName = txtLastName
B) txtLastName.Text = strLastNameToUpper)
C) strLastName = ToUppertxtLastName.Text)
D) strLastName = txtLastName.Text.ToUpper)
Q3) It is not possible to use a relational operator and math operators in the same expression.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Chapter 5: Lists and Loops
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76823
Sample Questions
Q1) A ___is a loop inside another loop.
A) internal loop
B) nested loop
C) fixed loop
D) multiple loop
Q2) What value is assigned to lblSum.Text by the following code ? Dim intTotal As Integer = 0
For intOuter = 1 To 3
For intInner = intOuter To 3
IntTotal += intOuter * intInner
Next Next
LblSum.Text = intTotal.ToString)
A) 9
B) 16
C) 25
D) 36
To view all questions and flashcards with answers, click on the resource link above.

Page 7

Chapter 6: Procedures and Functions
Available Study Resources on Quizplus for this Chatper
31 Verified Questions
31 Flashcards
Source URL: https://quizplus.com/quiz/76822
Sample Questions
Q1) Which is the correct way to define a function named Square that receives an integer and returns an integer representing the square of the input value?
A) Function SquareByVal intNum as Integer) As Integer Return intNum * intNum
End Function
B) Function SquareByVal intNum as Integer) Return intNum * intNum
End Function
C) Function SquareByVal intNum as Integer) As Double Return intNum * intNum
End Function
D) Function SquareByVal intNum as Integer) As Double Dim dblAns as Double DblAns = intNum * intNum
Return dblAns End Function
Q2) In the context of Visual Basic procedures and functions, what is an argument?
A) A value received by a procedure from the caller
B) A value passed to a procedure by the caller.
C) A local variable that retains its value between procedure calls.
D) A disagreement between the procedure and the statement that calls it.
To view all questions and flashcards with answers, click on the resource link above. Page 8

Chapter 7: Multiple Forms, Modules, and Menus
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76821
Sample Questions
Q1) A form's _event is triggered when the user switches to the form from another form or another application.
A) form load
B) activated
C) got focus
D) click
Q2) The primary reason to use standard menu items, such as File, Edit, and Help is _.
A) these are built into Visual Basic
B) they are the only items that Visual Basic allows you add to a menu
C) all the examples in the book are set up this way
D) most users expect to see these items
Q3) Which of the following is not true about a form's Activated event?
A) It's executed when a form is initially displayed.
B) It's executed each time a form regains the focus.
C) It's executed each time the user clicks a form that does not have the focus.
D) It's executed before the Load event procedure is processed.
Q4) Any form in a Windows Forms application can be designated as the startup form.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 9

Chapter 8: Arrays and More
Available Study Resources on Quizplus for this Chatper
34 Verified Questions
34 Flashcards
Source URL: https://quizplus.com/quiz/76820
Sample Questions
Q1) The following statements apply to a Timer control, except ___.
A) it can be used to trigger tick events at regular intervals
B) the smallest possible interval between tick events is a microsecond
C) the timer can be disabled so it generates no tick events
D) it responds to Tick events only at run time
Q2) What is the error in the following code, and when will it be caught? Dim intValues5)
As Integer
Dim intIndex As Integer For intIndex = 0 To 10
IntValuesintIndex) = 10
Next intIndex
A) The For...Next loop values for intIndex should range from 1 to 10. The error will occur at run time.
B) The loop should close with Next instead of Next intIndex. The error will occur at compile time.
C) An out of bounds error will occur. The error will occur at run time.
D) The For...Next loop values for intIndex should range from 1 to 5. The error will occur at compile time.
To view all questions and flashcards with answers, click on the resource link above. Page 10
Chapter 9: Files, Printing, and Structures
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76819
Sample Questions
Q1) What does the following line do? Do Until inputFile.EndOfStream
A) Checks to see if the file exists
B) Checks to see if the next input is -1
C) Checks to see if the file is empty
D) Checks to see if all the data in the file has been read
Q2) The StreamWriter's CreateText method will ___.
A) create a new file or replace an existing one
B) append text at the end of the existing file
C) insert text at the beginning of the file
D) maintain the data for an existing file
Q3) This method places an item of data in a file without terminating the line.
A) WriteLine
B) ReadLine
C) Append
D) Write
Q4) Reports with columnar data should not use .
A) proportionally spaced fonts
B) the Courier New font
C) monospaced fonts
D) all of the above

11
To view all questions and flashcards with answers, click on the resource link above.

Chapter 10: Working With Databases
Available Study Resources on Quizplus for this Chatper
32 Verified Questions
32 Flashcards
Source URL: https://quizplus.com/quiz/76818
Sample Questions
Q1) A unique student ID number could be used as a ____, whereas a student's last name would not be suitable because two students might have the last name.
A) Primary Key
B) Sort Key
C) Record Type
D) Data Source
Q2) A is a column or columns) that uniquely identifies each row of data in a database.
A) selector
B) main key
C) identifier
D) primary key
Q3) A ____statement in SQL retrieves data from a database.
A) Select
B) Search
C) Find
D) SearchTable
To view all questions and flashcards with answers, click on the resource link above. Page 12
Chapter 11: Developing Web Applications
Available Study Resources on Quizplus for this Chatper
33 Verified Questions
33 Flashcards
Source URL: https://quizplus.com/quiz/76817
Sample Questions
Q1) Which of the following outlines the proper order for connecting a web form to a database?
A) Add a GridView control to the form Select the Data Source type
Copy the database file to the App_Data folder
Configure the SELECT statement for the database query
B) Copy the database file to the App_Data folder Add a GridView control to the form
Select the Data Source type
Configure the SELECT statement for the database query
C) Copy the database file to the App_Data folder Select the Data Source type
Configure the SELECT statement for the database query
Add a GridView control to the form
D) Configure the SELECT statement for the database query Copy the database file to the App_Data folder
Select the Data Source type
Add a GridView control to the form
To view all questions and flashcards with answers, click on the resource link above.

13

Chapter 12: Classes, Collections, and Inheritance
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76816
Sample Questions
Q1) A _defines a special type of class member that contains Get and Set sections.
A) method
B) constructor
C) property procedure
D) member variable
Q2) The _ access specifier permits class members to be accessed only by statements inside the class.
A) Public
B) Protected
C) Private
D) Friend
Q3) Class members declared with this access specifier are like private members, except they may be accessed by methods and property procedures in derived classes.
A) Private
B) Public
C) Protected
D) SubClass
To view all questions and flashcards with answers, click on the resource link above. Page 14