|
|
|
& Handouts |
Assignments |
|
|
[1] |
Distribute & Discuss Course Outline Log Out Of UNIX - To NT Log Out of NT To UNIX Operating System Telnet janus01.cs.trinity.edu - ls, ls -l, ls -a, ls -al yppasswd cp mv rm clear ls P*, ls *.jpg vi cat man ASCII bit, byte |
Fill Out Questionnaire (Lab I-5 points) Telnet Requires That You Set Up A UNIX Account
If Mailed Password Does Not Work
Telnet From Off Campus is Disabled! |
|
|
|
[2] |
mkdir rmdircat man cd mkdir rmdir vi commands command mode A, i :5 Arrow Keys x, 3x dd, 3dd 2yy, P, p arrow keys ESC:wq ESC:w ESC:q! /cout, /main, /{ :r FileName G Insert Mode Keys, ESC Operating System
|
Practice Telnet Review & Practice vi commands Read Chapter 1 |
|
|
|
[3] |
ALU Hard Drive Monitor Byte Power Supply RAM Keyboard ASCII KB Tape Driv IC Chip CPU Bus Bit ROM Microprocessor Floppy Drive CD Rom Drive Mouse MB SIMM / DIMM GB Sector Input Device Block Output Device Track Modem Format Disk Hardware B - Thompson
Information Representation
Numerical Information Representation
No Calculators!
|
Read Chapter 2.1-2.3 |
|
|
|
[4] |
Analysis Design Algorithm Implement-Code Test Maintainance Review Conversion
|
|
|
|
|
[5] |
float 7 digits double 15 digits long double 19 digits char, string
5 Software Life Cycle
Decisions
if ( condition)
if ( condition)
if ( condition)
if ( condition)
|
|
|
|
|
[6] |
Analysis Design Algorithm Implement-Code Test Maintainance Operators *, /, +, -, %
Escape Sequences \n, \a display stream decimals
Compound Decisions
real division vs integer division
PostTest Loop ---------- while ( condition) do
PreTest Loop while ( condition)
while ( condition)
for ( init ---- ; condition ; loop ----)
for ( init ---- ; condition ; loop ----)
|
|
|
|
|
[7] |
Count +=2 Counter = Counter + 2 Count -=2 Counter = Counter - 2 Count *=2 Counter = Counter *2 Count /=2 Counter = Counter / 2 Count %=2 Counter = Counter % 2 double sqrt(9.0)
Software Life Cycle
system ("clear");
Delvelop
Redirect Output
Print From Windows
|
|
|
|
|
|
Without Explicit Return Passing By Value Passing By Reference Modularize Quadratic Program
|
|
||
|
|
|
|
|
|
|
|
Hierarchy Chart, Modules, Prototypes, Calling Functions Random Number Generation
|
|
|
|
|
|
|
|
Due Mon By Noon |
|
|
|
Constructor Overload Constructor Private Data Public Data Display Methods Objects Declarations |
|
|
|
|
|
Set Method Get Method Overload Constructor More On
|
|
|
|
|
|
Default Arguments Overload Display Method Default Arguments Multiple Signatures |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define MAX_NOS 5
void DisplayIntArray(int Array[],
int ActNo, int Max, char Message[]="");
main (int argc, char * argr[])
|
|
|
|
|
|
Low, High, Avr Functions int SumIntArray (int Array[], int ActNo); long double AverageIntArray (int Array[], int ActNo); int LowIntArray (int Array[], int ActNo); int HighIntArray (int Array[], int ActNo); void InitializeIntArray (int Array[], int & ActNo, int Max); void FillFromKeyboard(char Prompt[], int Array[], int & ActNo, int Max, int KickOut = -99999999); |
|
Due 3/22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Due 3/30 |
|
|
|
|
|
|
|
|
|
Binary Searching |
|
Due 4/17 |
|
|
|
|
|
||
|
|
|
|
|
|
|
|
During Class! |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
||||
|
|
|
|
|
|
|
|
||||