Assignment 7: Implementation · Investigating Mysteries
Working on the Assignment
Errata: In the video I made a mistake when talking about § Dates & Times, question 4. I said that because of the time zone you’d be using 1 late day instead of 2. I should have said that you’d be using 2 late days instead of 3. Thanks Stephan Kemper for finding the mistake.
Character Encodings
25 points
Consult the lecture notes, including the notes under “More Information” that were added after the lecture.
-
What’s the difference between ASCII, Unicode, UTF-8, and UTF-16?
-
What’s the difference between an Unicode code point and the encoding of a character in UTF-8?
-
What are the Unicode normal forms?
-
For what can you use Unicode normal forms?
-
What are the two differences between the following strings?
I love OOSE-at least I think I do. I love OOSE—at least I think I do.
-
When would you use the characters that are unique to the first string above? When would you use the characters that are unique to the second?
-
Where in this website can you find the characters that are unique to the second string above?
-
What’s your favorite weird Unicode code point?
Floating Point Numbers
10 points
-
What’s the standard for defining floating point numbers (in JavaScript and many other languages)?
-
What’s a project in which it makes sense to use floating point numbers?
-
What’s a project in which it makes sense to use numbers with more precision?
-
What’s a project in which it doesn’t matter what kind of number you use?
Dates & Times
20 points
I submitted my Assignment 5 and Roboose said that the time of my submission was 2019-10-11T14:35:00.000Z
.
-
In what format is this?
-
What do each of the parts mean?
-
What time was it in Baltimore when I submitted my assignment?
-
How many late days (if any) did I use?
The Mystery of That Which Was Itself
35 points
Solve the mystery in a systematic way, showing how you go through the steps we discussed in lecture. After you followed the steps, discuss what the problem is, why it happens, how to fix it, and how to prevent this kind of error in the future.
Challenge Your Assumptions
10 points
Go over some of these lists of things that people assume but that are false. Compile a list of the 10 assumptions that surprised you the most.
Submission
⚠️ Your assignment is submitted only when you submit the form below.
If you run into problems, send an email to assignment-submission@jhu-oose.com. Include the information about the submission: your GitHub Identifier and the Commit Identifier. Don’t include any information about the feedback—it’s anonymous.