TMA1_ECX3233_2012_Final

3

Click here to load reader

description

IT OUSL

Transcript of TMA1_ECX3233_2012_Final

Page 1: TMA1_ECX3233_2012_Final

Communications ECX3233 Information Technology &

TM Assignment 1 2012/2013 You are to bring the solutions to this assignment to your lab 1 with you, on the day allocated to your group. Have the assignment ready on the first lab day itself. You may not be able to present your assignment on other days. Even if you are allowed to submit the assignment thereafter, you will not be getting the full marks. You are expected to present your assignment on the allocated day, even if you do not do the lab. Try to answer the assignment using your own words. Marks will be decided on the originality as well as knowledge. Plagiarism (direct copying) without relevant knowledge will not gain you any marks. Q1. Scenario:

Few months ago, your best friend left the island for a short term job in a foreign country. He informed you that he is employed in a reputed company and working attached to its computer network renovation project. And you understood that he was concerned about valuable computer parts that the company discards. Recently you received a box containing several computer parts from your friend. He left a message that he wants you to assemble two PCs by the time of his return to Sri Lanka, probably in another two months. He knows that you have computer knowledge but is still unemployed, and have your own plans to start a computer based carrier from which you can earn money. Therefore his idea is to help you, in his capacity, to put your carrier plan into practice in parallel with OUSL studies. The better performing PC of the two will be for you and the other for him. He wants his computer for simple office level applications only, because he already owns a high performance PC. The box contained the following;

Intel Processor Pentium IV 3.0GHz

Dual core 2.0GHz

Pentium IV 1.5GHz

Memory 256 MB 1GB 512 MB

Hard Disk 120GB 80GB

VGA 64 MB 256MB 128MB

CD Rom 52x

Based on two of the given processors, carry out a study to identify how you can assemble two PCs to satisfy the above conditions. Your two assemblies must be cost effective and be using the received items as most effective as possible.

a) Write an email message of around 100 words to thank your friend and appreciate how your new PC would fulfil your immediate requirement with regard to your studies and carrier.

b) Prepare two separate email attachments containing configurations of the two assembled PCs. Use the following table format.

Page 2: TMA1_ECX3233_2012_Final

PC part Available / Purchasing

Features (may assume for

Available items) Price Justification (if any)

In your answer, you are required to give the basic configuration only;

Processor type, RAM, Hard Disk, VGA, CD/DVD, Casing with power supply, Motherboard and Monitor.

In both tables, clearly indicate the parts you need to purchase from local market along with specific feature requirements. Assume that all PC parts received from your friend are in 100% working condition.

(60 marks)

Q2.

Fig. 01, 2-PASS-WINNER Game Board

Figure 01 shows an electronic trolley game board (2-PASS-WINNER). Trolley can move along the circular rail clockwise. It is to be programmed and controlled by a microcontroller fixed underneath the board. On the rail, there are equally spaced eight similar stations A, B, C, D, E, F, G and H. To start the game, the trolley must be kept at a station and a Start button should be pressed. Then it starts moving towards the next station. The moving trolley may receive a control signal “pass” from the microcontroller at random. On reception of a pass signal, it passes the next station and continues moving to the other. If no pass signal is received, the trolley stops at the next station. When the trolley happens to pass through 2 stations, it stops at 3rd station automatically. When the trolley stopped at a station, the kid’s total score is updated and displayed. Next the turn changes to the other kid. Each kid will score points by launching the trolley mutually for desired

A

G

E

Trolley at station C

Game score board

Start Button

KID 2 Side

C

Start Button

Circular Rail

D

H F

B

KID 1 Side

Page 3: TMA1_ECX3233_2012_Final

number of turns. The higher scorer will win the game. Score criterion is shown below.

Stations passed in a turn Points 0 1 1 5 2 10

a) Draw a block diagram of the design of this game board indicating the necessary hardware

blocks in addition to the microprocessor. b) Draw a flowchart using standard flowcharting symbols that you learn in Unit 2 to illustrate

the trolley’s movement and displaying updated score for one turn of a player. Use the following pre-programmed process in your flowchart; MOVE: Moves trolley to the next station according to the “pass” signal. It will also give as output the number of pass signals received in current turn. Use the symbol;

Write all assumptions that you make.

c) Write a program for the flow chart in part (b) using the instruction set given.

You are allocated a Student Experimental Processor (SEP) based on your registration number.

Note:- You are to download your relevant processor details from the Assignment page of the

OUSL web page or the virtual class. (40 marks)

1st Digit of Reg. No. ISA 1,2,3 ISA 2 - Accumulator 4,5 ISA 1 – Memory to Memory 6,7 ISA 6 – Load-store