Answered Correctly (Qs) 2026 update
What are the 5 major hardware components of a computer system? - CORRECT
ANSWERS 1) Central Processing Unit (CPU)
2) Main memory (RAM)
3) Secondary storage devices (USB and CDs)
4) Input Devices (Keyboard, mouse camera)
5) Output devices (Printer, monitor)
Hardware - CORRECT ANSWERS Tools, machinery, and other durable
equipment
The physical components
Software - CORRECT ANSWERS The programs and other operating
information used by a computer
Visual Basic - CORRECT ANSWERS Programming language interface
designed by Microsoft to allow users to modify code written in the simple programming
language known as Basic.
What is the main memory and its purpose? - CORRECT ANSWERS
"Computer's work area" which holds instructions and data needed for programs that are
currently running.
-quickly access data at any location
-used as temporary storage, but contents are lost when the power is turned off.
Why do computers have both main memory and secondary storage? - CORRECT
ANSWERS -the main memory is useful for holding instructions for the
programs the computer is currently using and -the secondary storage is useful for
having a second backup on your data you want stored. Doesn't lose content even when
the computer shuts off
What are the two general categories of software? - CORRECT ANSWERS
1) Operating systems: set of programs that manage the computer's hardware devices
and controls the processes.
-Windows
-Mac OS
-Linux
2) Application software: programs that make the computer useful for the user
- Word processing
-spreadsheet
,-database packages
What is an algorithm? - CORRECT ANSWERS well-defined, ordered set
of steps for solving a problem
-necessary for computing certain tasks
Why were computer programming languages invented? - CORRECT ANSWERS
It allows us to use words instead of numbers to ease the task of programming.
compiler- converts programming language statements to machine language
instructions.
What is an object and what is a control? - CORRECT ANSWERS Object:
Item that contains data ("properties" or "attributes") and has the ability to perform
actions. Object = code
Control: actually appears in a GUI.
EX) TextBox, Label, Button Control = appearance
What does event-driven mean? - CORRECT ANSWERS Programs that
operate in a GUI, responds to an event or action taken place in a program
EX) when a user clicks a button, a click control occurs.
Goes behind the form code
What is a property? - CORRECT ANSWERS Piece of data that
determines some characteristic of the control.
EX) Text Property, Label Property, Button Property
Why should a programmer change the name of a control from its default name? -
CORRECT ANSWERS So it describes the purpose of the control and the
user can easily determine which control it is
If a control has the programmer-defined name txtRadius, what type of control is it? -
CORRECT ANSWERS TextBox Control
What is the default name given to the first textbox control created in an application? -
CORRECT ANSWERS TextBox1
Is First+Lastname an acceptable control name? Why or why not? - CORRECT
ANSWERS No because no punctuations like the + symbol are allowed
What 4 items should be identified when defining what a program is to do? - CORRECT
ANSWERS Purpose, Input, Process and Output
Examples from the wage calculator
Purpose: To calc user's gross pay
Input: Number of hrs worked, hourly pay rate
, Process: Multiply number of hours worked by hourly pay rate. The result is the user's
gross pay
Output: Display a message indicating the user's gross pay
Describe the importance of good planning in the process of creating a VB application -
CORRECT ANSWERS If you don't plan what you want the program to do,
then you're probably going to miss some values in the making. Helps you avoid errors
that may not otherwise be anticipated.
What does it mean to visualize a program running? What is the value of such an
activity? - CORRECT ANSWERS 1st step in creating Application's form or
Windows: User needs to imagine what the computer screen looks like and create it in
your mind when the program is running
What goes behind the form code? - CORRECT ANSWERS Buttons - are
clickable/actionable; event-driven
What is a flowchart? - CORRECT ANSWERS diagram that graphically
depicts the flow of the model
Starts with an oval labeled "Start" followed by rectangles stating what the occupational
process is and ends with another oval labeled "End"
Used to write actual code
What is pseudocode? - CORRECT ANSWERS Human readable code that
looks similar to programming language code.
EX) Store # of hours worked X Hourly Pay Rate in the grossPay variable
Store the value of the grossPay variable in the lblGrossPay control's Text property
Programmers find it helpful to plan an algorithm in a language thats almost a
programming language that makes sense to humans
Used to write actual code
What is a runtime error? - CORRECT ANSWERS errors found while
running the program.
-Mistakes that don't prevent an application from executing, but cause it to produce
incorrect results.
Ex) mistake in math formula
Type conversion error
Ex) Dim intCount As Integer = abc123