Posted by: Matt Bishop
Date: Oct 21 at 3:26pm
Hi, everyone,
There have been numerous questions on homework #2. Here they are, along with answers:
Hope this helps,
Matt Bishop
Posted by: Matt Bishop
Date: Oct 21 at 1:46pm
Hi, everyone,
Jim Moersfelder, who leads the CSIF support staff, has pointed me to a couple of useful aids to learning the shell, bash.
Here is a write-up from the CSIF support group on learning bash:
https://docs.google.com/document/d/19F6uzyffelgZOlrm2oHBOzgqkQiUhxRGciGqzZeLp0U
And if you go to this link:
https://opensource.com/article/19/10/learn-bash-command-line-games
there are links to some games for learning the bash shell, and instructions on how to install them. The games are:
These should prove very helpful.
Hope this helps,
Matt Bishop
Posted by: Matt Bishop
Date: Oct 18 at 12:36pm
Folks,
I have to cancel my office hour today. I'll hold a make-up office hour on Monday from 10-10:50 (I may be a few minutes late, as I have to come from a class in Wellman).
Apologies for the short notice.
Hope this helps,
Matt Bishop
Posted by: Matt Bishop
Date: Oct 14 at 12:46pm
Folks,
The Student Disability Center (SDC) asks that students interested in serving as paid note takers for this course please contact the Student Disability Center at sdc@ucdavis.edu.
Note takers are paid a stipend of $25 per unit (students can volunteer in lieu of payment), but must have a social security number or have visa status to qualify for an SSN, have a GPA of 2.5 or better, and be in good academic standing with UC Davis. Students should attach a sample of their notes to the email and put the following information in the subject line: “note taker”, the course code, CRN number, and instructor’s name. If selected, the SDC will offer the position to the Note Taker.
Notes provided to SDC students needing note takers are not to be posted, sold, or otherwise distributed, either by the note taker or the SDC Student receiving the notes. Note takers and SDC students receiving notes are expected to comply with the UC Davis academic honor code.
Thank you in advance for your time and consideration.
Posted by: Matt Bishop
Date: Oct 9 at 7:22pm
Folks,
I have changed the due date for homework 1 to Friday, October 11.
Hope this helps,
Matt Bishop
Posted by: Karen Lu
Date: Oct 7 at 4:42pm
Hi Everyone,
My office hour is finalized for the rest of the quarter.
Monday – 1:00–2:00PM Kemper 47
Wednesday – 9:00AM–10:00AM Kemper 55
Friday – 5:00PM–6:00PM Kemper 47
(I took consideration of the when2meet result for those who filled them out. The final decision is heavily influenced by room availablity and decision from CS advising office. I hope these times work out for you. Feel free to let me know if you want additional help and we'll try to sort something out.)
Best
Karen
Posted by: Matt Bishop
Date: Oct 7 at 3:18pm
Hi, folks,
To help you all debug vis.c, I created two files. Both are in the directory /home/bishop/hw1-programs
And, as before, the vis file in that directory is a debugged executable you can use to check your output against its output.
Hope this helps,
Matt Bishop
Posted by: Ge Shi
Date: Oct 7 at 2:23pm
Hi Everyone,
A lot of you seems to be confusing about the characters for inputs. Here’s a clarification. I’ve test it on my Mac but it may not be universal.
Command (Mac) | Command (Ubuntu 18.04, CSIF Machine) | special character | |
---|---|---|---|
newline | Enter | Enter | \n |
horizontal tab | Tab | Tab | \t |
backspace | Ctrl+H | Ctrl+Backspace | \b |
form feed | Ctrl+L | Ctrl+V Ctrl+L | \f |
NUL | Ctrl+2 or Ctrl+Space(on Mac) | Ctrl+V Ctrl+2 | \0 |
backslash | \ | \ | \\ |
vertical tab | Ctrl+K | Ctrl+K | \v |
carriage return | Ctrl+V Ctrl+M | Ctrl+V Ctrl+M | \r |
bell | Ctrl+G | Ctrl+G | \a |
anything else | Ctrl+V (Try different combination of Ctrl+) | \ooo |
Some of the cases can be moved out of the switch-cases block.
For extra credits, to get the full credits, you need to print everything in one line with comma. For example: 3,5,7,9.
You can still get partial credits if you make the functionality correct.
**Edited: Added Linux Alternative for CSIF Machine — Karen**
Posted by: Karen Lu
Date: Oct 5 at 9:01pm
Hi Everyone (esp. People who came to my sections and office hours),
Office Hours
I promised people during my office hour that I would address the questions with how to test p4's non-printing characters. Here’s some starters:
backspace : ctrl-backspace (You will see a ^H on the prompt before you press enter)
carriage return: ctrl-V ctrl-M (You would see a ^M on the prompt before you press enter)
I believe it is a good learning opportunity to figure the rest out. (can you see a pattern with the nonprintable inputs?)
For those who is stuck with debugging p4. My suggestion is to break the problem down and understand what each function does and which path is each input character taking.
Discussions
I also want to mention, for those who wants to familiarize with vim. Check out this online game.
Here’s the optional survey I put out for my discussion. You don’t have to fill this out, but it will give us a good sense on the diverse CS background for this class.
I will make another annoucement once the department approved my office hour times.
Cheers and good luck with your Homework
Karen
Posted by: Karen Lu
Date: Oct 4 at 5:03pm
As topic
Posted by: Karen Lu
Date: Oct 3 at 4:07pm
Hi everyone,
My name is Karen and I will be the new TA for CS36A. I have office hours tomorrow from 5–7pm at Kemper 47. I think it will be more helpful to schedule my permanent office hours based on your preferred times. So, please refer to this when2meet link and put down your best available or preferred times. And I will take these times into account when scheduling my office hours for the rest of the quarter.
My discussion will be
F 1:10pm–2:00pm 176 Chemistry
(Previously Matt’s section)
My email is kxylu@ucdavis.edu
Best Regards and have a great quarter
Karen
Posted by: Matt Bishop
Date: Oct 3 at 11:53am
Hi, folks,
I have received two announcements of groups that will be of interest to members of the class:
Davis Women in Computer Science is an organization on campus that aims to provide a safe space for students in the CS community. We host weekly events that are welcome to everyone, which means you don’t have to be female identifying to attend! This quarter, we’ve planned a mixture of technical workshops and panels that are geared towards our members’ career and professional development.
Our meetings this quarter will be held at Haring 1227 from 7:30 to 8:30 PM, every Monday. Our first event is on Wednesday, October 02, 2019, we hope to see you there!
Hope this helps,
Matt Bishop
Posted by: Matt Bishop
Date: Oct 3 at 11:50am
Hi, folks,
Two notes about homework 1 that will help you if you are having problems (and maybe even if you aren’t).
Hope this helps,
Matt Bishop
Posted by: Matt Bishop
Date: Oct 3 at 11:46am
Hi, folks,
I have to change my office hours for tomorrow only. They will be 3:00pm–4:00pm.
Hope this helps,
Matt Bishop
Posted by: Matt Bishop
Date: Sep 30 at 3:34pm
Folks,
I wanted to move the focus of question 3 of the homework away from the functions and onto the loops. So I revised the exercise, and the extra credit. Now the template .c files you download have the functions in them, but the functions are empty. You have to add the loops where indicated.
I have updated the Assignment in Canvas accordingly. Also, it is due on October 9, not October 7.
Hope this helps,
Matt Bishop
Posted by: Matt Bishop
Date: Sep 29 at 4:11pm
Hello,
I have just been informed that two discussion sections have changed location.
Section A02, Wednesdays at 5:10pm–6:00pm, is now in 176 Chemistry.
Section A03, Thursdays at 1:10pm–2:00pm, is now in 204 Art.
Also, the TAs have set up their office hours. We will add a couple more but for now …
Hope this helps,
Matt Bishop
|
ECS 36A, Programming and Problem Solving
|
You can also obtain a PDF version of this. |