assignment1 - CSCI 2021, Spring 2010 Written Assignment #1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI 2021, Spring 2010 Written Assignment #1 Instructions: Due Thursday, February 18 in your discussion section. Turn in a hard copy of your work. Write down your full name, ID, and section number in print on your homework paper The problems cover material from Ch. 2 of the text book, lectures, and discussions. There are seven problems. We will grade all of them. The textbook in this context is: R. Bryant, D. O'Hallaron, Computer Systems: A Programmer's Perspective . Prentice Hall, 2003 Problem 1. [20 Points]: Textbook Problem 2.46 on page 101 ( or 2.48 on page 102). Problem 2. [10 Points]: Given two's complement representation, what is the value of: a) ~x + 1 b) ~(x - 1) Problem 3. [20 Points]: For each of the following propositions, indicate if they are true or false. If false, give a counter example. We assume that the variables are declared as follows: int x, y; unsigned u; and initialized to some unknown value. You should formulate your counterexamples in terms of the word size
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/21/2011 for the course CSCI 2021 taught by Professor Staff during the Spring '08 term at Minnesota.

Page1 / 3

assignment1 - CSCI 2021, Spring 2010 Written Assignment #1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online