Chapter 1:Into To Computers And Programming Flashcards
What is a program?
A program is a set of instructions that are executed by a computer system to perform a specific task.
What is hardware?
Hardware refers to all physical devices or components a computer system is made up of.
What are the 5 major components of a computer system ?
- Input devices
- Output Devices
- The central processing unit (cpu)
- Main memery(RAM)
- Secondary Storage Devices
What part of the computer runs programs?
The CPU of the computer actuallyruns the programs.
What part of the computer serves as a work area to store a program and its data while the program is running?
The main memory or RAM serves as a work area to store the program and its instructions while the progam is running.
What part of the computer holds data for long periods of time, even when there is no power to the computer?
The Secondary storage devices of a computer system hold the data for long periods of time even there is no power to the computer.
What part of the computer collects data from people and from other devices?
Input devices of a computer are used to collect the data from the people and other devices.
What part of the computer formats and presents data for people or other devices?
Output devices are the part of the computer system that are used to present and format the data to the user or to the other devices.
What fundamental set of programs control the internal operations of the computer’s hardware?
The fundamental set of programs that control the internal operations of the computers’ hardware is known as an operating system.
What do you call a program that performs a specialized task, such as a virus scanner, a file compression program, or a data backup program?
A program that performs a certain task is known as a Utility Program.
Word processing programs, spreadsheet programs, email programs, web browsers, and game programs belong to what category of software?
Application Software
What amount of memory is enough to store a letter of the alphabet or a small number?
One Byte (8 bits)
What do you call a tiny “switch” that can be set to either on or off?
Bit
In what numbering system are all numeric values written as sequences of 0s and 1s?
binary system
What is the purpose of ASCII?
American standard code for infomation interchange
ASCII is one of the coding schemes develped to store the characters in the memory.
What encoding scheme is extensive enough to represent the characters of many of the languages in the world?
Unicode encoding scheme is extensive enough to represent the characters of many lanuages in the world.
What do the terms “digital data” and “digital device” mean?
Digital data-The data that is stored in a system in its binary form is known as digital data.
Digital device-the device that works with the digital data is known as digital devices such a computer system that stores all dtat in the binary form.(Ex. CD player Mp3 player)
A CPU understands instructions that are written only in what language?
machine lanuage
A program has to be copied into what type of memory each time the CPU executes it?
Into the main memory(RAM)
When a CPU executes the instructions in a program, it is engaged in what process?
It follows the fetch-decode-execute cycle.
- Fetch the instruction that is being executed are read from the main memory to CPU
- Decode the instruction is decoded to know which operation is to be executed
- Execute the decoded instruction is executed on the requaired data sets.
the cycle us repeated for each instruction that is present in the desired program.
What is assembly language?
its whereas the executing cpu is not able to understand it at all.
What type of programming language allows you to create powerful and complex programs without knowing how the CPU works?
low level lanuage
Each language has a set of rules that must be strictly followed when writing a program. What is this set of rules called?
These set of rules are called syntax
What do you call a program that translates a high-level language program into a separate machine language program?
An interpreter
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 __________.
CPU
Today, CPUs are small chips known as __________.
microprocessors
The computer stores a program while the program is running, as well as the data that the program is working with, in __________.
main memory
This is a volatile type of memory that is used only 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 __________.
. secondary storage
A component that collects data from people or other devices and sends it to the computer is called __________.
an input device
A video display is a(n) __________ device.
output device
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 characters for many 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 operation it should perform.
decode
Computers can only execute 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 __________.
key words
The rules that must be followed when writing a program are called __________.
. syntax
A(n) __________ program translates a high-level language program into a separate machine language program.
compiler
how would you print ‘Hello world”?
print(‘Hello World’)