260 likes | 388 Views
CS 1. This is Computer Science 1. Who is Professor Adams?. What is CS1. How to get thoughts into the computer. Problem solving Critical thinking Logical thinking Learning JAVA as a first programming language. Course Resources.
E N D
CS 1 • This is Computer Science 1. • Who is Professor Adams?
What is CS1 • How to get thoughts into the computer. • Problem solving • Critical thinking • Logical thinking • Learning JAVA as a first programming language
Course Resources • An Introduction to Object-Oriented Programming with Java by Wu • Harley Hahn's Student Guide to Unix by Hahn • Course web page: • http:\\www.cs.rit.edu\~cs1 • Course News group: • news:\\news.cs.rit.edu\rit.cs.courses.0603.231
Course Resources • Lecture Notes • http:\\www.cs.rit.edu\~jaa\Cs1-Fall00\home.html • Unix Beginners Guide • Lecture and Lab Instructors • Extra help sessions • Teaching Assistants • Lab Assistants
Structure • Lecture - • MTW 4:00PM to 4:50PM 12-1205 • Lab • Office Hours • Wednesdays 1 - 3PM • Thursdays 3:30 - 5:30PM • 10-1184
Schedule • Weekly reading assignments that correspond to lecture and lab assignments. • Weekly lab assignments. • Bi-weekly quizzes. • Final Exam.
Grade determination • Final Exam 35% • Labs 30% • Quizzes 35%
Lab Assignments • Pre-lab activities and reading. • Post-lab exercise. • Grading • Each lab is worth 30 points • In-lab activities are 20 points • Post-lab activities are 10 points • Final lab grade is the average of your highest 9 individual lab grades. • A 0 given for cheating will not be dropped. • Grades will be returned via e-mail.
Lab Assignements • Due Dates: • Lab assignments are due at the end of the day two daysprior to your next scheduled lab. • No make-ups for missed labs. • No late submissions are accepted. • Submission for most of you labs will be electronic.
Quizzes • There are 4 quizzes total. • 30 minutes each, lecture will continue. • Must be on time for quizzes. • Quizzes WILL NOT be given out to those who are late to class. • No make-ups are given for quizzes. • Quizzes are not given early.
Quizzes • Grading: • Each question will have a point total associated with it. • This total will be determined when the quiz is created. • The point total will be 100. • If you miss a quiz or arrive late for a quiz, • you receive a 0. • You final quiz grade is the average of your 3 best quiz scores. • A 0 given for cheating will not be dropped.
Final Exam • Date will be announced. • A common exam will be given to all sections at the same time. • No make-ups nor early examination. • Comprehensive Coverage: • All reading material, all lecture material, and all lab material.
Academic Honesty • Class Syllabus • Department Policy • Campus Wide Policy
Why Java? • A disadvantage of using Java is that it is a new language and is changing quickly.
Computers • Difference Engine • Charles Babbage - 1823 • Computing and printing mathematical tables.
Computers • Analytical Engine • Babbage • Compute any calculation by inputting instructions on punch cards.
Computers • MARK I • Howard Aiken from Harvard - 1930s • Electromechanical computer based on relays.
Computers • ENIAC • John Mauchly and J. Presper Eckert at the University of Pennsylvania. • First Completely electronic computer.
Computers • EDIVAC • John von Neumann at the University of Pennsylvania - 1945 • First "Stored" program and data.
Computer Generations • First Generation: • Vacuum tubes • Second Generation: • Transistors • Late 1950's • Third Generation: • Integrated Circuits that incorporated hundreds of transitors. • Early 1960s
Networks • Local Area Networks (LAN) • Wide Area Networks (WAN) • Internet
Architecture Output Devices Monitor and printer Random Access Memory (RAM) Temporarily stores program instructions and data. Series of cells each 4 bytes = 8 bits Volatile memory Output Devices Monitor and printer Central Processing Unit (CPU) Executes programs Contains ALU and registers Output Devices Monitor and printer Output Devices Monitor and printer Input Devices Mouse, keyboard, digital cameras, etc. Output Devices Monitor and printer Storage Devices Floppy discs, tape, hard drive, and CD-ROMs Gigs Non-volatile memory Communication Devices Modem, and network interface card
Programming Languages • Machine languages • 01101110 11110101 • Only langauge the CPU understands • Different computer brands have a different machine language. • Binary code (0 or 1) and very low level.
Programming Languages • Assmebly Languages • MV 6, SUM • Symbolic operation codes are used to write programs. • Higher level but still arcaric. • Also, can be proprietary. • Requires an assembler to translate the program into machine code.
Programming Languages • High-level Langugages • "English-like" languages • x = 6; • BASIC, PASCAL, FORTRAN, COBOL, C, C++, JAVA • Requires a compiler and an assembler to translate the program. • The compiler translates to assembly language. • The assembler translates to machine language.
Java • Java is newer Object-Oriented language. • Based on C and C++. • Permits the development of Applets or web based programs as well as traditional applications. • Theoretically, Java is machine independent. • The Java bytecode is supposed to be independent of any particular computer machine hardware.