|
|
|
& 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 |
|
|
|
clear ls P*, ls *.jpg cat yppasswd cp mv rm rmdir vi man cd mkdir rmdir man vi commands Machine Language
|
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 Convert Base 10 to Base 2 Convert Base 2 to Base 10 Convert Base 10 to Base 8 Convert Base 8 to Base 10 Convert Base 16 to Base 8 |
|
|
|
|
|
Input Device
Floppy Drive Format Surface Cyllinder Track Block Floppy Drive Hard Drive Tape Drive CD-R Drive - CD ROM CD-RW Drive Drivers Video Card NIC - Network Card Sound Card Modem A-To_D Card Review Conversion No Calculators On Exams/Quiz!
Computer Hardware III Drivers
Datatypes & Range & Size float 7 digits double 15 digits long double 19 digits char, string
5 Software Life Cycle
|
|
|
|
|
|
# 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
Decisions
Order Of Operations
# include <math.h>
Floating Point Nos
real division vs integer division
cout << int(3.3)
Clear Console Screen
|
|
|
|
|
|
Perform The Same Operation On Different Types Of Data Display Stream Decimals
Format Text
7 Programming Style
Syntax Errors
Decisions
if ( condition)
if ( condition)
if ( condition)
if ( condition)
Pass By Reference
|
|
|
|
|
|
Pass By Value Pizza Problem |
|
Due Friday By 12:30 |
|
|
|
Procedures |
|
|
|
|
|
|
|
|
|
|
|
Fixed Repetition Loop for (init; condition; Process At End){......}; bool Valid; Valid = true; Valid = false; if (true) ......... |
|
|
|
|
|
do { ....... ) while (condition); Review Fixed Repetition Loop for (init; condition; Process At End) {......}; Introduce Pretest Loop while (condition) {......}; Guess My Number Game
stdlib.h
|
|
|
|
|
|
Limitation of GetInt Introduction To Arrays Revisit GetInt |
Chapter On Arrays |
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IntArray Project |
|
|
|
Pointers Review Exam IntArrayClass Transformation Sequential Text Files
|
|
IntArray Project |
|
|
|
Sequential Text Files Open, Close, Read, Write, End Of File |
|
IntArray Project |
|
|
|
Order N Binary Search
|
|
Dynamic Array Lab 2 |
|
|
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
||||