Computer Programming (Thu) 2022
News
(1/4) The results of the final exam. (answer paper)
If there is a problem with the calculation of grades, please contact the teaching assistants, Ian or Alan. If you have other problems, please contact the teacher.
(12/27) The results of Assignment5.
All negative scores will be treated as zero when computing the semester grades.
If the accuracy is not 100, this means for some inputs your program generates incorrect outputs. You are suggested to test your program with ALL the input-output samples.
-1 means that your program cannot be compiled.
-2 means index out of range.
For example, suppose the vector size of scores is 4. Using the expression scores.at(4) will cause index out of range.
-3 means that the output format of your program is wrong.
-4 means runtime error.
-5 means that your program throws an instance of 'std::length_error'.
Accuracy 1 and Accuracy 2 are accuracies for add_item() and modify_item(), respectively.
(12/22) Quiz results.
The quiz in each week has 3 questions, and each question is worth 25 points. Attendance is worth 25 points. The total points of a quiz are 100.
Final Exam
12/22, 9:10 am @ EC 3012 (seating plan)
paper-and-pencil exam, closed-book, calculators and mobilephones are not allowed
Exam scope: materials covered between 11/03 ~ 12/15
(12/15) The results of Assignment4.
If the accuracy is not 100, this means for some inputs your program generates incorrect outputs. You are suggested to test your program with input-output samples. The outputs of your program should be EXACTLY THE SAME as those in the input-output samples.
-2 means index out of range.
For example, suppose the array size of scores is 6. Using the expression scores[i] for i >= 6 will cause index out of range.
(12/15) live stream: https://youtu.be/Fna0iNNSucA
(12/8) live stream: https://youtu.be/kctoML9BSMU
On 12/8, the teaching evaluation survey will be conducted, and the class will have a roll call. If you attend the class online, please leave a message in the live web chat to reply to the roll call. If the roll call is not answered, the semester grades will be affected. (點名未到會影響學期成績)
Assignment 5 is announced, and the due date is 12/23.
You must follow the rules under Grading Policy to send assignments.
(11/29) The results of Assignment3.
If the accuracy is not 100, this means for some inputs your program generates incorrect outputs. You are suggested to test your program with input-output samples. The outputs of your program should be EXACTLY THE SAME as those in the input-output samples.
(12/1) live stream: https://youtu.be/PlrJnXKhzcY
(11/24) live stream: https://youtu.be/NWOTqj7pkhQ
(11/17) live stream: https://youtu.be/Gp7fmJVdBZs
Assignment 4 is announced, and the due date is 12/08.
You must follow the rules under Grading Policy to send assignments.
(11/9) The results of the midterm exam. (answer paper, grading info)
(11/10) live stream: https://youtu.be/6TUCJnOBr7E
(11/3) live stream: https://youtu.be/4XIBh-R4co0
Mid-term exam results will be announced on 11/10.
Assignment 3 is announced, and the due date is 11/24.
You must follow the rules under Grading Policy to send assignments.
(11/2) The results of Assignment 2.
0 means wrong output format. The output characters (spaces, newlines, and symbols) of your program should be EXACTLY THE SAME as those in the input-output samples. See the descriptions of Assignment 2 for more details, or you can watch the 10/13 lecture video for a detailed explanation.
If the accuracy is not 100, this means for some inputs your program generates incorrect outputs.
-1 means the program cannot be compiled.
E acc and V acc are the accuracies for plotting letters E and V, respectively.
Midterm Exam
10/27, 9:10 am @ EC 3012 (You need to take a seat according to the seating plan.)
paper-and-pencil exam, closed-book, calculators and mobilephones are not allowed
Exam scope: materials covered between 9/8 ~ 10/20
(10/20) live stream: https://youtu.be/XbjLVcFVUGg
(10/13) live stream: https://youtu.be/rQv-cOqXPMs
(10/13) The results of Assignment 1.
-1 means your program cannot be compiled.
0 means wrong output format. The outputs of your program should be EXACTLY THE SAME as those in the input-output samples. See the descriptions of Assignment 1 for more details, or you can watch the 9/22 lecture video for a detailed explanation. It is recommended that you modify the code template to finish this assignment.
(10/6) live stream: https://www.youtube.com/watch?v=zIcEa9A21AY
Assignment 2 is announced, and the due date is 10/28.
You must follow the rules under Grading Policy to send assignments.
(9/29) live stream: https://youtu.be/cH9QQyVRf9A
Assignment 1 is announced, and the due date is 10/06.
You must follow the rules under Grading Policy to send assignments.
The accuracy results of Assignment 1 will be updated once a week. If you send the assignment before 10 p.m. 9/21, you can see the accuracy of your program on 9/22. You can fix and resend the assignment if the accuracy is not 100%.
You can discuss the assignments with classmates. But you are not allowed to see their source code. Such behavior constitutes plagiarism.
Course Information
Instructor: 魏家博 (Chia-Po Wei)
To contact Teacher:
cpwei@mail.nsysu.edu.tw (Remember to mention your name, student ID, and class)
To send assignments:
cpwei@g-mail.nsysu.edu.tw
Lecture: Thursday 9:10 ~ 12:00 am @ EC 3012
Teaching Assistants: 李定洲 (George), 陳冠宇 (Ian), 劉濬誠 (Ziv), 邱德倫 (Alan)
TA Hours: Tuesday 16:00~18:00, Wednesday 16:10~18:00 @ 工EC 8011 (Contact the teaching assistants if you need to ask questions online.)
Course Website: http://bit.ly/nsysu-prog-en-2022 (QR code)
Online IDE: onlinegdb, jdoodle, cpp.sh (before sending assignments you can use online IDE to check your programs)
Offline IDE:
Code-Blocks (download codeblocks-20.03mingw-setup.exe)
File -> New -> File -> C/C++ source -> Next -> select C++ -> enter your file path
If your OS is Mac, you can use Xcode.
Grading Policy
Midterm Exam: 25%
Final Exam: 25%
Quizzes: 10%
Zuvio: Search "zuvio 校園" in the app store of your mobile phone. (Do not select other versions of Zuvio, otherwise you will not be able to see the course contents.)
Course Title (課程名稱):學期 111-1 Computer Programming
Course Code (課程代碼):95474231
Account: studentID@mail.nsysu.edu.tw (The first letter of studentID is in uppercase.)
This account is automatically generated by your student ID.
Do not register a new account unless you really need to create a new one.
If you need to register a new account, remember to use your real name so that I can know who you are.
This account is not the same as the school email address @student.nsysu.edu.tw
Password: 123 (You can modify the default password to avoid misuse.)
There are no make-up exams for quizzes. If you need to take a leave, please attach related documents.
Do not take the quiz for other students, otherwise you get a zero for your quiz grades.
Assignments: 40%
Send your assignment to cpwei@g-mail.nsysu.edu.tw
Follow the rules to send assignments, otherwise your assignments will not be processed.
Use the following link to send assignments (require Chrome & gmail).
Email link for Assignment 4, Email link for Assignment 5
If the format of the file name of the email attachment is wrong, then your assignment will not be processed. Remember to check your sent folder. If a mistake was made, just fix it and resend the email.
The assignments are designed for beginners. You shou ld be able to finish the assignments independently.
It is recommended to use the office hours if you have problems of doing the assignments.
Plagiarism Is strictly prohibited. We will use programs to check plagiarism. If plagiarism is proved, you get a zero for your assignments.
You can discuss the assignments with classmates. But you are not allowed to see their source code. Such behavior constitutes plagiarism.
It is recommended that you sent your assignments as early as possible. Because if mistakes are found, you will have a chance to fix the mistakes before the deadline. Late assignments will not be accepted.
All the grades will be announced on the course website. Once the grades are announced, if you have any problems, you should contact the teacher within two weeks.
Textbook
Walter Savitch and Kenrick Mock, Absolute C++, 6th Edition, Pearson, 2016.
ISBN-13: 978-1-292-09859-3, ISBN-10: 1-292-09859-7, Book Cover, TWD $1350
Textbook Agent: 開發圖書公司, 0916-709-655 (甘先生)
The above textbook agent offers discount prices for group buying, or you can search other textbook agents that offer a lower price.
It is not mandatory to buy the textbook, but the textbook provides detailed descriptions of concepts or programming terminology, which are useful for beginners.
There is no need to use the latest version (6th edition). You can also use the 5th edition. (Table of contents of the 5th edition)