Chapter 1 Definitions Flashcards
Computer program
A set of instructions that you write to tell a computer what to do.
Hardware
General term for computer equipment
Software
General term for computer programs
Application Software
Performs tasks for users
System Software
Manages the computer software
Logic
Executing the various statements and procedures in the correct order to produce the desired results
Machine language
The circuitry- level language that represents a series of on and off switches
Low-level programming language
Written to correspond closely to a computer processor’s circuitry
High-level programming language
Allows you to use English-like vocabulary to write programs
Syntax
Refers to the rules that define the ways language elements are used together correctly to create usable statements
Keywords
The words that are a part of a programming language
Program statements
Similar to English sentences, Carry out the tasks that programs perform
Commands
Program Statements
Compiler
A program that translates language statements into machine code; it translates an entire program at once before any part of the program can execute
Interpreter
Is a program that translates language statements into machine code; it translates one statement at a time, allowing a program to execute partially
Executing a statement or program
To carry it out
At run time
A phrase that describes the period of time during which a program executes
Syntax error
A programming error that occurs when you introduce typing errors into your program or use the programming language incorrectly; a program containing syntax errors cannot be translated into an executable program
Debugging a program
The process that frees it of all errors
A bug
A flaw or mistake in a computer program
Logic error
Programming bug that allows a source program to be translated to an executable program successfully, but that produces incorrect results
Semantics error
Occurs when you use a correct word in the wrong context in program code
Procedural programming
Is a style of programming in which sets of operations are executed
Variables
Named computer memory locations that hold values that might vary
Procedures
Sets of operations performed by a computer program
Call a procedure
To temporarily abandon the current logic so that the procedure’s commands can execute
Writing Object-oriented programs
Includes creating classes, creating objects from those classes, and creating applications that use those objects
Computer simulations
Are programs that attempt to mimic real-world activities so that their processes can be improved or so that users can better understand how the real-world processes operate
Graphical user interfaces (GUI)
(“Gooeys”) Allow users to interact with a program in a graphical environment
A class
A group or collection of objects with common properties
A class definition
Describes what attributes its objects will have and what those objects will be able to do
Attributes
Characteristics that define an object as part of a class