Tags:
create new tag
view all tags

Software Development

James Skon
Fall 2017
Location: Hayes 309A, Time: 11:00, Days: TH
Office Hours: 10-11 MWF.
Tutoring:
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. C. A. R. Hoare (1980 Turing Award Lecture)

Course Learning Outcomes

This course gives students experience designing, implementing, testing and debugging moderately complex systems of software components that collectively form a multilayer application. There will be an emphasis on crafting quality code, designing and implementing effective user interfaces, and building multicomponent architectures using a mix of off-the-self and custom code.Topics will include inner process and inter-system communication, multi-threading, and the synchronization of shared resources, web interfaces, and working with large data sets. Students will primarily use C++, but also will learn Javascript and other languages as needed. Prerequisite: SCMP 118 or permission of instructor.Cource outcomes

At the completion of this course the students should

  1. Exhibit best practices in creating code that is well structured and organized using object-oriented concepts.
  2. Exhibit an understanding of quality use of identifier naming within code.
  3. Be capable of providing appropriate internal documentation within code.
  4. Understand and utilize proper use of internal barricading and error checking of values within a program.
  5. Be capable of creating detailed requirement for a problem bending solved.
  6. Be capable of creating architectural designs for multi-component software systems.
  7. Be capable of collaboration in software development including pair-programming, peer design and code reviews.
  8. Be capable of creating and using a MySQL database using SQL and phpmysql.
  9. Write JavaScript code using HTML, CSS and jQuery.
  10. be able to create an HTML and JavaScript front end that communicate with a C++ program through an Apache2 web server.
  11. design and develop web based data visualization components and user interfaces that use quality metaphoric concepts.
  12. be able to produce JavaScript and/or C++ effectively processes XML documents.

Text

Code Complete, Second Edition; Steve McConnell;
Microsoft Press; 2nd edition (June 19, 2004)
CodeComplete.jpg

Technical Topics

  • Using the Linux Server
  • C++ Iterators and algorithms
  • Text Parsing
  • Haspmap and building an inverted index
  • Interprocess communication using FIFO class
  • Client/Server architectures
  • JavaScript, HTML and CSS
  • JavaScript with timing intervals.
  • AJAX and CGI communication
  • XML Processing
  • JQuery
  • SQL
  • SQL and C++

Tools

calab.kenyon.edu links

Languages/Libraries

Tutorials/Reference

Links

Schedule

Date Topic Reading / Info Quiz Slides Assignment Due
01-15 Software Construction
Project 0: Programming in the Linux environment
Chapter 1
Census Name Information Demo
Linux Introduction
PuTTY
Project 0
  1._Software_Construction.ppt
Introduction-to-Linux.pptx
 
01-17 Software Metaphors
Name Data Demo

Chapter 2
Notepad++, TextWrangler

HTTP & CSS, HTML Tutorial

Link 2._Metaphors.ppt Linux Slides Questioneer
01-19 Preparation for coding, Inverted Index
Project 1, Part 1: Shakespeare Index
Chapter 3, Map STL c++
namesdemo.cpp
Web Names Lookup
Name Data Files - From US Census Data
Link Chapter 3 Project 0
01-22 Key Construction Decisions
HTML, CSS
Chapter 4
Project 1 Review
Link Chapter 4  
01-24 Design in Construction
Make Files, Bootstrap
Chapter 5
Make Files, The Make Command, Bootstrap, BootStrap Course, BootStrap Tutorial
Link Chapter 5 Make Files HTTP & CSS
01-26 Project 1, Part 2: Simple Web Shakespeare
Web Programming with Ajax

Make Files , The Make Command
The Demo code for Name program
The English stemmer example.
C++ Web Programming

Ajax Tutorial for Beginners

Link CGI and AJAX

Project 1, Part 1

Meet with Professor for code review

01-29 Design in Construction
Javascript
Chapter 5
Make Files
CGI and AJAX
  Chapter 5 Bootstrap
01-31 Javascript and JQuery Javascript Tutorial, JQuery Tutorial, Learn JQuery      
02-3 Project 1, Part 3: Client/Server Web Shakespeare
Protocol Oveview
   

Project 1, Part 2

Code Review

02-6 Working Classes Chapter 6 Link Chapter 6  
02-8 High-Quality Routines
Introduction to XML
Chapter 7
XML Introduction, MathML, Shakespeare, Bible, Quran
XML Parser for C++ , Documentation
Demo Software: /home/class/SoftDev/cppXMLAJAX/
Link 7._High-QualityRoutines.ppt
XML Overview
 
02-10 Project 2: XML Lookup Project 2: XML Project, Tutorial: Parsing XML with JQuery   Bible Example, Other examples  
02-13 User Interface design User Interface Design Basics
Principles of User Interface Design
User Interface Design Tips, Techniques, and Principles
Interface Hall of Shame
  User Interface Design Project 1, Part 3
02-15 Defensive Programming
Chapter 8
Link DefensiveProgramming.ppt Project 2, Proposal
02-17 Introduction to GITHub GIT Video - View for quiz , GitHub for beginners
GIT HW
Link GIT Slides Project 2, Interface Design
02-20 Collaborative Programming
Group Formation
Chapter 21
Link Chapter 21 GIT HW
02-22 Project 3: Data Visualization, metaphor, and visual communication. Project 3
Visualization Introduction - watch before class
    Project 2, Complete
02-24 Visit to Gund Art Gallery visap2015_Cruz_WrongfullyRight.pdf - Please read before class Link3    
02-27 Project 3 - Project discussion and brainstorming.
Group Formation
  link 10.Variables.ppt
 
03-1 General Issues in Using Variables, the Power of Variable Names Chapter 10, Chapter 11 link 11.Variables.ppt Project 3 Proposal
03-3 Team Presentations on Visualization Plan Include Power points with mockups     Project 3 Presentation
03-4 - 03-19 Spring Break        
03-20 Midterm Exam - Study Guide Chapters 1-11,21, User Interface Design, GIT Link    
03-22 Introduction to SQL, phpmyadmin SQLTutorial, Learn SQL, phpmyadmin Tutorial      
03-24 MySQL and the World Database SQL World Database     Project 3 Version 1
03-27 Project 3 Code Reviews Be prepared to show and describe code in class for 10 minutes.     Code Review
03-29 Project 4 : Phone App, MySql with C++ C++/MySQL tutorials     SQL HW 1
03-31 More on Bootstrap, CSS       SQL HW 2- phpmyadmin
04-03         Project 4 - Part 1, 2 & 3
04-05 In Class work and instructor demos   Link    
04-07 A visit to Gund Gallary.     Chapter 33 Project 4 - Part 4
04-10 Project 5: Interactive two-user system with with Database Project 5      
04-12 Automatic updating webpages
Project 5 Group formation
Live Monitoring Processes , code     Project 4 - Complete
04-14 Personal Character Chapter 33      
04-17 Project 5 Concept presentations Be prepared to demonstrate and talk about your idea     Project 5 Part 1: Project concept,and team formation
04-19 Project 5: meetings with professor        
04-21 Using Conditionals Chapter 15   Chapter 15 Project 5 Part 2: Complete Project Design using Metiphoric concepts
04-24 Controlling loops Chapter 16      
04-26 Project 5 presentations Present Architecture in class     Project 5 part 3: Architectural Design
04-28 Unusual Control Structures, Table-Driven Methods Chapter 17, 18   Chapter 17
Chapter 18
 
05-1 Project 5 Working prototype demos       Project 5 Part 4
05-3 The Software-Quality Landscape Chapter 20   Chapter 20  
05-5 Developer Testing Chapter 22   Chapter 22 Project 5 - Part 5 - complete system
05-9 6:30-9:30pm Final Presentation Project 5   Evaluation Form Moodle Link for Final Presentation
Moodle Link Complete Project

Software project grading rubric

Criteria Excellent Acceptable Unacceptable
Documented & Maintainable
(The program is well-documented with appropriate names and comments making it easy to understand.)
  • all naming conventions are followed
  • both in-line and header comments are included and clearly explain the what the code accomplishes and how
  • white space is used well
  • most naming conventions are followed
  • some comments are confusing or missing
  • white space is used well in most places
  • poor or no use of naming conventions
  • too few or too many comments are used and they are unclear or inaccurate
  • poor use of white space
Adaptable & Reusable
(The program is modular, using abstraction well and any limitations are clearly specified.)
  • all interfaces between objects are clear
  • appropriate utility functions are used and well-documented
  • most code can be reused
  • most object interfaces are clear
  • some appropriate utility functions are used and documented
  • some code can be reused
  • poor object interface definitions
  • few or no utility functions
  • no code can be reused
Robust & Correct
(The program provides the correct output for all possible input.)
  • the program works completely as expected
  • the output is displayed to specification for all valid input
  • the program responds appropriately for all invalid input
  • the program works as expected for most input
  • there may be minor errors in output formatting for valid input
  • not all invalid input is handled reasonably
  • the program does not produce correct output for even the sample input
  • the program fails to handle invalid input
  • exceptions are not caught
Efficient & Elegant
(The program uses both time and space on the computer effectively, without losing source code clarity.)
  • no extra variables or definitions are used
  • the code is small, efficient yet still easily understood
  • extra variables do not make the code harder to understand
  • brute-force problem solving approach
  • extra variables are pervasive and confusing
  • the code is unnecessarily long and patched together
  25-20% 19-11% 10-0%
Email: SCMP39100S17@kenyon.edu

Jessie Alperin <alperinj@kenyon.edu>, Ghada Bakbouk <bakboukg@kenyon.edu>, Preston Basting <bastingp@kenyon.edu>, Miku Fukuyama <fukuyamam@kenyon.edu>, gavinhannerc@kenyon.edu, grigullb@kenyon.edu, Elizabeth Iduma <iduma1@kenyon.edu>, khanm@kenyon.edu, murphy1@kenyon.edu, Tess Neau <neaut@kenyon.edu>, ogilviethompsonh@kenyon.edu, Daniel Olivieri <olivierid@kenyon.edu>, riveraj@kenyon.edu, Joseph Schutz <schutzj@kenyon.edu>, seavera@kenyon.edu, solorioc@kenyon.edu, twitchelln@kenyon.edu, vances@kenyon.edu, John Wilhelm <wilhelmj@kenyon.edu>, Yanqi Xu <xuy@kenyon.edu>

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg CodeComplete.jpg r1 manage 41.2 K 2017-08-24 - 13:27 JimSkon  
PDFpdf visap2015_Cruz_WrongfullyRight.pdf r1 manage 6266.7 K 2017-10-31 - 02:20 JimSkon  
Edit | Attach | Watch | Print version | History: r25 < r24 < r23 < r22 < r21 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r25 - 2017-11-23 - JimSkon
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback