Ontario • Grade 11

Introduction to Computer Science, ICS3U (Grade 11, Ontario): chapters and exercises

Introduction to Computer Science, ICS3U, is the Grade 11 university preparation computer science course of the Ontario curriculum, and the prerequisite for ICS4U. It has four strands: programming concepts and skills, software development, computer environments and systems, and topics in computer science. The curriculum prescribes no programming language; the exercises here are written in Python 3, the most common choice. Each chapter below has a set of exercises solved step by step, traces, predicted output, bugs to fix and functions to write, and a revision sheet of the traps that cost marks.

11 fully corrected exercise sets (128 exercises), 11 revision sheets, and a practice paper. Free, no account needed.

Programming concepts and skills

  1. 1 Variables, data types and expressions Ten exercises and two lists of direct calculations on the first chapter of ICS3U, in Python: trace tables of assignments, the order of operations with ** and /, the type of each variable, input() that joins 12 and 30 into 1230, the IPO chart of a program, then an exchange of two values that loses one, a pace calculator to correct, five statements to correct, a recipe scaled with // and a time-lapse program to write. Sheet
  2. 2 Selection: if, elif, else and Boolean logic Ten exercises and a list of direct calculations on selection in ICS3U, in Python: truth tables and De Morgan's laws, a triangle classifier traced through its cascade, choice == 1 or 2 that is always true, < against <= at a baggage counter, separate if statements on a phone battery, then a climbing wall rule rewritten as one condition, an unreachable branch, five statements to correct, a greenhouse test plan and a time-of-use price program to write. Sheet
  3. 3 Repetition: for and while loops Ten exercises and a list of direct calculations on repetition in ICS3U, in Python: range and its stop value, a trace table with a total and a count, a while loop traced test by test, four loops of which three never end, a for variable changed in the body, then the seat labels of a hall in nested loops, a sentinel at a food bank, five statements to correct, a free-throw simulation and the load limit of an elevator. Sheet
  4. 4 Strings and built-in subprograms Ten exercises and two lists of direct calculations on strings and built-in subprograms in ICS3U, in Python: a course code read by indices and slices, a username that strip() does not change, randint against randrange, a masked student number, a bike-share receipt, bids compared as text, train times, five statements, a transposition cipher and a DNA strand. Sheet
  5. 5 One-dimensional arrays Ten exercises on one-dimensional arrays in ICS3U, in Python: cells, indices and bounds, an array traced line by line, a traversal that goes one index too far, for x in a that changes nothing, b = a that does not copy, then an array filled from the keyboard, the parallel arrays of a school bus route, five statements to correct, a thermostat schedule copied and the levels of a parking garage. Sheet
  6. 6 Array algorithms Ten exercises on array algorithms in ICS3U, in Python: count and total, the largest value and its index, linear search and its comparisons, insertion into a sorted array, deletion from the middle, then three faulty searches, a soccer season with a maximum started at 0, five statements to correct, an arcade high-score table and a ski trip waitlist. Sheet
  7. 7 Functions, parameters and scope Ten exercises on writing subprograms in ICS3U, in Python: nested calls and the call stack, a shipping cost that comes back as None, local and global names, an UnboundLocalError on dance tickets, pixels changed in place, distances with hypotenuse(), swapped arguments on unit prices, five statements, is_prime() and a program cut into functions. Sheet

When the chapters are done

A full paper under exam conditions. Do it once the chapters it covers are behind you: it measures what you can do on a question you have never seen.

Practice exam

Practice final exam, ICS3U

A two-hour practice final for ICS3U, in Python, ten questions and 100 marks on the programming, software development and computer systems strands of the course, each labelled with its category of the Ontario achievement chart: data types and a podcast timer, binary and ASCII, components and backups, the postal code of a shipping label, a cross-country race in arrays, a paint calculator built from functions, a phone's Do Not Disturb mode, the levels of a video game, the test plan of a class trip program and the design of a volleyball league app. The full solution is under every question.

  • 10 questions
  • 100 points
  • 120 minutes
Sit the paper

The other Grade 11 courses, and how a session works: Ontario courses and tutoring

Looking for a tutor?

Get in touch for a first session, online or in Montreal. We work on exercises set at the real level of your unit tests and final exam.

Site by Studio Squalli