学年

質問の種類

情報:IT 高校生

情報のプログラミングについて質問です。 写真の問題のコ、サ、に当てはまる答えがわかりません。(解答は写真二枚目です) 解答にはコ、、、⑦ サ、、、⑤ だとあったのですが、どうしてそれらが答えになるのかさっぱり分かりません。 分かりやすく教えて... 続きを読む

18 〈プログラミング1〉 次の文章を読み, 空欄 ア (2013年センター試験本試験 情報関係基礎 改題) ~ チ に入れるのに最も適当なものを、下のそれぞれの解答群 のうちから一つずつ選べ。 なお、 同じ記号を複数回選んでもよい。 に続いて、3日間の平均感染者数の推移のグラフを表示するプログラムを作成した。 なお, 「四捨五入()」は小数点以 30日間のウイルス感染者数が配列 Kansen に入っている。 Aさんは、毎日の感染者数の推移を表すグラフの表示 下を四捨五入して整数にする関数, 「棒表示 (a, b) 」 はaをb個分並べて表示する関数, 「要素数(配列)」は配列の要素数 を返す関数である。 [22,30,23, ... (略)・・ 29,35,42] ア まで1ずつ増やしながら繰り返す : (1) Kansen = (2) iを0から (3) 棒表示 ("@", イ (4) iを0から ウ まで1ずつ増やしながら繰り返す: (5) ) 棒表示 ("@", 四捨五入 ( I 図1 毎日の感染者数の推移と3日間の感染者数の推移を表すグラフを表示する手続き ⑩ 要素数 (Kansen)-3 ① 要素数 (Kansen) - 2 ② 要素数 (Kansen) - 1 ③ 要素数 (Kansen) ア ~ I の解答群 ④ 要素数 (Kansen) +1 ⑤ i ⑥ Kansen [i] ⑧ (Kansen [i] + Kansen [i + 1] +Kansen [i + 2])/3 9 (Kansen [i-1]+Kansen [i] +Kansen [i + 1]) / 3 ⑦ Kansen [i * 3] 次に,Aさんは, 7日間の平均感染者数の推移もグラフにしようと考え,まず, 七つの数値の平均値を求める関数 「平均7」を作成した。 関数の引数は複数の数値が入った配列 Hairetsu と, 平均を求める七つの要素の開始位置の添 字 start, 戻り値は平均値を整数にした値とした。 start は、 配列の先頭要素を指定する場合は0 を指定する。 (6)関数平均7 (Hairetsu, start) の定義: ↓うから (7) syoukei = オ (8) iを0から カ まで1ずつ増やしながら繰り返す : (9) (10) = syoukei syoukei + Hairetsu [start + ク 戻り値 (四捨五入 (syoukei/ キ (11) iを0から (要素数 ( ケ -7)まで1ずつ増やしながら繰り返す : (12) ( 表示("@",平均7 コ サ )) ' オ サ 0 0 ⑤ i 図2 7日間の感染者数の推移を表すグラフを表示する手続き の解答群 ① 1 ⑥ start 6 ⑧ syoukei Hairetsu Kansen (3) コンピュータとプログラミング 139

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

422なんですが、なぜafterじゃだめなんですか?

Ken Theme 110 I haven't eaten fish for nearly a month. 1422 超頭 = It's been nearly a month ( ) I last ate fish. ① ago 2 before ③ after 423 A: How long has it been? 1424 (佛教大) ④ since (近畿大) B: Three months (since/passed/she/ have / started) for New York. It is three years since he died. = He ( ) for three years. ② is dead ③ has died ④ has been dead ① has been died 1425 私たちは真相をまもなく知るだろう。 It (will / be / before/we/long/know/not/ the truth). ( 東北学院大) (摂南大) 1426 父は、家に帰ってきて初めてノート型パソコンを忘れたことに気づいた。 頻出 It was (home / not / my father / came / until / that) he noticed he had left his laptop behind. (関東学院大) Power Up! 80 「Sが〜してから (時間が)・・・になる」 の書き換え ① It is [has been] + 時間 + since + S + 過去形 (422) ② 時間 + have [has] passed since + S + 過去形 (423)T ③ S + 過去形・・・ + 時間 + ago WAME ④ Shave [has] been + 形容詞 + for + 時間 (424) ① It is [has been] three years since he died. = = Three years have passed since he died. ③ He died three years ago. ④ He has been dead for three years. (彼が亡くなってから3年になります) 422 (金) ほぼ1か月間, 魚を食べていない。 最後に [この前] 魚を食べてからほとんど1か月になる。 423 Three months (have passed since she started) for New York. 4225 A: どれくらいたちましたか。 B : 彼女がニューヨークへ発ってから3か月が過ぎました。 (4) 彼が亡くなって3年になる。 425 It (will not he long of

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

372の答えが4でもいけると思うのですがなぜダメかを教えてください

Theme 97 100 ② that 371 彼女の帽子は青色だが、彼女の愛によく合っている。 Her hat, () is blue, goes well with her hair. ③ what ④ which ① where 成蹊大 ) study hard. ④ them 九州国際大) 372) There are thirty students in the class, most of ( ② which 発展 ① who ③ whom 373 I went to the supermarket near my house, () I happened to meet one of my old friends. ① that ② there ③ where Power Up! 72 非制限用法の関係詞 ④ which (愛知学院大) その意味のとり方 関係代名詞の場合は「接続詞+代名詞」 関係副詞の場合は 「接続詞+副詞」に置き 換えて、原則として前から後ろへ順に意味をとる。 He dismissed the man, who (= because he) was lazy. 彼はその男を解雇した。怠け者だったからだ) She sat up until midnight, when (= and then) she heard a strange noise. (彼女は真夜中まで起きていた, するとその時奇妙な物音が聞こえた) 368 (③) 日本人の謙虚さが誤解を生じさせる場合が多い。 69 Put the book back (to where it was when you're) through with it. マイケルはとても一生懸命働く。 だから私は彼を尊敬している。 1 (0) (3)そのクラスには生徒が30人いて、 彼らのほとんどは一生懸命勉強します。 (③) 私は家の近くのスーパーに出かけ、そこで旧友の1人に偶然出会った。 370 し終わっている」 関係副詞 why の先行詞省略 That is why 節 「そういうわけで~それが~する理由です)」 Theme 371 本間 => I respect Michael. That's because he works very hard. 「理由 + That's why + 結果」 「結果 + That's because + 理由」 97 非制限用法の関係詞 (1) 関係詞の前にコンマを置いて、先行詞について説明を付け加える用法。 (2)制限用法のある関係詞は、 関係代名詞のwho/which と関係詞の where / when だけである。 that/why/howにはこの用法はない。 (3)非制限用法では目的格関係代名詞であっても省略できない。 非制限用法の関係代名詞 which 本間は、 「人以外」 が先行詞で、 節内では主語の働きをしているので、主 代名詞の④ which が正解。 ② that はもともと限定性の強い関係代名詞 で、非制限用法では使わない。 本間のように、文の途中に挿入して先行詞に補足的説明を付け加える 「~だが」 「~で」 とあいまいに訳す。 「接続詞+代名詞」に置き換えるの 然である。 372 「前置詞 + 関係代名詞」 の非制限用法 most of whom ... 「前置詞+ 関係代名詞」にも非制限用法がある。 特に A of whom [which] がセットで関係詞節の先頭に置かれた Aにはall/ most/some/many/both neither などの数量 詞が用いられる。 ..... most of whom study hard...., and most of them st 373 非制限用法の関係副詞 where 非制限用法の where は 「そしてそこで」 (= and there) の意味 ... = where I happened to meet one of my old friends. ••• and there I happened to meet one of my old friend 旬 happen to do 「偶然[たまたま] 〜する」

解決済み 回答数: 1
英語 中学生

問2のイについてです 2枚目の写真が私の答えなのですが、3枚目の解答とはちがっていて....これでも丸もらえますか??

2.日本語に合うように()内の語句を並びかえ、英語で答えなさい。 ただし文頭に来る語も小文字にしてある。 (2点×4) (1) 私たちが去年聞いた合唱はとてもわくわくさせました。 The chorus (we / heard / was / last year / thát ) very exciting. (2) 戦争がないといいのになあ。 (3) 丸岡には約450年前に建てられた城があります。 (4) もし私があなたなら、先生の話を聞くのに。 I ( there / no / wish / wars / wére). Maruoka has (castle/d/bullt/ was / thaf) about 450 years ago. (were / if / you/I), I would ask the teacher. 3.次の英文は、 丸岡中学校英語科の先生方から卒業生のみなさんへの手紙の前半部分です。英文を読んで、あとの問いに答えなさい。 Hi, everyone. You are going to leave Maruoka J.H.S soon. You've been ( ① ) English hard for three years. We think that these three years are so precious, but also ( ② ) for all of you. Because of the emergency of COVID-19, you had to follow rules that made your lives tough. We want you all to enjoy your happy lives in the future. Here is some (③) through a person's life that you've ( 4 ) about in English and Japanese classes. His name is Hoshino Michio, a great Japanese photographer. Last year, the exhibition of Michio Hoshino was held in the Fukui City Art Museum. In Fukui, students use a textbook called “New Horizon", and the story of Michio has been told for about 20 years in this book. Besides, it was the 70th anniversary of his death. Many people remembered or learned about him through the exhibition. Michio was attracted by a photograph of the wilderness of Aldiskd. He decided to visit there and learned the skill of living without city conveniences. He loved the Inuit people and animals there. They also loved Michio. He also loved the nature there that was beautiful and severe. He said, “I love this place. It's cold here, so we go negy each other and talk about our lives. It makes our bodies warm. It makes our hearts warm, too. Because the weather is severe, people try to help each other, and become even better friends." His words give some hint to realize what a happy life is. Through the severe weather, he experienced both a tough and argreat life that satisfied him. (大問4に続きます) 注) anniversary 記念日 ~周年 hint ヒント 問(1) 本文中の(1)~(4)に入る最も適切なものを、下から選び、答えなさい。 (知・技点×4) 【 learned studying. hard advice 】 問(2) 次の質問に対し、 2語以上の英語で答えなさい。 (知・技 2点×2) ア How long has Michio's story been told in the textbook “New Horizon" ? イ What was Michio attracted by?

解決済み 回答数: 1