COMP9021 quiz 5

Uses the file cardio_train.csv downloaded from https://www.kaggle.com/sulianova/cardiovascular-disease-dataset Implements a function analyse(gender, age) where gender is one of ‘F (for female) or ‘M’ (for male), and where age is any integer for which we have data in the file (nothing needs to be done if that is not the case). We assume that all years have […]

COMP9021 quiz 5 Read More »

COMPSYS 705 Formal Methods for Safety Critical Software Test, 17 October 2023

The University of Auckland Department of Electrical, Computer and Software Engineering COMPSYS 705 Formal Methods for Safety Critical Software Test, 17 October 2023 Question Mark Q1 Q2 Q3 Q4 Q5 Q6 Total Last name Name ID 1. Answer ALL questions. Part I (Partha’s part) covers 70 marks, while Part II (Avinash’s Part) covers 30 marks

COMPSYS 705 Formal Methods for Safety Critical Software Test, 17 October 2023 Read More »

CSEE4119 F24 Project 1 Preliminary Stage

CSEE4119 F24 Computer Networks Project 1: Video CDN 0. Deadlines and Updates Preliminary Stage Due: October 9th, 11:59pm Updates: 0. Deadlines and Updates 1 1. Overview 2 1.1 In the Real World 2 1.2 Your System 2 1.3 Groups and collaboration policy 4 2. Preliminary stage 4 2.1 Requirements 4 2.2 Get your connections right.

CSEE4119 F24 Project 1 Preliminary Stage Read More »

CSC 485H 2501H: Computational linguistics, Fall 2024

University of Toronto, Department of Computer Science CSC 485H/2501H: Computational linguistics, Fall 2024 Assignment 2 Due date: 17:00 on Thursday, November 7, 2024. Late assignments will not be accepted without a valid medical certificate or other documen- tation of an emergency. For CSC485 students, this assignment is worth 33% of your final grade. For CSC2501

CSC 485H 2501H: Computational linguistics, Fall 2024 Read More »

COMP2521 24T3 Assignment 1

COMP2521 24T3 Assignment 1 1. Assignment Overview Course Information: COMP2521 24T3, Data Structures and Algorithms course, School of Computer Science and Engineering, University of New South Wales Assignment Contribution: Contributes 15 to the final grade Submission Requirements Deadline: 8 pm on Monday of Week 7 Files to Submit: Mset.c, MsetStructs.h, and analysis.txt Submission Method: Command

COMP2521 24T3 Assignment 1 Read More »

COMP2521 24T3 Assignment 1

# COMP2521 24T3 – Assignment 1 ## 1. 作业概述 – **课程信息**:COMP2521 24T3,数据结构与算法课程,新南威尔士大学计算机科学与工程学院 – **作业贡献**:占期末成绩的15% – **提交要求** – **截止时间**:第7周周一晚上8点 – **提交文件**:Mset.c、MsetStructs.h和analysis.txt – **提交方式**:命令行(`$ give cs2521 ass1 Mset.c MsetStructs.h analysis.txt`)或give的网页界面 – **注意事项**:可多次提交,以最后一次为准;提交后需检查是否成功 – **评分标准** – **正确性(75%)** – 包括基本操作(如插入、删除、获取大小、获取总数、获取元素计数、打印等)和高级操作(如并集、交集、包含判断、相等判断、获取最常见元素等)的实现正确性,以及平衡二叉搜索树更新后的相关操作正确性和游标操作的正确性 – 每个操作有相应的分数占比,若出现内存错误/泄漏会有相应扣分 – **复杂度分析(15%)**:分析.txt中复杂度分析的正确性和解释质量 – **代码风格(10%)**:包括缩进、空格使用、函数使用、代码分解、注释等方面的评估 ## 2. 作业内容 ### 2.1 Multiset抽象数据类型(ADT) – 是一种允许重复元素的集合,每个元素有一个计数,表示在集合中出现的次数。 – 是抽象数据类型,关注其操作集合,实现细节不重要,只要对用户呈现出期望的行为。 – **操作要求** –

COMP2521 24T3 Assignment 1 Read More »

COMP9414 Artificial Intelligence

COMP9414 Artificial Intelligence ## Assignment 1: Constraint Satisfaction Search **Wayne Wobcke, Alfred Krzywicki, Stefano Mezza** **Due Date:** Week 5, Friday, October 11, 5.00pm ### Objective This assignment concerns developing optimal solutions to a scheduling problem inspired by the scenario of hosting a number of visitors to an organization such as a university department. Each visitor

COMP9414 Artificial Intelligence Read More »

CS380I LiveOak

# Programming Assignment 2: LiveOak – 2 to SaM Compiler ## 1. Assignment Overview ### 1.1 Task Create a handwritten recursive-descent parser and SaM code generator for levels 0, 1, and 2 of the LiveOak language. Use the provided SaMTokenizer class for lexical analysis. The compiler should take a file containing a LiveOak program as

CS380I LiveOak Read More »

2

# Programming Assignment 2: LiveOak – 2 to SaM Compiler ## 1. 作业概述 ### 1.1 任务 创建一个手写的递归下降解析器和SaM代码生成器,用于LiveOak语言的0、1、2级。需使用提供的SaMTokenizer类进行词法分析,编译器要接受包含LiveOak程序的文件作为输入,并生成包含正确翻译输入程序的SaM程序的输出文件。作业旨在帮助理解递归下降解析以及实现编译器的意义。相关讲座视频包括LiveOak、栈机和SaM、递归下降解析和代码生成。 ### 1.2 分值与截止日期 分值为100分,截止日期为10月20日晚上11:59,可使用最多2个延迟(延期)天数。 ### 1.3 提交方式 所有提交均为电子形式,可在任何机器上完成作业,提交的测试在Gradescope上自动进行。需提交compiler.jar(项目的可运行.jar文件)和source.zip(包含所有源文件的.zip文件)。 ## 2. 准备材料 ### 2.1 必需材料 – SaM库(v2.6.3),包含词法分析器(从编程作业1获得),编译代码时需使用此.jar文件,若使用IDE,需将其作为外部库添加到项目中。 – 公共测试用例集合(仍在扩展中)。 ### 2.2 可选材料 – 编译器的起始模板,可从此处获取(https://utexas.instructure.com/courses/1404625/ files/79509966?wrap=1)(https://utexas.instructure.com/courses/1404625/files/79509966/ download?download_frd=1)。 – SaM API的HTML文档,从此处获取(https://utexas.instructure.com/ courses/1404625/files/79016316?wrap=1)(https://utexas.instructure.com/courses/1404625/ files/79016316/download?download_frd=1)。 – 包含SaM解释器完整工作原理的设计文档,从此处获取(https://utexas.instructure.com/courses/1404625/files/79016315?wrap=1)(https:// utexas.instructure.com/courses/1404625/files/79016315/download?download_frd=1)。 ## 3. 作业细节 ### 3.1

2 Read More »