Technion - Israel Institute of Technology  
234122 - Introduction to Systems Programming - מבוא לתכנות מערכות
  Winter 2014-2015 EnglishRussianHebrewArabic  
Announcements

HW4 - runtime issues
Anyone having runtime issues, please add the -O2 compiler flag.
final check script also updated.
Created on 13/1/2015, 20:46:04  
HW4 - Check Script Published
A script performing a final check on your submission file for HW4 was uploaded. See instructions.
It's crucial that you use the script before submitting your final solution.
If you won't make sure your submission is valid using the script, you might FAIL in the automatic check.
Students who won't use this script wouldn't be able to appeal and resubmit.
Created on 12/1/2015, 14:30:05  
For Students Going to Ofer’s Tutorials (Wednesdays):
Please watch this video covering the last slides on polymorphism (that we didn't get to finish in class).
Last updated on 9/1/2015, 20:50:21  
HW4 - Clarification
In the calculation of the determinant, you can initialize the sum to T(), but not to 0
Created on 8/1/2015, 09:13:24  
Important Message for Students Going to Ofer’s Tutorials (Wednesdays):
As mentioned in class, after watching the previous videos, please watch the following one:
Smart Pointers (מצביעים חכמים)

Future tutorials will not be based on it, but please watch it as soon as possible, because it's required for solving HW4 - section 2.3 ("היררכיית מחלקות מספרים").

Also, soon we'll publish a short video covering the last 8 slides of Polymorphism (that we didn't get to finish today).
After watching all the videos - you have everything you need to complete HW4.
Reminder: For your convenience, you can use this Excel file that shows where Ofer's currently at in the tutorials, provides useful info on video availability and indicates which tutorial topics are required for HW4.
Created on 7/1/2015, 17:00:30  
HW4 extension
You can submit the assignment until Monday, 19.1
Created on 5/1/2015, 15:26:36  
Follow-up Message for Students Going to Ofer’s Tutorials (Wednesdays):
Following a previous message, please watch the following 2 videos as well:
STL (ספרית התבניות הסטנדרטית)
Files in C++ (עבודה עם קבצים)

Future tutorials will not be based on the materials covered in these 2 videos. However, please watch them as soon as possible, because they’re required for solving HW4.
After watching all the videos (listed in both messages) you can complete all of HW4 except for section 2.3 ("היררכיית מחלקות מספרים").

For any question regarding the videos, please contact Ofer (ogivoli@cs).

Reminder: See previous message for videos that must be watched before Ofer’s next tutorial (7.1).
Last updated on 4/1/2015, 21:12:57  
HW4 - Correction in file
num_example.out has been corrected.
The updated file is in the t2
Created on 3/1/2015, 19:10:19  
Important Message for Students Going to Ofer’s Tutorials (Wednesdays):
Following our conversation in class, please watch to following 5 videos as a replacement to a complementary tutorial:
1. Operator Overloading (העמסת אופרטורים)
2. Constructions Destructions & Assignments (בנאים, הורסים והשמות)
3. String Example (דוגמה - String)
4. Templates (תבניות)
5. Exceptions (חריגות)

It’s very important that you watch videos 2-5 before our next tutorial (Wednesday, 7.1) - the tutorial will be based on material covered by these videos (If you can’t make it – "Exceptions" is the least important one for the next tutorial).
Very soon another message will follow – asking you to watch additional videos (that our next tutorial won’t depend on, but you’ll need them for HW4).

For your convenience, you can use this Excel file that shows where I'm currently at in the tutorials, provides useful info on video availability and indicates which tutorial topics are required for hw4.

For any question regarding the videos, please contact Ofer (ogivoli@cs).
Tip: download the mp4 video files to your computer and watch them with a video player (like VLC) in a playback speed higher than normal (see top of Excel file for more details).

Happy New Year!
Last updated on 1/1/2015, 10:12:16  
Danny's Complementary tutorial
The Complementary tutorial will be held tomorrow (Wednesday), 12:30-14:30 in Taub 5.
We will use slides from tutorials 9 and 11.
Created on 30/12/2014, 16:09:46  
Sample Exam
Due to popular request, we have uploaded one exam from 2007-08, when Prof. Elber taught the course.
Note that we are not sure whether this is the final version given to the students, or just one of the drafts.
We hope you will find this useful.

The exam files are under "Course Material".
Last updated on 29/12/2014, 14:04:18  
HW2 grades
All grades are now updated.
An Automatic mail had been sent to those who submitted their e-mail for test results.
The test files can be found in ~mtm/public/1415a/ex2/tests
The dry part will be returned to the secretariat soon. A solution together with grading key can be found in the assignment section.

Appeals should be submitted to Danny by mail.
Created on 28/12/2014, 14:04:33  
HW4 - Correction in one file
sm_example.out has been updated to fix a mistake
Created on 28/12/2014, 09:39:54  
Workshops for Ex 4
28.12 (Sun) 16:30-18:30 (Ofer)
31.12 (Wed) 9:30-11:30 (Amir)
6.1 (Tue) 8:30-10:30 (Shlomo)
8.1 (Thu) 12:30-14:30 (Danny)
11.1 (Sun) 16:30-18:30 (Ofer)
14.1 (Wed) 9:30-11:30 (Amir)
Created on 27/12/2014, 18:34:25  
HW4 is online
Submission date is 15/1
The exercise covers some material that has not been taught yet.
It is recommended to start on the first part (matrix) without templates, and generalize later.
Created on 25/12/2014, 16:42:35  
Danny's Complementary tutorial - Update
The Complementary tutorial will be held on Wednesday, 12:30-14:30.
As it seems many students have a midterm on Monday as well.
Created on 25/12/2014, 16:40:29  
Danny's Complementary Tutorial
A Complementary tutorial for Danny's group will be held on Monday at 18:30.
The location will be published later.
We are sorry for the late hour - but it was chosen as many students have a midtern on Sunday, and other classes earlier on Monday.
Created on 25/12/2014, 15:23:47  
HW3 extra help 2
Because the t2 server is very busy in the last hours before the submission we decided to add an extra executable file for windows 64 bit
Notice!!
You can only use it for extreme cases and creating tests - don't forget to check your code on the server every once in while.
Good luck.
Created on 25/12/2014, 19:34:34  
HW3 extra help
Since the submission date is today - Shlomo will answer emails until 1 a.m. (1 hour after the submission time).
As well we have uploaded an executable of the solution that was compiled on the t2 server,
so you can run it on the t2 and check your generated output and test yourself in a more efficient way (especially in extreme cases).
Good luck !
The course staff.

P.S.
running the executable on the t2 is done as you should know by: "./mtm_match".
Created on 25/12/2014, 01:37:03  
HW2 grades
HW2 grades are online.
The tests will be published in a few days, after all students who received extensions due to reserve duty will submit their work.
Students who submitted their email, will receive their execution log when the tests are published.

Appeals should be sent to Danny by mail (danrasin@tx).
Appeals sent before the publishing of the tests, will be ignored.
You may only appeal if your code passed the final check script.

Note that the grade for late submissions (even those who were approved) may appear only in a few days.

The grade for the assignment is calculated with 0.9*wet + dry.
The wet grade is given based on both automatic tests and a manual check.
Created on 22/12/2014, 20:16:19  
HW submissions
Students who are interested in receiving the results of the tests of their homework assignments by email are asked to submit their email addresses.
Please see the instructions in the assignments section.

You are requested to submit the dry part of future assignments with the cover page found in the assignment section.
Created on 17/12/2014, 16:19:37  
Files Update and a Checking Script Published
FYI:
- The FAQ was updated so you are more than welcome to read it.
- The test files were updated - you should re download them.

Also, a checking script was uploaded, and it is crucial that you use it before handing in your work.
It checks that your submission is legal so if you won't use it you might FAIL in the automatic check.
Students who won't use this script wouldn't be able to appeal and resubmit like HW1.
An information file about the script can be found under the assignment in the website.

Good luck and Happy Hanuka,
The course staff.
Last updated on 16/12/2014, 03:06:15  
HW1 - Allowing Students to Resubmit
We’ve decided to allow students to do minor corrections and resubmit HW1, with a penalty of at least 30 points (i.e. 30 points will be reduced for a small single-line correction, and the penalty will be larger for a more significant correction).
So you can’t get more than 70 on HW1 if you choose to resubmit. Those interested should send an email to Ofer (ogivoli@cs) BEFORE spending time on correcting their solution. Explain in your email the correction(s) you’re willing to make.
In future assignments - do NOT forget to run the final check script (one for HW3 will soon be published), and test your solution thoroughly.
Last updated on 13/12/2014, 19:10:19  
HW1 grades
The grades for HW1 were published. Sorry for the delay, we had to wait for late submissions due to MILUIM.

The tests used for checking your submissions can be found on T2 at:
~mtm/public/1415a/ex1/tests

There are 67 tests:
Tests 1-42 used the MainDirectory published as an example (“MainDirectory1”). For each failed test 2 points were reduced.
Tests 43-67 used another MainDirectory (“MainDirectory2”). For each failed test 1 point was reduced.
Also – 5 points were reduced for each day your submission was late (excluding Saturday).
The official solution is available at:
~mtm/public/1415a/ex1/solution

Appeals can be sent to Ofer by email (ogivoli@cs) until 21/12/2014 23:55. If you’ve failed tests on the final check script published with the assignment - make sure you understand why before appealing. We can't process appeals about mistakes made due to not running the final check script. We generally can’t accept code corrections.
You can see which tests you've failed in the following excel file (search for the last 4 digits of your ID):
~mtm/public/1415a/ex1/grades/grades.xlsx
Created on 7/12/2014, 13:44:35  
HW 3 relaxation
Due to confusion the use of qsort when sorting the list is NOT a mandatory.

Have a good week,
The course staff :)
Created on 6/12/2014, 17:26:42  
HW3 update
Please notice that the pdf was updated,
two more insertion functions to the list were added and some explanations were updated.

the functions that were added are:
- listInsertBeforeCurrent
- listInsertAfterCurrent

Good luck,
The course staff.
Last updated on 1/12/2014, 21:47:50  
HW3 workshops clarification
The dates and times of the workshops are:

2.12 (Tue) 8:30-10:30 (Shlomo)
4.12 (Thu) 12:30-14:30 (Danny)
7.12 (Sun) 16:30-18:30 (Ofer)
10.12 (Wed) 09:30-11:30 (Amir)
22.12 (Mon) 10:30-12:30 (Danny)
23.12 (Tue) 8:30-10:30 (Shlomo)
Created on 29/11/2014, 00:27:59  
HW3 is online
submission date is 25.12
The material to solve the whole assignment will be taught next week,
but you can start working on the dry part of the assignment and designing
the second part of the wet part.
It is considered as big assignment so you have a month to solve it,
please begin to work as early as you can so you could use the TAs help.

Workshops will be given in the next 2 weeks:
The workshops will take place at the PC farm, room 018
(Tue) 8:30-10:30 (Shlomo)
(Thu) 12:30-14:30 (Danny)
(Sun) 16:30-18:30 (Ofer)
(Wed) 09:30-11:30 (Amir)
As mentioned You are welcome to think together in the workshops
about the designing concepts and ask the TAs for help,
take in to considerations that the TAs can't help you with implementation details.

The verification scripts for this assignment will be uploaded later and a message will be sent about it.

Good luck,
The course staff
Created on 27/11/2014, 23:56:46  
Tutorial location change
Danny's Tutorial (Monday's group) is moved to Ulman 304.
Created on 23/11/2014, 15:10:09  
Ofer's tutorials are moving to a new location
Ofer's tutorials (Wednesdays 14:30-16:30) will move to Taub 8 (permanently) - starting this Wednesday.
Created on 17/11/2014, 13:49:10  
Important Message for Students Going to Ofer’s Tutorials (Wednesdays):
Please watch the screen-recording videos made by Ofer, available at:
http://tx.technion.ac.il/~mtm/semesters/1415a/auxiliary/screen-recordings/tutorial_03_04/

Ofer’s next tutorial (19.11) will start from tutorial 4 - slide 10 (the videos cover the material up to that point).
Note that you should watch these videos before starting to work on HW2.

For any questions/problems regarding the videos please contact Ofer (ogivoli@cs).
Created on 14/11/2014, 01:45:43  
HW2
HW2 is online.
submission date is 27.11

Workshops for assignment 2 will be given in the next 2 weeks:
The workshops will take place at the PC farm, room 018
18.11 (Tue) 8:30-10:30 (Shlomo)
20.11 (Thu) 12:30-14:30 (Danny)
23.11 (Sun) 16:30-18:30 (Ofer)
26.11 (Wed) 09:30-11:30 (Amir)
Created on 13/11/2014, 20:43:15  
Lecture location change
The lectures are moved back to Taub 1.
The change is permanent
Created on 9/11/2014, 16:57:02  
HW1 (Bash)
The HW1 (Bash) assignment was modified in order to make the get_users_with_hobby script easier to implement. If you already have a working script - no changes are necessary, and you can ignore the rest of this message.

The modification is the following: you may now assume that each hobby (i.e. each line in the hobbies.txt files) is a string of one or more characters, each character being an English letter (either lower-case or upper-case) or a space. Note that a sequence of multiple spaces is possible. Before this modification, any non-newline character was possible. Note that the published “main directory” example and tests were not modified – as they don't conflict with this new assumption.
Last updated on 8/11/2014, 20:27:57  
HW0 grades
HW0 grades are online
Most students handled this assignment perfectly.

Most common major mistakes were:
* submitting files with wrong names (any name other than part1.c and mtm_buggy.c)
* placing the files inside an inner directory in the zip file.
Common minor point reductions were due to bad memory handling.

Following the submission instructions is important - and we will accept no appeals for such mistakes.
Please make sure you follow the exact submission instructions in future assignments.

You can appeal only if you followed the exact submission instructions AND your code passes the tests initially provided with the assignment.
Any other appeal with be automatically rejected.

Appeals should be submitted to Danny by mail (danrasin@tx)
Created on 7/11/2014, 14:25:18  
Workshops
Workshops for assignment 1 will be given in the next 2 weeks:
The workshops will take place at the PC farm, room 018
4.11 (Tue) 8:30-10:30 (Shlomo)
6.11 (Thu) 12:30-14:30 (Danny)
9.11 (Sun) 16:30-18:30 (Ofer)
12.11 (Wed) 09:30-11:30 (Amir)
Created on 3/11/2014, 11:01:02  
HW1 (Bash)
HW1 is online.
Submission date is 13.11 (Thursday) at 23:55.
A separate message regarding workshops will follow.
Created on 31/10/2014, 04:25:01  
Important Message for Students Going to Ofer’s Tutorials (Wednesdays):
Please watch the screen-recording videos made by Ofer, available at:
http://tx.technion.ac.il/~mtm/semesters/1415a/auxiliary/screen-recordings/tutorial_01_02/

Ofer’s next tutorial (5.11) will start from tutorial 2 - slide 35 (the videos cover the material up to that point).
Note that you should watch these videos before starting to work on HW1 (Bash).

For any questions/problems regarding the videos please contact Ofer (ogivoli@cs).
Last updated on 31/10/2014, 03:16:02  
complementary lecture update
The complementary class planned for Sunday Nov 2nd, 16:30-18:30 is shifted one
hour to 17:30-19:30 due to the request of students that take an EE class at the same time.
Created on 29/10/2014, 12:46:58  
Some updates regarding HW assignments
1. The F.A.Q section for HW0 is now open. Please make sure to be updated.
2. We provide you with a script in order to check the correctness of your submission file.
You can find the script under ~mtm/public/1415a/ex0/final_check
Usage: final_check your_zip_file_name
You can find a more detailed description under the assignments section.
NOTE THAT following the exact submission instructions is under your responsibility, even if the script did not detect any error.
3. Please make sure to read the "General HW info" under course material
4. You can now find the full HW schedule under the Events section.
Created on 24/10/2014, 16:56:39  
HW0
HW0 is online.
submission date is next Thursday - 30.10.
There will be 2 workshops next week to help with this assignment:

Ofer - Sunday 26.10, 16:30-18:30
Amir - Wednesday, 29.10 9:30-11:30

The workshops will be held at the pc-farm at room 018
Created on 23/10/2014, 17:01:59  
Lecture location change (again)
The lectures will now be held at Taub 7.

In the next week (27/10) there will be no lecture.
A complementary lecture will be held on Sunday 2.11 at 16:30 (Taub 7)
The lecture on 3.11 will take place as usual.
Created on 21/10/2014, 14:32:07  
Lecture location change
The lecture will be held at Taub 1 (and not Taub 2 as it appears in UG)
This is a permanent change.
Created on 19/10/2014, 14:43:43  
First week announcement
Danny's tutorial on Monday morning will be held as usual, as the material for the first tutorial is independent of the first lecture.
Shlomo will hold a complementary tutorial for Sunday's group on Wednesday 22\10 at 12:30, Taub 5.
Sunday's group will miss a tutorial on the 14/12 (the week of Hanukkah).
Created on 19/10/2014, 11:10:30  
Welcome to Introduction to System Programming (מת"מ) - Winter 2014-2015
This is the first mail from the "Introduction to Systems Programming " (234122) course staff in the semester of Winter 2014-2015.
Every student registered to the course, should get this mail. All the information you need appears at the course webpage at http://webcourse.cs.technion.ac.il/234122/

The course announcements, notifications, changes etc., will be published on the webpage and through this mailing list. It is your responsibility to be updated and to check from time to time for new information posted on the webpage.

The lecture and tutorial slides can be downloaded from the "Course Material" section.
You can use the "Find a partner" section to find partners for the homework assignments.
The lecture hours and the email addresses of the staff appear in the "Staff" section (the office hours will be published soon). Please contact us if you have any problems and we will do our best to resolve them.

We wish you a fruitful and enjoyable semester.
Created on 14/10/2014, 17:27:53