EC327 2009 HW1

EC327 2009 HW1 -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EC327
Introduction
to
Software
Engineering
 HW
#1
–Due
Monday
Sept.
21,
2009
 Name:
___________________
 UID:
___________________
 Homework
guidelines:
 You
are
expected
to
do
individual
work
on
homework
assignments.

They
are
a
learning
 tool
to
reflect
with
greater
depth
on
some
of
the
concepts
discussed
in
class.

 Homework
should
be
handed
in
during
class
on
the
due
date.

Please
use
extra
sheets
as
 necessary
and
staple
them
to
this
grading
sheet.
 
 Problem
1
[10
points]
 Perform
the
following
conversions
and
show
the
detail
of
your
work
(Hexadecimal
 numbers
are
designated
with
the
prefix
‘0x’):
 1. 2. 3. 4. 5. Convert
0x55AA
into
binary
 Convert
1101011001110b
into
Hexadecimal
 Convert
decimal
1025
into
binary
 Convert
the
characters
‘F00D’
into
Hexadecimal
(middle
characters
are
zeros)
 Convert
0x3A2D29
into
ASCII
 Problem
2
[10
points]
 Give
the
16
bit
2’s
complement
for
each
integer
in
binary.

Please
show
the
details
of
 your
work:
 1. 2. 3. 4. 5. 100d
 ‐255d
 0d
 ‐1024d
 1025d
 Problem
3
[10
points]
 Perform
the
following
arithmetic
and
represent
them
in
32‐bit
registers.

Please
show
 the
details
of
your
work
and
indicate
if
there
are
any
overflow
conditions:
 1. 2. 3. 4. 5. 
 Score:
_______
 100111b
+
10b
 00001010b
+
0x10
 0xFEED
+
0xF00D
 297d
+
65,239d
 0xAAAA
+
0x5556
 ...
View Full Document

This note was uploaded on 11/09/2010 for the course ECE 327 taught by Professor Babakkia during the Fall '09 term at BU.

Ask a homework question - tutors are online