Login

CS1

Entries

This collection contains 17 items

Collector(s)

Arup Guha, Norm Krumpe, Eric Luczaj, Sarah Heckman

Description

Course assignments and resources for CS1 and related courses.

This assignment is the first in a series of black box testing assignments that can be used in CS1/CS2 level classes. The assignment is to have students write and run black box test cases for a given application. The students are given the requirements and a compiled version of the program with…

This assignment combines implementing a class definition (constructors, getters, setters for a Rectangle) with using Javadoc comments to document the class. This assignment includes background information on the Javadoc tool, including information about technical requirements (such as the @param…

This project can be used for introductory students. The specific code attached here is applicable to students who are learning Java and have learned how to use 2D arrays and write their own classes. But, one can write their own "poorly styled" code for this assignment as well.

Students are given…

Tags:

If you have a unit to teach that can be easily subdivided into separate parts that isn't too difficult, then this assignment can be used.

Create groups of students (probably 2-4) who are interested in teaching the class. Give them a handout or reading from the text that they are supposed to teach…

Programmers should be able to read code from other programmers in order to determine whether it contains errors. This includes compiler errors, runtime errors, and logic errors. When they identify those errors, they should be able to provide feedback to the programmer who wrote the code in a way…

This assignment will give the student the opportunity to practice providing substantive critiques in a low stake setting.

For this assignment, students will evaluate a three minute lecture given by one of their classmates. The goal is for students to support their ratings with concrete…

This assignment asks the students to research testing methods, good and bad testing results and to use this research to create a position paper.

This assignment will confirm and solidify student understanding of the importance of testing. It will also give them the opportunity to practice…

Effective programming involves being able to navigate API documentation for various packages and classes, in order to identify an appropriate class/method/constructor to solve the problem at hand. This activity focuses on reading Java's API documentation to learn about classes that are unfamiliar…

Prior to class, students will find at least one current news article that relates to computer science. They will be expected to have read the article and be able to summarize the contents verbally. The article can be from any popular press or academic venue.

This assignment requires student…

This is an assignment focused on using Java API documentation to find methods that aid in solving a problem. In it, students must write a program that parses text and "cleans it up" (in particular: a name, address, and phone number, entered in a sloppy way by a user).

This is best suited to…

This assignment will give students a better understanding of fundamental software development concepts. It will allow them to discuss these concepts with others to refine their understanding. It will also give them practice documenting knowledge in a written form.

There are 4 stages to this…

This assignment can be given in any introductory programming course. It is given in addition to the usual program. While the student is developing their solution, they must fill out a spreadsheet of bugs encountered. They must categorize their bugs (compile error, run time error, logic error) and…

This assignment can be used for most any introductory programming course. It is to be added to any typical program. After finishing the program, students are to write their boss a memo stating future enhancements that could be made to the program. The memo would contain an introduction, a number…

The goal of this assignment is to convince students that good stylistic choices in programming matters. No matter how many times you tell them this, they won't believe you until they deal with poorly written code.

Give students a piece of poorly indented/commented code, ask them to figure out…

This assignment can be given in any introductory programming course. It is given in addition to the usual program. While the student is developing their solution, they must fill out a spreadsheet of bugs encountered. They must categorize their bugs (compile error, run time error, logic error) and…

A student has launched a Denial of Service attack on the university's email server. Now, the student must appear in front of the disciplinary committee.

This assignment is a role-play of this meeting.

Have students each learn a class in the Java API and have them teach the use of that class to three other students in their group.

Students get assigned their groups and class to learn in one class period and come back to share what they learned with their group in the next class…

Comments

Allowed tags: <p>, <a>, <em>, <strong>, <ul>, <ol>, <li>