Welcome to CPSC 206 Structured Programming in C. Instructor: Yu Chen Office:H.R. Bright Room 419 D Office Phone:

Slides:



Advertisements
Similar presentations
CGS 1000-SPRING 2008 Introduction to Computers and TechnologyIntroduction to Computers and Technology.
Advertisements

Introduction to CS170. CS170 has multiple sections Each section has its own class websites URLs for different sections: Section 000:
CS 262: Programming Languages Spring Quarter 2011.
Welcome to MAT 170. Basic Course Information Instructor Office Office Hours Beth Jones PSA 725 Wednesday and Friday 10:40 am – 11:30 am and by appointment.
1 Structured Programming in C Welcome to CPSC 206.
CS – 600 Introduction to Computer Science Prof. Angela Guercio Spring 2008.
OBJECT ORIENTED PROGRAMMING I LECTURE 1 GEORGE KOUTSOGIANNAKIS
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistants: Hailong Cai & Zhimin Wang Department of Computer Science & Engineering University of Nebraska-Lincoln.
CS 315 Theory of Programming Languages Winter Quarter 2015.
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistant: Mr. Sheng Zhang Department of Computer Science & Engineering University of Nebraska-Lincoln Classroom:
1 Are you ready?. 2 Professor: Vladimir Misic Office : Phone: Office Hours : Mon, Tue; 2:00pm – 4:00pm Website :
COP4020/CGS5426 Programming languages Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: T, H 10:00am – 11:30am Class website:
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
Computer Science 2211b Software Tools and Systems Programming.
CS 3305 Course Overview. Introduction r Instructor: Dr Hanan Lutfiyya r Office: MC 355 r hanan at csd dot uwo ca r Office Hours: m Drop-by m Appointment.
Bala Kappagantula CGS 1000 Introduction to Computers and Technology Fall 2007.
Welcome to CS 3331, Advanced Object-Oriented Programming Fall 2009 Dept. of Computer Science University of Texas at El Paso.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
COMP Introduction to Programming Yi Hong May 13, 2015.
Lecture 1 Page 1 CS 111 Summer 2015 Introduction CS 111 Operating System Principles.
Course name : computer essentials. Instructor: Basma Alabdullatif Office: computer department instructors office, 1st floor Office hours: Saturday (11:00-01:00)
+ BIOL 103, Introduction to Nutrition Course Syllabus Outline.
How to be an online student. How does it work? An online course follows a schedule and syllabus with due dates for assignments (just like an on-campus.
CST 229 Introduction to Grammars Dr. Sherry Yang Room 213 (503)
MAT 3724 Applied Analysis Fall 2012
1 Software Systems Development CEN Spring 2011 TR 12:30 PM – 1:45 PM ENB 116 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Welcome to CS 221! First Course in Computer Science for Engineers.
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Programming In Perl CSCI-2230 Thursday, 2pm-3:50pm Paul Lalli - Instructor.
CGS 1000-FALL 2009 Intro to Computers & Tech. Topics  Syllabus  Faculty Website  Campus Cruiser Introduction to Computers and Technology.
Course Information Andy Wang Operating Systems COP 4610 / CGS 5765.
Introduction to ECE 2401 Data Structure Fall 2005 Chapter 0 Chen, Chang-Sheng
11/29/2015Elke A. Rundensteiner -- CS5421 Database Management Systems CS Fall 2012 Instructor: Elke Rundensteiner
ICS202 Data Structures King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
COP4610/CGS5765 Operating Systems Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: W M F 9:10am – 10:00am, or by appointments.
C Programming Lecture 1 : Introduction Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang University.
CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171
COP 1000-SPRING 2009 Programming Logic. Topics  Syllabus  Faculty Website  Campus Cruiser  Alice Programming Logic.
King Saud University1 CSC 112 Java Programming I Introduction.
Data Structures and Algorithms in Java AlaaEddin 2012.
Information Retrieval CIS-462 Dr. Samir Tartir 2013/2014 First Semester.
Computer Networks CNT5106C
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistant: Ms. Yuanyuan Lu Department of Computer Science & Engineering University of Nebraska-Lincoln Classroom:
ICS 151 Digital Logic Design Spring 2004 Administrative Issues.
Computer Network Fundamentals CNT4007C
Course Overview - Database Systems
Computer Engineering Department Islamic University of Gaza
CSc 020: Programming Concepts and Methodology II
ECE 533 Digital Image Processing
Computer Networks CNT5106C
IT 130 The Internet and The Web
Computer Science 102 Data Structures CSCI-UA
Welcome to CS 1010! Algorithmic Problem Solving.
Computer Networks CNT5106C
Course Overview - Database Systems
Andy Wang Operating Systems COP 4610 / CGS 5765
Welcome to CS 1010! Algorithmic Problem Solving.
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
C Programming Lecture 1 : Introduction
C Programming Lecture 1 : Introduction
Computer Networks CNT5106C
Course Overview CSE5319/7319 Software Architecture and Design
Andy Wang Operating Systems COP 4610 / CGS 5765
Information Retrieval CIS-462
Computer Engineering Department Islamic University of Gaza
Presentation transcript:

Welcome to CPSC 206 Structured Programming in C

Instructor: Yu Chen Office:H.R. Bright Room 419 D Office Phone:  Office Hours:TR 2-3PM other times by appointment  Lecture:TR 08:00-09:15 AM, HRBB 124  Website URL: CPSC206.htm

TA

In today’s lecture:  Course Description  Lecture Topics  Class Policy  Getting Started Scholastic Dishonesty Assignments Examinations Grade Policy Vote

Course Description  CPSC206: Structured Programming in C Basically, we need to write a set of instructions. By following this set of instructions, a computer can perform a desired task. How to use a computer to perform the task?

Course Description Which language should be used to write the instructions? Programming Language Programming Language: Language with which we can communicate with the computer. Programming We call the process of specifying steps for a computer to perform a desired task as Programming. —— CPSC206: Structured Programming in C

7 Course Description To write instructions using C for the computer to perform a desired task. Required text:C by Dissection Required text: A. Kelly and C. Pohl, C by Dissection, 4th Ed., Benjamin Cummings, —— CPSC206: Structured Programming in C Language features of C Programming techniques Methods of documentation Solution development for desired task

Lecture Topics: 0. Introduction to Computer Science 1. Overview of CCh 1, 2 2. Flow of control and functionsCh 3, 4 3. Character processing & fundamental data typesCh 5, 6 4. File I/O Ch Pointers, Arrays, and StringsCh 8, 9, Structures, and linked listsCh 12 Features of C: 7. Enumeration type and storage classesCh 7, 8 8. RecursionCh 11

Class Policy —Scholastic Dishonesty NOT  Scholastic dishonesty will NOT be tolerated.  Assignments: Working together on assignments can be a meaningful learning experience, individual BUT the final product submitted must be the work of the individual student submitting the material. NOT  Examinations: Offering to, or receiving any assistance from, a student will NOT be tolerated.  Any identified incident of scholastic dishonesty will be dealt with severely.

Class Policy — Assignment  All assignments will be announced in class and posted on the course web page.  Late Turn-in Policy: in advance  If you cannot turn in an assignment on time, discuss the situation in advance with the instructor.  Assignments should be submitted on or before the due day.  Assignment grades will lose 10% for each day late, up to a maximum loss of 100% (i.e., 10 days late)

Class Policy — Assignment  DO NOT  DO NOT copy other’s assignment!  Otherwise, the grade = (-3) * the original grade.  For example: Bob gets a grade 99 for Assignment 4, but he is caught copying other’s assignment. Thus his grade for Assignment 4 is (-3) * 99 = -297

If Bob did not submit the assignment Total scores: = Average score:439/6=73.16 Class Policy — Assignment Assume Bob’s grades for other five assignments are: 98, 87, 67, 99, 88  Then his final grade for the assignments is 142 Total scores: = Average score: 142/6=23.67 It is worse than receiving a zero grade

Class Policy — Examinations  3 midterm exams  There will be a exam review session before each midterm exam.  The schedule will be announced one week ahead in class. 1 comprehensive final exam Any student caught cheating on exam will receive a failing grade.

Class Policy — Final Grade  Grade of Assignments grade of assignments = (Assign1 + Assign 2+ ……+Assign k) / k

Class Policy — Final Grade  Grade of Examinations: sum_mid = midterm 1+ midterm 2 + midterm 3; min_mid= min { Midterm 1, Midterm 2, Midterm 3 }; If (min_mid <= Final) then grade_of_exam = (sum_mid-min_mid+2*Final)/4; else grade_of_exam = (sum_mid +Final)/4; Policy 1:

Class Policy — Final Grade  Grade of Examinations: grade_of_exam = (midterm 1+ midterm 2 + midterm3+Final)/4; Policy 2: Vote: Policy 1 or Policy 2?

Class Policy — Final Grade  Final grade: 30%*grade of assignment + 70%*grade of exam  Final grades will be assigned as follows:  A  80-89B  70-79C  60-69D  below 60F The grade cutoffs might be lowered to accommodate the actual distribution of grades.

Getting Started  Get an account from Computer Science department.  HRBB 210 

Getting Started  Most of the assignments will be done on Unix.  How to connect to a Unix machine from a Windows machine?  Basic Unix commands.  How to edit a file on a Unix machine?  How to turn in an assignment?

Getting Started — Connect to Unix  Connect to a Unix machine using PuTTY.   Follow the instructions of part (b) to connect to i nteractive.cs.tamu.edu

Getting Started — Basic Unix  A useful website provided by helpdesk   Unix is case-sensitive.  Basic Commands: cd dirname: Change directory pwd: Tells you which directory you are currently browsing ls: Lists your files mkdir dirname: Creates a directory vi filename: Edits a file cp file1 file2: Copies a file exit: Ends your SSH session

Getting Started — Unix-based Editor  Two commonly used editors are  Pico:  Vi:

Getting Started — Turnin turnin  Assignments will be turned in via turnin command  turnin classid filelist classid is course_number-section-number filelist is a space separated list of files to be turned in. Example turnin demo1  You can check whether the file is correctly turned in by turnin –c classid Example turnin –c