質問です

posted:内蔵助[2pwRcXGiNpG201] 14/05/05 21:00:05
comment:
大学のパソコンの授業で出た演習問題がさっぱりわかりません(;´∩`)
分かる方教えてくださいm(__)m


演習問題
・4ビットで表現できる情報量は(  )通り

・1KBで表現できる情報量は(  )通り

・2048B=(  )KB

・3072B+2.5KB(  )KB


*Display of file download Please enable Cookie.

ID:joUAlPeFpW
access count:889  BBS count:4
Ranking(MAX)
ALL:18  BBS:3
source:NEC_0004.gif
type:gif size:68.9KB

genre:BBS/messages

Add Collection:
Collection ID:
Collection modify password:
comment:

QR:


same genre files

iPhoneとAndroidの違いと良さ
posted:ALF
comment:
携帯を変えるならどっちがいいのか?

SAO
posted:ミレル・アクティエル
comment:
たぶん年末の番組紹介にゃ~

IS人気投票 エントリーNo.2
posted:ジャンボ
comment:
[セシリア・オルコット]

投票方法は
・[画像を閲覧する]
・[ナイス...

ゲーセン
posted:殺人的な加速
comment:
今日ゲーセン行って
取って来た物 よく見るとボカロしかない(笑)


h...

初代ポケモン御三家どれ選んだ?
posted:ドルジ
comment:
ポケモンが20周年と聞いたのでヽ(*´∀`)ノ
私は初代ポケモンは何回かやって...

動画の違法ダウンロードに罰則
posted:YouTube、ニコニコ死亡w
comment:
政府と民主党は13日、著作権者の許諾なしにインターネットのサイトから音楽や動画を...

二期制作決定‼
posted:ジャンボ
comment:
甲鉄城のカバネリの新作制作が決定したので貼ります(^ω^)

放送時期は20...

サンタさん
posted:なかきょ
comment:
ギリギリセウトなので
こちら↓
http://seiga.nicovideo...

キャラガチャを深夜にやると当たりが出るってホントかな?
posted:ドルジ
comment:
白猫プロジェクトのキャラガチャは11連で250ジュエル消費
これで当たりが一人...

Jリーグ開幕
posted:キサラギ
comment:
Jリーグ開幕しました。



私の地元長崎からのサッカーチーム「ヴィファ...



Bulletin board

1紅蓮[r0tMg6Hl/Fpj16] 14/05/05 22:16:10
うろ覚えだから確実とは言えないけど。

問1 1ビット=2通り 4ビットは16通り

問2 8ビットは256通り=1バイト
1024バイト=1kB
だから256×1024=262144通り

問3 上の通り1024=1kBだから 2048は2kB

問4 3072=3kB 2・5kB=2560

5・5kBもしくはを5632バイトかな。

2内蔵助[2pwRcXGiNpG201] 14/05/05 22:32:52
>>1

ありがとうございます!

できればどうしてそうなるのかも教えていただけませんか?

3紅蓮[r0tMg6Hl/Fpj16] 14/05/05 23:36:10
簡単に説明すると1ビットは0と1です。
2ビットは0と1 1と0です。これが繰返されます。だから4ビットは01100110です。でもこれでは8通りにしかなりません。でもそれは
2倍と考えたらです。ビットは2×4ではなく
2の4乗と考える訳です。だから2×4ではなく
2×2×2×2です。

だから8ビット=2の8乗=256通りになります

1024バイトの説明は色んな説があるので説明しにくいです。

でも1024バイト=1kBであることに間違えはないです。

問2の答えはさっき書いたように8ビット=256
通り=1バイトです。1024バイト=1kB=262144通り計算式は256×1024になります。

問3は2048バイトですがこれは上に書いたように1024バイト=1kBなので単純に2kBになります。

問4は3072バイトはもう言わなくても分かると思うので省きます。
2.5kBはバイトに変換すれば分かりやすくなります。2kBは2048バイト たいして0.5kBは1kBの半分なので1024の半分512になります。なので2048+512=2560バイトになります。

その2560バイトに3072バイトをプラスすれば
5632バイト=5.5kBなります。

あまり説明は得意ではないので分かりにくくてすいません。

4内蔵助[2pwRcXGiNpG201] 14/05/06 01:11:17
>>3
紅蓮さん

ありがとうございます!
おかげでよく分かりました(^^)

…ただ数字が大きいので計算間違えちゃいそうですね(;´∩`)
おなじような問題を試験に出すらしいのでとても心配です(苦笑)

1

※It can be removed only your writing.


write BBS

name:

comments:

link file ID:

*Do not request (request) illegal file to compromise the interests of the creator. We will be deemed to have also illegal downloads, be forced to be the author misconduct.
*Do not write creative works and others unfairly vilified.

Notes on bulletin board

If you do not put anything in your name field to "No name".
If you put a string of 8 bytes or less "#" characters in the column name, you can generate a CODE for a principal certification. Since the string is encrypted, we can not only generate the same trip himself.

Swollen link in the comments, if you put the following command.
">>(number)", ">>(min)-(max)", ">>-(max)", ">>(min)-", If you type, swelling a link to a specific comment.
If you type: "ID:(file ID)", swelling the link to a specific file.
If you enter: "ID:(file ID)>>(number)" and a link to the specific comment swelling of a particular file.
If you type: "LID:(Collection ID)", a link to a custom list of specific swelling.
"Twitter:@(twitterID)" and enter, swelling the link to the account of Twitter.

HTML tags are disabled. In addition, you will be linked automatically when you enter a URL in the comments.

When you enter the ID of the file in the "link ID", you can view information about other files. You can specify only one ID.

Contrary to public policy, intended to encourage crime, but offensive to others, such as the ad is removed.
Such write slander without advice, you may want to remove it is determined that meaningful for creative work.



Modify or Delete

modify password:

PLEASE NOTE

You must remember the password when the file is uploaded to modify or delete.

Request to remove the request for deletion box. Please let us know why Always Remove ID that you want to remove this case.