[WSG20] Programming Fundamentals Week 4

Thanks.

1 Like

I’ve not received the reminder emails. I don’t have the links to the fourth quiz.
Nor to the (higher level) course (level 1 programmer proficiency)? Not sure if I’ll be doing that, but would like to investigate.
Paul

1 Like

I am puzzled by the following:

ScreenShot2020-05-30at2.52.15PM.png

Why are the two blanks interpreted as the same?

1 Like

Hi Paul, here is the link to Quiz 4:

Quiz 4

1 Like

Because it is the same symbol. Such as a + a. Blank[] is also just a symbol. It has no special meaning in evaluation rules.

This was discussed in Week 3 Part 3 “Evaluation Control”. To use an expression with blanks in pattern matching, you should use HoldPattern. See slide 24 of the “Evaluation Control” presentation notebook.

2 Likes

Thank you. It takes some getting used to. Does

ScreenShot2020-05-30at11.58.07PM.png

work as expected because there is no way to evaluate Blank[]^Blank[] even if the blanks are the same?
Here is another curious example;

ScreenShot2020-05-31at12.01.39AM.png

Why does this not pick up e-2f?

1 Like

The response follows from this:

In[1]:= Cases[{a - b, c + d, e - 2 f}, HoldPattern[_ + Times[x_ /; x < 0, _]]]
Out[1]= {a - b, e - 2 f}

There is no Minus[] function as an arithmetic operation. Minus[x] is only the arithmetic negation of x.

3 Likes

Thanks, Valeriu.

2 Likes

Is there a single location for all the coding challenges required for completion of the Level 1 cert?
\

1 Like

Yes, there will be one link to a cloud notebook with the exercises required for the Level I certification. The link will be shared with all participants in a Study Group email scheduled for Wednesday, June 3. You’ll have 2 weeks to complete the exercises. Quizzes should be completed by Friday, June 5.

4 Likes

Thank you I asked this during the session.

1 Like

Thanks for sharing Abrita! Enjoyed it.

1 Like

Will there be a link to the notebooks that were used in the presentations?

Thank you for the update on the exercises and the timeline with regard to completion of those exercises. I enjoyed the WSG.

2 Likes

What shall I do if I didn’t receive the link for the exercises yesterday?

3 Likes

On Wednesday, I did not get a link to the exercises.

2 Likes

Hi All, Sorry for the delay in sending out the link. Please rest assured you will have at least 2 weeks from the date of release of the exercises, to submit the solutions.

3 Likes

Since I haven’t been receiving the reminder email (at all), could you post it here as well? or at least post that they have been sent…

1 Like

Paul, I’d like to troubleshoot your email issue with you directly. I will send an email to you shortly.

Hi Jamie, I didn’t receive the email regarding the exercises on Wednesday, could you send the link to me as well?