CS 107 Lab 1:  Introduction to CS 107

Synopsis:


 

Explanation of lab assignments and grading

Lab assignments are always group assignments, and are turned in via Blackboard.  The grading criterions of lab assignment are:

0 point

Did not hand in assignments correctly during the lab.

1 point

Made a reasonable attempt for most of the required exercises.

2 points

Clearly understood and correctly completed most of the required exercises.

3 points

Clearly understood and correctly completed all of the required exercises, and correctly answered all the required questions.

Blackboard and quizzes.

The TA will show how to do the quiz on Blackboard. There will be a quiz at the beginning of every class. The quiz will contain 3 questions. The answer to each question is either multiple choice or a short answer. The topics of the quiz questions will range from the chapters of the assigned readings of the week before the lab session. For instance, next week (the week starting on 8/30) the quizzes will be on topics from chapter 1 (assigned reading in the previous week), the week starting on 9/6 the quizzes will be with topics from chapter 2 and so on. The quizzes will be often taken from the self-test questions contained in each chapter of the book. Sometimes they will be identical to those questions, sometimes slightly different. You should also notice that the answers to the self-test questions are contained at the end of every chapter of the book.

Introduction to Scratch.

  1. Start up Scratch. If it is not already installed in the ACCC computers you can download it from here.  After downloading it, double click on the file and install it on the desktop.

Lab assignment.

Write a program to control with the arrows the movement of the ball. Have the ball stop or slow down when it touches the green area.

The points for this lab will be assigned as follows:

Stage 1:The background is drawn and some instructions that control the ball movements are written.

Stage 2:The ball can move controlled by all 4 arrows.

Stage 3: The ball can move controlled by all 4 arrows and it also stops or slows down when it touches the green area.

Stage 4 (Extra credit): Create another ball with a different set of controls (e.g., w for UP, s for DOWN, a for LEFT, d for RIGHT). The second ball should stop or slow down when it touches the green area.

DO NOT HESITATE TO ASK THE TA-s FOR HELP.

Follow the TA instructions on how to submit on blackboard.