CS2281: Programming in UNIX Semester 3, 2004/05 CS2281: - - PowerPoint PPT Presentation

cs2281 programming in unix
SMART_READER_LITE
LIVE PREVIEW

CS2281: Programming in UNIX Semester 3, 2004/05 CS2281: - - PowerPoint PPT Presentation

CS2281: Programming in UNIX Semester 3, 2004/05 CS2281: Programming in UNIX p.1/13 Syllabus C Programming UNIX Shell Programming UNIX Systems Call Programming Tools CS2281: Programming in UNIX p.2/13 Goals Get


slide-1
SLIDE 1

CS2281: Programming in UNIX

Semester 3, 2004/05

CS2281: Programming in UNIX – p.1/13

slide-2
SLIDE 2

Syllabus

  • C Programming
  • UNIX Shell Programming
  • UNIX Systems Call
  • Programming Tools

CS2281: Programming in UNIX – p.2/13

slide-3
SLIDE 3

Goals

  • Get familiar with UNIX programming

environment

  • Learn the philosophy of UNIX

CS2281: Programming in UNIX – p.3/13

slide-4
SLIDE 4

Teaching Style

  • Student centered learning
  • No lecture notes
  • Lots of demo - source code and video

recording will be distributed.

CS2281: Programming in UNIX – p.4/13

slide-5
SLIDE 5

Learning Style

  • Nothing to remember (open book tests

and exams).

  • Learning by doing and refering to

references.

  • When in doubt, write small program to

test.

  • Get your hands dirty!

CS2281: Programming in UNIX – p.5/13

slide-6
SLIDE 6

Time Table

  • Lecture: Mon and Thu, 10am -

12noon, SR1

  • Lab: Fri, 10am - 12noon, PL3
  • Office Hours: Tue, 10am - 12noon,

SOC1, 04-20

CS2281: Programming in UNIX – p.6/13

slide-7
SLIDE 7

Continuous Assessments

  • 50%: Programming Assignments
  • 30%: Two Practical Tests
  • 20%: Final Exam

CS2281: Programming in UNIX – p.7/13

slide-8
SLIDE 8

Plagiarism Warning

  • I practice zero-tolerance policy for

plagiarism.

  • School’s policy: zero mark for

assignment and final grade lowered by

  • ne grade point.

CS2281: Programming in UNIX – p.8/13

slide-9
SLIDE 9

Assessment Principles

  • Ability to write and debug programs in

UNIX

  • Understand the basic concepts of

programming in UNIX

  • Will NOT test on obfuscated language

syntax such as char (*(*x())[])()

  • r "weird" statement such as i = i++.

CS2281: Programming in UNIX – p.9/13

slide-10
SLIDE 10

Working Environment

  • Official programming environment:

sunfire

  • In class demonstration using Intel

machine and Linux.

CS2281: Programming in UNIX – p.10/13

slide-11
SLIDE 11

Website

  • Not using IVLE.
  • Use newsgroup SoC.acad.level2 on

bbs instead of IVLE forum for

discussion.

  • Main website will be

http://www.comp.nus.edu.sg/˜cs2281

CS2281: Programming in UNIX – p.11/13

slide-12
SLIDE 12

Background

  • Java
  • Basic knowledge of using UNIX (ls,

cd, mkdir etc.)

  • Knowledge of a programmer’s editor,

vim or emacs recommended. No pico

please.

CS2281: Programming in UNIX – p.12/13

slide-13
SLIDE 13

C and UNIX

  • Invented together at Bell Labs.
  • C: low-level language for

implementing UNIX

  • UNIX: a simple and elegent OS
  • See "Bell Lab’s History of UNIX".

CS2281: Programming in UNIX – p.13/13