ITEC 1000 Introduction to Information Technologies

Assignment #1

Due: Oct14th, 2014 11:00 A.M.

This Assignment is worth five percent (5%) of the total final grade. Each question has a number. Between right brackets is specified the marks assigned to that question.

Student last name

Student first name

Student number

1) [3] In your own words, describe the von Neumann architecture of a computer (use two or three sentences).

2) [3] Why humans and computers use number systems for ? Which number system is used by each one and why?

3) [5] What Character string does the following binary ASCII code represent?

01011001010011110101001001001011001000000100110001100001011011100100010101110011

4) [16] Convert to decimal base (Show the Process)

A)111100012 -

B)111011111012-

C)1578 -

D)7848–

E)1BC516-

F)FDAC16-

5)[12] Convert to Binary Base (Show the Process)

A)1658-

B)FACA16-

C)34610 -

6) [12] Convert to Hexadecimal Base (Show the Process)

A)466110 -

B)43438 -

C)1111101000111012 -

7) [12]Resolve the Following Operations

A)1111110012 + 1110011112-

B)64BC16 + 9BD216 -

C)4A516 + 7558–

8)[9]

a) Find the 16-bit 2’s complement binary representation of the decimal number 1243.

b) Find the sign-and-magnitude binary representation of the decimal number -1243.

c) Find the 16-bit 2’s complement binary representation of the decimal number -1243.

9)[5] 100111100011001 represents a 16-bit 2’s complement binary number. What decimal number does it represent? (count bits first)

10) [5]10011101 represents a 8-bit 2’s complement binary number. What decimal number does it represent?

11)[5] Add the following two 12-bit 2’s complement binary numbers. Give the answer in decimal.

011001101111

111010111011

010100101000

12) [10} LMC

Suppose that the following program is loaded in the LMC memory:

Memory address / Instruction / Address
00 / Input / 01
01 / Store / 20
02 / Input / 01
03 / Store / 21
04 / Input / 01
05 / Store / 22
06 / Subtract / 21
07 / Branch Positive / 10
08 / Load / 21
09 / Branch / 11
10 / Load / 22
11 / Subtract / 20
12 / Output / 02
13 / Halt / 00

Suppose that the program is supplied with the following decimal numbers: 23 , 20 and 15 (in this order). What will be the output in decimal? And what will be the output if the numbers 15, 18 and 32 are supplied (in this order)?

14. [3] How many bits are in 32MB? Give you answer in decimal.