CS1602Introduction to Computation

Syllabus

Shanghai Jiao Tong University · CS1602 Introduction to Computation · Fall 2026

Lecture

32 hours · 16 sessions

Tuesday 10:00–11:40 · Dongshangyuan 411

Lab

32 hours · 16 sessions

Tuesday 18:00–19:40 · Dongshangyuan 411

How the course is organized

PART 1

Foundations of Computation

Closes on:Write a complete program on your own, using input, branching, loops and functions

PART 2

Built-in Data Structures

Closes on:Pick the right container for a problem and work with data in bulk

PART 3

Problem Solving with AI

Closes on:Break a problem apart, and read, review and verify code written by someone else — including an AI

PART 4

Abstraction and Organization

Closes on:Structure a medium-sized program with classes and modules

PART 5

Robustness and the Real World

Closes on:Reason about efficiency, handle failure, and work with messy real data

PART 6

Pythonic Python and Modern Practice

Closes on:Write Python that reads like Python, and deliver a real project with AI in the loop

Assessment

ComponentWeight
Weekly homework10%
Three solo assignments15%
Team project25%
Final exam (closed book)50%

Term calendar

WeekDatesLectureLabMilestone
115 SeptL1 Computation, Machines and LanguagesLab 1
222 SeptL2 Characters and NumbersLab 2
329 SeptL3 Strings, Variables and I/OLab 3
410 Oct(rescheduled)L4 Conditions, Loops and FunctionsLab 4
513 OctL5 ListsLab 5
620 OctL6 Tuples, Dictionaries, Strings and SetsLab 6
727 OctL7 RecursionLab 7Solo assignment 1 opens · Hanoi
83 NovL8 AI-Assisted Programming I: Reading, Reviewing, TrustingLab 8Solo assignment 1 due · AI policy moves to Level 1
910 NovL9 Classes I: Objects and EncapsulationLab 9
1017 NovL10 Classes II and ModulesLab 10Solo assignment 2 opens · primes
1124 NovL11 Complexity, Exceptions and TestingLab 11Solo assignment 2 due
121 DecL12 Randomness, Text and FilesLab 12Solo assignment 3 opens · big integers
138 DecL13 Iterables and GeneratorsLab 13Solo assignment 3 due
1415 DecL14 Functions, Functional Programming and ScopeLab 14Team project opens
1522 DecL15 AI-Assisted Programming II: From Prompt to ProjectLab 15AI policy moves to Level 2
1629 DecL16 Multitasking, Review and Beyond—Team project due