Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Introduction to Java Programming - Introduction to Programming II | CS 112, Study notes of Computer Science

Material Type: Notes; Class: Intro to Computer Science II; Subject: Computer Science; University: University of San Francisco (CA); Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 07/30/2009

koofers-user-7sm-1
koofers-user-7sm-1 🇺🇸

10 documents

1 / 3

Toggle sidebar

Related documents


Partial preview of the text

Download Introduction to Java Programming - Introduction to Programming II | CS 112 and more Study notes Computer Science in PDF only on Docsity! Intro to Programming II Introduction Chris Brooks Department of Computer Science University of San Francisco Department of Computer Science — University of San Francisco – p.1/?? 1-2: Syllabus • Office Hours • Course Text • Prerequisites • Grading Policies Department of Computer Science — University of San Francisco – p.2/?? 1-3: Topics • This class is designed to give you more familiarity and skill in Java Programming. ◦ OO design ◦ Basic Software Engineering skills ◦ Abstraction ◦ Practice, practice, practice! • You’ll also get an introduction to programming in C. Department of Computer Science — University of San Francisco – p.3/?? 1-4: Grading • You’ll have a series of lab assignments to do ◦ Done in-class ◦ Satisfactory/unsatisfactory grade • You’ll also have four programming projects ◦ Larger; 2 weeks apiece • Plus two midterms and a final ◦ In class, closed notes • I believe that the best way to learn a topic like programming is to do it. Department of Computer Science — University of San Francisco – p.4/?? 1-5: How to Succeed • Come to class. Pay attention. Ask questions. Department of Computer Science — University of San Francisco – p.5/?? 1-6: How to Succeed • Come to class. Pay attention. Ask questions. ◦ A question as vague as “I don’t get it” is perfectly acceptable. ◦ If you’re confused, at least half the class is also. ◦ Don’t wait until after class to ask! Department of Computer Science — University of San Francisco – p.6/?? 1-7: How to Succeed • Come to class. Pay attention. Ask questions. ◦ A question as vague as “I don’t get it” is perfectly acceptable. ◦ If you’re confused, at least half the class is also. ◦ Don’t wait until after class to ask! • Come by my office ◦ I am very available to students. Department of Computer Science — University of San Francisco – p.7/?? 1-8: How to Succeed • Come to class. Pay attention. Ask questions. ◦ A question as vague as “I don’t get it” is perfectly acceptable. ◦ If you’re confused, at least half the class is also. ◦ Don’t wait until after class to ask! • Come by my office ◦ I am very available to students. • Start the homework assignments and projects early ◦ Waiting until the last minute to start projects is a bad idea. Department of Computer Science — University of San Francisco – p.8/?? 1-9: How to Succeed • Come to class. Pay attention. Ask questions. ◦ A question as vague as “I don’t get it” is perfectly acceptable. ◦ If you’re confused, at least half the class is also. ◦ Don’t wait until after class to ask! • Come by my office ◦ I am very available to students. • Start the homework assignments and projects early ◦ Waiting until the last minute to start projects is a bad idea. • Read the textbook. ◦ Ask Questions! Come to Class! Department of Computer Science — University of San Francisco – p.9/?? 1-10: Words of Wisdom • “90% of life is showing up.” – Woody Allen • “Just keep swimming.” – Finding Nemo • “Never mistake activity for achievement.” – John Wooden • “Teachers open the door. You must step through on your own.” – Chinese Proverb. Department of Computer Science — University of San Francisco – p.10/?? 1-11: Words of Wisdom • “90% of life is showing up.” – Woody Allen • “Just keep swimming.” – Finding Nemo • “Never mistake activity for achievement.” – John Wooden • “Teachers open the door. You must step through on your own.” – Chinese Proverb. • “Do I contradict myself? Very well, then. I contradict myself. I am large; I contain multitudes.” - Walt Whitman Department of Computer Science — University of San Francisco – p.11/?? 1-12: Lab 1: Java Practice • Write a program that converts from Fahrenheit to Celsius. It should prompt the user for a temperature, and then ask whether the input is in Fahrenheit or Celsius. It should then calculate the temperature for the other scale. The relevant formulae are: ◦ F = 9 5 ∗ C + 32 ◦ C = 5 9 (F − 32) • You should have a main method that prompts the user for a temperature and asks whether it’s Fahrenheit or Celsius • You should have static methods called FtoC and CtoF. Department of Computer Science — University of San Francisco – p.12/??
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved