Skip to content

Activity 1: Fundamentals

Learning Objectives:

  • Review fundamental algebra required for the course
  • Know the powers of 2 and how they relate to \(log_2\)
  • Trace through Java code and determine its output
  • Write mathematical functions that describe properties of Java code

Time to Complete: 30 minutes

To Receive Credit: attendance or Canvas submission

Instructions

Complete the following worksheet:

First, complete the worksheet on your own. Then, compare your answers with a partner!

Solutions

Submission

I do not typically grade activities, but you should definitely compare your answers with the solutions when posted.

You will receive credit based on attendance. Alternatively, you can submit a legible scan to Canvas for credit.