1 Getting Ready For Final Exam
1.1 Skills
1.1.1 String Manipulation
1.1.2 Input Output
1.2 In-Class Exercise
1.3 What To Do Next
1.4 Course Evaluation
1.5 Version : 2014/ 03/ 04

CS 110X Mar 04 2014

Lecture Path: 24
Back Next

Class: Course Evaluations

Think of yourself as a brand. You need to be remembered. What will they remember you for? What defines you? If you have it in you, do something that defines you. Invent something, develop a unique skill, get noticed for something – it creates a talking point.

Chris Arnold

1 Getting Ready For Final Exam

1.1 Skills

We are continuing the process of reviewing the core skills that I used when designing this course.

1.1.1 String Manipulation
1.1.2 Input Output

1.2 In-Class Exercise

To complete the preparation for the final exam, here are a number of programming questions that you should all be able to do. I will select one or two of them to go over in class. I encourage you to try solving them all

You are given a list of lists (i.e., something like [ [1, 2, 3], [9, 4], [5, 4, 2, 3] ]) and you are asked to append all individual values to create a single large list [ 1, 2, 3, 9 4, 5, 4, 2, 3].

hint: You can solve this without a nested loop

You have a string representing the pages of a document that you would like to print (i.e., something like ’1,5,16,20-25,33’) where commas separate individual pages as well as regions represented by hyphens. You want to count the total number of integers in the representation. In the above case, there would be ten pages printed.

hint: split will really come in handy here, more than once

Given a list containing only 0s and 1s, determine whether there is a consecutive run of N 1s, where N is the parameter to the function.

1.3 What To Do Next

First, if you are thinking that Computer Science is kinda cool after this class, be sure to talk to me via email, or in person in D term.

What if you are more interested in pursuing a Minor in CS? Numerous options are available. Let’s start with the following FlowChart:

Figure 1: CS courses FlowChart

What if you are only interested in taking one more course. Then consider the following advice.

1.4 Course Evaluation

In addition to the course evaluation forms, there are multiple questions that I would like you to answer. These are the "Instructor provided ranked questions" at the bottom of the second side of the evaluation sheet.

1.5 Version : 2014/03/04

(c) 2014, George Heineman