The Student Room Group

AS Computing help

So there's these two questions that I don' understand :/

1) What is the greatest decimal integer you can represent with
a)4 b)8 c)16 bits?

2)How many different permutations of numbers can you represent with:
a)4 b)8 c)16 d)20 e) 24 bits?

It is urgent, any help would be appreciated, thanks in advance :smile:
Original post by hamza772000
So there's these two questions that I don' understand :/

1) What is the greatest decimal integer you can represent with
a)4 b)8 c)16 bits?

2)How many different permutations of numbers can you represent with:
a)4 b)8 c)16 d)20 e) 24 bits?

It is urgent, any help would be appreciated, thanks in advance :smile:

Not so sure on the first one.

I thought I'd bump the thread by saying a suggestion for no. 2 but you can't take my word for it :redface: :tongue:
I believe you do each bit number to the power of 2 (because binary is base 2).
So for 4 bits, you'd have 2^4 permutations (16 variations)

Posted from TSR Mobile
Original post by Matrix123
Not so sure on the first one.

I thought I'd bump the thread by saying a suggestion for no. 2 but you can't take my word for it :redface: :tongue:
I believe you do each bit number to the power of 2 (because binary is base 2).
So for 4 bits, you'd have 2^4 permutations (16 variations)

Posted from TSR Mobile
Oh, thanks and np :smile: so erm for 8 bits it'd be 2^8?
Reply 3
Original post by hamza772000
So there's these two questions that I don' understand :/

1) What is the greatest decimal integer you can represent with
a)4 b)8 c)16 bits?

2)How many different permutations of numbers can you represent with:
a)4 b)8 c)16 d)20 e) 24 bits?

It is urgent, any help would be appreciated, thanks in advance :smile:


For 1) you can find the answer by the formula ((2^n)-1)

For 2) its just the formula 2^n
Original post by hamza772000
Oh, thanks and np :smile: so erm for 8 bits it'd be 2^8?

:yep:
Best to wait for someone to confirm it though :smile:
Posted from TSR Mobile
Original post by IWMTom
For 1) you can find the answer by the formula ((2^n)-1)

For 2) its just the formula 2^n
So for the first one for 4 bits it'd be ((2^4)-1)=(16-1)=15?

Oh, ok yh that confirms it :smile:

Thank you so much! :h:

Original post by Matrix123
:yep:
Best to wait for someone to confirm it though :smile:
Posted from TSR Mobile
Yeah, the person above confirmed it :smile:

Ngl, this is simpler than I thought :tongue: Thank you Matrix! :smile:
Original post by hamza772000
So for the first one for 4 bits it'd be ((2^4)-1)=(16-1)=15?

Oh, ok yh that confirms it :smile:

Thank you so much! :h:

Yeah, the person above confirmed it :smile:

Ngl, this is simpler than I thought :tongue: Thank you Matrix! :smile:

Cool :smile:

Haha glad to hear it :tongue:
No worries!
Posted from TSR Mobile
Original post by Matrix123
Cool :smile:

Haha glad to hear it :tongue:
No worries!
Posted from TSR Mobile
Right, back to work now! :biggrin: ttyl :h:
Original post by hamza772000
Right, back to work now! :biggrin: ttyl :h:

Haha good! :tongue: and good luck with it :smile:
Yup :biggrin:
Posted from TSR Mobile
Original post by Matrix123
Haha good! :tongue: and good luck with it :smile:
Yup :biggrin:
Posted from TSR Mobile
Oh, yeah Matrix, y'know that prefix sheet of yours helped me a lot, thanks! :h:
Original post by hamza772000
Oh, yeah Matrix, y'know that prefix sheet of yours helped me a lot, thanks! :h:


No worries! I haven't sent the Greek yet, have I? I can send that as well if you want :smile:

Posted from TSR Mobile
Original post by Matrix123
No worries! I haven't sent the Greek yet, have I? I can send that as well if you want :smile:

Posted from TSR Mobile
Yeah, I mean if you want, I can take a look, send it whenever ur free :smile:
Original post by hamza772000
Yeah, I mean if you want, I can take a look, send it whenever ur free :smile:

Of course! :smile:

Spoiler


Posted from TSR Mobile
Original post by Matrix123
Of course! :smile:

Spoiler

Posted from TSR Mobile
Oh, goodness, Matrix! Didn't expect that much, really can't thank you enough :emo: but I can try, THANK YOU SO MUCH! I'll have a look once I'm doing Physics :smile:
Original post by hamza772000
Oh, goodness, Matrix! Didn't expect that much, really can't thank you enough :emo: but I can try, THANK YOU SO MUCH! I'll have a look once I'm doing Physics :smile:

Haha :tongue:
No worries! Well it's only fair that I give you the stuff I've been given - we're doing the same AS anyways :u: :five: Okey dokey :smile:
Posted from TSR Mobile
Original post by Matrix123
Haha :tongue:
No worries! Well it's only fair that I give you the stuff I've been given - we're doing the same AS anyways :u: :five: Okey dokey :smile:
Posted from TSR Mobile
Yh, we sure are :biggrin: You don't have to though :smile:
:h:
Original post by hamza772000
Yh, we sure are :biggrin: You don't have to though :smile:
:h:

:ahee:
True, but it's better to spread the resources round:awesome:

Gonna sleep now, goodnight! :hugs:
Posted from TSR Mobile
Original post by Matrix123
:ahee:
True, but it's better to spread the resources round:awesome:

Gonna sleep now, goodnight! :hugs:
Posted from TSR Mobile
Yep, true :yep:

Goodnight! :smile:

Quick Reply

Latest

Trending

Trending