1 / 26

CS 1

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.

rocco
Télécharger la présentation

CS 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 1 • This is Computer Science 1. • Who is Professor Adams?

  2. What is CS1 • How to get thoughts into the computer. • Problem solving • Critical thinking • Logical thinking • Learning JAVA as a first programming language

  3. 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

  4. 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

  5. Structure • Lecture - • MTW 4:00PM to 4:50PM 12-1205 • Lab • Office Hours • Wednesdays 1 - 3PM • Thursdays 3:30 - 5:30PM • 10-1184

  6. Schedule • Weekly reading assignments that correspond to lecture and lab assignments. • Weekly lab assignments. • Bi-weekly quizzes. • Final Exam.

  7. Grade determination • Final Exam 35% • Labs 30% • Quizzes 35%

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. Academic Honesty • Class Syllabus • Department Policy • Campus Wide Policy

  14. Why Java? • A disadvantage of using Java is that it is a new language and is changing quickly.

  15. Computers • Difference Engine • Charles Babbage - 1823 • Computing and printing mathematical tables.

  16. Computers • Analytical Engine • Babbage • Compute any calculation by inputting instructions on punch cards.

  17. Computers • MARK I • Howard Aiken from Harvard - 1930s • Electromechanical computer based on relays.

  18. Computers • ENIAC • John Mauchly and J. Presper Eckert at the University of Pennsylvania. • First Completely electronic computer.

  19. Computers • EDIVAC • John von Neumann at the University of Pennsylvania - 1945 • First "Stored" program and data.

  20. Computer Generations • First Generation: • Vacuum tubes • Second Generation: • Transistors • Late 1950's • Third Generation: • Integrated Circuits that incorporated hundreds of transitors. • Early 1960s

  21. Networks • Local Area Networks (LAN) • Wide Area Networks (WAN) • Internet

  22. 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

  23. 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.

  24. 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.

  25. 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.

  26. 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.

More Related