IB Computer Science 1

From WLCS
Revision as of 11:18, 24 August 2010 by Admin (talk | contribs) (Created page with "== Monday (6/21/10) == * Final Exam! * Receive IBCS2 Summer Assignment == Tuesday - Friday (6/15/18) == * Triumph of the Nerds review * Final exam review * Final Exam on Mon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Monday (6/21/10)

Tuesday - Friday (6/15/18)

  • Triumph of the Nerds review
  • Final exam review
  • Final Exam on Monday (6/21/10)

Monday - Monday (6/7/10 - 6/14/10)

  • Triumph of the Nerds

Monday - Friday (5/31/10 - 6/4/10)

  • SOLs

Monday - Friday (5/24/10 - 5/28/10)

Monday - Friday (5/17/10 - 5/21/10)

Agenda:

Monday - Friday (5/10/10 - 5/14/10)

Agenda:

Thursday - Friday (5/6/10 - 5/7/10)

Agenda:

Monday - Wednesday (5/3/10 - 5/5/10)

Warmup:

  1. Create a new file named Warmup_5_3_10.java
  2. Prompt the user for an integer and store it in a variable n
  3. Create a boolean variable named isPrime that starts with true
  4. Write a for loop that starts at 2 and goes up to n
    1. Check if n can be evenly divided by the counter variable (Hint: n % x == 0)
      • If n divides the counter variable, then change isPrime to false
  5. Outside after the loop, check if isPrime is true
    • Print out a message that says that "the number n is prime"
  6. ...otherwise, print out a message that says it is not

Agenda:

Be sure you have demoed or can demo the following:

Archives