13
CST 223 Concepts of Programming Languages Dr. Sherry Yang Dr. Sherry Yang PV 171 PV 171 http://www.cset.oit.edu/~yangs/CST2 23 [email protected] [email protected]

CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

Embed Size (px)

DESCRIPTION

3 Office Hours ä MW 11:00 – 11:50, 1:00 – 1:50, W 3:00 – 5:00 ä Please me if you have questions. ä Spring is my busy travel term. I might be gone on some Thursdays and Fridays.

Citation preview

Page 1: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

CST 223Concepts of Programming

Languages

Dr. Sherry YangDr. Sherry YangPV 171PV 171

http://www.cset.oit.edu/~yangs/[email protected]@oit.edu

(541) 885-1594(541) 885-1594

Page 2: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

2

Course Description

This course introduces students to the fundamental concepts of programming languages. In particular, it concentrates on concepts that are not typically found in traditional languages to which they have already been exposed. It discusses and compares features of several popular programming paradigms such as imperative, object oriented, functional, and logic programming.

Please see the course syllabus on the course webpage for a list of topics.

Page 3: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

3

Office Hours

MW 11:00 – 11:50, 1:00 – 1:50, W 3:00 – 5:00 MW 11:00 – 11:50, 1:00 – 1:50, W 3:00 – 5:00 Please email me if you have questions. Please email me if you have questions. Spring is my busy travel term. I might be gone Spring is my busy travel term. I might be gone

on some Thursdays and Fridays. on some Thursdays and Fridays.

Page 4: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

4

Evaluation Methods

The final grade, which may range from A to F, is The final grade, which may range from A to F, is determined by a composite evaluation of the determined by a composite evaluation of the student's performance in:student's performance in:

Midterm Midterm 15%15%FinalFinal 20% 20% LabsLabs & Homework& Homework 45%45%Project (Team) Project (Team) 10%10%In-Class Exercises (Attendance)In-Class Exercises (Attendance) 10%10%

Page 5: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

5

Grading

Your grade will be calculated as follows:*92%+ = A83%+ = B70%+ = C60%+ = D59%- = F

* Class participation will be considered in evaluating "borderline" grades.

Page 6: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

6

Textbook

TextText Sebesta, Robert “Concepts of Programming Sebesta, Robert “Concepts of Programming

Languages”, 9Languages”, 9thth ed., Addison-Wesley, 2010 ed., Addison-Wesley, 2010 Earlier editions are just fineEarlier editions are just fine Homework problems might be numbered differently in Homework problems might be numbered differently in

earlier editions. Refer to scanned textbook pages on earlier editions. Refer to scanned textbook pages on website for correct numbers. website for correct numbers.

Page 7: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

7

Student Responsibilities Lecture and Lab Attendance:Lecture and Lab Attendance:

Students are expected to attend all class sessions and Students are expected to attend all class sessions and labs. If you know you will be absent on a certain day, labs. If you know you will be absent on a certain day, please inform the instructor in advance so arrangements please inform the instructor in advance so arrangements can be made to provide you with the material covered. can be made to provide you with the material covered. Please make every effort to attend all class sessions. Please make every effort to attend all class sessions. There will be no make up in-class exercises. There will be no make up in-class exercises.

CSET Rule: No Laptops are allowed during lecture. CSET Rule: No Laptops are allowed during lecture. No cell phones & texting. No cell phones & texting. It might be helpful to have your own laptop in labIt might be helpful to have your own laptop in lab

Page 8: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

8

Student Responsibilities

Tests and Final Exam:All tests are open book, open notes. No electronic

devices are allowed. There will be no make up tests unless there is an

emergency. If you miss the midterm for any reason, the weight of the test will be added to the final. No excuses are necessary.

In case of emergency, please contact Vice President of Student Affairs, Dr. Erin Foley’s office. She will inform all of your instructors.

Page 9: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

9

Academic Dishonesty:Academic Dishonesty: No plagiarism or cheating is allowed in this class. No plagiarism or cheating is allowed in this class.

Please refer to your student handbook regarding Please refer to your student handbook regarding policies on academic dishonesty. A copy of the policies on academic dishonesty. A copy of the policy is posted on the class webpage. policy is posted on the class webpage.

It is okay to get help on your assignments. Please It is okay to get help on your assignments. Please acknowledge all source of help, including them in the acknowledge all source of help, including them in the program documentation as appropriate. program documentation as appropriate.

It is NOT okay to use published instructor’s manual It is NOT okay to use published instructor’s manual for the textbook. for the textbook.

Student Responsibilities

Page 10: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

10

Homework & Labs:All homework assignments are typically due in class.

All labs are due at the beginning of next lab period. There is a 50% penalty for late labs and There is a 50% penalty for late labs and

homework assignments. homework assignments.

Student Responsibilities

Page 11: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

11

Accommodations for Students with DisabilitiesIf you have a disability and feel that you may need

accommodation in this course, please speak with the instructor as soon as possible.

Page 12: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

12

Introductions

Pair up with another person in the class. Get some information about the person (5 mins)

Name, Major, Year in schoolHobbies and interesting things about her/him

Introduce the person to the class.

Page 13: CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171

 function bar(pf, s, vect)  {  if (vect.length == 1) {                 return pf(vect[0], s);   } else {    return bar(pf, pf(vect[0], s), vect.slice(1,vect.length));    }}

In-Class Exercise #1

Guess what this function does?