ITEC 1011 Introduction to Information Technologies

advertisement

ITEC 1000 Introduction to Information Technologies

Assignment #1

Due: Oct14 th , 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?

010110010100111101010010010010110010000001001100011000010110111001000101

01110011

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

A) 11110001

2 -

B) 11101111101

2

-

C) 157

8

-

D) 784

8

E) 1BC5

16

-

F) FDAC

16

-

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

A) 165

8

-

B) FACA

16

-

C) 346

10

-

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

A) 4661

10

-

B) 4343

8

-

C) 111110100011101

2

-

7) [12]Resolve the Following Operations

A) 111111001

2

+ 111001111

2

-

B) 64BC

16

+ 9BD2

16

-

C)

4A5

16

+ 755

8

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 r epresents 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

00

01

02

03

Instruction

Input

Store

Input

Store

Address

01

20

01

21

04

05

06

07

Input

Store

Subtract

Branch

Positive

Load

01

22

21

10

08

09

10

11

Branch

Load

Subtract

21

11

22

20

12

13

Output

Halt

02

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.

Download