DOC PREVIEW
USF CS 112 - Introduction to Programming II

This preview shows page 1-2-3-4-5 out of 14 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

{small lecturenumber - hepage :} Syllabus{small lecturenumber - hepage :} Topics{small lecturenumber - hepage :} Grading{small lecturenumber - hepage :} How to Succeed{small lecturenumber - hepage :} How to Succeed{small lecturenumber - hepage :} How to Succeed{small lecturenumber - hepage :} How to Succeed{small lecturenumber - hepage :} How to Succeed{small lecturenumber - hepage :} Words of Wisdom{small lecturenumber - hepage :} Words of Wisdom{small lecturenumber - hepage :} Lab 1: Java Practice{small lecturenumber - hepage :} Lab 1: Java Practice{small lecturenumber - hepage :} Lab 1: Java PracticeIntro to Programming IIIntroductionChris BrooksDepartment of Computer ScienceUniversity of San FranciscoDepartment of Computer Science — University of San Francisco – p.1/??1-2: Syllabus•Office Hours•Course Text•Prerequisites•Grading PoliciesDepartment of Computer Science — University of San Francisco – p.2/??1-3: Topics•This class is designed to give you more familiarity and skill inJava 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 isto 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 perfectlyacceptable.◦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 perfectlyacceptable.◦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 perfectlyacceptable.◦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 perfectlyacceptable.◦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. Iam large; I contain multitudes.” - Walt WhitmanDepartment of Computer Science — University of San Francisco – p.11/??1-12: Lab 1: Java Practice•Write a program that converts from Fahrenheit to Celsius. Itshould prompt the user for a temperature, and then ask whetherthe input is in Fahrenheit or Celsius. It should then calculate thetemperature for the other scale. The relevant formulae are:◦F =95∗ C + 32◦C =59(F − 32)•You should have a main method that prompts the user for atemperature 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/??1-13: Lab 1: Java Practice•(L & L 2.13) - Write a Java applet that draws the Olympic Logo.The circles in the logo should be colored (L to R): blue, yellow,black, green, red.Department of Computer Science — University of San Francisco – p.13/??1-14: Lab 1: Java Practice•Write a program that creates an array of 50 integers. Use a forloop and an if statement to place a 1 in all cells where the indexis even, and a 0 in all cells where the index is odd. (the firstindex is 0.) For example, a[3] should contain a 0, and a[2]should contain a 1. Print out the array after filling it in.Department of Computer Science — University of San Francisco –


View Full Document

USF CS 112 - Introduction to Programming II

Documents in this Course
Structs

Structs

4 pages

Trees

Trees

25 pages

Strings

Strings

27 pages

Queues

Queues

3 pages

Trees

Trees

24 pages

Arrays

Arrays

5 pages

ArrayList

ArrayList

24 pages

Stacks

Stacks

2 pages

Stacks

Stacks

8 pages

Trees

Trees

24 pages

Stacks

Stacks

8 pages

Queues

Queues

16 pages

Queues

Queues

17 pages

Queues

Queues

17 pages

Load more
Download Introduction to Programming II
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Introduction to Programming II and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Introduction to Programming II 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?