Exam #1 Flashcards
A (n) ______ is a set of instructions that a computer follows to perform a task
Program
The physical devices that a computer is made of are referred to as __________
Hardware
The part of a computer that runs programs is called __________
the CPU
Today, CPUs are small chips known as ________
microprocessors
The computer store a program while the program is running, as well as the data that the program is working with, in ________
The microprocessor
_______ is a volatile type of memory that is used for temporary storage while a program is running.
RAM
A type of memory that can hold data for long periods of time-even when there is no power to the computer-is called _______
Main Memory
A component that collects data from people or other devices and sends it to the computer is called _______
a secondary storage device
A video display is a(n) _______ device
input
A ______ is enough memory to store a letter of the alphabet or a small number
Byte
A byte is made up of eight _____
bits
in the ____ numbering system, all numeric values are written as sequences of 0s and 1s
binary
A bit that is turned off represents the following value: ______
0
A set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters is ______
ASCII
An extensive encoding scheme that can represent the characters of many of the languages in the world is _____
Unicode
Negative numbers are encoded using the _____ technique
two’s complement
Real numbers are encoded using the ____ technique
Floating point
The tiny dots of color that digital images are composed of are called _____
pixels
If you were to look at a machine language program, you would see _______
a stream of binary numbers
In the ______ part of the fetch-decode-execute cycle, the CPU determines which operations= it should perform
decode
Computers can execute only programs that are written in ______
Machine language
The _______ translates an assembly language program to a machine language program.
assembler
The words that make up a high-level programming language are called _____
keywords
The rules that must be followed when writing a program are called ______
Syntax
A (n) _______ is a program that translates a high-level language program into a separate machine language program
Compiler
A ______ is any hypothetical person using a program and providing input for it
user
A _______ error does not prevent the program from running but causes it to produce incorrect results
logic
A (n) _____ is a set of well-defined logical steps that must be taken to perform a task
algorithm
An informal language that has no syntax rules and is not meant to be compiled or executed is called ______
pseudocode
A ______ is a diagram that graphically depicts the steps that take place in a program
flowchart
Objects that are visible in a program’s graphical user interface are commonly referred to as _______
controls
A ______ is code that describes a particular type of object
class
The _____ is a collection of classes and other code that can be used, along with a programming language such as C#, to create programs for the Windows operating system
.NET framework
The ____ is the part of a computer with which the user interacts
user interface
Before GUIs became popular, the ______ interface was the most commonly used
command line
_____ programs are usually event driven
GUI
Today. CPUs are huge devices made of electrical and mechanical components such as vacuum tubes and switches
False
Main memory is also known as RAM
True
Any piece of data that is stored in a computer’s memory must be stored as a binary number
True
Images, such as the ones you make with your digital camera, cannot be stored as binary numbers
False
Machine language is the only language that a CPU understands
True
Assembly language is considered a high-level language
False
An interpreter is a program that both translate and executes the instructions in a high-level language program
True
Windows, Linux, UNIX, and Mac OS are all examples of application software
False
A syntax error does not prevent a program from being compiled and executed
False
Word processing programs, spreadsheets programs, email programs, Web browsers, and games are all examples of utility programs
False
Programmers must be careful not to make syntax errors when writing pseudocode programs
False
C# provides only the basic keywords and operators that you need to construct a program
True
A (n) _______ is the thin dotted line that encloses an object in the Designer
bounding box
The small squares that appear on the right edge, bottom edge, and lower-right corner of a form’s bounding box are called _______
sizing handles
______ is the name of the blank form that Visual Studio initially creates in a new project
Form1
The ____ property holds text that isi displayed on the face of the button
Text
A file that contains program code is called a(n) ____
source code file
A namespace is a container that holds _____
classes
A(n) _____ is a method that executes when a specific event takes place while an application is running
event handler
The statement MessageBox.Show(“Hello World”); is an example of a(n) _____
Method call
In programming we use the term string to mean _____
string of characters
A(n) _____ marks the end of a programming statement in C#
semicolon
A piece of data that us written into a program’s code is a(n) _____
Literal
The time during which you build the GUI and write application’s code is referred to as _______
design time
The time during which an application is executing is referred to as ______
run time
When you want to display text on a form, you use a ______ control
Label