• 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/30

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;

30 Cards in this Set

  • Front
  • Back
ll - a
erase files
Multiple Line Comments
See system files; rm (name); begin with /* and end with */
duplicate
cp (sourcename destname)
next line
next screen
more; spacebar
online help
online help, name not exact
man (commandname)
man - k (commandname)
duplicate screen contents
script (name)
merge two or more files
cat (file1 file2)
print
cat (filename) | lp or
spool (filename)
Click __ onto , [ { to find mate
%
End of file cursor
To delete char. at cursor
To replace char. at cursor
To substitute more than one char for char at cursor
G
x
r
S
To join current with next line;
to replace all occurrences of a text pattern withanother
J
g (g/pattern/s//newpattern/g)
Algorithm
1) step by step solution to problem
2) Must end in result/output
3) Steps must be in order
4) Clear and specific
5) Finite number of steps
- IPO chart
- Start with general procedure then refine.
CPU
CU and ALU; CU: sequences through instruc. of the currently active program and alerts other subsys.
ALU performs the artithmetic and logical operations.
Main memory
Where active program must reside while executing; aka RAM, primary memory, internal mem.
- Fast, elec. storage with index and contents; Volatile (erased when computer is turned off).
Bit; byte
bit: binary digit, 0 or 1, smallest element.
byte: amount of storage space for a single char.
Main mem address.
Address vs. value at a location
Position in memory; the first index/address is zero and the last depends on size.
The value is the content.
Bytes in 1KB = ____;
1 MB = ____;
1 GB = ____.
1024 bytes,
(1024)^2 bytes, (1024)^3 bytes,
Currently executing program: ____; Seqential, direct, random access.
main mem
Seq. access. ex.
Direct access. ex.
Random access. ex.
tape.
cds.
same retrieval time, RAM, ROM
Input sys ex.
Info from outside world to inside memory; mouse and disk drives and mag. tape drives, disk drives.
Output sys ex.
Info from mem to be shared with outside world; ex. printer, monitor and mag. tape drives, disk drives.
Secondary memory
External, func: additional storage; permanent yet delicate; larger, cheaper, not ram, must be transferred to main mem for execution; ex. mag. tapes, disks, zip disks, cds, punched cards, tapes; direct or seq. access
hardware vs. software
physical elec. equip vs. programs executable in RAM (easier to change); HLL, Applications
# include:
<cmath>
<iomanip>
<iostream>
cout << setw(1) << setprecision(3)
Access to math func;
Access to appearance of output;
Access to in/output.
main ()
Start of function main in integers.
cin >>
cout <<
pow
sqrt
cos
Input, accept data.
Output, display.
pow(base, power)
sqrt(number)
cos(radians)
Return a func. to its activating unit.
Declaration statement; value cannot change.
return; const
Integer, includes zero, counting, commas, list.
Decimals, fractions, measuring.
int
float
ceil
Integer smallest not less than x: 49.1 is 50, 49.0 is 49.
floor
Integer value after dec. truncated: floor(x*10 + 0.5)) / 10.0; 15.4 after 0.5 added and divided is 15; 15.5 is 16; 15.9 is 16.
Degrees to radians
radians = 4.0 atan(1.0)*degrees/180