Bored of Studies  

Go Back   Bored of Studies > Secondary Education > New South Wales (HSC) > Technology > Software Design & Development > Option: Software Developer's View of Hardware

Reply
 
LinkBack Thread Tools Rate Thread
Old 30 Oct 2009, 9:48 PM   #1 (permalink)
Senior Member
 
Fluorescent's Avatar
 
HSC: 2009
Gender: Female
Location: Sydney
 
Join Date: Apr 2009
Posts: 204
 
Last Activity:
Today, 10:22 PM
 
Fluorescent is on a distinguished road
Help...Past paper question

You can hide this advertisement by registering.
Last years and I have NFI...

2008 , III, q1)a III

(iii) The number of bits in a memory location is referred to as wordlength. The table below shows how the word FISH would be stored with a 32- bit wordlength.

Address | Data
2E | 11000110 11001001 11100010 11001000

F I S H


Redraw the table showing how the word FISH would be stored with an 8-bit wordlength.

I HATE FISH QUESTIONS


HALP?
__________________
[SDD][IPT][Society][Maths2u][Business][Advanced English]
89 ATAR for Computer Science at UNSW

Fluorescent Adolescent

"[Australia] isn't a democracy...It's a Murdoch-racy" - John Pilger
Fluorescent 当前离线   Reply With Quote
Old 30 Oct 2009, 10:17 PM   #2 (permalink)
Member
 
lolrofllol's Avatar
 
HSC: 2009
Gender: Male
 
Join Date: Feb 2008
Posts: 131
 
Last Activity:
14 Nov 2009, 6:57 PM
 
lolrofllol is on a distinguished road
Re: Help...Past paper question

Quote:
Originally Posted by Fluorescent View Post
Last years and I have NFI...

2008 , III, q1)a III

(iii) The number of bits in a memory location is referred to as wordlength. The table below shows how the word FISH would be stored with a 32- bit wordlength.

Address | Data
2E | 11000110 11001001 11100010 11001000

F I S H


Redraw the table showing how the word FISH would be stored with an 8-bit wordlength.

I HATE FISH QUESTIONS


HALP?
Hmm the marking notes say:
Address Data
2E 11000110
2F 11001001
30 11100010
31 11001000

So i'm guessing, instead of storing all the information in one adress under 32 bits, it has distributed amongst 4 addresses using 8 bits each.

The address counting is in hexadecimal

Btw they have sample answers in the 2008 marking notes at the bottom near criteria.
lolrofllol 当前离线   Reply With Quote
Old 30 Oct 2009, 10:18 PM   #3 (permalink)
New Member
 
Jai5on's Avatar
 
HSC: 2009
Gender: Male
 
Join Date: Aug 2008
Posts: 18
 
Last Activity:
17 Nov 2009, 1:18 PM
 
Jai5on is on a distinguished road
Re: Help...Past paper question

yes i need help with this question as well!!!
__________________
Standard English | General Maths | I.P.T | S.D.D| SOR I | Hospitality (VET)
Jai5on 当前离线   Reply With Quote
Old 30 Oct 2009, 10:21 PM   #4 (permalink)
Junior Member
 
HSC: 2009
Gender: Male
 
Join Date: Feb 2008
Posts: 26
 
Last Activity:
Today, 7:54 PM
 
sidereal is on a distinguished road
Re: Help...Past paper question

this was a fairly poor question because it was so barely related to the syllabus

that said, what it's getting at is that, when you have a 32 bit wordlength, each memory address in your system points at 32 bits of data. so, if you asked the computer to tell you the value of memory address 2E, it would give you the 32 binary bits from the question.

when we move to a system with an 8 bit wordlength, each memory address points at 8 bits of data. so if you asked the computer for the value of memory address, say, 3A, it would only give you 8 bits of data.

so, we have 32 bits of data to store, and each memory address can store 8 bits. we therefore need 4 memory addresses. we would assume that since this data is being stored together in a group, the memory addresses would be continuous (e.g. 1,2,3,4). but clearly the original memory address is in hexadecimal. with an 8 bit wordlength, then, the table would look like this:

Address | Data
2E | 11000110
2F | 11001001
30 | 11100010
31 | 11001000
sidereal 当前离线   Reply With Quote
Old 30 Oct 2009, 10:42 PM   #5 (permalink)
New Member
 
Jai5on's Avatar
 
HSC: 2009
Gender: Male
 
Join Date: Aug 2008
Posts: 18
 
Last Activity:
17 Nov 2009, 1:18 PM
 
Jai5on is on a distinguished road
Re: Help...Past paper question

Quote:
Originally Posted by sidereal View Post
this was a fairly poor question because it was so barely related to the syllabus

that said, what it's getting at is that, when you have a 32 bit wordlength, each memory address in your system points at 32 bits of data. so, if you asked the computer to tell you the value of memory address 2E, it would give you the 32 binary bits from the question.

when we move to a system with an 8 bit wordlength, each memory address points at 8 bits of data. so if you asked the computer for the value of memory address, say, 3A, it would only give you 8 bits of data.

so, we have 32 bits of data to store, and each memory address can store 8 bits. we therefore need 4 memory addresses. we would assume that since this data is being stored together in a group, the memory addresses would be continuous (e.g. 1,2,3,4). but clearly the original memory address is in hexadecimal. with an 8 bit wordlength, then, the table would look like this:

Address | Data
2E | 11000110
2F | 11001001
30 | 11100010
31 | 11001000

thankyou! that helped me alot! ta
__________________
Standard English | General Maths | I.P.T | S.D.D| SOR I | Hospitality (VET)
Jai5on 当前离线   Reply With Quote
Old 31 Oct 2009, 6:57 AM   #6 (permalink)
Senior Member
 
Fluorescent's Avatar
 
HSC: 2009
Gender: Female
Location: Sydney
 
Join Date: Apr 2009
Posts: 204
 
Last Activity:
Today, 10:22 PM
 
Fluorescent is on a distinguished road
Re: Help...Past paper question

Quote:
Originally Posted by lolrofllol View Post
Hmm the marking notes say:
Address Data
2E 11000110
2F 11001001
30 11100010
31 11001000

So i'm guessing, instead of storing all the information in one adress under 32 bits, it has distributed amongst 4 addresses using 8 bits each.

The address counting is in hexadecimal

Btw they have sample answers in the 2008 marking notes at the bottom near criteria.
I know, I saw them , they made me 100 times more confused


Quote:
this was a fairly poor question because it was so barely related to the syllabus

that said, what it's getting at is that, when you have a 32 bit wordlength, each memory address in your system points at 32 bits of data. so, if you asked the computer to tell you the value of memory address 2E, it would give you the 32 binary bits from the question.

when we move to a system with an 8 bit wordlength, each memory address points at 8 bits of data. so if you asked the computer for the value of memory address, say, 3A, it would only give you 8 bits of data.

so, we have 32 bits of data to store, and each memory address can store 8 bits. we therefore need 4 memory addresses. we would assume that since this data is being stored together in a group, the memory addresses would be continuous (e.g. 1,2,3,4). but clearly the original memory address is in hexadecimal. with an 8 bit wordlength, then, the table would look like this:

Address | Data
2E | 11000110
2F | 11001001
30 | 11100010
31 | 11001000
Thank you, and sorry for this, I'm still a little confused.

You're saying that the addresses are then placed in ascending order, right?

Which, to me, doesn't make sense , because I always thought 2E in hex equals 47 in dec?.... so how would that ascend to 31?

Sorry I'm dumb
__________________
[SDD][IPT][Society][Maths2u][Business][Advanced English]
89 ATAR for Computer Science at UNSW

Fluorescent Adolescent

"[Australia] isn't a democracy...It's a Murdoch-racy" - John Pilger
Fluorescent 当前离线   Reply With Quote
Old 31 Oct 2009, 3:12 PM   #7 (permalink)
Junior Member
 
HSC: 2009
Gender: Male
 
Join Date: Feb 2008
Posts: 26
 
Last Activity:
Today, 7:54 PM
 
sidereal is on a distinguished road
Re: Help...Past paper question

right, the addresses are counting up by one. the important thing there is that "31" is actually 31 in base 16. 31 in base 16 (= 49 base 10) is not equal to 31 in base 10. it works exactly the same way as when we count upwards in decimal, except we have more "digits" available to us.

so in decimal, you would go 18, 19, and then to go up one again, you would increase the tens column by one and reset the ones column. so 18, 19, 20, 21, ... .

same deal in hex - except we have 16 numerals instead of 10. so when we go 18, 19, in hex, we actually have a numeral for "ten" in the ones column - it's A. so 18, 19, 1A, 1B...

then we get to 1E, 1F, and we've run out of numerals. so to go one up, we increase the "tens" column and reset the ones column like before, except in hexadecimal the tens column is actually a "sixteens" column. so 1E, 1F, 20, 21, ...

certainly having the same numerals in decimal and hex can cause some confusion between the bases. if you think it's going to get ambiguous in your working as to whether you're in base 10 or base 16, be sure to write e.g. 3116 or 3110 to make it clear.
sidereal 当前离线   Reply With Quote
Old 31 Oct 2009, 9:56 PM   #8 (permalink)
Senior Member
 
Fluorescent's Avatar
 
HSC: 2009
Gender: Female
Location: Sydney
 
Join Date: Apr 2009
Posts: 204
 
Last Activity:
Today, 10:22 PM
 
Fluorescent is on a distinguished road
Re: Help...Past paper question

Quote:
Originally Posted by sidereal View Post
right, the addresses are counting up by one. the important thing there is that "31" is actually 31 in base 16. 31 in base 16 (= 49 base 10) is not equal to 31 in base 10. it works exactly the same way as when we count upwards in decimal, except we have more "digits" available to us.

so in decimal, you would go 18, 19, and then to go up one again, you would increase the tens column by one and reset the ones column. so 18, 19, 20, 21, ... .

same deal in hex - except we have 16 numerals instead of 10. so when we go 18, 19, in hex, we actually have a numeral for "ten" in the ones column - it's A. so 18, 19, 1A, 1B...

then we get to 1E, 1F, and we've run out of numerals. so to go one up, we increase the "tens" column and reset the ones column like before, except in hexadecimal the tens column is actually a "sixteens" column. so 1E, 1F, 20, 21, ...

certainly having the same numerals in decimal and hex can cause some confusion between the bases. if you think it's going to get ambiguous in your working as to whether you're in base 10 or base 16, be sure to write e.g. 3116 or 3110 to make it clear.
Cool, thanks a tonne for all your time and effort
__________________
[SDD][IPT][Society][Maths2u][Business][Advanced English]
89 ATAR for Computer Science at UNSW

Fluorescent Adolescent

"[Australia] isn't a democracy...It's a Murdoch-racy" - John Pilger
Fluorescent 当前离线   Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +11. The time now is 11:16 PM.


Powered by vBulletin Version 3.8.1
Copyright © 2002 - 2009, iStudy Australia Pty Ltd. All rights reserved.

Search Engine Optimization by vBSEO 3.2.0