学年

質問の種類

情報:IT 高校生

情報1 コンピュータでの実数の表現についてです。 教科書にはこのように(添付した画像)書かれているのですが、何が何だか全く分かりません… 明日考査なのでどなたか解説していただきたいです😭

1 小数点の位置を固定して 表す方法を固定小数点数と いう。 表現できる数値の範 囲が浮動小数点数よりも狭 い。 ② 最上位の桁がすべて 1 で共通なので,その次から を仮数部として表現すれば よい。 例えば, 1.0101なら仮数 部は0101, 1.1111なら 仮数部は1111である。 ③16ビットの浮動小数点 数は半精度浮動小数点数と 呼ばれる。 このほかに, 32 ビットの単精度浮動小数点 数や64ビットの倍精度浮 動小数点数などがある。 ④指数部が5ビットの場 合, 表現できる数は25個で あるが, 整数の表現 (- 16~15) とは異なる表し 方をする。 指数部の大小関 係を比較しやすいように, 補数を使わず0以上の値 に変換して表す。 指数に 15 (バイアス値)を足し て-15を00000,16を 11111とし, -15~16 を表す。 4 コンピュータでの実数の表現 小数部分を含む実数を表す場合には,次のような形の浮動小数点数 ① がよく使われる。 符号部 指数部 × 仮数部 10進数での浮動小数点数の表し方は,符号は+か-, 指数は10の何 乗の形, 仮数は最上位の桁が1の位となる小数である。 AUN - 423 = 102 × 0.375 10 3.75 2進数での浮動小数点数の表し方は,基本的には10進数と同じであ る。コンピュータで扱うためには, すべてを0と1で表現しなければ ならないので,次の工夫をする。 = 符号部 0 を正, 1 を負とする。 指数部 仮数部 + 10.1 ↓ +2×1.01 符号部 ↓ 0 1 0 0 一番小さな指数が0となるように数値を加え,調整する。 最上位の桁は常に1となるので,1を省略し,その次の 2番目の桁からを仮数部とする。 16ビット(2バイト)で,符号部を1ビット,指数部を5ビット, 回 仮数部を10ビットとして表現すると次のようになる。 符号部 ( 1ビット) 指数部 (5ビット) 仮数部(10ビット) 例えば, 10進数の 「2.5」 を, 16ビットの2進数の浮動小数点数で 表すと,次のようになる。 ①10進数の 「2.5」 を2進数の小数にする 2.5=2+0.5=2′×1+2°×0+ 2 ′ ' x1 = 10.1 (2) ②2 進数の10.1を浮動小数点数にする 指数部 1 +15=16 0 0 0 1 0 4.23 × 0 0 仮数部 01 0 0 0 0 0 は、0.001 小数の桁の び、その 123 この2つを

解決済み 回答数: 0
英語 高校生

問1(B) 答えは4ですが、2がダメなのは何故ですか? it was too fast で トーマスがフェンスを登るのが速かった になるので、2でもいいと思いました。 (c)答えは2ですが、驚いて助けたという意味で3もありなのではと思いました。

UNIT J 15 出題データ ■ワード数: 354 words ■難易度 : 超基礎 ●解答と解説:本冊 p.68~79 ■目標解答時間: 20分 kmon yitirbame 次の英文を読み、後の問いに答えなさい。 al UNIT 5 But ( D ) the zoo worker arrived, a gorilla went over to Thomas. It was Binti Jua, an eight-year-old mother gorilla. She had her baby gorilla on her back. With one "arm" she picked up the little boy. She carried him carefully over to a door, walking on 25 three legs. There she put Thomas down so a zoo worker could get him. mart qisilbin, 70100) It was a hot summer day in Chicago. The Kemper family decided it was a good day to go to the Brookfield Zoo. Janet and Kevin Kemper had two children: Thomas, 3, and Sally, 6 months. 30 Thomas loved going to the zoo. He liked watching all the animals, 5 but he especially loved the gorillas. The Kempers went straight to the gorilla exhibit. There were six adult gorillas and a three-month-old baby gorilla. In the Brookfield Zoo, the animals are not in cages. They are in large areas dug out of the ground. These areas have fences around 10 (1) them so the animals cannot get out and people cannot fall in. But three-year-old boys ( A ). While the Kempers were watching the gorillas, little Sally started to cry. Kevin took her from Janet, and Janet looked in her bag for a bottle of juice. In those few seconds, Thomas climbed up the fence. A woman saw him and shouted, "Stop him!" A tall man reached up to get him, but it was too (B). Thomas fell down the other side of the fence. He fell 18 feet onto the hard concrete floor. (2) He lay very still, with blood on his head. Janet and Kevin shouted for (C). People crowded around the fence, and someone ran to get 20 a zoo worker. Janet and Kevin ran to the door, too. Thomas was badly hurt and had to go to the hospital, but after a few days he was better. The story was on the evening news in Chicago. Some people cheered and others cried when they heard it. But many of them thought about that mother gorilla and asked themselves, "What is she doing in a zoo? What is the difference between a gorilla and me?" trid, jun but entre e *[*] the gorilla exhibit show ■設問■ 1. (A)~(D) に入れるのに最も適当なものをそれぞれ①〜 ④ の中から1つ選んで マークしなさい。 (A) 1 like to take care of animals 2 cry when they see the gorillas 3 are good climbers 4 are interested in watching the animals early (2) fast 2 help 2 though (B) (C) 1 cry (D) before 3 heavy 3 surprise 3 if late 4 the gorillas 4 until 17

解決済み 回答数: 1
英語 高校生

( )に入る語を右の日本語を参考に教えて頂きたいです🙇‍♂️ CDを聞いて、と問題に書いてありますが、CDなしで 埋めてこい!という宿題でして…💦。 よろしくお願いします!!!

Track 26 Dialogue: 右ページの日本文を参考に CD (テープ)を聴いて ()内に適 切な単語を入れなさい。 J: Well, thank you very much for everything. I really had a good time. F: Not at all.(Thank ) you for coming. J:I (enjoyed) dinner, too. It was the best meal I've had since Ⅰ came to . Japan. F: I'm glad you liked it. The ( probably aren't very good, are they ? ) in the dormitory J: Oh, I can't complain, but I do ( cooked food. F: I see. J: Well, I'd better be going, I suppose. Thank you very much for ( ) me. F: You're welcome. See you at college tomorrow. ) home J: では、いろいろお世話になりました。 本当に楽しかったです。 F: どういたしまして。 来ていただいてありがとう。 J: 夕食も楽しくいただきました。 日本に来て最高の食事でした。 F: 満足してもらえてうれしいです。 寮の食事は多分そんなに美 味しくないですからね? J: いや、不平は言えません。 手料理に感謝しています。 F : そうですか。 J: それでは、失礼いたしたいと思います。 招いてくれてありがと うございました。 F: どういたしまして。 明日、大学で会いましょう。

解決済み 回答数: 1