CSC 171 : Introduction to Computer Programming IN CLASS EXERCISES

HOME 171 IN CLASS EXERCISES HELPFUL LINKS

 

This is a tentative schedule and will definitely change.

Date
Assignment/Quiz
9/4
in class: first java team program;
9/9 in class : swap variable exercise, + myprogramminglab
9/11 in class: trace swap and another variable exercise
9/16

In class exercise: a small program to trace a paper to trace the small program

Extra exercise, but not required (a bit confusing) A large program to trace  A paper to trace onto solution

 

In class tracing exercise: loop errors / loop solutions

In class exercise: online tutor - do some of the for problems

In class exercise  some loop exercises

 

in class :more tracing loops (a final loop review)



 

In class:

method exercises 1-2 & 4-5

help:
powerpoint guide as ppt

 

  In Class: method trace method header matching form  
  In Class: Pig Latin - ask for first and last name  
pig answer

 

in class: method exercises 6-8 ; help for method exercise #9 ; method exercise 9   

  in class: Exercise 10
  in class: simplified method exercise
  Pg 172 #2 interest (using a main routine and one method for calculating interest on a given balance with a given interest rate)
Help for 172#2
 

boolean work sheet

boolean worksheet answers  
 

codingbat

 

 

  if trace
  if worksheet
  exercise to use with tester picture if and loop  
  midterm help exercises midterm review answers  
     
  Extra Exercises maybe not as helpful  
 

in class: Fang : make a new game using fang engine page

wackadot base code run my wackadot
  fang decision exercise 1 - optional fang decision exercise 2 - optional
 

Exception, Unicode and Double checking and printing exercises

 

Review answer to Exception, Unicode and Double checking and printing exercises

Simpler Exception and double checking exercise

CodingBat Recursion

Graphics - Draw a face;

  second loop assignment
  quiz prep exercises
quiz prep answers


array Finch Exercises Array Finch Exercise Solutions
  Array exercises array solutions array example
  Array Trace exercises array trace answers
 

Student Exercise using Student class & WorkWithStudent class

  Car Class Exercise Car help
 

Array and Class Exercise

Trace Array and Class

Codingbat AP exercises - recommend scoresIncreasing, wordsCount, copyEvens

Answer to array trace  
  Review sheet for final   
review exercises
review answers
 
 
Car Class Substitute  
  Questions 3, 4, 7 & 7.6 on the If sheet (click here)
OR questions 10 and 11 on the If sheet (click here)
For students new to the If statement, please do the first one, not the second.
  Pg 270 #4 tax for week 9
if assignment

LINK TO OLDER ASSIGNMENTS FROM 2012

LINK TO ASSIGNMENTS THE PROFESSOR MIGHT ASSIGN

LINK TO OLDER SEMESTER ASSIGNMENTS #1

LINK TO OLDER SEMESTER ASSIGNMENTS #2