15 דק׳

סילבוס, בחינות וציונים

מה הקורס מכסה, שתי הבחינות החיצוניות, איך בנוי הציון, ואיפה נמצא החומר.

באנגלית בלבד

השיעור הזה כתוב באנגלית בלבד.

What you will learn

This course follows the Ministry of Education curriculum for high-level language (שפה עילית), subject code 11.9006, for grade 13 in electronics and computer engineering. By the end of the course you will be able to:

  • Think like a programmer: break a task into steps, write it as an algorithm, and turn the algorithm into an organized program.
  • Write a C program: the main function, variables, data types, formatted input and output.
  • Control the flow of a program: decisions (if, else, switch) and loops (for, while, do-while), and build correct, efficient algorithms with them.
  • Work with arrays and strings: one- and two-dimensional arrays, searching and sorting.
  • Understand memory: addresses, pointers, pointer arithmetic and dynamic memory (malloc, free).
  • Build data structures with struct and union, and save and load data with files.
  • Find and fix bugs (debugging): errors the compiler reports, and errors that only show up while the program runs.
  • Write clean code: clear names, consistent indentation, comments, code that others can read.

The units

UnitTopic
1Introduction to C: what programming is, from bits to C, Visual Studio and the first program
2Variables and arithmetic
3printf and scanf: formatted input and output
4Conditions and decisions
5Advanced decisions and test design
6Loops: while, for, do-while, break, continue
7Functions and program decomposition
8Arrays, strings and sensor data
9Two-dimensional arrays
10Sorting algorithms and efficiency
laterPointers, struct and union, files

Every unit has lessons (a written page and a presentation) and a practice page with questions and full answers. Every lesson page and every presentation has a PDF button, so you can download and print it.

Two external exams

The course ends with two external exams, each with its own grade.

The written exam (questionnaire 711911). The high-level-language part has three questions, and you must answer at least one. During the exam you get a C formula sheet (נוסחאון בשפת C): data types and their ranges, operators, printf and scanf, if statements and loops, arrays, strings, functions, pointers, structs and files. Get to know it early. An exam from spring 2023: 711911.pdf.

The lab exam. You sit at a computer in front of an examiner and write one of the lab experiments we practiced in class. The list of experiments is known in advance (see Lab experiments), but the one you get is drawn at random. So you need to be able to write all of them on your own, and fix errors on the spot.

Grades

CourseHow the grade is built
TheoryMidterm exam 30%, final exam 70%
LabThe external lab exam: writing and running programs at the computer. A practice lab exam (מבחן מגן) comes first

Both courses may include extra quizzes and assignments, at the teacher's discretion.

Books

  • Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, 2nd edition. Written by the people who created C.
  • K. N. King, C Programming: A Modern Approach, 2nd edition.
  • David Griffiths and Dawn Griffiths, Head First C.
  • Zed A. Shaw, Learn C the Hard Way.
  • Greg Perry and Dean Miller, C Programming Absolute Beginner's Guide, 3rd edition.