MedVision ad

Question 23: Exam Thoughts (1 Viewer)

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
This was my logic

A = 7 (since hex only goes up to 6, i would of thought A would be 7)

1 = symbolise that A was 7. i.e. A2 would equal 8, A3 would equal 9 etc...

WHAT WAS I THINKING?

LOL
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by Ragerunner
This was my logic

A = 7 (since hex only goes up to 6, i would of thought A would be 7)

1 = symbolise that A was 7. i.e. A2 would equal 8, A3 would equal 9 etc...

WHAT WAS I THINKING?

LOL
LOL i have no idea...

lol but havent u vaguely remembered hex was base 16, lol... meaning the number system consists of 16 characters to represent its number system
 

Bezzer

New Member
Joined
Oct 31, 2003
Messages
7
You didn't need to convert to add it together. The reg1 had 30 in it and reg2 had A1 in it to add them together you just go:

A+3=D and 1+0=1. and when you put them together you get D1.

I think this question was a bit unfair to those that do evolution of programming languages, but most should have been able to get it. I just hope i din't make a stupid mistake, I think i rember writing down 2D for some reason. Oh well
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Originally posted by Winston
LOL i have no idea...

lol but havent u vaguely remembered hex was base 16, lol... meaning the number system consists of 16 characters to represent its number system
Nah man. I failed the year 11 course.

I was one of them bludgers. :D

Big improvement now though. I can't do any of the basics cuz of that.
 

woohoo

New Member
Joined
Oct 29, 2003
Messages
22
Originally posted by ezzy85
is it just me or did the hardware option people have an advantage in this q? im not complaining, i got it out anyway (i think:?).

i said pretty much what youve been all saying with the intruction code. but someone in my class pointed out that since its got reg m and reg p and other variables, m cannot be the same as n or p. you had to store them in totally different locations and u cant repeat a location. what u guys reckon about this?

damm, yeah i think ur right, which meens im wrong.
 

Protector

a little unsane
Joined
Nov 20, 2003
Messages
174
Location
Sydney
Gender
Male
HSC
2006
Logically the following answer answer (in my opinion) stands correct... but there were other ways of doing it...

Originally posted by -X-
hmm i didn't notice the After exectution...but how would that have affected any one? Also what did ppl put as the accumulator?

For the last part i wrote:
--------
Load(Reg1, Mem5)
Load(Reg2, Mem5)
ADD(Reg3, Reg1, Reg2)
ADD(Reg1, Reg2, Reg3)
STORE(Reg1, Mem7)

lol hope i got it right.

--

My school, Fort Street, took the hardware option. We had no advantage.

The answer to the question may be sought using logic.

The instructions were given to us simply, and by applying them in the way they were given, the answer may be found.

Hardware covered a bit, but nothing like this (at my school).

--

Sorry for the late reply. I only just got the net back.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top