学年

質問の種類

情報:IT 高校生

情報です。問2のイウエオカができません。教えてください!

と言う グラムがWeb上に公開さ 呼び出して利用できる Piといい, Web サービ ータを利用したプログ ものに活用されている。 天気の amming Interface) 社会とのかかわり WebAPIの活用 WebAPIには, 天気, 観光, グル メ, 交通などのリアルタイムの情報 を得られるものや、 動画投稿サイト やSNSの機能をプログラムに組み込 むことができるものなどがある。 000 77 0188 1181 難易度 目安 ★★★ 15分 い~はに入れるのに最も適当な組合せを ットが2匹いて、そのうちの1匹はメスだった す。 別が問題です。 オスとメスであ と言われたのです。 る確率は同じ ペットを2匹飼っている家族がたくさんい つ目の ペット ことします。1つ目の家族の番号 い始めたペットに0, 2番目に飼い始めた 飼い始めたペットは, Pet [0,1] となります。 圧はどう表すのですか? T: 配列 Petの要素の値がそのペットの性別を表します。 オスは1, メスは2とします。 では、4番目の家族 の2番目に飼い始めたペットがメスの場合, 添字と要素はそれぞれいくつになりますか? S:Pet いろ]で要素の値ははです。 T: きちんと理解できたようですね。 それではプログラムを作っていきましょう。 の解答群 ⑩い: 3, 3: 1, は:1 ④い: 4. 3: 1. は:1 ①い: 3, 3: 1, は:2② い: 4, 3: 2, は : 2 ③ い: 4, ろ : 2, は 1 ⑤い: 4, ろ : 1, は : 2 ⑥ い: 3, 3: 2, 1:27 い: 3, 3: 2, は:1 問2 次の文章の空欄 イ - Є MI 次の文章 なお、 解答 T:プログラムの後半は先生 成しました。 なお、この タが格納されていると S:このプログラムはどう T: 図2は、ペットの1 S: 数学の時間に出され T:図3は、最初に飼い S : どちらも同じだと T: どうでしょう。 (1) (2) (3) kazo kaz ka (4) i (5) (6) (7) に入れるのに最も適当なものを,後の①~③のうちから一つずつ (8) (9) (10) (11 べ。なお,解答群の選択肢は複数の箇所で使用してもよい。 T:まずは, 配列 Pet にペットの性別データを格納するプログラム (図1) を作ります。 S:ペットの性別は乱数を作って決めるのですね。 T:よく分かっていますね。 ここでは, 関数 「性別決定」という先生があらかじめ作成しておいた関数を使いま す。これは,戻り値として1と2を同じ確率で返す関数です。 S:データは何件分を作成したらよいですか? 入力が大変そうです。 T:データを作成する家族の件数は kazoku No という変数に格納しましょう。最初は100000件にしておきま す。まさか手入力しようと思っているのですか? S:そうか! 繰り返しを使えばいいのですね! (1) kazoku_No = 100000 (2) iを0から イ まで1ずつ増やしながら繰り返す: (3) Pet [ ウ 0] エ = (4) Pet [ オ 1 = 図12匹のペットの性別を乱数で決定し 2次元配列に格納するプログラム イ ~ カ の解答群 100000 6 1,0 ①kazoku_No ⑦ i,1 kazoku No - 1 ④。 ⑤ 1 1, 1 性別決定 () 第3章 コンピュータとプログラミング

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

英検3級の問題です 勉強はしているのですがなぜか正答率が上がらなくて困ってます💦 どうして間違えるのか、どうすればいいのか得意な方アドバイスお願いします🙏

B: Sure, Andy. No problem. ) the rules? 2 wake 模擬試験 注意 音声はポケリスアプリで聞いてください。 実際の試験ではマークシートが配布されます。 この模擬試験では解答をそのまま 書き込んでください。 1 次の(1)から(15)までの( )に入れるのに最も適切なものを 1, 2, 3, 4の中から一つ選びなさい。 ⑩ask (8) The homework Mr. Baker gave us is a ( little 2 less 3 sell ④explain difficult. I need someone's help. ) 3 many 4 more (9) My hobby is cooking. When I was little, my grandmother often taught me ( cake. 1 why 2 what (10) A: Do you like climbing mountains? B: No, I don't like it at ( 1 every 3 how ) because I get too tired. 2 best 3 all 4 who 4 each (1) A: Are you going to ( ) the basketball club? B: Yes. That's my favorite sport. 1 leave 2 move 3 join (2) A: I will go to the new ( ). Do you want to come with me? B: Yes, I'd love to. I want to see the dolphin show. 1 stadium 2 aquarium (3) A: Would you like another piece of pizza? B: No, thanks. I'm already ( ). 1 angry 2 local 4 drive 3 shape 4 capital 3 thirsty (4) A: Can I see your student card? I need to check your name and ( B: OK. Here you are. 1 line 2 air 4 full ) to make a (11) Ann was ( ) from school yesterday because she had a bad headache. She also had fever. 1 serious 2 familiar 3 absent 4 expensive (12) Michael has been practicing tennis very hard for two years. ( ) last, he won firs the tennis competition yesterday. I On At (13) A: Do you know the boy ( ) with Jenny? 3 By B: Yes. He is from England. He will study with us for two months. 4 Of (1 talked talking (14) A: I like this song very much. 3 talk 4 talks B: Oh, I know this song. It is ( ) in many countries. age 3 statue 1 sing 2 sang sung sir (15) Students ( who 2 whose ) want to go to the ski camp must come to the cafeteria af 3 what 4 v 3 bring 4 steal (5) A: Excuse me, how many books can I ( ) from this library? B: Five books. You can keep them for ten days. ⑪borrow 2 lend [6) A: Have you finished your breakfast, Betty? B: No. I'm ( ) eating, Mom. still 3 else 4 away ever

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

英語の長文です どこに文法表現があるか知りたいです! よろしくお願いします。

5 UNIT3 Reading Passage 10 15 20 20 25 30 Listening When important events are happening around the world, most people turn to traditional media sources, such as CNN and BBC,¹ for their news. However, during the invasion of Iraq by the United States and its allies in early 2003, a significant number of people followed the war from the point of view of an anonymous² Iraqi citizen who called himself "Salam Pax" (salam means "peace" in Arabic, and pax means "peace" in Latin). Salam Pax wrote a diary about everyday life in Baghdad during the war, and posted it on his web site. Pax's online diary was a kind of web site known as a "blog." Blogs, short for "web-logs," are online diaries usually kept by individuals, but sometimes they are written by companies and other groups of people. They are a rapidly growing type of web site on the Internet. There are estimated to be several hundred thousand blogs on the Internet, and with the popularity of other social media sites, the number of people writing online about their lives continues to grow. may find A blog differs from a traditional web site in several ways. Most importantly, it is updated much more regularly. Many blogs are updated every day, and some are updated several times a day. Also, most blogs use special software or web sites which are specifically aimed at bloggers, so you do not need to be a computer expert to create your own blog. This means that ordinary people who computers difficult to use can easily set up and start writing their own blog. In 2003, the Internet company AOL³ introduced their own blogging service, enabling its 35 million members to quickly and easily start blogging. There are many different kinds of blogs. The most popular type is an online diary of links, where the blog writer surfs the Internet and then posts links to sites or news articles that they find interesting, with a few comments about each one. Other types are personal diaries, where the writer talks about their life and feelings. Sometimes these blogs can be very personal. There is another kind of blogging, called "moblogging," short for "mobile blogging." Mobloggers use cell phones to take photo's, which are posted instantly to the Internet. When the content and images posted online involve news subjects, mobloggers become citizen journalists. In fact, the Korean web site OhMyNews was a well known source for articles from international citizen journalists. However, in 2010, OhMyNews stopped posting new articles. Instead, it is now a blog site where citizen journalists can choose what makes the headlines, or just share ideas about how regular people are changing the news world. Anyone who visits the web site of a big media company can clearly see how the idea of blogging has changed the reporting of news. Quite often, a list of reader comments follow news articles. It seems that the news is becoming less like a report or a lecture, and more like a conversation, where anyone can join in. CNN, BBC Cable News Network, British Broadcasting Corporation anonymous not named; unknown 3 AOL America Online

回答募集中 回答数: 0