|
|
|
& Handouts |
Assignments |
|
|
|
Distribute Course Outline
ClassRoom System Log Out Of UNIX - To Win 2000 Create UNIX Accounts Check E-Mail & Record Password Log Out of Win 2000 - To UNIX Log Into UNIX With UserName & Password Log Out UNIX All But One User Restart Win 2000 Add Printer For HAS-LabPrinterA
Instruct To Print A Copy
Telnet Into One User's UNIX System |
Fill Out Questionnaire (Lab I-5 points) Print - Introduction To
UNIX -
Print - Introduction To VI
-
Read Chapter 1 Of Text
Note For Those Missing Class Telnet Requires That You Set Up A UNIX Account [This New Account Will Have The Same UserName, but a Different Password!] This New UNIX Account Must Be
Created From A University Lab On Upper Campus!
Start Internet Explorer &
Check Your Mail
Have One of the CS Majors Help
If Needed
Telnet From Off Campus is Disabled! |
Questionnaire Bring To Next Lecture
|
|
|
|
ls, ls -l, ls -a, ls -al clear ls P*, ls *.jpg cat yppasswd cp mv rm rmdir vi man cd mkdir rmdir man vi commands |
Practice Telnet Review & Practice 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 Binary 0,1
Binary File / Binary Code
About OOP
Abstraction
5 Software Life Cycle
I. Object-Oriented Analysis (OOA)
|
|
Text Program Lab
|
|
|
|
Power Supply
Information Representation char (1 byte) Binary Numeration System Base 2 (0,1) Counting in Binary short int (1+ byte) int - (2+ bytes) long int (4+ bytes) Octal Numeration System Base 8 (0,1,2,3,4,5,6,7) Hexadecimal Numeration System Base 16 (0,1,2,3,4,5,6,7,9,A,B,C,D,E,F) Numerical Information Representation Memory - short int Sign Magnitude One's Complement Two's Complement Char - ASCII No Calculators On Exams/Quiz! Convert Base 10 to Base 2 Convert Base 2 to Base 10 |
|
Due 1 Week
|
|
|
|
Input Device
Floppy Drive Format Surface Cyllinder Track Block Floppy Drive Hard Drive Tape Drive CD-R Drive - CD ROM CD-RW Drive Review Conversion No Calculators On Exams/Quiz!
|
|
|
|
|
|
Drivers
Datatypes & Range & Size float 7 digits double 15 digits long double 19 digits char, string
5 Software Life Cycle
Review Conversions |
|
|
|
|
|
# include Directive void main(int argc, char * argv[]) Braces { } Variables Minimal Range
unsigned int x [0 <==> 65,535]
char (1 Byte)
float x [7 digits accuracy]
Statements End ;
Identifiers = Variable Names
Constants
Output <iostream.h>
Input <iostream.h>
int Division
Modulus %
x++ => x + 1
char Option = 'N'; Save A File To IBM Floppy
Clear Console Screen
|
|
|
|
|
|
12/5 12./5, 12/5., 12./5. float(12)/5, 12/float(5) float(12)/float(5) (float) 12) /5, 12/ (float) 5 (float) 12 / (float) 5 cout << int(3.3)
Clear Console Screen
if ( condition)
if ( condition)
if ( condition)
|
|
|
|
|
|
Perform The Same Operation On Different Types Of Data Display Stream Decimals
Format Text
7 Programming Style
Syntax Errors
Decisions
if ( condition)
|
|
|
|
|
|
Pass By Value Pizza Problem |
|
|
|
|
|
Pass By Value Pizza Problem Oterher Examples |
|
Due Friday By 12:30 |
|
|
|
Pass By Value Pizza Problem |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixed Repetition Loop for (Initialization; Decision; Process At End) bool Valid; Valid = true; Valid = false; if (true) ......... |
|
|
|
|
|
Review PostTest Loop
Guess My Number Game
|
|
|
|
|
|
rand() -- stdlib.h Random Number Generator srand(??) Guess My Number Game
|
Chapter On Arrays |
|
|
|
|
Revisit GetInt |
|
Intro Array Lab Will Accept Mon/ Wed
|
|
|
|
|
|
|
|
|
|
ActNo, Max, Array Display FillRandom |
|
|
|
|
|
ActNo, Max, Array Initialize Fill From Keyboard Avr & Sum Functions |
|
|
|
|
|
string.h strlen(String) strcpy(OriginalString, NewString) strcmp(OriginalString, NewString) strcmp(FirstString, SecondString) Introduction To Classes
public:
Function Overloading
|
|
|
|
|
|
More Than 1 Signature Accepted Officer(void) Officer(char Name[], long int ID); Officer Of1, Of2("Jennifer",11223); 1 Signature From Constructor 1 -- 1 Signature From Constructor 2 S L Default Arguments
|
|
|
|
|
|
|
|
|
|
|
|
Management |
|
|
|
|
|
Constructor Dynamic Memory new delete |
|
IntArray Project Constructor Destructor |
|
|
|
|
|
|
|
|
|
Pointers Review Exam IntArrayClass Transformation |
|
IntArray Project |
|
|
|
Sequential Text Files Open, Close, Read, Write, End Of File |
|
IntArray Project |
|
|
|
Open, Close, Read, Write, End Of File |
|
IntArray Project |
|
|
|
Order N Binary Search
|
|
Dynamic Array Lab 2 |
|
|
|
.hpp and .cpp files |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SequentialSearch To Dynamic Array 2 Lab |
|
|
|
|
|
|
|
|
|
.hpp and .cpp files Makefile make |
|
Recursive BinarySearchR, SequentialSearch To Dynamic Array 2 Lab Recursive
String Lab
Inclass Lab
|
|
|
|
Swap Template Method Array Template Class |
|
Array Lab 3 |
|
|
|
|
|
Array Lab 3 Study For Exam |
|
|
|
|
|
|
|
|
|
|
|||
|
|
Nothing To Turn In - Approved In Lecture |
|||
|
|
|
|
|
|
|
|
||||