• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/31

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

31 Cards in this Set

  • Front
  • Back
Why program?
Computers can do many different jobs because they are programmable.
What are the things necessary
for any real-world computer program?
• The logical flow of the instructions
• The mathematical procedures
• The appearance of the screens
• The way information is presented to the Llser
• Program's "user friendliness"
• Manuals and other written documentation
What is Hardware?
refers to the physical components that a compurer is made of. A computer, as
we generally think of it, is not an individual device, but a syStem of devices.
What are the five major components of a computer?
1. The central processing unit (CPU)
2. Main memory
3. Secondary storage devices
4. Input devices
5. Output devices
What is CPU?
At the heart of a computer is its central processing tIIlit, or CPU. The CPU's job is to fetch
instructions, follow the instructions, and produce some result.
What does a CPU consist of?
central processing
unit consists of two parts: the cO/1trol tmit and the arithmetic and logic Im;t (ALU).
What does a CU do?
The control unit coordinates all of the computer's operations. It is responsible for determining
where to get the next instruction and regulating the other major components of the computer with control signals.
What does ALU do?
The ari thmetic and logic unit, as its name suggests, is designed to
perform mathematical operations.
What is Fetch?
The CPU's control unit fetches, from main memory. the next instruction in the sequence of program instructions
What is decode?
The Instruction is encoded in the form of a number. The control unit decodes the instruction and generates an electronic signal.
What is execute?
The signal is routed to the appropriate component of rhe computer (such as the ALU, a d isk drive, or some mher device). The signal causes
the component to perform an operation .
What is Main Memory?
Commonly known as random-access memory, or RAM, the computer's main memory is a
device that holds information. Specifically, RAM holds (he sequences of instructions in the programs thar afe running and the data those programs are usi ng.
What are input devices?
Input is any information the computer collects from the outside world. The device that
collects the information and sends it to the computer is called an iI/put device. Common input devices are the keyboard, mouse, scanner, digital camera. and microphone. Disk
drives, CD/DVD drives, and USB drives can also be considered input devices because programs and information are retrieved from them and loaded into the computer's memory.
What are output devices?
Output is any information the computer sends to the outside world. It might be a sales
report, a list of names, or a graphic image. The information is sent to an output device,
which formars and presents it. Common output devices are monirors, primers, and speakers.
Output sem to a monitor is sometimes called "so[rcopy," while ourpllt sent ro a
prinrer is called "hardcopy." Disk drives, USB drives, and CDIDVD recorders can also be
considered output devices because the CPU sends them information to be saved.
What is software?
refers to the programs that run on a computer. There are two general categories of software: operating systems and application software. An
operating system is a set of programs thar manages (he computer's hardware devices and controls their processes. Operating systems fall into one of the following caregones.
What is single-tasking?
A single tasking operating sysrem is capable of running only one program at a time. The computer devotes all its hardware resources and
CPU time to each program as it executes. MS-DOS is an example of a single tasking operating system.
What is multi-tasking?
A multitask ing operating system is capable of run ning multiple programs at once. Thcough a technique called lime sharing, the system
divides the alloca tion of hardware resources and the anention of the CPU among all the executing programs. UN1X, Windows XP, and Windows Vista are multitasking operating systems.
What is single-user?
This type of system allows only one user to operate the computer at a
time. MS-DOS and older versions of Windows are single user operating
systems.
What is multi-user?
Multiuser systems allow several users to run programs and operate the
computer at once. Most varia tions of the UNIX operating system are
multiuser systems .
What is application software?
refers to programs that make the computer useful to the user. these programs solve specific problems or perform general operations that satisfy the needs of
the user. Word processing, spreadsheet, and database programs are all examples of application software.
What is a program?
A program is a set of instructions a computer follows in order to perform
a task, A programming language is a special language used to write computer programs.
what are key words?
Words thar have a special meaning. Key words may only be used for their intended purpose. Key words are also known as reserved words.
what are program defined identity operators?
Words or names defined by the programmer. They are symbolic names that
refer ro variables or programming routines
what are operators?
Operators perform operarions on one or more opcmnds. An operand i susually a piece of data, like a number
what is punctuation?
Punctuation ch aracters that mark the beginning or ending of a statement, or separate items in a lise.
what is syntax?
Rules tbat must be followed when constructing a program. Syntax dictates how key words and operators may be used, and where punctuation symbols
ml,lsr appear.
What is preprocessor Directive?
The !include <iostream> statement in line 2 is a preprocessor directive.
What is a variable?
A variable is a named storage location in the computer's memory for holding a piece of
information.
Variable Definition
In programming, there are two general types of data: numbers and cha racters. Numbers
are used to perform mathematical operations and characte rs are used to print data on the screen or on paper.
What are 3 activities of a program?
The three primary activities of a program are input, processing, and output
The Programing Process
The programming process consists of several steps, which include design,
crea tion, tes ting, and debugging activities.