









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










What is hardware?
Answer: Refers to all of the physical components of devices of which a computer is made. It is not one single device, but a system of devices that work together like a symphony. Each device in a computer plays its own part.
List 5 major components of a computer system.
Answer: The CPU, RAM (main memory), Disk or Disk Drives (secondary memory) Input Devices, Output Devices
What part of the computer actually runs programs?
Answer: Central Processing Unit (CPU) (It executes instructions)
What part of the computer serves as a work area to store a program and its data when running?
Answer: RAM (random access memory)
What part of the computer holds data for a long period of time; even when there is no power to the computer?
Answer: Disk Drive/ Disk (inside the computer or external Disk Drive or Thumb Drive
What part of the computer collects data from people and other devices?
Answer: Input Devices such as - keyboard, Waacom tables, digital camera, mouse, scanner, microphone
What part of the computer formats and presents data for people and other devices?
Answer: Output Devices such as - Computer monitor, speaker, printer, disc drive
What fundamental set of programs control the internal operations of the computers hardware?
Answer: Operating Systems - the most fundamental set of programs on a computer ie. windows, macOC, Linus (system software)
What do you call a program that performs a specialized task, such as virus scanner, a file compression program, or a data backup program?
Answer: Utility Program
Word Processing programs, spreadsheet programs, email programs, web browsers, and game programs belong to what category of software?
Answer: Apps Application Software - make a computer useful for everyday use.
Monitors, printers, status lights are all examples of what type of devices
Answer: Output Devices
At each step of its operation, the input to a Central Processing Unit is
Answer: an instruction
When a program is not running, it is stored
Answer: on a disk
When a program runs on a computer, the part of the computer that carries out the instructions is called the
Answer: Central Processing Unit (CPU)
When a program runs on a computer, it is stored in
Answer: Random Access Memory (RAM)
Answer: Unicode
What is Two's complement?
Answer: An advanced number storage encoding scheme used for negative numbers
What is floating-point notations?
Answer: An advanced number storage encoding scheme used for real numbers
What is digital data?
Answer: Digital data is any data that is stored in binary format
What is digital device?
Answer: Digital device is any device that works with binary data.
A CPU understands instructions that are written only in what language?
Answer: machine language
A program has to be copied into what type of memory each time the CPU executes it?
Answer: Main memory, or RAM
When a CPU executes the instructions in a program, it is engaged in what process?
Answer: The fetch-decode-execute cycle
What is assembly language?
Answer: It is an alternative language to machine language. Instead of using, binary numbers for instructions, assembly language uses short words that are known as mnemonics.
What type of programming language allows you to create powerful and complex programs without knowing how the CPU works?
Answer: high-level language
Each language has a strict set of rules that must be strictly followed when writing a program. What is this set of rules called?
Answer: Syntax
What do you call a program that translates a high-level language program into a separate machine language program?
Answer: **Compiler Note: ASSEMBLY language is translated to Machine language by an ASSEMBLER.
3K means about 3 thousand bytes. How would you express five billion bytes?
Answer: 5 GB
3k means about 3 thousand bytes. How would you express two hundred million bytes?
Answer: 200 MB
3k means about 3 thousand bytes. How would you express four trillion bytes?
Answer: 4 TB
What do you call a program that both translates and executes the instructions in a high-level language program?
Answer: an interpreter
What type of mistake is usually caused by a misspelled word, a missing punctuation character, or the incorrect use of an operator?
Answer: Syntax error
The binary equivalent of the decimal numeral 9 is
Answer: 1001
The binary representation of a number divisible by 4 ends in
Answer: 00
What best defines a "programming language"?
Answer: It allows us to express an algorithm.
Machine languages can be used to express
Answer: algorithms
Machine language consists of
Answer: zeros and ones
Machine language is produced by
Answer: compilers
A compiler does what?
Answer: translates source code into executable code; it is a program that translates a high-level language program into a separate machine language program.
An error in a program that involves a violation of language rules will be detected at ____ time.
Answer: compile
Words that have a special meaning in programming language are called
Answer: key words or reserved words
The computer stores a program while the program is running, as well as the data that the program is working with in
Answer: main memory
A type of memory that can hold data for long periods of time, even when there is no power to the computer is called
Answer: secondary storage
Computers can only execute programs written in
Answer: machine language
How many bytes in a Kilobyte KB
Answer: about 1 thousand bytes
How many bytes in a Megabyte MB
Answer: about 1 million bytes
How many bytes in a Gigabyte GB
Answer: about 1 billion bytes
How many bytes in a Terabyte TB
Answer: about 1 trillion bytes
A program
Answer: is a long sequence of machine language instructions.
Fetch
Answer: Microprocessors
The computer stores a program while the program is running, as well as the data that the program is working with, in ____.
Answer: main memory
This is a volatile type of memory that is used only for temporary storage while a program is running.
Answer: RAM (random access memory, a.k.a. main memory)
A type of memory that can hold data for long periods of time, even when there is no power to the computer, is called ____.
Answer: secondary storage such as a disk drive, thumb drive, CD-RW, hard disk
A component that collects data from people or other devices and sends it to the computer is called ____.
Answer: input device
A video display is a(n) __________ device.
Answer: output
A______________is enough memory to store a letter of the alphabet or small number.
Answer: byte
A byte is made up of eight
Answer: bits
In the_____________numbering system, all numeric values are written as sequences of 0s and 1s.
Answer: binary
A bit that is turned off represents the following value: __________.
Answer: 0 (zero)
A set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters is __________.
Answer: ASCII
An extensive encoding scheme that can represent characters for many languages in the world is ____.
Answer: Unicode
Negative numbers are encoded using the __________ technique.
Answer: two's complement
Real numbers are encoded using the_____________technique.
Answer: Floating point
The tiny dots of color that digital images are composed of are called __________.
Answer: pixels
If you were to look at a machine language program, you would see _________.
Answer: a stream of binary numbers
The ________translates an assembly language program to a machine language program.
Answer: assembler
The Python language uses an______________, which is a program that both translates and executes the instructions in a high-level language program.
Answer: interpreter
On=1 Off =
Answer: When a bit is turned off or on, this is how it is represented.
What would you call a device that works with binary data?
Answer: digital device
What are the words that make up a high-level programming language called?
Answer: Keywords because they are the words that convey special meaning to the compiler or interpreter.
What are the short words that are used in assembly language called?
Answer: mnemonics
What is the difference between a compiler and an interpreter?
Answer: Compiler Compiler is a program that translates a high level code into machine language. In case of this, compiling and executing are two different processes. Compiler scans the entire program on the whole and report for errors. Example: C++ programming language uses compiler. Interpreter Interpreter is a special program that does the translation and simultaneously executes each and every instruction also. In this, both translation and execution are done simultaneously. Interpreter performs the translation and execution line by line and reports the error if any. Example: Python Programming language uses interpreter.
What is a high-level programming language?
Answer: A language which enables a programmer to write programs that are close to human language. This makes the coding much easier to reader and write
What is the difference between assembly language and high level language?
Answer: An assembly language directly controls the physical hardware. A high level language is much more abstract, which must be compliled; translated into machine language. Examples high level languages include Python, Java,
JavaScript; etc. Examples of assembly language. Programs written in high level languages will never match the raw speed and efficiency of program written in assembly. Linux uses assembly language. Assembly language is one step up from machine language.
What type of software controls the internal operations of the computer's hardware?
Answer: System Software. Such as Windows, Linux, Mac OS
What is a utility program?
Answer: Systems software that provides additional functionality to the operating system and helps make the operating system/computer easier to use, examples are antivirus software, back up software and disk tools.
Ada
Answer: Was created in the 1970's, primarily, for applications used by the US Dept of Defense. The language is named in honor of Countess Ada Lovelace, an influential and historic figure in the fiueld of computing.
Answer: Beginners all-purpose Symbolic Instruction code is a general-purpose language that was originally designed in the early 1960's to be a simple enough for beginners to learn. today, there are many different versions of BASIC.
FORTRAN was designed for which groups of people?
Answer: Mathematicians, scientists, and engineers.
Answer: FORmula TRANslator was the first high-level programming language. It was designed in the 1950's for performing complex mathematical calculations.
Answer: Common Business Oriented Language. Developed for programming Business Data. The oldest programming language developed in the 1950's.
servers.
Visual Basic
Answer: is a Microsoft programming language and software development environment that allows programmers to create Windows based applications quickly. It was originally created in the early 1990's.
How do you start Python in the interactive mode
Answer: by typing in python in the command line