纽约大学linker的lab
上海纽约大学本科申请条件

上海纽约大学本科申请条件上海纽约大学(NYUShanghai)是一所位于上海市东外滩的知名国际合作办学机构,是新加坡国立大学与美国纽约大学联合创办的,是联合国大学联盟(UNU)中唯一有正规本科项目的大学。
NYU Shanghai 的本科申请条件较高,但是录取一位学生的概率也不低。
NYU Shanghai的本科申请条件主要包括教育背景、考试成绩、语言能力和个人综合素质。
一、教育背景NYU Shanghai的本科申请者,需具备高中或相当学历,若毕业于中国学校,需符合该教育部招生规定的高考分数要求,若毕业于非中国学校,需具备中国等价学历。
二、考试成绩NYU Shanghai招生主要依据SAT数学、语法考试成绩、ACT考试成绩、AP成绩和三套IB证书。
三、语言能力申请者必须具备流利的英文沟通能力,因此,需提交TOEFL或IELTS的考试成绩,或者提交英语认可的官方语言证明文件。
四、个人综合素质NYU Shanghai注重申请者的个人综合素质,包括学习能力、思维能力、表达能力、领导能力及社会公民责任感和跨文化交流能力。
为此,申请人必须提交有关学习及社会活动经历、专业技能、慈善实践等方面的教授推荐信、工作经历、奖学金信息、课外特殊技能以及领导经历等文件。
以上就是NYU Shanghai的本科申请条件,对于所有申请者来说,首先应重视学习成绩,文理双全,着重于数学、语言、人文、艺术等课程,应加强英语学习,积极参加各类学术比赛,多完成课外读物,提升自身的社会实践和扩展思维,多参加跨文化交流活动,并学会珍惜自身资源和把握时机,充分剖析、组织及推理解决问题,从而获得高分,增强NYU Shanghai本科录取机会。
NYU Shanghai希望学生将成为卓越的领导者,拥有丰富的文化意识和社会实践能力,为未来社会发展做出更大贡献。
上海纽约大学欢迎广大有抱负的申请者加入到这个充满活力的学习社区,共同提升自身的素质,成就辉煌的未来。
纽约大学申请条件

纽约大学申请条件纽约大学(NYU),位于纽约市曼哈顿,是一所享有盛誉的私立研究型大学。
作为全球著名的大学之一,纽约大学在商学、法学、国际关系、传媒等领域具有很高的声望,是众多学生梦想中的名校之一。
以下是纽约大学本科生申请条件的详细介绍。
1. 学习成绩要求申请者需要提交他们的高中成绩单,包括各门课程的成绩和排名。
纽约大学没有强制要求申请者的最低成绩,但是学习成绩是影响申请结果的重要因素。
此外,申请者必须参加SAT或ACT考试,并提交官方成绩单。
2. 语言水平要求所有非英语母语国家的学生必须参加TOEFL或IELTS考试,以证明其英语水平达到纽约大学入学要求。
纽约大学的TOEFL最低要求是100分,IELTS最低要求是7分,也可以通过参加大学的英语培训课程来满足这一要求。
3. 文书要求纽约大学要求申请者提交一篇关于自己经历、兴趣和目标的个人陈述,或者是一篇回答指定题目的申请论文。
此外,申请者还需要提供两封推荐信,推荐人可以是老师、辅导员、雇主、教练等。
4. 课外活动纽约大学希望看到申请人超出课堂学习,积极参与社区服务、体育活动、文化艺术等领域的经历。
申请者需要在申请时提供课外活动的详细介绍和所获得的相关荣誉。
5. 其他因素纽约大学鼓励从多个角度展示申请人的全面素质。
除了学习成绩、语言水平、申请文书和课外活动外,申请人还可以提交其他的材料,如SATII成绩、竞赛获奖证书、研究经历、实习经验等,以帮助评估者更好地了解申请人的全貌。
总的来说,申请者需要在多个方面展现自己具有良好的学习能力、个人素质和适应大学生活的能力。
除了满足上述基本要求外,必须在个人申请材料中尽可能体现自己的特点和亮点,才能在竞争激烈的申请中脱颖而出。
上纽大专业设置

上纽大专业设置
纽约大学(New York University)拥有广泛的专业设置,涵盖了人文科学、社会科学、自然科学、工程技术、商科、艺术等领域。
以下是一些较为重要的专业设置:
1. 文科类专业:英语、历史、哲学、文化研究、语言学、传媒研究等。
2. 社科类专业:经济学、社会学、心理学、政治科学、国际关系、社会工作等。
3. 科学类专业:物理学、化学、生物学、数学、计算机科学、环境科学等。
4. 工程技术类专业:电气工程、机械工程、土木工程、计算机工程、生物医学工程等。
5. 商科类专业:管理学、金融学、市场营销、会计学、国际商务等。
6. 艺术类专业:音乐、戏剧、电影、视觉艺术、摄影等。
纽约大学还开设了一些特色的跨学科和专业方向,如:新闻学、媒体与传播学、旅游与酒店管理、食品研究、心理与脑科学、全球公共卫生等。
需要注意的是,纽约大学的专业设置可能会随着时间的推移而有所调整,具体的专业设置请以学校官方网站或招生办公室提供的最新信息为准。
高校学习空间再设计:4个案例(一)

高校学习空间再设计:4个案例(一)学习是一种探究知识的过程,而学习空间是这个过程中的重要组成部分。
近年来,随着教育的发展,学校对学习空间的需求也日益增长。
学习空间的设计不仅涉及到使用者的需求,还涉及到诸多困难,如如何适应现代技术、如何最大化使用空间等。
本文将介绍四个高校学习空间的设计案例。
1. 加拿大麦吉尔大学的“USSB”加拿大麦吉尔大学(McGill University)在学生社交与学习需求的基础上设计了一种新型学习空间,名为“USSB”(Ultimate Student Study Break),旨在提供一个舒适、轻松、社交的环境来确保学生在考试期间保持充分的精力与精神状态。
“USSB”是一个宽敞而舒适的学习空间,提供了各种各样的座位供学生进行学习和社交活动。
该空间还为学生提供了神经学疲劳营和瑜伽课程等服务,帮助学生提高学习效率和减轻压力。
2. 美国纽约大学的“独立小屋”美国纽约大学(New York University)的“独立小屋”(The Independent House)是一个特别为学生设计的学习和社交空间。
这个空间位于学生宿舍楼的较高层,由一系列小型单间组成,每个单间都有自己的工作区和小厨房。
纽约大学的设计师认为,由于学生通常在晚上独自学习,需要一个安全、舒适的空间使他们不受干扰,并提供必要的设施,解决他们日常需求。
“独立小屋”还配备有共享式的社交空间和一系列互动性强的室内装置,如教学模拟器、音乐和游戏设备,以及各种小型展览和讲座活动。
3. 英国卡迪夫大学的“学习大道”英国卡迪夫大学(Cardiff University)为适应学生日益增加的学习和研究需求,推出了一种现代化的“学习大道”。
在校园内策划了一个440英尺长的“学习大道”,包括四个分区:传统学习区、竞技场、想象空间和实验室。
每个分区都有自己独特的学习环境和设施,从而吸引不同喜好的学生加入。
卡迪夫大学的学习大道还提供各种学习和培训机会,如学习母语的课程、研究和开发场地等。
上海纽约大学人文科学试验班课程

上海纽约大学人文科学试验班课程
上海纽约大学人文科学试验班是一个提供跨学科人文科学教育的特殊课程。
该试验班开设了多门课程,涵盖了人文科学的不同领域和主题。
以下是该试验班可能提供的一些课程示例:
1. 哲学导论:介绍哲学的基本概念和思考方式。
2. 文学与社会:探讨文学作品如何反映社会问题和文化变迁。
3. 艺术与审美:研究不同艺术形式和审美理论。
4. 历史研究方法:教授历史研究的基本方法和技巧。
5. 社会学与人类学:探索社会和文化的结构、演变和变革。
6. 心理学导论:介绍心理学基本理论和研究方法。
7. 文化研究:研究不同文化的特点、相互影响和交流。
8. 思想与社会变革:探讨思想如何影响社会的发展和变革。
这些课程将帮助学生培养跨学科的思维能力和人文科学研究的基本技巧。
注意,具体的课程安排可能因学期和教师而有所不同,建议去该大学的官方网站或联系相关负责人获取最新课程信息。
纽约大学校区地图

Key to Buildings1Carlyle Court25 Union Square West2Coral Towers129 Third Avenue3Thirteenth StreetResidence Hall47 West 13th Street4145 Fourth Avenue5University Hall110 East 14th Street6Palladium Hall140 East 14th Streeta Wasserman Center forCareer Development133 East 13th Street7113 University Place8838 Broadway97 East 12th Street10Casa Italiana Zerilli-Marimò24 West 12th Street11Founders Hall120 East 12th Street12Third Avenue NorthResidence Hall75 Third Avenue13Rubin Residence Hall35 Fifth Avenue14Bronfman Center7 East 10th Street15Brittany Residence Hall55 East 10th Street16Lillian Vernon CreativeWriters House58 West 10th Street17Alumni Hall33 Third Avenue18Barney Building34 Stuyvesant Street1913 University Place20Cantor Film Center36 East Eighth Street21Deutsches Haus42 Washington Mews22Weinstein Residence Hall11 University Place2310 Astor Place24Glucksman Ireland House1 Washington Mews25a Institute of French Studies15 Washington Mewsb La Maison Française16 Washington Mews26Straus Institute for theAdvancement of Lawand Society22 Washington Square North2719 Washington Square North–NYU Abu Dhabi28One-half Fifth Avenue291-6 Washington Square Northa Silver School of Social Work1 Washington Square Northb Graduate School of Artsand Science6 Washington Square North30Rufus D. Smith Hall25 Waverly Place31Seventh Street Residence Hall40 East Seventh Street32111, 113A Second Avenue33Silver Center Blocka Silver Center forArts and Science100 Washington Square East/33 Washington Placeb Grey Art Gallery100 Washington Square Eastc Waverly Building24 Waverly Placed Brown Building29 Washington Place34Kimball Blocka Kimball Hall246 Greene Streetb Torch Club18 Waverly Placec Center for Genomics andSystems Biology12 Waverly Placed285 Mercer Street35Broadway Blocka715 Broadwayb721 Broadwayc 1 Washington Placed5 Washington Place36726 Broadwaya College of Nursingb Liberal Studies Programc Student Health Centerd Moses Center for Studentswith Disabilitiese Bookstoref Housing37411 Lafayette Street3848 Cooper Square3920 Cooper Square40Hayden Residence Hall33 Washington Square West41Education Blocka Pless Hall82 Washington Square Eastb Pless Annex82 Washington Square East(26 Washington Place)c East Building239 Greene Streetd Education Building35 West Fourth Streete Faye’s @ the Square45 West Fourth Streetf Goddard Hall79 Washington Square East42Student Services Blocka25 West Fourth Streetb240 Greene Streetc242 Greene Streetd Public Safety14 Washington Placee14A Washington Placef10 Washington Placeg8 Washington Placeh19 West Fourth Street43Meyer Blocka Meyer Hall4 Washington Placeb Psychology Building6 Washington Place44133 MacDougal Streeta Wilf Hallb Provincetown Playhouse45Vanderbilt Hall40 Washington Square South46Judson Blocka Kevorkian Center50 Washington Square Southb Skirball Department53 Washington Square Southc King Juan Carlos I Center53 Washington Square Southd Furman Hall245 Sullivan Street4758 Washington Square South48Kimmel Center forUniversity Life60 Washington Square Southa Skirball Center for thePerforming Arts49Bobst Library70 Washington Square South50Schwartz Plaza51Shimkin Hall50 West Fourth Streeta Jeffrey S. GouldWelcome Center52Kaufman ManagementCenter44 West Fourth Street53Gould Plaza54Tisch Hall40 West Fourth Street55Courant Institute251 Mercer Street56Silk Building14 East Fourth Street57383 Lafayette Streeta Card Center (ID Card)58D’Agostino Hall110 West Third Street59561 La Guardia Place60Mercer Street Residence240 Mercer Street61Mail Services andCopy/Media Central547 La Guardia Place62Washington Square Village, 1-463530 La Guardia Place64Off-Campus Housing4 Washington Square Village65665 Broadway66Second Street Residence Hall1 East Second Street67University Plaza68Silver Towers100, 110 Bleecker Street69Coles Sports andRecreation Center181 Mercer Street70194, 196 Mercer Street71Puck Building295 Lafayette Streeta Wagner Graduate Schoolof Public ServiceNOT SHOWNBroome Street Residence400 Broome StreetButterick Building161 Sixth AvenueGramercy Green316 Third AvenueGreenwich Hotel636 Greenwich StreetLafayette Street Residence80 Lafayette StreetTwenty-sixth Street Residence334 East 26th StreetUniversity Court334 East 25th StreetWoolworth Building15 Barclay StreetAlphabetical List(Numbers in parentheses correspondto the Key to Buildings and map)BY BUILDING NAMEAlumni Hall33 Third Avenue (17)Barney Building34 Stuyvesant Street (18)Bobst Library70 Washington Square South (49)Bookstore726 Broadway (36e)Brittany Residence Hall55 East 10th Street (15)Bronfman Center7 East 10th Street (14)Broome Street Residence400 Broome Street (not shown)Brown Building29 Washington Place/245 Greene Street (33d)Butterick Building161 Sixth Avenue (not shown)Cantor Film Center36 East Eighth Street (20)Card Center (ID Card)383 Lafayette Street (57)Carlyle Court25 Union Square West (1)Casa Italiana Zerilli-Marimò24 West 12th Street (10)Coles Sports andRecreation Center181 Mercer Street (69)Copy Central283 Mercer Street (34d)Coral Towers129 Third Avenue (2)Courant Institute251 Mercer Street (55)D’Agostino Hall110 West Third Street (58)Deutsches Haus42 Washington Mews (21)East Building239 Greene Street (41c)Education Building35 West Fourth Street (41d)Faye’s @ the Square45 West Fourth Street (41e)Founders Hall120 East 12th Street (11)Furman Hall245 Sullivan Street(46d)Glucksman Ireland House1 Washington Mews (24)Goddard Hall79 Washington Square East (41f)Gould Plaza (53)Jeffrey S. Gould Welcome Center50 West Fourth Street (51a)Gramercy Green316 Third Avenue (not shown)Greenwich Hotel636 Greenwich Street(not shown)Hayden Residence Hall33 Washington Square West (40)Housing726 Broadway (36f)Institute of French Studies15 Washington Mews (25a)Kaufman Management Center44 West Fourth Street (52)Kevorkian Center50 Washington Square South (46a)Kimball Hall246 Greene Street (34a)Kimmel Center forUniversity Life60 Washington Square South (48)King Juan Carlos I Center53 Washington Square South (46c)La Maison Française16 Washington Mews (25b)Lafayette Street Residence80 Lafayette Street (not shown)Lillian Vernon CreativeWriters House58 West 10th Street (16)Mail Services andCopy/Media Central547 La Guardia Place (61)Mercer Street Residence240 Mercer Street (60)Meyer Hall4 Washington Place (43a)Moses Center for Studentswith Disabilities726 Broadway (36d)Off-Campus Housing4 Washington Square Village (64)Palladium Hall140 East 14th Street (6)Pless Annex26 Washington Place (41b)Pless Hall82 Washington Square East (41a)Provincetown Playhouse133 MacDougal Street (44b)Psychology Building6 Washington Place (43b)Public Safety14 Washington Place (42d)Puck Building295 Lafayette Street (71)Rubin Residence Hall35 Fifth Avenue (13)Rufus D. Smith Hall25 Waverly Place (30)Schwartz Plaza (50)Second Street Residence Hall1 East Second Street (66)Seventh Street Residence Hall40 East Seventh Street (31)Shimkin Hall50 West Fourth Street (51)Silver Center for Arts and Science100 Washington Square East/33 Washington Place (33a)Silver Towers100, 110 Bleecker Street (68)Skirball Department53 Washington Square South (46b)Straus Institute for theAdvancement of Law and Society22 Washington Square North (26)Student Health Center726 Broadway (36c)Student Services Center25 West Fourth Street (42a)Third Avenue NorthResidence Hall75 Third Avenue (12)Thirteenth Street Residence Hall47 West 13th Street (3)Tisch Hall40 West Fourth Street (54)Torch Club18 Waverly Place (34b)Twenty-sixth Street Residence334 East 26th Street (not shown)Undergraduate AdmissionsGould Welcome Center50 West Fourth Street (51a)University Court334 East 25th Street (not shown)University Hall110 East 14th Street (5)University Plaza (67)Vanderbilt Hall40 Washington Square South (45)Washington Square Village,1-4 (62)Wasserman Center forCareer Development133 East 13th Street (6a)Waverly Building24 Waverly Place (33c)Weinstein Residence Hall11 University Place (22)Woolworth Building15 Barclay Street (not shown)BY STREET10 Astor Place (23)665 Broadway (65)715 Broadway (35a)721 Broadway (35b)838 Broadway (8)20 Cooper Square (39)48 Cooper Square (38)7 East 12th Street (9)One-half Fifth Avenue (28)14 East Fourth Street (56)145 Fourth Avenue (4)240 Greene Street (42b)242 Greene Street (42c)411 Lafayette Street (37)530 La Guardia Place (63)561 La Guardia Place (59)194, 196 Mercer Street (70)285 Mercer Street (34d)111, 113A Second Avenue (32)13 University Place (19)1 Washington Place (35c)5 Washington Place (35d)8 Washington Place (42g)10 Washington Place (42f)14, 14A Washington Place (42d,e)1-6 Washington Square North (29)19 Washington Square North (27)22 Washington Square North (26)58 Washington Square South (47)19 West Fourth Street (42h)25 West Fourth Street (42a)。
纽约大学的面试题及答案

纽约大学的面试题及答案一、纽约大学面试题1. 请简单介绍一下你自己。
答案:在回答这个问题时,你应该简洁明了地介绍你的名字、家乡、教育背景以及你的一些兴趣爱好。
例如:“我叫李明,来自中国北京,目前在北京大学学习经济学。
在业余时间,我喜欢阅读和打篮球。
”2. 你为什么选择纽约大学?答案:在这个问题上,你可以谈论纽约大学的学术声誉、地理位置、校园文化以及你选择该校的个人原因。
例如:“我选择纽约大学是因为它在国际关系领域的卓越学术声誉,以及它位于纽约这个多元文化和充满活力的城市。
”3. 你如何看待团队合作?答案:在这个问题中,你可以强调团队合作的重要性,并分享一些你参与团队项目的经历。
例如:“我认为团队合作是成功的关键,因为它允许不同背景和技能的人共同解决问题。
在我的大学项目中,我与团队成员一起完成了一个市场调研报告,这让我深刻理解了团队合作的价值。
”4. 你如何应对压力和挑战?答案:在这个问题上,你可以分享你面对压力和挑战时的应对策略。
例如:“面对压力和挑战,我通常会制定一个清晰的计划,并优先处理最重要的任务。
我也相信与他人交流和寻求帮助是缓解压力的有效方式。
”5. 你对未来有什么规划?答案:在这个问题中,你可以谈论你的职业目标和个人发展计划。
例如:“我计划在毕业后加入一家国际非政府组织,专注于全球教育项目。
长远来看,我希望能为改善全球教育不平等问题做出贡献。
”二、纽约大学面试题答案1. 请简单介绍一下你自己。
答案:在这个问题中,你应该简洁地介绍你的基本信息和个人特点。
例如:“我叫张伟,来自上海,目前在复旦大学学习计算机科学。
我对编程和人工智能充满热情,业余时间我喜欢参加编程马拉松和阅读科幻小说。
”2. 你为什么选择纽约大学?答案:在这个问题上,你可以谈论纽约大学吸引你的原因。
例如:“我选择纽约大学是因为它在艺术和文化领域的世界级教育,以及它提供的丰富实习和研究机会。
”3. 你如何看待团队合作?答案:在这个问题中,你可以强调团队合作的重要性,并举例说明你的团队合作经验。
名校校训——纽约大学_成长故事

名校校训——纽约大学纽约大学(NewYorkUniversity)是一所位于美国纽约市的研究型私立大学,是1831年由美国财政部长艾伯特·;加勒廷和一群热心教育的纽约市民建立的。
这是一所非宗教性的大学,提倡理性和实践精神,致力于现代知识教育和实用技能培训。
纽约是美国的文化中心,市内有200多家剧场和近200家图书馆。
同时,这里也是美国的金融中心,著名的华尔街就在这里。
位置上的优势使得纽约大学拥有众多资源可用,这造福了纽约大学的学生,实践了纽约大学知识与应用并重、服务纽约市民的办校精神。
历经180年的风雨,纽约大学今日已经成为拥有5万名学生、5000多位专任教师的全美最大私立大学。
学校现有14个学院和6个研究中心,建立了数十个学科专业并开设有2500多门课程,很多学科都已达到了世界级的水准。
其数学科学研究所是美国排名第一的应用数学研究机构。
艺术学院提供着美国最好的戏剧、电影、表演艺术的教育,众多奥斯卡奖、艾美奖得主都曾就读于此。
法学院被誉为全美十佳法学院之一。
纽约大学商学院毗邻金融中心华尔街,同数百家世界级的金融研究机构和金融企业有广泛的联系,使得纽约大学商学院不仅在学术研究领域实力非凡,而且在金融实践方面也拥有得天独厚的优势。
在纽约大学的24位诺贝尔奖得主中,有3位来自于商学院。
纽约大学也是一所国际化程度很高的大学,9%的在校学生是来自163个国家的国际学生。
2012年《美国新闻与世界报道》评定纽约大学名列全美综合排名第32位。
在学术排名以外,《普林斯顿评论》从2004年到2007年将纽约大学评为美国高中毕业生最想进入的大学第1名。
《福布斯》杂志2008年一项“拥有亿万身价校友最多的大学”调查中,纽约大学排名第7。
纽约大学的校训:坚持和超越(Topersevereandtoexcel)。
纽约大学的师生们180多年来躬行实践,给这一校训作了最佳的诠释,为后来的学子和关注纽约大学的人们做了最好的示范。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Page 1
G22.2250 2010-11 Fall Allan Gottlieb
You are to implement a two-pass linker in C, C++, or Java and submit the source code, which we will compile and run. The target machine is word addressable and has a memory of 600 words, each consisting of 4 decimal digits. The first (leftmost) digit is the opcode, which is unchanged by the linker. The remaining three digits (called the address field) are either (1) an immediate operand, which is unchanged; (2) an absolute address, which is unchanged; (3) a relative address, which is relocated; or (4) an external address, which is resolved. Relocating relative addresses and resolving external references were discussed in class and are in the notes. Input consists of a series of object modules, each of which contains three parts: definition list, use list, and program text. The linker processes the input twice (that is why it is called two-pass). Pass one determines the base address for each module and the absolute address for each external symbol, storing the later in the symbol table it produces. The first module has base address zero; the base address for module I+1 is equal to the base address of module I plus the length of module I. The absolute address for symbol S defined in module M is the base address of M plus the relative address of S within M. Pass two uses the base addresses and the symbol table computed in pass one to generate the actual output by relocating relative addresses and resolving external references. The definition list is a count ND followed by ND pairs (S, R) where S is the symbol being defined and R is the relative address to which the symbol refers. Pass one relocates R forming the absolute address A and stores the pair (S, A) in the symbol table. The use list is a count NU followed by NU pairs (S, R), where S is the symbol being used and R is a relative address where S is used. The (dummy) address initially in R is a pointer to the next use of S. The linked list of uses ends with a pointer of 777. The program text consists of a count NT followed by NT pairs (type, word), where word is a 4-digit instruction described above and type is a single character indicating if the address in the word is Immediate, Absolute, Relative, or External. NT is thus the length of the module.
Lab 1—Lie 2
G22.2250 2010-11 Fall Allan Gottlieb
There are several sample input sets on the web. The first is the one below and the second is an re-formatted version of the first. Some of the input sets contain errors that you are to detect as described above. We will run your lab on these (and other) input sets. Please submit the SOURCE code for your lab, together with a README file (required) describing how to compile and run it. Your program must either read an input set from standard input, or accept a command line argument giving the name of the input file; README specifies which option you chose. You may develop your lab on any machine you wish, but must insure that it compiles and runs on the NYU system assigned to the course. The expected output is also on the web. Let me know right away if you find any errors in the output. 1 1 5 0 1 6 0 1 2 1 1 3 xy 2 z 4 R 1004 z 3 R 8001 z 1 R 5001 z 2 xy 2 A 8000
Other requirements: error detection, arbitrary limits, and space used.
To received full credit, you must check the input for various errors. All error messages produced must be informative, e.g., ‘‘Error: The symbol ‘diagonal’ was used but not defined. It has been given the value 0’’. You should continue processing after encountering an error and should be able to detect multiple errors in the same run. • • • • If a symbol is multiply defined, print an error message and use the value given in the first definition. If a symbol is used but not defined, print an error message and use the value zero. If a symbol is defined but not used, print a warning message and continue. If an address appearing in a definition exceeds the size of the module, print an error message and treat the address given as 0 (relative). • If an address appearing in a use list exceeds the size of the module, print an error message and treat the address as the sentinel ending the list. • If an address on a use list is not type E, print an error message and treat the address as type E. • If a type E address is not on a use list, print an error message and treat the address as type I.