Final Flashcards
When was the first calculation device created?
1642
How much space do you think the ENIAC computer occupies?
It occupied the 50-by-30-foot (15-by-9-metre) basement
What are the two main elements of a computer system?
Hardware and Software
What is the central processing unit(CPU)?
brain of the computer, the most expensive piece of hardware that carries out arithmetic and logical operations
Random Access Memory
connected to a cp, programs must be loaded into main memory before being executed, all programs must also be brought into main memory in order to be executed before it can be manipulated. Once the computer shuts off all memory is lost
T/F: Main memory is an ordered sequence of memory cells
true
What is secondary storage?
A device that stores information permanently
What are examples of secondary storage?
Hard disks, flash drives, CD-Roms
What is an input device and what are examples?
feeds data and programs into computers. for example, keyboard, mouse, scanner, camera
What is an output device and what are examples?
displays the results, examples would be monitor, printer, or secondary storage
If you are asked to buy a computer to analyze and process a large amount of data
(12+ GB), which computer will you select based on the given specification?
hard drive: 560 GB
RAM: 64 GB
processor: Intel Xeon
What is an operating system?
monitors the overall activity of a computer
What are the following steps to process a C++ program?
problem understanding, analysis,
What is an algorithm?
step-by-step problem-solving process
What is a structured design?
involves dividing a problem into smaller subproblems
Object-oriented design
identifying components called objects, and also determines how objects interact with each other
Is there any difference between computer program and programming?
computer program is a sequence of statements whose objective is to accomplish a task, computer programming is the process of planning and creating a program
what is a subprogram or function?
a collection of statements
syntax rules
rules that specify which statements are legal or valid
semantic rules
determine the meaning of the instructions
programming language
set of rules, symbols, and special words
what is a data type?
set of values together with a set of allowed operations
The expression static_cast<double>(8 + 15) evaluate to</double>
23.0