On Feburary 12th, the Computer Science department at the College of Charleston hosted an alumni symposium. The symposium consisted of alumni, ranging from freshly graduated to some who have been in the workforce for more than a couple of year, explaining what they have done and what they are currently doing after college. After each alumni had gone up and given their spiel on working in computer science jobs, all the cuurent undergraduates who attended the symposium where able to ask questions to the panel of alumni.
Wednesday, April 23, 2014
Meeting Charleston
CS First Volunteer Rally:
For this 462 class, each student has to go out and attend a meeting outside the college that pertains to the computer science world. For my write up I was going to talk about the CS First volunteer rally that I attended.
The volunteer rally demonstrated to any interested attendees what the CS First program was about. It also went over what each of us would due if we decided to apply to become a volunteer guru and help lead one of the their after-school programs.CS First is a 2-year pilot focused on increasing student access and exposure to Computer Science (CS) Education through after school and summer programs. The goal is to build the CS Education capacity of regional South Carolina K-12 schools. These after school programs are developed and run by Google CS Teaching Fellows in conjunction with volunteers like you. -CSfirst.net
Monday, April 14, 2014
Chapter 7 Exercises
Software Development: An Open Source Approach
Chapter 7: Exercises 1,2,3
7.1
The dbPersons.php table types all of the data as TEXT. birthday could be typed as a DATE. start_date could be typed as a DATE. This violates criterion 5. It also violates criterion 6 because it doesn't declare a primary key. That means that a single record could be duplicated. If you were to update a duplicated record, only the "first" record would be duplicated and you would have conflicting records.7.2
The new get_shift_name_from_id($id) takes care of the checking for the special cases of a “night shift” or “guest chef” and will not call get_shift_start($id) or get_shift_end($id) if either of these special cases are true. Therefore the checks for these special cases in get_shift_start($id) and get_shift_end($id) can be removed from the code:
function get_shift_start($id) {
if (substr($id, 11, 1) == "-")
return substr($id, 9, 2);
else
return substr($id, 9, 1);
}
function get_shift_end($id) {
if (substr($id, 11, 1) == "-")
return substr($id, 12, 2);
else
return substr($id, 11, 2);
}
Subscribe to:
Posts (Atom)