COMP2111 assign3

COMP2111 Assignment 3 Ken Robinson 16th April 2012 Name of assignment: ass3 Due date: 27th April 2012 Assessment: 15 marks Submission: give cs2111 ass3 Library.zip 1 Overview of assignment This assignment extends the tutorial example of a simple library (see 2.4.2). The extensions are: 1. addition of a borrowing limit; 2. addition of a reservation […]

COMP2111 assign3 Read More »

COMP2111 assign4

COMP2111 Assignment 4 Ken Robinson 10th May 2012 Name of assignment: LiftController Assessment: 20 marks Submission: give cs2111 ass4 LiftController.zip Deadline: Friday June 1 (23:59:59) 1 Overview of assignment This assignment extends the lecture example of a simple lift controller, that you can extract from an archive (see 2.2). The archive contains: Lift ctx: the

COMP2111 assign4 Read More »

COMP2121 Microprocessors and Interfacing

COMP2121 Microprocessors and Interfacing 20T1 Final Project: Microwave Oven Simulator Write a report on how you would design a microwave oven simulator that adheres to the given specification (on page 3). Your report should be around eight pages. Note that this work is to be done individually. Submit the report as a PDF file using

COMP2121 Microprocessors and Interfacing Read More »

COMP2121 homework

Comparing the Instruction Set Architectures of ARM and AVR In this homework, you will learn the ISA of another RISC microprocessor, ARM, and compare it with that of AVR. As you are aware by now, an ISA consists of four components: memory models; registers; instructions; and, data types. Explore each component. You should focus on

COMP2121 homework Read More »

COMP2041 9044 23T2 Assignment 2 Sheepy

Assignment 2: Sheepy version: 1.4 last updated: 2023-07-22 18�00 This assignment aims to give you practice in Python programming generally experience in translating between complex formats with Python clarify your understanding of Shell syntax & semantics introduce you to Python syntax & semantics Introduction Your task in this assignment is to write a POSIX Shell

COMP2041 9044 23T2 Assignment 2 Sheepy Read More »

COMP2041 9044 23T2 Assignment 1 Pigs

Assignment 1: Pigs version: 1.3 last updated: 2022-07-04 9�30 This assignment aims to give you practice in Shell programming generally a clear concrete understanding of Git’s core semantics Note: the material in the lecture notes will not be sufficient by itself to allow you to complete this assignment. You may need to search on-line documentation

COMP2041 9044 23T2 Assignment 1 Pigs Read More »

COMP1521 23T2 — Assignment 1 Pacman in MIPS

Assignment 1: Pacman in MIPS version: 1.0a last updated: 2023-06-27 17�45�00 You may find the Assignment 1 overview lecture to be a good starting point. to give you experience writing MIPS assembly code to give you experience translating C to MIPS to give you experience with data and control structures in MIPS Getting Started Create

COMP1521 23T2 — Assignment 1 Pacman in MIPS Read More »

basin hash block

// Given up to BLOCK_SIZE (256) bytes, produce the // hash of that block. You should not modify this file, // and should not attempt to compile it as part of your // solution. // You can run this program yourself using // 1521 basin-hash-block – for example, // 1521 basin-hash-block < examples/aaa/emojis.txt #include "basin.h"

basin hash block Read More »

SIZE 256

#ifndef RSYNC_H #define RSYNC_H #include #include // Sizes (in bytes) of various fields. #define MAGIC_SIZE 4 #define NUM_RECORDS_SIZE 1 #define PATHNAME_LEN_SIZE 2 #define NUM_BLOCKS_SIZE 3 #define HASH_SIZE 8 #define MODE_SIZE 10 #define FILE_SIZE_SIZE 4 #define BLOCK_INDEX_SIZE 3 #define UPDATE_LEN_SIZE 2 #define MATCH_BYTE_BITS 8 // Note that the basin index magic numbers are exactly 4 bytes,

SIZE 256 Read More »