|
|
|
& Handouts |
Assignments |
|
|
|
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! |
|
|
|
|
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
B - Thompson
|
Practice Telnet Review & Practice vi commands Read Chapter 1 |
|
|
|
|
Motherboard DIMM - SIMM ROM/RAM BUS CPU Information Representation
Numerical Information Representation
No Calculators!
|
|
Due 1 Week |
|
|
|
Hard Drive Track, Sector, Block Review Conversion
Binary Adder Circuit
|
|
|
|
|
|
Datatypes & Range & Size 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)
Modulus
Escape Sequences \n, \a display stream decimals
Compound Decisions
real division vs integer division
|
|
|
|
|
|
---------- while ( condition) do
PreTest Loop while ( condition)
while ( condition)
for ( init ---- ; condition ; loop ----)
for ( init ---- ; condition ; loop ----)
|
|
|
|
|
|
Review Loop Processing Guess My Number Game |
|
|
|
|
|
math.h library Bad Code Example Transform Single Program
Input From File
AreaCalculation
void Commercial(void); void GetInfo (short int & ShapeNo,
void Calculate (short int ShapeNo,
void Add (int Addend1, int Addend2,
Pass By Reference
Scope Of Variables - Access |
|
Due Friday By 4:30 MailBox |
|
|
|
char Name[80]; Array of char cout << "Enter Name: ";
cout << "Enter Name: ";
GetInfo (float & Diameter,
Random Number Generation
INT_MAX 2147483647 Void Functions
|
|
|
|
|
|
long int Random(long int Low, long int High); Function With Explicit Returns |
|
|
|
|
|
Functions With Explicit Returns |
|
|
|
|
|
strcpy(Name, "Tom") # include <fstream.h>
|
Chapter 5 |
|
|
|
|
int Nos[5]; Nos[0] = 5; Sets Of Related Array Elements
#define MAX_BOWLING 21
Sets Of Related Array Elements
FillArrayFromFile |
|
|
|
|
|
printf ("%s %d %ld %f\n", string, int, long int, float); scanf () gets(String) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fill RandomArrayFromKeyboard FillIntArrayFromFile DisplayArray |
|
Due Next Friday |
|
|
|
Methods Constructor Destructor Set Display Declare/Allocate Class Object
|
|
Due 11/2 |
|
|
|
Methods Constructor Destructor Set Display Declare/Allocate Class Object
Optional Arguments
|
|
|
|
|
|
Methods Constructor Destructor Set Display Constructor Overloads
Static Array
Dynamic Array
|
|
Due 11/2 |
|
|
|
Bubble Sort Algorithm Bubble Sort Efficiency Improving The Bubble Sort |
|
Due 11/13 |
|
|
|
Call Itself General Case Simpler Case Factorial Stack
|
|
|
|
|
|
Fibonacci Examples Efficiency Sting Processing
|
|
Due 11/21 |
|
|
|
strcmp strcpy strlen 2 Dimensional Arrays |
|
Due 12/5 |
|
|
|
In-Class Lab |
|
2D Arrays |
|
|
Review Recursion, Arrays, Classes, Files, etc. For Exam II Come For Part Or All Halsell 228 (Will Move As Necessary) |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Exam II |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Last Day To Submit Late Work will be 12/7/00 |
||||