CSC 533: Programming Languages
Spring 2020


11:00-12:15 MW
204 Hitchcock
Dr. David Reed
203D Hitchcock      x2583
DaveReed@creighton.edu



Official Text: Concepts of Programming Languages (11th ed.), Sebesta, Addison-Wesley, 2016.
Alternative Option: The 10th edition is available for free online, and can be used as an alternative to buying the latest version.


Course Description

This course is concerned with the concepts and practice of programming languages. The first part of the course will focus on general programming language concepts such as binding, type checking, and memory management. The implementation of these concepts in different languages will be examined, with special attention paid to Java and C/C++. The second part of the course will focus on different programming paradigms: procedural, object-oriented, and functional programming. Java, C++, and JavaScript will be studied as hybrid languages, combining both procedural and object-oriented features with varying design goals. Scheme will be studied as an example of a completely different programming paradigm, one which focuses on functional composition as opposed to state transformation or object interaction. In addition, groups of 2-3 students will each research and present an overview of a modern scripting language (e.g., perl, php, python, ruby, R, scala).

The specific goals of this course are:


Required Work

There will be 4-6 homework assignments, most of which will involve programming. Assignments will be submitted electronically via the class BlueLine site and will be due at midnight on the date specified. Late assignments will receive 75% of full credit if they are handed in within one week of the specified due date. After one week, no credit will be given. The group project will involve researching a modern scripting language and giving a 20-minute presentation on that language to the class. In addition, there will be 6-8 module quizzes (with the lowest quiz grade dropped), a midterm exam and a cumulative final exam. Grades will be determined as follows:

homework assignments 35 40 %
group project/presentation 10 15 %
module quizzes 05 %
midterm exam 20 25 %
(cumulative) final exam 30 15 %

At the minimum, departmental grading cutoffs for the final average will apply. That is, 93-100% guarantees an A, 90-92% an A-, 87-89% a B+, 83-86% a B, 80-82% a B-, 77-79% a C+, 73-76% a C, 70-72% a C- and 60-70% a D. Depending on class performance, some shifting of grades (in an upward direction only) may occur as final letter grades are assigned.

Regular attendance is expected of all students. If you must miss class for a legitimate reason, it is your responsibility to make up missed work. Quizzes and Assignments will not be rescheduled except in extreme circumstances. It is expected that all students check their Creighton email accounts regularly. Official announcements, such as assignment revisions or class cancellations, will be distributed through Creighton email.


Policy on Collaboration

Creighton's policy on cheating and plagiarism is spelled out in the the Student Handbook, with college procedures available online. In addition to this, the following guidelines hold pertaining to programs. Programs are to be the sole work of the student -- collaboration on the design or coding of a program is not allowed. Questions regarding homework assignments should be directed at the instructor only. Students may seek debugging assistance or clarifications on assignments via the class mailing list (accessible via BlueLine). Repeat: All student interactions regarding homework assignments must take place via email to the entire class!

Violations of this policy will be dealt with severely, with possible outcomes including failure in the course. In the case of programming assignments, you are encouraged to start early so that there is time to seek help from the instructor as the need arises.


Tentative Schedule

DATES
TOPICS
READINGS
VIDEOS
HOMEWORK
Jan 15 Introduction, overview. (pptx/pdf) Ch 1    
20
22
Background & syntax: (pptx/pdf)
   history, paradigms, BNF, EBNF.
Ch 2
Ch 3
 
 
 
HW1: due 2/3
27
29
Variables & bindings: (pptx/pdf)
   static vs. dynamic bindings, stack vs. heap,
Ch 5
 
 
 
 
 
Feb 3
5
   SILLY code review,
   scope & lifetime.
 
 
 
 
HW2: due 2/16
 
10
12
Data types: (pptx/pdf)
   primitives, pointers, memory management, garbage collection.
Ch 6
 
 
 
 
HW3: due 2/28
17
19
Data & control: (pptx/pdf)
   strings, arrays, assignments, control statements.
Ch 7-8
 
 
 
 
Presentation
24
26
Subprograms: (pptx/pdf)
   subprogram linkage, parameters, run-time stack.
Ch 9
Ch 10
 
 
 
HW4: due 3/30
Mar 2
4
review
MIDTERM EXAM
 
 
 
 
 
 
9
11
SPRING BREAK - NO CLASS
16
18
ALL CLASSES CANCELED
23
25
Language evolution: (pptx/pdf)
   C --> C++ --> Java.
Ch 11
Ch 12
midterm, evo(1)
evo(2), evo(3)
 
 
30
Apr 1
Functional programming: (pptx/pdf)
   Scheme, atoms & lists, conditionals, recursion, map & apply.
Ch 15
 
fun(1), fun(2)
fun(3), fun(4)
HW5: due 4/15
checkpoint 1
6
8
Scheme structures: (pptx/pdf)
   association lists, let, I/O, trees.
 
 
scm(1), scm(2)
scm(3), scm(4)
 
 
13
15
Advanced Scheme: (pptx/pdf)
   closures, lazy evaluation, OO in Scheme.
 
 
adv(1), adv(2)
adv(3), adv(4)
HW6: due 4/29
checkpoint 2
20
22
Concurrency: (pptx/pdf)
   competition/cooperation, semaphores, monitors, Java threads.
Ch 13
 
cnc(1)
cnc(2)
 
checkpoint 3
27
29
Presentations: Crystal, Elixir, Elm, Julia
course review
 
 
 
 
 
 
May 8 FINAL EXAM    Fri, 8:00-9:40

Sample code from the lectures



In the event of disruption of normal classroom activities due to a flu outbreak or other emergency, the format for this course may be modified to enable completion of the course. In that event, you will be provided an addendum to this syllabus that will supersede this version.