Study your flashcards anywhere!

Download the official Cram app for free >

  • 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

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key


Play button


Play button




Click to flip

30 Cards in this Set

  • Front
  • Back
ll - a
erase files
Multiple Line Comments
See system files; rm (name); begin with /* and end with */
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)
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
To join current with next line;
to replace all occurrences of a text pattern withanother
g (g/pattern/s//newpattern/g)
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.
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.
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:
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 <<
Input, accept data.
Output, display.
pow(base, power)
Return a func. to its activating unit.
Declaration statement; value cannot change.
return; const
Integer, includes zero, counting, commas, list.
Decimals, fractions, measuring.
Integer smallest not less than x: 49.1 is 50, 49.0 is 49.
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