Chapter 1 Flashcards
What are the 5 components of a computer?
The CPU, main memory, secondary memory, input devices, output devices
Negative numbers are encoded using what technique?
Two’s complement
Real numbers are encoded using what?
Floating point technique
The CPU only understands instructions writen in ______
Machine language
In what process does the CPU read the next set of instructions?
Fetch
Process in which CPU dtermines which operation it should perform
Decode
CPU performs the operation in this process
Execute
A comouter can only execute programs writen in…
Machine language
This language uses short words instead of binary
Assembly language
What are mnemonics?
Words used in assembly language in place of binary
What is an assembler?
Program used to translate assembly language to machine language
Words that make up high level programming launguages are called
Keywords or reserved words
What do operators do in programming languages?
Perform operations on data such as add, subtract, ect.
Individual instructions in a program are called
Statements
A compiler does what?
Translates high level language programs into separate machine language programs
A interpreter is different from a compiler how?
Interpreter translates each individual instruction, then executes it. It does not create a machine language program.
True or False: Assembly language is considered a high level language
False
What programs controls the basic operations of a computer?
System software
What are utility programs?
Programs that enhance the computer’s operation (virus scanners, file compression)
What determines the order in which things happen in a command line interface?
Programs
What are the 3 windows in Visual Studio called?
The Designer window, solution explorer window, and the properties window
What is an object in a program?
A component that contains data and performs operations
What is data stored in an object called?
Fields or properties
What are the operations that an object can perform called?
Methods
The object that displays a window on the screen
Form object
Object that displays text on a form
Label object
Rectangular region that accepts keyboard input
TextBox object
What are the objects used in a GUI?
Form, textbox, label, and button objects
Objects that are visible in a program’s GUI are called
Controls
What code describes a particular type of object?
A class
Describe the program development cycle
Understand the program’s process, design the GUI, design the program’s logic, write the code, correct syntax errors, test the program & correct logic errors
Explain what a flowchart is and what each symbol is used for.
The flowchart graphically depicts the steps of a program. Ovals are terminal symbols (start and end), parallelograms responds woth input or output, rectanlges are processing symbols in which the program perfomrs some process on data
What is a toolbox?
A window that allows you to select controls that you want to use in the apps user interface
What is a tooltip
A textbox that appears when you hover over a button that explains the object’s purpose
What is a class in programming?
Code that describes a particular type of object. Specifies what data it can hold, or what actions it can perform
What is an algorithm?
A set of well defined, logical steps that must be taken to perform a task
What is psuedocode?
An algorithm written out in plain English statements. Helps plan out the logical steps a program will follow