Shared Flashcard Set

Details

computer mid year
computer science C++ and general info.
62
Computer Science
10th Grade
03/19/2013

Additional Computer Science Flashcards

 


 

Cards

Term
when was the microprocessor revolution? what happened?
Definition
1970 to 1980 and on.
put computers in daily use, created a gui
Term
why were operating systems developed?(4)
Definition
managing various applications, files, communications, computer workings.
Term
what was the break through in 1970?
Definition
timesharing, multiprograming
Term
what is time sharing?
Definition
allow shared clock cycles of CPU.
Term
what is multiprogramming
Definition
different programs occupy main memory simultaneously
Term
what are three purposes of an operating system?
Definition
convenient environment to run program, efficent use of system resources, and protection of hardware and give security to system
Term
what is cross platform programming? and why did it happen
Definition
programs could be run on different machines. it happened becaus there were no longer just main frames, and mini computers.
Term
douglas angelbart
Definition
worked towards visualization of information in the 1960's
Term
ARPANET
Definition
three institutions that formed a network to save information. more institutions joined and became the internet
Term
what did the microrevolution begin with?
Definition
commercial release of intel 4004 microchip in 1971
Term
altair
Definition
MITS(microinstrumentation telemetry systems) 1974. built around 8 bit processor, no gui, instead flickered 8 switches on and off.
paul allen and bill gates wrote basic for this comp
Term
which companies were in on this between 1975 and 1980?
Definition
motorola, intel, TI. apple was most successful
Term
what did steve jobs and steve wozniak do?
Definition
wanted to create a user friendly, all purpose computer. created the apple 1 in 1976
Term
alto
Definition
before the altair in 1973. object language had mouse and monitor. connected to other computers through ethernet. first gui apps were on this comp. xerox didn't htink it would work, eventually it was too late and too expensive.
Term
shindig with IBM
Definition
IMB planned the pc. and thought they wouldnt do well, so they didn't want to manufacture and own the technology themselves(a first). so third party vendors did it for them. it sold really well in 1981. third party, took it on themselves and sold models cheaply. IBM crashes.
Term
who brings GUI to mass market?
Definition
apple
Term
client server architectures allowed processes to run on networked computer and serve information to clients.
Definition
communication protocol and naming standards facilitated network apps. web browser is clien service computing.
Term
what is the programing process?(7)
Definition
define problem-whats the problem?
develop algorithm-step by step solve
formalization-go through it
user interface-what's it going to look like
writing code-translate to comp language
interpreters and compilers-run code. test line by line.
testing and debugging-test out all possiblities.
Term
three types of formilization?
Definition
flow charts
pseudocode
desk checking
Term
difference between flow charts and pseudocode?
Definition
Term
command line interface
Definition
typed commands passed through command line interface, to command interpreter
Term
graphical user interface
Definition
icons boxes, scroll menus
Term
where do you write your code, and what does it come or not come wiht/
Definition
development environment. collection of tools, editors, refernce materials, libraries. this ide. may or may not be included
Term
porting software
Definition
crossing platforms with compiled language programs
Term
compiled language
Definition
creates exe file, can leave development environment, compiles once. great for speed, bad for needing to change often. cross platform is also hard
Term
interpreted language
Definition
speed is bad if it is executed all the time, cross platform is easy, easy to change all the time. runs code line by line every time.
Term
what does a computer do?
Definition
accepts information, processes data, provides results
Term
what is a program
Definition
a list of instructions written in computer language
Term
what is inside a computer?
Definition
cpu, ram, rom, mass storage, video processors, disk drive
Term
compile time error
Definition
prohibits exe file
Term
run time error
Definition
error diring runtime(incorrect output)
Term
comments
Definition
explanations about code
Term
include files
Definition
precoded files
Term
main function
Definition
every executable program starts with this
Term
code blocks
Definition
define sections of code to do certain things
Term
cout
Definition
displays info
Term
new line
Definition
moves down a line
Term
basic data types
Definition
int
float
double
unsigned long
double long
char
long
Term
identifiers
Definition
strings of letters used to identify variables
Term
declaration errors
Definition
declaring identifier twice is illigal.
illegal names:int if while. .. lcout main and cin are legal but silly.
Term
literals and constants
Definition
literal= assignation of something to variables. char lit('C') int lit(3) string lit("hi)

constants: named constants cant be changed inside program. all caps is used. no expressions as constants
Term
variables
Definition
assign them to values
use them in expressions
print them
Term
storage and data types
Definition
:s
Term
how many bits is type int?
Definition
32
Term
how many bits are characters
Definition
8 bits
Term
floating points are how many digits and how many bits?
Definition
32 bits, and 7 diits
Term
coercion
Definition
c++ is a strongly typed language. each variable is a certain type that can be converted. type cast in division
Term
assignment statements
Definition
assignment from literals, variables, functions, from expressions
Term
what are expressions?
Definition
made of constants, operators, and variables
Term
increment and decrement
Definition
++ and --.
++X = increments before x is used in expression
X++ = increments x after entire expression was used.
Term
basic input
Definition
cin>>
Term
a blank is considered to be an invalid character
Definition
remember that
Term
bool data type
Definition
either true or false (1 or 0)
Term
boolean coercion
Definition
c++ converts int to type bool. any non 0 result is true
Term
what do boolean expressions do? what are they?
Definition
compare values. int char and float. Equal, not, not equal, lesser/greater than/ or equal
Term
what is the precedence of operators
Definition
unary minus, !, *, /, %, -, +, <=, <, >=, >, ==, !=, &&, ||
Term
what do control structures do?
Definition
allow programs to run non sequentially. they control the flow of program
Term
what are if statements?
Definition
based on logical expressions. may or may not be executed

provides one option
Term
if-else statements
Definition
provides option for true statemnt and false statement. two options
Term
else ifs
Definition
provides as many as you want. just end with an else.
Term
nested if's
Definition
if bound to an if. note: else statement binds with previous if statemnet.
Term
switch statements
Definition
Uses variable of int or char only. Labels are constnts same type as variable. There can be any number of statements after a variable or none at all.

Sometimes you don’t need a break statement. This is called fall through. If there are no breaks all the statements following the true case will be executed.

dont use floats. only char and int
Supporting users have an ad free experience!