还没有笔记
选中页面文字后点击「高亮」按钮添加
1 Welcome! #1
亲爱的3827 (基础) S'26学生们,
(这是一个相当通用的通知,但仍然有用...)
我们正在使用Ed Discussion进行课堂问答。
这是提问课程(无论是课程内容还是行政事务)的最佳场所。您将比通过电子邮件更快地从教职员工和同行那里得到答案。
以下是一些提示:
发帖前先搜索
给您认为有用的问题和答案点赞
回答您有信心回答的问题
与教职员工和同行分享有趣的课程相关内容
有关Ed Discussion的更多信息,您可以参考快速入门指南。
祝您本学期一切顺利!明天见!
鲁宾斯坦教授
Dear 3827 (Fundies) S'26 students,
(this is a pretty generic announcement, but still useful...)
We're using Ed Discussion for class Q&A.
This is the best place to ask questions about the course, whether curricular or administrative. You will get faster answers here from staff and peers than through email.
Here are some tips:
Search before you post
Heart questions and answers you find useful
Answer questions you feel confident answering
Share interesting course related content with staff and peers
For more information on Ed Discussion, you can refer to the Quick Start Guide.
All the best this semester! See you tomorrow!
Professor Rubenstein
2 HW0 Answer Key? #2
作业0的答案会发布吗?谢谢!
Will an answer key for HW0 be posted? Thank you!
近期将发布
It will be released in the near future
2 HW0 Answer Key? #2
会发布HW0的答案吗?谢谢!
Will an answer key for HW0 be posted? Thank you!
会在近期发布
It will be released in the near future
匿名
4天前
谢谢!
Anonymous
4天前
Thank you!
3 Gradescope #3
我的 Gradescope 上没有这门课。有没有一个入口代码可以让我手动添加这门课?
I don't see this course on my Gradescope. Is there an entry code so I can manually add this course on Gradescope?
我不知道我们是否已经激活了 Gradescope - 这取决于助教(我们周五会开会,所以我们会在下周初解决这个问题)
I don't know if we've activated Gradescope yet - that's up to the TAs (we are meeting Friday so we'll address this by start of next week)
Yoav Rafalin
20小时前
进展如何?
Yoav Rafalin
20小时前
What's the status of this?
4 HW 0 solutions posted, HW 1 posted, Lecture 1 notes posted... #4
早上好 - 我想主题已经说明了一切,但是...
作业0:解决方案现已发布(请记住,本课程的所有内容都将在Courseworks的“文件”下)
作业1已发布,下周四晚截止(当您被分配到P学分部分时,您的助教将向您介绍提交详情)
今天的讲义现已提供。10分钟后见(或2小时40分钟后,具体取决于您所在的班级)。...
鲁宾斯坦教授
Good morning - I think the subject says it all, but...
HW #0: solutions are now posted (remember everything for this class will be under "Files" in Courseworks)
HW#1 is out, due next Thursday night (when you are assigned your P-credit section your TA will fill you in on submission details)
Today's Lecture notes are now availble. See you in 10 min (or 2 hours 40 min depending on the section)....
Prof. Rubenstein
5 HW Submissions #5
我们可以通过 iPad 在 Notability 上写答案并以那种格式提交 PDF 吗?
Can we write our answers on notability through the ipad and submit the pdf in that format?
这将由您的 P-学分助教决定...
This will be up to your P-credit TA to determine...
6 HW0, Question 7a #6
对于 HW0 的问题 7a,解决方案说是 40.04 秒。这个解决方案是不是没有考虑最后一根管道(位于“混合”组合阶段的右侧)?如果考虑到最后一根管道,我的解决方案会是 40.05 秒(这会是一个有效的答案吗)?谢谢!
For HW0, question 7a, the solution says 40.04 seconds. Does this solution not account for the last pipe (to the right of the "Mix" combination phase)? If we were to account for the last pipe, would my solution be 40.05 seconds (and would that be a valid answer)? Thank you!
发现得好(或澄清得好)!这个问题旨在确定退出最终“混合”框所需的时间,但技术上图中显示了最后一根管道。如果你再加 0.01 秒,你不会扣分...
Good catch (or clarification)! The problem is meant to determine the time it takes to exit the final "Mix" box, but technically there is a final pipe shown in the figure. If you were to add another 0.01 you wouldn't lose points...
匿名用户
前天
有道理。谢谢!
Anonymous
前天
That makes sense. Thank you!
6 HW0, Question 7a #6
对于 HW0 的问题 7a,解决方案说是 40.04 秒。这个解决方案是不是没有考虑最后一个管道(“混合”组合阶段右侧的那个)?如果我们将最后一个管道也考虑进去,我的解决方案会是 40.05 秒吗(那会是一个有效的答案吗)?谢谢!
For HW0, question 7a, the solution says 40.04 seconds. Does this solution not account for the last pipe (to the right of the "Mix" combination phase)? If we were to account for the last pipe, would my solution be 40.05 seconds (and would that be a valid answer)? Thank you!
很好的发现(或澄清)!这个问题旨在确定离开最终“混合”盒所需的时间,但技术上图中显示了最后一个管道。如果你再增加 0.01 秒,你不会扣分...
Good catch (or clarification)! The problem is meant to determine the time it takes to exit the final "Mix" box, but technically there is a final pipe shown in the figure. If you were to add another 0.01 you wouldn't lose points...
匿名
前天
这说得通。谢谢!
Anonymous
前天
That makes sense. Thank you!
6 HW0, Question 7a #6
对于作业0,问题7a,答案是40.04秒。这个答案是不是没有考虑到最后一根管道(“混合”组合阶段右侧的管道)?如果考虑到最后一根管道,我的答案会是40.05秒吗(这会是一个有效答案吗)?谢谢!
For HW0, question 7a, the solution says 40.04 seconds. Does this solution not account for the last pipe (to the right of the "Mix" combination phase)? If we were to account for the last pipe, would my solution be 40.05 seconds (and would that be a valid answer)? Thank you!
发现得好(或者说澄清得好)!这个问题是为了确定离开最终“混合”盒子所需的时间,但技术上图中显示了最后一根管道。如果你再加0.01秒,你不会失分...
Good catch (or clarification)! The problem is meant to determine the time it takes to exit the final "Mix" box, but technically there is a final pipe shown in the figure. If you were to add another 0.01 you wouldn't lose points...
匿名用户
前天
这说得通。谢谢!
Anonymous
前天
That makes sense. Thank you!
6 HW0, Question 7a #6
对于 HW0,问题 7a,解决方案说是 40.04 秒。这个解决方案没有考虑最后一个管道(“混合”组合阶段右侧的管道)吗?如果考虑到最后一个管道,我的解决方案会是 40.05 秒吗(那会是一个有效的答案吗)?谢谢!
For HW0, question 7a, the solution says 40.04 seconds. Does this solution not account for the last pipe (to the right of the "Mix" combination phase)? If we were to account for the last pipe, would my solution be 40.05 seconds (and would that be a valid answer)? Thank you!
抓得好(或者说澄清得好)!这个问题旨在确定退出最终“混合”盒所需的时间,但技术上图中显示有最后一个管道。如果你再加 0.01 秒,你不会扣分...
Good catch (or clarification)! The problem is meant to determine the time it takes to exit the final "Mix" box, but technically there is a final pipe shown in the figure. If you were to add another 0.01 you wouldn't lose points...
匿名
前天
这说得通。谢谢!
Anonymous
前天
That makes sense. Thank you!
7 Hw1 Q3 #9
你好,
关于我们对溢出的定义,我们认为溢出是什么?我的理解是溢出是“有意溢出”和溢出错误的统称。例如,如果我们用8位2的补码形式将两个数字相加,然后和是正确的,但是第9位(如果存在的话)增加了一个1,那么这个“进位1”的去除就是溢出的定义。(在这个例子中,这将是一个“有意溢出”。)换句话说,我认为溢出充分反映在数学上,取决于一个1是否被带到不存在的位,而不是还要求答案是否错误或两者都发生。我想知道这三个溢出定义中哪一个是最正确的。
希望我的问题足够清楚。这些定义(1、2或3)中哪一个最准确?我的假设是1,但我不太确定自己是对的。
提前感谢。
Hello,
Regarding our definition of overflow, what would we consider an overflow to be? My understanding is that overflow is an umbrella term for "intentional overflows" and overflow errors. For example, if we add two numbers together in 8-bit 2's-complement form, and then the sum is correct yet we have a 1 added to the (would-be) 9th bit, then that removal of the "carry the one" is what defines an overflow. (In that example, it would be an "intentional overflow.") In other words, I think overflow is sufficiently reflected in the math based on whether a one gets carried to a non-existent digit rather than also requiring whether the answer is wrong or both things happen. I was wondering which of the three definitions for overflow would be the most correct.
Hopefully, my question is clear enough. Which of these definitions (1, 2, or 3) would be the most accurate? My assumption is 1, but I'm not too confident that I'm right.
Thanks in advance.
算了,我在幻灯片里找到了答案。不知何故,ctrl + f 没有显示“overflow”这个词在它的定义处。这是定义:
“无论如何强调,溢出意味着结果不能在字长内表示(不一定是结果太大!)”
Never mind, I found the answer in the slides. For some reason, ctrl + f wasn't showing the word "overflow" where it was defined. Here is the definition:
"Can’t stress enough that overflow means the result cannot be represented
within the word size (not necessarily that the result is too big)!"
Dan Rubenstein 教授
教职员工
10小时前
正确 – 我们在课堂上还没有完全讲到这一点,也就是说,我还没有讨论过如何确定2的补码的溢出,但你上面写的(来自幻灯片)是它的技术定义。
Professor Dan Rubenstein
STAFF
10小时前
Correct - we haven't fully covered that in class yet, i.e., I haven't yet discussed determining overflow for 2's complement, but what you wrote above (from the slides) is its technical defininition.
Jonah Smith
1小时前
谢谢您!
那么溢出和下溢有什么区别呢?它们是互斥的吗?
Jonah Smith
1小时前
Thank you!
What would differentiate overflow from underflow then? Are they mutually exclusive?
7 Hw1 Q3 #9
您好,
关于我们对溢出的定义,我们应该如何定义溢出?我的理解是,溢出是一个涵盖“有意溢出”和溢出错误的统称。例如,如果我们以8位二进制补码形式将两个数字相加,然后和是正确的,但在(本应存在的)第9位上有一个1,那么去除这个“进位1”就是溢出的定义。(在这个例子中,这将是“有意溢出”。)换句话说,我认为溢出足以通过数学反映出来,即是否有一个1进位到了一个不存在的数字,而不是还要求答案是否错误或两者都发生。我想知道以下三种溢出定义中哪一个最正确。
希望我的问题足够清楚。这些定义(1、2或3)中哪一个最准确?我的假设是1,但我不太确定我是对的。
提前感谢。
Hello,
Regarding our definition of overflow, what would we consider an overflow to be? My understanding is that overflow is an umbrella term for "intentional overflows" and overflow errors. For example, if we add two numbers together in 8-bit 2's-complement form, and then the sum is correct yet we have a 1 added to the (would-be) 9th bit, then that removal of the "carry the one" is what defines an overflow. (In that example, it would be an "intentional overflow.") In other words, I think overflow is sufficiently reflected in the math based on whether a one gets carried to a non-existent digit rather than also requiring whether the answer is wrong or both things happen. I was wondering which of the three definitions for overflow would be the most correct.
Hopefully, my question is clear enough. Which of these definitions (1, 2, or 3) would be the most accurate? My assumption is 1, but I'm not too confident that I'm right.
Thanks in advance.
没关系,我在幻灯片中找到了答案。不知何故,ctrl + f 没有显示“overflow”的定义位置。这是定义:
“怎么强调都不过分,溢出意味着结果不能在字长内表示(不一定是结果太大)!”
Never mind, I found the answer in the slides. For some reason, ctrl + f wasn't showing the word "overflow" where it was defined. Here is the definition:
"Can’t stress enough that overflow means the result cannot be represented
within the word size (not necessarily that the result is too big)!"
Dan Rubenstein 教授
教职员
10小时前
正确 - 我们尚未在课堂上完全涵盖这一点,也就是说,我还没有讨论过如何确定2的补码溢出,但您上面写的(来自幻灯片)是它的技术定义。
Professor Dan Rubenstein
STAFF
10小时前
Correct - we haven't fully covered that in class yet, i.e., I haven't yet discussed determining overflow for 2's complement, but what you wrote above (from the slides) is its technical defininition.
Jonah Smith
1小时前
谢谢!
那么溢出和下溢有什么区别呢?它们是相互排斥的吗?
Jonah Smith
1小时前
Thank you!
What would differentiate overflow from underflow then? Are they mutually exclusive?
7 Hw1 Q3 #9
你好,
关于我们对溢出的定义,我们认为溢出是什么?我的理解是溢出是一个总称,包括“有意溢出”和溢出错误。例如,如果我们将两个数字以8位2的补码形式相加,然后和是正确的,但我们在(本应是)第9位增加了一个1,那么这个“进位”的移除就定义了溢出。(在这个例子中,这将是一个“有意溢出”。)换句话说,我认为溢出充分反映在数学上,取决于是否有1进位到不存在的数字,而不是同时要求答案是否错误或两者都发生。我想知道这三个溢出定义中哪一个是最正确的。
希望我的问题足够清楚。这些定义(1、2或3)中哪一个最准确?我的假设是1,但我不太确定我是对的。
提前感谢。
Hello,
Regarding our definition of overflow, what would we consider an overflow to be? My understanding is that overflow is an umbrella term for "intentional overflows" and overflow errors. For example, if we add two numbers together in 8-bit 2's-complement form, and then the sum is correct yet we have a 1 added to the (would-be) 9th bit, then that removal of the "carry the one" is what defines an overflow. (In that example, it would be an "intentional overflow.") In other words, I think overflow is sufficiently reflected in the math based on whether a one gets carried to a non-existent digit rather than also requiring whether the answer is wrong or both things happen. I was wondering which of the three definitions for overflow would be the most correct.
Hopefully, my question is clear enough. Which of these definitions (1, 2, or 3) would be the most accurate? My assumption is 1, but I'm not too confident that I'm right.
Thanks in advance.
算了,我在幻灯片中找到了答案。不知何故,Ctrl + F 没有显示定义“溢出”的地方。这是定义:
“不能再强调溢出意味着结果不能在字长内表示(不一定是结果太大)!”
Never mind, I found the answer in the slides. For some reason, ctrl + f wasn't showing the word "overflow" where it was defined. Here is the definition:
"Can’t stress enough that overflow means the result cannot be represented
within the word size (not necessarily that the result is too big)!"
8 HW1 Q1 (a) #10
助教和鲁宾斯坦博士,您好:
对于值00110011,如果将其解释为有符号数,我是否应该假定字符串中第三个最高有效位是符号位,或者我是否应该假定它仍然是无符号数,因为所示的最高有效位是0?
Hello TA's and Dr.Rubenstein
For the value 00110011, if interpreted as signed, do I assume that the 3rd most significant digit in the string is the sign bit or do I assume that it is still unsigned as the most significant digit shown is 0?
符号位始终是MSB(最高有效位)。由于此问题指定的是8位架构,因此它是第7位(最左边的位)。
符号位为0并不意味着该数字被视为无符号数;它只是意味着它是一个正的有符号数。如果MSB为1,则为负数。由于您示例中的MSB为0,因此该值为正数。
The sign bit is always the MSB (Most Significant Bit). Since this problem specifies an 8-bit architecture, that is Bit 7 (the leftmost bit).
A sign bit of 0 doesn't mean the number is treated as unsigned; it just means it is a signed number that is positive. If the MSB were 1, it would be negative. Since the MSB in your example is 0, the value is positive.
Jae Sung Hwang
15小时前
我明白了,无符号数和正数之间的区别在于,一个是一种解释,而另一个是数字大于0...?
Jae Sung Hwang
15小时前
I see, the difference between unsigned vs positive is that one is an interpretation and the other is the number being greater than 0...?
Derick Wang
STAFF
15小时前
是的。无符号/有符号是位所代表的含义的表示,而正/负是结果数的属性。
无符号表示只产生非负数,而有符号解释可以是正数、负数或零,这取决于符号位。
1
Derick Wang
STAFF
15小时前
Yes. Unsigned/Signed are representations of what the bits signify, whereas Positive/Negative are properties of the resulting number.
The Unsigned representation only yields nonnegative numbers and Signed interpretation can be positive or negative or zero depending on that sign bit.
1
Jae Sung Hwang
14小时前
谢谢!我想我的问题更多是关于在哪里寻找最高有效位,但我想通过这次讨论我意识到:
a) 如果我总是假设最早的1是最高有效位,那么我所有的表示都将是负数,所以我应该更多地关注字中表示的位数。
b) 无符号数和正数之间的语义区别。
所以谢谢!
Jae Sung Hwang
14小时前
Thank you! I think my question was more about where to look at for the most significant bit, but I think by having this discussion I realized:
a) If I were to always assume that the earliest 1 is the most significant bit, all my representations would be negative, so I should focus more on how many bits are being represented within the word.
b) The semantic difference between unsigned and positive.
So thank you!
Collins Evans
STAFF
9小时前
回复 Jae Sung Hwang
你好,为了加深你的理解,最高有效位是二进制字符串中最左边的位。
1
Collins Evans
STAFF
9小时前
Replying to Jae Sung Hwang
Hi just to add to your understanding, the most significant bit is the leftmost bit that appears in a binary string.
1
Jae Sung Hwang
6小时前
回复 Collins Evans
谢谢!
Jae Sung Hwang
6小时前
Replying to Collins Evans
Thank you!
8 HW1 Q1 (a) #10
助教们和 Rubenstein 博士你们好
对于值 00110011,如果将其解释为有符号数,我应该假定字符串中第三个最重要的数字是符号位,还是应该假定它仍然是无符号数,因为所示的最重要的数字是 0?
Hello TA's and Dr.Rubenstein
For the value 00110011, if interpreted as signed, do I assume that the 3rd most significant digit in the string is the sign bit or do I assume that it is still unsigned as the most significant digit shown is 0?
符号位始终是 MSB(最高有效位)。由于此问题指定了 8 位架构,因此它是第 7 位(最左边的位)。
符号位为 0 并不意味着该数字被视为无符号数;它只是意味着它是一个正的有符号数。如果 MSB 为 1,它将是负数。由于您示例中的 MSB 为 0,因此该值为正。
The sign bit is always the MSB (Most Significant Bit). Since this problem specifies an 8-bit architecture, that is Bit 7 (the leftmost bit).
A sign bit of 0 doesn't mean the number is treated as unsigned; it just means it is a signed number that is positive. If the MSB were 1, it would be negative. Since the MSB in your example is 0, the value is positive.
Jae Sung Hwang
15小时前
我明白了,无符号数和正数之间的区别在于,一个是解释,另一个是数字大于 0……?
Jae Sung Hwang
15小时前
I see, the difference between unsigned vs positive is that one is an interpretation and the other is the number being greater than 0...?
Derick Wang
STAFF
15小时前
是的。无符号/有符号是位所表示的含义,而正/负是结果数字的属性。
无符号表示只产生非负数,而有符号解释可以是正数、负数或零,具体取决于该符号位。
1
Derick Wang
STAFF
15小时前
Yes. Unsigned/Signed are representations of what the bits signify, whereas Positive/Negative are properties of the resulting number.
The Unsigned representation only yields nonnegative numbers and Signed interpretation can be positive or negative or zero depending on that sign bit.
1
Jae Sung Hwang
14小时前
谢谢!我认为我的问题更多是关于在哪里寻找最高有效位,但我认为通过这次讨论我意识到:
a) 如果我总是假设最早的 1 是最高有效位,那么我所有的表示都会是负数,所以我应该更关注单词中表示了多少位。
b) 无符号和正数之间的语义差异。
所以谢谢!
Jae Sung Hwang
14小时前
Thank you! I think my question was more about where to look at for the most significant bit, but I think by having this discussion I realized:
a) If I were to always assume that the earliest 1 is the most significant bit, all my representations would be negative, so I should focus more on how many bits are being represented within the word.
b) The semantic difference between unsigned and positive.
So thank you!
Collins Evans
STAFF
9小时前
回复 Jae Sung Hwang
你好,补充一下你的理解,最高有效位是二进制字符串中最左边的位。
1
Collins Evans
STAFF
9小时前
Replying to Jae Sung Hwang
Hi just to add to your understanding, the most significant bit is the leftmost bit that appears in a binary string.
1
Jae Sung Hwang
6小时前
回复 Collins Evans
谢谢!
Jae Sung Hwang
6小时前
Replying to Collins Evans
Thank you!
8 HW1 Q1 (a) #10
各位助教和Rubenstein教授
对于值00110011,如果将其解释为有符号数,我是否应该假设字符串中的第三个最高有效位是符号位,还是应该假设它仍然是无符号数,因为所示的最高有效位是0?
Hello TA's and Dr.Rubenstein
For the value 00110011, if interpreted as signed, do I assume that the 3rd most significant digit in the string is the sign bit or do I assume that it is still unsigned as the most significant digit shown is 0?
符号位始终是MSB(最高有效位)。由于此问题指定了8位架构,因此它是第7位(最左边的位)。
符号位为0并不意味着该数字被视为无符号数;它只是意味着它是一个正的有符号数。如果MSB是1,它将是负数。由于您示例中的MSB是0,因此该值是正数。
The sign bit is always the MSB (Most Significant Bit). Since this problem specifies an 8-bit architecture, that is Bit 7 (the leftmost bit).
A sign bit of 0 doesn't mean the number is treated as unsigned; it just means it is a signed number that is positive. If the MSB were 1, it would be negative. Since the MSB in your example is 0, the value is positive.
Jae Sung Hwang
15小时前
我明白了,无符号数与正数之间的区别在于,一个是解释,另一个是数字大于0...?
Jae Sung Hwang
15小时前
I see, the difference between unsigned vs positive is that one is an interpretation and the other is the number being greater than 0...?
Derick Wang
STAFF
15小时前
是的。无符号/有符号是位所表示的含义的表示,而正/负是结果数的属性。
无符号表示只产生非负数,而有符号解释可以是正数、负数或零,具体取决于符号位。
1
Derick Wang
STAFF
15小时前
Yes. Unsigned/Signed are representations of what the bits signify, whereas Positive/Negative are properties of the resulting number.
The Unsigned representation only yields nonnegative numbers and Signed interpretation can be positive or negative or zero depending on that sign bit.
1
Jae Sung Hwang
14小时前
谢谢!我想我的问题更多是关于在哪里寻找最高有效位,但我认为通过这次讨论我意识到:
a) 如果我总是假设最早的1是最高有效位,那么我所有的表示都将是负数,所以我应该更关注字中表示的位数。
b) 无符号数和正数之间的语义区别。
所以谢谢!
Jae Sung Hwang
14小时前
Thank you! I think my question was more about where to look at for the most significant bit, but I think by having this discussion I realized:
a) If I were to always assume that the earliest 1 is the most significant bit, all my representations would be negative, so I should focus more on how many bits are being represented within the word.
b) The semantic difference between unsigned and positive.
So thank you!
Collins Evans
STAFF
9小时前
回复Jae Sung Hwang
嗨,只是为了增加你的理解,最高有效位是二进制字符串中最左边的位。
1
Collins Evans
STAFF
9小时前
Replying to Jae Sung Hwang
Hi just to add to your understanding, the most significant bit is the leftmost bit that appears in a binary string.
1
Jae Sung Hwang
6小时前
回复Collins Evans
谢谢!
Jae Sung Hwang
6小时前
Replying to Collins Evans
Thank you!
9 Submission #11
我们应该提交作业1的PDF文件还是可以提交手写答案的照片?谢谢!
Should we be submitting PDFs for HW1 or can we submit a photo of our written answers? Thanks!
请看 #5
See #5
扎克·辛格曼
10小时前
明白了,谢谢!
Zack Singerman
10小时前
Got it, thanks!
10 HW Q1 #12
对于一补码,我们是否应该反向进行补码处理,以查看数字是从哪里开始的?我有点困惑我们应该如何计算十进制版本。
我们只是取出我们拥有的数字并找到它们的负数表示吗?
For 1/2's compliment, are we supposed to do the processes for the compliments backward to see where the number had started? I am a bit confused by how we should figure out the base 10 versions.
Are we just taking the numbers that we have and finding their negated representations?
我想我明白你在说什么,但你的问题措辞有点奇怪。
我们以 1e) 10001010 为例。
它将代表不同的整数值,具体取决于应用哪种表示(无符号、符号-大小、一补码、二补码)。
对于无符号数,过程相当简单。
对于其他情况,大多数人(包括我自己)在数字为负数时,最简单的方法是找到相同大小的正数。对于每种有符号表示(符号-大小、一补码、二补码),都有一个直接的过程来做到这一点。我可能会在周二的课上复习这一点。
I think I know what you are saying, but your question is worded in a funny way.
Let's take 1e) 10001010
This will represent a different integer value depending on which representation (unsigned, signed magnitude, 1's complement, 2's complement) is being applied.
For unsigned, the process is rather straightforward.
For the others, most people (including myself), when the number is negative, the easiest thing to do is to find the positive number of same magnitude. For each signed representation (signed mag, 1's c, 2's c) there is a straightforward process for doing this. I'll probably start Tuesday's class reviewing this point).
匿名
9小时前
好的。那么我是不是假设一补码的过程已经作用于我们的数字了?
例如,如果我看到 1101,对于一补码,我会说这是 -2 吗?对于二补码,我会假设这实际上是 -3 吗?
Anonymous
9小时前
Ok. So am I assuming that the process of 1's complement has already happened to our number?
For example, if I see 1101, for the 1's complement, would I say that this is -2? For 2's complement, would I assume that this is actually -3?
11 HW 1 #13
我们是否应该为作业1中的所有问题做好准备 / 到目前为止我们是否已经学到了所有的课程材料?我想知道我的困惑是仅仅因为我对课堂材料的误解,还是我们应该等待下一次讲座来完成作业。
Should we be prepared for all the questions in HW 1 / have we learned all the material in class so far? Wondering if my confusion is just from my misunderstanding of class material, or if we are expected to wait for the next lecture to finish the HW.
我不是助教,但在一个ed讨论帖的回复中,教授提到我们还没有学到所有可以完全完成作业1的材料。我不知道我们什么时候才能掌握作业1所需的一切,但我们还有更多的课程内容需要学习。
Not a TA, but in an ed discussion post reply the professor mentioned that we haven't learned all of the material yet to fully do HW 1. I don't know when we will have everything we need for HW 1, but we still have more material to go through in class.
教授 Dan Rubenstein
教职工
14小时前
到今天讲座结束时,所有内容都将涵盖(甚至包括作业2所需的一些内容)
Professor Dan Rubenstein
STAFF
14小时前
By end of today's lecture, everything will be covered (and also even some stuff you'll need for HW #2)
11 HW 1 #13
我们是否应该为作业1中的所有问题做好准备/我们是否已经学完了到目前为止的所有课堂材料?我想知道我的困惑是仅仅因为我对课堂材料的误解,还是我们应该等到下一堂课之后再完成作业。
Should we be prepared for all the questions in HW 1 / have we learned all the material in class so far? Wondering if my confusion is just from my misunderstanding of class material, or if we are expected to wait for the next lecture to finish the HW.
我不是助教,但在一个ed讨论帖的回复中,教授提到我们还没有学完所有材料来完全完成作业1。我不知道什么时候我们能学到作业1所需的所有内容,但我们课堂上还有更多材料要学习。
Not a TA, but in an ed discussion post reply the professor mentioned that we haven't learned all of the material yet to fully do HW 1. I don't know when we will have everything we need for HW 1, but we still have more material to go through in class.
Dan Rubenstein教授
教职工
14小时前
到今天讲座结束时,所有内容都将涵盖(甚至包括一些作业2所需的内容)
Professor Dan Rubenstein
STAFF
14小时前
By end of today's lecture, everything will be covered (and also even some stuff you'll need for HW #2)
11 HW 1 #13
我们应该为硬件1中的所有问题做好准备了吗?到目前为止,我们是否已经学到了所有的课堂材料?我想知道我的困惑是仅仅因为我对课堂材料的误解,还是我们应该等到下一次讲座才能完成硬件。
Should we be prepared for all the questions in HW 1 / have we learned all the material in class so far? Wondering if my confusion is just from my misunderstanding of class material, or if we are expected to wait for the next lecture to finish the HW.
我不是助教,但在一个 ed 讨论帖的回复中,教授提到我们还没有学到所有必要的材料来完全完成硬件1。我不知道我们什么时候才能掌握硬件1所需的一切,但我们课堂上还有更多的材料要学习。
Not a TA, but in an ed discussion post reply the professor mentioned that we haven't learned all of the material yet to fully do HW 1. I don't know when we will have everything we need for HW 1, but we still have more material to go through in class.
12 P-credit assignments? #15
嗨!
很高兴能开始。我想知道我们什么时候能分配到P学分的名额?谢谢!
Hi!
Excited to get the ball rolling. I was wondering when we'd get assigned p-credit slots? Thanks!!
嗨 - 我周五和助教们谈过了,他们也需要更多时间来敲定他们的日程,所以我们将把正式分配推迟一周。我会让助教们这周尽量保持联系(以防有疑问,但也可以随时在EdStem上提问)。一旦他们(和你们)的日程稳定下来,我们就会进行分配。
Hi - I spoke with the TAs on Friday and they also need more time to finalize their schedules, so we will delay the official assignment by 1 week. I'll ask the TA's to try to make themselves available this week (in case there are questions, but also feel free to ask on EdStem). Once their (and your) schedules have stabilized we will do the assignment.
13 Class in person tomorrow? #17
只是想再次确认明天的讲座是正常线下举行而不是远程?谢谢。
Just wanted to double check that lecture will be held normally tomorrow and not remote? Thank you.
是的
yup
14 Syllabus question #18
你好!
也许我没有在正确的地方寻找,但我想知道这门课程是否有教学大纲,其中列出了所有作业截止日期和考试日期?我只是想规划我的学期时间表,但却找不到任何带有日期的教学大纲。
谢谢!
Hello!
Maybe I haven't been looking in the right place, but I am wondering if there is a syllabus for this course where all assignment due dates and exam dates are posted? I am just trying to plan out my semester schedule and was having trouble finding any sort of syllabus with dates.
Thanks!
Courseworks 上有教学大纲。你也可以查看我的 S'24 讲义(在 Courseworks 上)以更好地了解所涵盖的内容(讲义每年都会有一些变化,但不大),这里是作业发布和截止日期的暂定时间表。大约每周一次,HW 5 是例外(它很难)。
3827S26-Planning - Google Sheets.pdf
There's a syllabus available on Courseworks. You can also see my S'24 lecture notes (on Courseworks) to get an even better sense of what's being covered (the notes change a bit year-to-year but not much), and here is a tentative schedule of HW release and due date. Roughly once a week with HW 5 being the exception (it's a doozy)
3827S26-Planning - Google Sheets.pdf
Tianyi Shen
2小时前
我们有期中和期末考试日期吗?如果我错过了,请原谅!
Tianyi Shen
2小时前
do we have a midterm and final date? apologies if I missed it!
Anonymous
9小时前
非常感谢,这非常有帮助!!
Anonymous
9小时前
Thank you so much, this is extremely helpful!!
15 HW 1 Submissions #19
我理解作业指南通常由我们p-credit部分的助教决定,但考虑到助教分配延迟了,本周到期的HW1提交有什么通用的格式指南我们应该遵循吗?(例如:打字稿还是手写稿)另外,我们是否需要通过Gradescope提交?如果是的话,Gradescope什么时候会启用?
I understand that homework guidelines are generally up to the TA for our p-credit section, but given that TA assignments are delayed, are there any general formatting guidelines we should follow for submitting HW1 since that is due this week? (e.g. typed vs handwritten)
Also, are we expected to submit via Gradescope? If so, when will that be active?
请参阅 #20 (此消息发布后)
See #20 (just posted after this msg)
16 zoom sessions, turning in HW #1, P-credit OH #20
亲爱的 3827 同学们,
一些信息(我在 #1 部分提到过一些,但在 #2 部分忘记了):
讲座的 Zoom 录像:我相信它们在 Courseworks 上(点击 Zoom 课程会话,然后点击“云录像”选项卡)——我相信它们在那里可用。它们可能会在一段时间后消失——所以我不能保证它们会一直存在……这取决于 Courseworks/Zoom 实施的算法。
P-credit 办公时间:有些助教的时间表尚未确定——我正在等待他们的时间表确定后再进行匹配。我知道这很不方便,但这可以避免在助教突然需要调整他们计划的办公时间时重新调整一切。
作业 #1:请(现在)完成,一旦 P-credit 办公时间分配完成,分配给你的助教会告诉你如何提交作业。这可能在周四截止日期之后,所以不用担心——你不会因为这个问题而因迟交作业 #1 而受到处罚。
Dear 3827 students,
Just some info (I mentioned some of this in Section #1 but forgot to do so in Section #2):
Zoom recordings of lecture: I believe they are on courseworks (click on Zooom class sessions, then cliuck on the tab "Cloud Recordings") - I believe they are available there. They might disappear after a while - so I don't promise they will be there always... it's up to whatever algorithm courseworks/zoom implements.
P-credit OH: Some TAs' schedules are not yet finalized - I am waiting for their schedules to finalize before doing the matching. I realize this is inconvenient but it meets having to re-jigger everything if/when a TA must suddenly shift their planned OH time.
HW #1: Please do it (for now) and once P-credit OH are assigned the TA to whom you are assigned will tell you how to get them the HW. This is likely after the Thursday due date, so don't worry - you won't get penalized for HW#1 being turned in late because of this issue
17 HW Solutions #23
您好!
我们提交作业时是否必须展示过程才能获得满分?(因为问题集上的空间不是很多。)
谢谢!
Hi!
Do we have to show work for full credit on the homework submissions? (Because there's not that much space on the problem set.)
Thank you!
我建议在一个单独的笔记本或文档上完成,并复制问题以获得更多空间,因为通常要求展示过程才能获得满分。
I recommend working on a separate notebook or document and copying the questions over for more space, as people are generally expected to show work for full credit.
Dan Rubenstein 教授
教职员工
昨天
你需要展示你的过程(你认为需要的任何内容)。你的 P-学分助教(一旦分配)可以指导你了解需要什么。我们不会因为做得过多而扣分,但你也不想做得太少。我的建议是,想象你正在为班级里的一个朋友写你的解决方案,并在需要的地方/时间记下信息。
Professor Dan Rubenstein
STAFF
昨天
You want to show your work (whatever you think is needed). Your P-credit TA (once assigned) can help guide you toward what is needed. We won't penalize for overdoing it, but you don't want to under-do it. My advice, imagine you are writing your solution for a friend in the class and put down the info where/when needed.
18 -0 in signed magnitude #24
有符号位负零在有符号位表示法中的意义和/或应用是什么?或者说,+0和-0在功能上只是同一样东西的两种表示吗?
What is the significance and/or application of -0 in signed magnitude? Or are +0 and -0 just two representations of functionally the same thing?
我不是助教,但这是我的理解。-0和+0在数学上被认为是相同的。然而,它们在技术上拥有不同的位模式,所以如果你想比较位模式,那么它们是不同的。如果x的编码是1000,y的编码是0000,那么x=y,但是当你想用位操作比较它们时,x=/=y。它们是同一个数字0的不同位模式。我相信当你想“定义”除以零,例如在除以正零和负零时有不同的结果时,它们可以用于计算。换句话说,你根据你想如何使用零,给零赋予了两种不同的“定义”。
这类似于int x = 0和double y = 0是同一个数字的不同“定义”(类型)。这并不是说+0和-0在Java中必然是不同的类型,但它们确实存在细微的差别。
I am not a TA, but here is my understanding. -0 and +0 are treated as mathematically the same. However, they technically have different bit patterns, so if you want to compare bit patterns, then they are distinct. If x has encoding 1000 and y has encoding 0000, then x = y, but x =/= y when you want to compare them using bitwise operations. They are different bit patterns of the same number 0. I believe they can be used for computations when you want to "define" dividing by zero such as for having distinct outcomes for when you divide by positive versus negative zero. In other words, you're giving two different "definitions" to zero depending on how you want to use it.
It's analogous to how int x = 0 and double y = 0 are different "definitions" (types) for the same number. That's not to say that +0 and -0 are different types necessarily like in java, but they do have subtle differences.
卡玛·威廉姆斯
1小时前
谢谢,非常有帮助
1
Karma Williams
1小时前
Thanks, very helpful
1
乔纳·史密斯
1小时前
不客气!
Jonah Smith
1小时前
You're welcome!
我不是助教,但这是我的理解。-0和+0在数学上被认为是相同的。然而,它们在技术上拥有不同的位模式,所以如果你想比较位模式,那么它们是不同的。如果x的编码是1000,y的编码是0000,那么x=y,但是当你想用位操作比较它们时,x=/=y。它们是同一个数字0的不同位模式。我相信当你想“定义”除以零,例如在除以正零和负零时有不同的结果时,它们可以用于计算。换句话说,你根据你想如何使用零,给零赋予了两种不同的“定义”。
这类似于int x = 0和double y = 0是同一个数字的不同“定义”(类型)。这并不是说+0和-0在Java中必然是不同的类型,但它们确实存在细微的差别。
I am not a TA, but here is my understanding. -0 and +0 are treated as mathematically the same. However, they technically have different bit patterns, so if you want to compare bit patterns, then they are distinct. If x has encoding 1000 and y has encoding 0000, then x = y, but x =/= y when you want to compare them using bitwise operations. They are different bit patterns of the same number 0. I believe they can be used for computations when you want to "define" dividing by zero such as for having distinct outcomes for when you divide by positive versus negative zero. In other words, you're giving two different "definitions" to zero depending on how you want to use it.
It's analogous to how int x = 0 and double y = 0 are different "definitions" (types) for the same number. That's not to say that +0 and -0 are different types necessarily like in java, but they do have subtle differences.
我不是助教,乔纳的理解与我的相似,但有一点补充。问题是关于-0在有符号位表示法中的应用,如果我的理解没错,-0没有实际应用。它是有符号系统的一个副产品,通常需要被解决/规范化,据我所知,没有真正的情况是你想要将0表示为-0的。
Not a TA, and Jonah’s understanding is similar to mine with one slight addition. The question asks about application of -0 in signed magnitude, if my understanding is correct, there is no practical application of -0. It is a byproduct of the signed system and is generally something that has to be worked around/normalized, afaik there isn’t really a situation where you would want to represent 0 as -0.
18 -0 in signed magnitude #24
符号位负零在带符号位大小表示法中的意义和/或应用是什么?或者说,+0和-0仅仅是功能上相同事物的两种表示形式吗?
What is the significance and/or application of -0 in signed magnitude? Or are +0 and -0 just two representations of functionally the same thing?
我不是助教,但这是我的理解。-0和+0在数学上被认为是相同的。然而,它们在技术上具有不同的位模式,所以如果你想比较位模式,它们是不同的。如果x的编码是1000,y的编码是0000,那么x = y,但是当你使用按位操作比较它们时,x =/= y。它们是相同数字0的不同位模式。我相信它们可以用于计算,当你想要“定义”除以零时,例如在除以正零和负零时产生不同的结果。换句话说,你根据你想要如何使用零来给出两种不同的“定义”。
这类似于int x = 0和double y = 0是相同数字的不同“定义”(类型)。这并不是说+0和-0在Java中必然是不同的类型,但它们确实有细微的差别。
I am not a TA, but here is my understanding. -0 and +0 are treated as mathematically the same. However, they technically have different bit patterns, so if you want to compare bit patterns, then they are distinct. If x has encoding 1000 and y has encoding 0000, then x = y, but x =/= y when you want to compare them using bitwise operations. They are different bit patterns of the same number 0. I believe they can be used for computations when you want to "define" dividing by zero such as for having distinct outcomes for when you divide by positive versus negative zero. In other words, you're giving two different "definitions" to zero depending on how you want to use it.
It's analogous to how int x = 0 and double y = 0 are different "definitions" (types) for the same number. That's not to say that +0 and -0 are different types necessarily like in java, but they do have subtle differences.
Karma Williams
1小时前
谢谢,非常有帮助
1
Karma Williams
1小时前
Thanks, very helpful
1
Jonah Smith
1小时前
不客气!
Jonah Smith
1小时前
You're welcome!
我不是助教,但这是我的理解。-0和+0在数学上被认为是相同的。然而,它们在技术上具有不同的位模式,所以如果你想比较位模式,它们是不同的。如果x的编码是1000,y的编码是0000,那么x = y,但是当你使用按位操作比较它们时,x =/= y。它们是相同数字0的不同位模式。我相信它们可以用于计算,当你想要“定义”除以零时,例如在除以正零和负零时产生不同的结果。换句话说,你根据你想要如何使用零来给出两种不同的“定义”。
这类似于int x = 0和double y = 0是相同数字的不同“定义”(类型)。这并不是说+0和-0在Java中必然是不同的类型,但它们确实有细微的差别。
I am not a TA, but here is my understanding. -0 and +0 are treated as mathematically the same. However, they technically have different bit patterns, so if you want to compare bit patterns, then they are distinct. If x has encoding 1000 and y has encoding 0000, then x = y, but x =/= y when you want to compare them using bitwise operations. They are different bit patterns of the same number 0. I believe they can be used for computations when you want to "define" dividing by zero such as for having distinct outcomes for when you divide by positive versus negative zero. In other words, you're giving two different "definitions" to zero depending on how you want to use it.
It's analogous to how int x = 0 and double y = 0 are different "definitions" (types) for the same number. That's not to say that +0 and -0 are different types necessarily like in java, but they do have subtle differences.
我不是助教,乔纳的理解与我的类似,但有一点补充。问题是关于符号位负零在带符号位大小表示法中的应用,如果我的理解正确,-0并没有实际应用。它是带符号系统的一个副产品,通常需要解决/规范化,据我所知,没有真正的情况是你希望将0表示为-0的。
Not a TA, and Jonah’s understanding is similar to mine with one slight addition. The question asks about application of -0 in signed magnitude, if my understanding is correct, there is no practical application of -0. It is a byproduct of the signed system and is generally something that has to be worked around/normalized, afaik there isn’t really a situation where you would want to represent 0 as -0.
18 -0 in signed magnitude #24
补码中-0的意义和/或应用是什么?或者+0和-0只是功能上相同的东西的两种表示形式吗?
What is the significance and/or application of -0 in signed magnitude? Or are +0 and -0 just two representations of functionally the same thing?
我不是助教,但这是我的理解。-0和+0在数学上被视为相同。然而,它们在技术上具有不同的位模式,因此如果你想比较位模式,那么它们是不同的。如果x的编码是1000,y的编码是0000,那么x=y,但是当你想要使用位操作比较它们时,x=/=y。它们是相同数字0的不同位模式。我相信它们可以用于计算,当你想要“定义”除以零的情况,例如当你除以正零或负零时有不同的结果。换句话说,你根据如何使用零来给出两种不同的“定义”。
这类似于int x = 0和double y = 0是相同数字的不同“定义”(类型)。这并不是说+0和-0在java中必然是不同的类型,但它们确实存在细微的差别。
I am not a TA, but here is my understanding. -0 and +0 are treated as mathematically the same. However, they technically have different bit patterns, so if you want to compare bit patterns, then they are distinct. If x has encoding 1000 and y has encoding 0000, then x = y, but x =/= y when you want to compare them using bitwise operations. They are different bit patterns of the same number 0. I believe they can be used for computations when you want to "define" dividing by zero such as for having distinct outcomes for when you divide by positive versus negative zero. In other words, you're giving two different "definitions" to zero depending on how you want to use it.
It's analogous to how int x = 0 and double y = 0 are different "definitions" (types) for the same number. That's not to say that +0 and -0 are different types necessarily like in java, but they do have subtle differences.
Karma Williams
1小时前
Thanks, very helpful
1
Karma Williams
1小时前
Thanks, very helpful
1
Jonah Smith
1小时前
You're welcome!
Jonah Smith
1小时前
You're welcome!
19 floating point #25
你好!
浮点数会在考试中考到吗?
谢谢!
Hello!
Will floating point be tested on in the exam?
Thanks!
不会 - 我们的CPU不会执行浮点运算。所以如果你只对其有肤浅的了解(对于本课程而言)也没关系。
No - our CPU will not perform floating point operations. So it is ok (for the purposes of this course) if you only understand it at a superficial level.
20 0 in floating point representation #27
在第100页幻灯片中,它说 0 = 0.0 X 2^0,但几页之后,它说我们不能表示真正的 0,并且所有位都等于 0 等于 1.0 X 2^-127。我们应该遵循哪一个?
In slide 100, it says that 0 = 0.0 X 2^0, but a few slides later, it says we can't represent true 0 and all bits equal to 0 equals 1.0 X 2^-127. Which one should we stick to?
一个未优化的CPU可能只是用全0来表示绝对0(它在值上非常接近,即浮点数中的2^{-127},双精度浮点数中的2^{-1023})。但由于0经常出现,我认为实际的浮点实现会将0作为特殊情况处理,即
X + 0 = X
X * 0 = 0
X/0 = nan
对于这门课,我们不需要担心这个问题。
An unoptimized CPU might just use all 0's to represent absolute 0 (it's pretty close in value, i.e., 2^{-127} in floating point, 2^{-1023} in double). But since 0 comes up a lot, I would think that actual floating point implementations handle 0 as a special case, i.e.,
X + 0 = X
X * 0 = 0
X/0 = nan
For this class, we don't need to worry about it.
21 32 bit floating point #28
一旦你有了32位浮点数(例如,1 10100000 01010.....),是将其重新分组为4位(例如,1101 0000等)更好,还是保持原样(符号位 指数位 小数部分)更好?(在展示解决方案时)
Once you have your 32 bits for floating point (e.g., 1 10100000 01010.....)
is it better practice to regroup the answer into 4's (e.g., 1101 0000 etc..)
or to leave it as is (sign exponent fraction)?
(when presenting a solution)
如果你喜欢你的助教,我会让它更容易阅读(即,分成相应的字段)。
If you like your TA, I'd make it easier to read (i.e., break into the corresponding fields).
22 Optional Problem #29
如果这个问题已经解决过,请见谅——我们完成选做题(例如作业 #1 中的 Q7)是否会在作业中获得更高的分数(例如在 0-3 的评分标准上)
Apologies if this was already addressed - do we receive greater credit on homework (i.e. on the 0-3 scale) for completing an optional problem (i.e. Q7 on HW #1)
当然——我们会给你打
π
分。
说真的,作业只占你成绩的 10%,而且有 9 份作业,每份作业大约占你成绩的 1%——但思考这个问题有助于你的理解(请注意这是以前的期中考试题目)——所以我想你主要是为了这个原因才去做它。
Sure - we will give you a grade of
π.
Seriously, the HW is only 10% of your grade and with 9 assignments, each HW is about 1% of your grade - but thinking about the problem will help with your understanding (note it was a previous midterm question) - so I'd think about doing it for that reason mostly.
Jae Sung Hwang
昨天
教授,已截图,
我将等待我的 π 分。
开玩笑的。喜欢这个玩笑!
Jae Sung Hwang
昨天
Screenshotted professor,
I will be awaiting my pi grade.
Im kidding of course. Loved the joke!
23 HW1 #6 Overflow Interpretation. #30
教授和助教们好,
这个问题问的是,如果对3位字进行求和,哪些对会产生溢出,我想知道:
即使不考虑减法,你们是否想要所有可能产生溢出的3位字组合?或者对于求和,是否有像两个3位字必须彼此不同这样的规则?
请告诉我!
Hello Professor and TA's,
This question asks, what pairs of 3 bit words would produce overflow if summed, and I was wondering:
Even disregarding subtractions, do you want all possible 3-bit word combination that could produce an overflow? or Would there be a rule for the sum like the two 3 bit words must differ from each other?
Please let me know!
任何不能用3位表示的结果都将构成溢出,所以是的,由于无法表示大于13的值,它们都将是溢出。请注意,问题明确指出操作是“加法”,因此您无需考虑减法。由于第一个操作数有8种选择,第二个操作数有8种选择,因此共有64种情况需要考虑。有些可以很快排除(例如,000是否会参与溢出?111是否永远不会参与“加法”溢出)。而且,交换律也会减少您需要处理的情况数量...
Any result that cannot be represented using the 3 bits would constitute an overflow, so yes, since there is no way to represent values over 13, they would all be overflows. Note the problem specifies the operation is "add", so you don't need to consider subtraction. Since there are 8 choices for the first term and 8 for the second, there are 64 cases to consider. Some can quickly be ruled out (e.g., can 000 ever be involved in overflow? Can 111 ever not be involved in an "add" overflow). And commutativity also cuts down the number of cases you need to work through...
Jae Sung Hwang
7小时前
谢谢您!!!教授的帮助总是那么棒!
Jae Sung Hwang
7小时前
Thank youuuuu!!! Always amazing help professor!
24 Professor OH Today? #31
你好!鲁宾斯坦教授今天会举行答疑时间吗?
Hello! Is Professor Rubenstein going to be holding office hours today?
25 HW #2 released #32
亲爱的 3827 同学们,
作业 #2 现已发布(下周截止)。请尽快完成作业 #1,尽管您不必等到(很可能)周末之后才能提交...
Dear 3827 students,
HW #2 is now released (due next week). Please try to finish up HW #1 soon, even though you won't have to turn it in until (most likely) after the weekend...
26 HW#1 - Q5 #33
大家好,
我想确认一下问题5的解释。
例如,在(a)中,我们是否将小数点左右的二进制数视为不同的无符号数?1010(左)和1110(右)。然后,我们将这个数转换为IEEE标准。
或者我们是否必须通过移动小数点并将其与指数关联来规范化这个数,然后将其转换为IEEE标准?
谢谢。
Hi folks,
I wanted to confirm the interpretation of the question 5.
For example, in (a), do we consider the binary numbers from the left and the right of the period as distinct unsigned numbers? 1010 (left) and 1110 (right). Then, we convert the number to the IEEE standard.
Or do we have to normalize this number by moving the period and relating that to an exponent and then converting that to the IEEE standard?
Thank you.
不确定这是否是你说的通过移动小数点来规范化数字,但你的过程应该是:
1) 计算你需要移动小数点多少位才能使数字变成1.XXXXXXX形式。
2) 第一部分中的数字现在成为你的指数(左为正,右为负),XXXXXX成为你的尾数。
3) 如果数字是负数,不要忘记包含符号位。
你的最终答案应该是 [第3部分][127 + 第1部分][第2部分]。
希望这有帮助!
Not sure if this is what you mean by normalizing the number by moving the period, but your process should be:
1) Calculate the number of decimal places you need to move the period so the number becomes 1.XXXXXXX form.
2) The number in part 1 now becomes your exponent (left is positive, right is negative), and the XXXXXX becomes your mantissa.
3) If the number is negative, don't forget to include the sign.
Your final answer should be [Part 3][127 + Part 1][Part 2].
Hope this makes sense!
27 Gradescope #35
下午好!我写信是想咨询如何访问 Gradescope/HW1。由于我最近才加入这门课程,如果您能提供指导,我将不胜感激。谢谢!
Good afternoon! I'm writing to kindly ask about accessing Gradescope/HW1. I would sincerely appreciate guidance on how to do so, as I recently joined the course. Thanks!
你好,
(顺便说一下,我不是助教。)他们仍在设置评分系统,所以目前还没有 Gradescope,也没有官方的作业提交方式。我认为这取决于批改你作业的助教个人决定是否通过 Gradescope 提交作业,但就目前而言,你并没有错过任何关于访问课程 Gradescope 的信息,而且他们可能最终根本不使用 Gradescope。(至少,我目前无法访问 Gradescope 上的任何内容。)
作业 1 和作业 2 在 Courseworks 上的作业文件中。作业 0 是可选的。
Hello,
(I am not a TA by the way.) They are still getting the grading situation setup, so there is no gradescope nor any official way to submit the homework yet. I think it's at the discretion of the individual TA who grades your work as to whether they want you to submit homework through gradescope, but you haven't missed anything regarding accessing gradescope for the class in general as of now and they might end up not even using gradescope at all I think. (At the very least, I don't have access to anything on gradescope as of now.)
Homework 1 & 2 is in the homework file on courseworks. Homework 0 is optional.
28 Waitlist Inquiry #37
您好,只是想转达候补名单上某人的一个问题。关于创建第三个分部或增加课程规模,是否有更多信息?候补人员对课程注册有什么期望?
谢谢
Hi, just wanted to relay a question from the someone on the waitlist. Is there any more information about the creation of a third section or the increase of the class size? What should waitlisted people expect for the class regarding registration?
Thank you
Anonymous
4天前
谢谢!
Anonymous
4天前
Thank you!