Posts

CS2041 | COMP2041 | Assignment 1: Give

  Aims This assignment aims to give you practice in Shell programming generally Introduction You are going to implement simple but functional versions of  give  and  autotest . Your task in this assignment is to write 8 shell scripts named  give-add   give-submit   give-summary   give-status   give-fetch   give-autotest   give-mark   give-rm .

CS0449 | CS0449-2244 | Project 2: What's the Password? -- Intro to Systems Programming

Project 2: What's the Password? Description Throughout most of your CS studies, you work creating or modifying programs or computers – in a word: building. However, sometimes the best way to learn about something is to break it. In this project you will be deconstructing existing programs that each have a secret password or passphrase that needs to be input in order to unlock the program. I am providing you with 3 compiled executables. Each one requires you to enter a sequence of ASCII characters to "unlock." Unlocking the programs will draw upon the things we are studying this term. You will also write a tool to help you with solving the first program. In UNIX/Linux, there is a program called strings that dumps out the sequences of ASCII characters that are 4 or more characters long. Part 1: mystrings (40 points) The mystrings program should take a filename from the command line and read the bytes of the file, looking for strings of printable characters (ASCII values bet...

CMPUT 229 – Assignment #3

You are participating in the Computing Science Industrial Internship Program and your placement is with Tiny Inc., a company that produces TinyProc— a new processor de veloped for the automobile industry. All instructions in TinyProc have 16 bits. TinyProc also works with 16-bit addresses. The format of a branch instruction in TinyProc is as shown below: Where rs and rt specify the source and target registers for the branch instruction, respectively. The address of the target of a branch instruction is computed using the same mechanism used in the MIPS processor, but the increment of the PC and the shift left have to be adjusted for a 16-bit address machine: first the Program Counter (PC) is incremented by two, then the bitfield address of the branch instruction is shifted left by one, sign-extended to sixteen bits, and added to the incremented PC. There are two branch instructions in the Instruction Set Architecture of TinyProc. The opcode for beq is 010 and the opcode for blt is 011....

Get Help from Us

Name

Email *

Message *