

Computer Science I Exam Preparation Guide
Course Introduction
Computer Science I introduces the fundamental concepts of programming and problem-solving using a high-level programming language. Topics include basic syntax and semantics, data types, control structures, functions, arrays, and an introduction to object-oriented programming. Students will learn how to design, implement, and test simple programs, develop algorithmic thinking, and understand the building blocks that underlie modern computing. This course serves as the foundation for more advanced computer science coursework and emphasizes hands-on practice and logical reasoning skills.
Recommended Textbook
Starting Out With Visual Basic 7th Edition by Tony Gaddis
Available Study Resources on Quizplus
12 Chapters
429 Verified Questions
429 Flashcards
Source URL: https://quizplus.com/study-set/3925

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/78277
Sample Questions
Q1) If you wish to display text which cannot be modified by the user, use the
A) TextBox control
B) Label control
C) Caption control
D) Name control
Answer: B
Q2) The part of a program that users see and interact with is known as the
A) algorithm
B) properties
C) methods
D) user interface
Answer: D
Q3) Control names may begin with a letter or a number.
A)True
B)False
Answer: False
To view all questions and flashcards with answers, click on the resource link above. Page 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/78276
Sample Questions
Q1) IntelliSense is a feature of Visual Studio that ___________________________.
A) provides hints about the input data requested from the user
B) provides automatic code completion as you write programming statements
C) allows the user to easily modify properties for a control in design mode
D) is a feature that will help the programmer use proper naming conventions
Answer: B
Q2) Syntax errors __________.
A) result from an attempt to perform an operation that cannot execute
B) are not syntax errors
C) are errors found while an application is running
D) are errors such as misspelled keywords or incorrect use of operators
Answer: D
Q3) Which value of the SizeMode property is used to automatically adjust the size of a PictureBox control to fit the size of the image?
A) Normal
B) Zoom
C) CenterImage
D) AutoSize
Answer: D
To view all questions and flashcards with answers, click on the resource link above.
Page 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/78275
Sample Questions
Q1) A class-level variable ___________________.
A) is declared inside a class but outside any procedure
B) is accessible to all procedures in a class
C) is visible to all statements inside the class
D) all of the above
Answer: D
Q2) A Date literal can contain _____________.
A) a date
B) a time
C) a floating-point value
D) both a date and a time
Answer: D
Q3) The contents of a text box may be cleared in Visual Basic code by __________.
A) by assigning the predefined constant String.Empty to the text property
B) by setting the focus on the control and using the delete key
C) by setting the focus on the control and using the back space key
D) by clicking the clear button
Answer: A
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/78274
Sample Questions
Q1) The expression <b>Single.TryParse("12.5", sngNbr)</b> performs the following:
A) Returns True
B) Returns False
C) Places the value 12.5 in the variable sngNbr
D) Returns True and places the value 12.5 in the variable sngNbr
Q2) If the Boolean expression on the left side of an <b>OrElse</b> operator is true, the Boolean expression on the right side of the Or operator will not be evaluated.
A)True
B)False
Q3) Because only one radio button in a group can be selected at any given time, they are said to be _________.
A) mutually exclusive
B) dependent
C) selectively unique
D) interdependent
Q4) The If Then Else statement follows only one of the two paths.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
6

Chapter 5: Lists and Loops
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/78273
Sample Questions
Q1) Which of the following statements will assign a random number between 1 and 50 inclusive to <b>intNum</b>?
A) intNum = rand.Next(50) + 1
B) intNum = rand.Next(1, 50)
C) intNum = rand.Next(50)
D) intNum = rand.Next()
Q2) What is wrong with the following code?
<b>Dim intIndex As Integer For intIndex = 5 To 1
ListBox.Items.Add(intIndex.ToString) Next<b>
A) The Next statement must read Next intIndex.
B) A For Next loop cannot be used to count backward.
C) intIndex is declared incorrectly for use with this type of loop.
D) You need to specify a negative step value in order to execute this loop.
Q3) Which of the following statements correctly displays an input box?
A) strUserInput = Input("Enter your First Name")
B) strUserInput = Input("Enter your First Name", "Name")
C) strUserInput = InputBox(Enter your First Name, Enter Name)
D) strUserInput = InputBox("Enter your First Name", "Enter Name")
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/78272
Sample Questions
Q1) When calling a procedure, passed arguments and declared parameters must agree in all of the following ways except __________.
A) the order of arguments and parameters must correspond
B) the names of the arguments and parameters must correspond
C) the types of the arguments and parameters must correspond
D) the number of arguments and the number of parameters must be the same
Q2) Although you can omit the ByVal keyword in a parameter variable declaration, it is still a good idea to use it.
A)True
B)False
Q3) Which of the following calls to the GetNumber procedure is not valid?
<b> Sub GetNumber(ByVal intNumber as Integer)
' (procedure body)
End Sub</b>
A) GetNumber(intX)
B) GetNumber(3 + 5 * 8 + intX)
C) GetNumber(intX + 3, intY)
D) GetNumber(CInt(txtNumber.Text))
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
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/78271
Sample Questions
Q1) What property must be set on a menu item to have the user activate that option by pressing Ctrl + C on the keyboard?
A) ShortcutKeys
B) QuickKey
C) HotKey
D) ShowShortCut
Q2) A menu item may be executed by a user in each of the following ways except __________.
A) by pressing access keys such as Alt + F
B) by pressing shortcut keys such as Ctrl + S
C) by clicking on the item
D) by hovering the mouse over the item
Q3) Which of the following statements most accurately describes the Me keyword?
A) The Me keyword refers to the current instance of the form.
B) Me is another name for the Form Load event procedure.
C) The Me.Close() statement calls the Close method of a form named Me.
D) The Me keyword provides access to the controls of a form without naming the specific control.
To view all questions and flashcards with answers, click on the resource link above.
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/78270
Sample Questions
Q1) In Visual Basic you can use the ______data type to hold a set of items.
A) Group
B) List
C) Array
D) Object
Q2) How many elements can be stored in the following array? Dim sngGrades (2, 3) As Single
A) 6
B) 5
C) 12
D) cannot be determined
Q3) Which of the following statements defines a two-dimensional Integer array named intTwoDArray with 6 rows and 4 columns?
A) Dim intTwoDArray(5, 3) As Integer
B) Dim intTwoDArray(3, 5) As Integer
C) Dim intTwoDArray(6, 4) As Integer
D) Dim intTwoDArray(4, 6) As Integer
To view all questions and flashcards with answers, click on the resource link above. Page 10

Chapter 9: Files, Printing, and Structure
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/78269
Sample Questions
Q1) An Open dialog box displays the current folder unless the ______property specifies a different path.
A) InitialFolder
B) DefaultDirectory
C) InitialDirectory
D) DisplayFolder
Q2) The StreamReader object's ______is used to determine when the end of the file has been reached.
A) EndOfStream property
B) Poke method
C) EOF flag
D) FileEnd flag
Q3) In order to retain data while a program is not running, data must be saved in
A) RAM
B) a ListBox
C) a control
D) a file
To view all questions and flashcards with answers, click on the resource link above.
11
Chapter 10: Working With Databases
Available Study Resources on Quizplus for this Chatper
32 Verified Questions
32 Flashcards
Source URL: https://quizplus.com/quiz/78268
Sample Questions
Q1) The ______control displays information from a dataset in row and column format.
A) DataAware
B) DataGridView
C) DataListView
D) DataTableView
Q2) A ____component passes data from one or more database tables to your program.
A) DataTransfer
B) DataSet
C) Connection
D) TableAdapter
Q3) ______is a tool provided by Visual Studio for creating and modifying SQL queries.
A) Server Explorer
B) SQL Explorer
C) Query Builder
D) SQL Toolbox
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/78267
Sample Questions
Q1) Which Web control is similar to the Windows form ComboBox control?
A) TextBox
B) DropDownList
C) CheckBoxList
D) ListBox
Q2) Web applications use the ______control instead of the datasets used by desktop applications.
A) Gridview
B) DataSource
C) Table
D) MS Access
Q3) The following are true about a HyperLink control, except __________.
A) its Text property is shown to the user at runtime
B) it generates an event
C) it allows the user to navigate to another Web page
D) its Target property controls whether new page will appear in a separate window
To view all questions and flashcards with answers, click on the resource link above. Page 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/78266
Sample Questions
Q1) 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
Q2) If there exists a class named <b>Person</b> and one wants to create a new class named <b>Student</b> based on the Person class, what code segment below shows the correct way to do so?
A) Public Class Student Inherits Person
B) Public Class Student Extends Person
C) Public Class Student Inherits From Person
D) Public Class Student :Person
Q3) The class is the portion of a class that is visible to the application programmer.
A) form
B) design
C) control
D) interface
To view all questions and flashcards with answers, click on the resource link above. Page 14