学年

質問の種類

情報:IT 高校生

①がエになる理由を教えてください

引数 戻り値 ① Function mysurface (radius As Double) As Double Dim pi As Double Dims As Double ⑤3.14 ⑥⑥ = pi (8) S ✓ = End Function 3 ア. 円の半径 オ. 戻り値 ⑥'円の面積を計算 円周率を定義 戻り値として円の面積を戻す イ. 円の面積 力. radius 右のフローチャートは,線形 探索を行う関数のアルゴリズ ムを表したものである。探索 する値を引数として受け取 り、右図のようにセルA1~ A10に格納されたデータに 対して線形探索を行い,探索 する値が存在した場合は,戻 り値として“あり” を, 存在 しなかった場合は,“なし” を戻す。 空欄 ①~⑤に該当す るものを下のア〜カから選 び, 記号で答えなさい。 ア. 戻り値 = “あり” ウ.flag = 0 オ. Cells(i, 1).value = 引数 考えてみよう 関数を使う意義を考えてみよう。 #. mysurface 開始 i=1 GRAME flag=1 ウ. 整数 (Long) Yes 実数 (Double) 4 flag = 0 ループ 終了 No. イ. 戻り値 = “なし” エ. flag=1の間繰り返し 力. i>10 in 1 i=i+1 4 7. S Yes 戻り値= "なし" (5 ③③ No. 4 ⑤ ア 1 15 カ 工. 実数 (Double) ケ.pi 1 2 3 4 15 6 7 2 (1) 7 S 2 8 10 jus 円の半径 (4 円の面積 実数 pi ⑤5⑤ radius mysurface A (コ. 3.14 1 2 3 4 5 6 7 8 9 [10] 16 2 Ⅰ flag=1の間繰り返し 明和 オ Cells(i).Value=引数 ア戻り値="あげ カ i> 10 flag=0 91

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

この文章の4行目にある、because they would harm whatever bacterial life forms might be present on the planet の文構造についてなのですが、might の前にあるはずの関係代名詞の主格whi... 続きを読む

次の文章を読んで、 問1~4に答えなさい。 The establishment of a colony on Mars has been a dream for decades. Inevitably some people have objected to the idea of colonizing Mars on both ideological and practical grounds. Some object to humans living on Mars because they would harm whatever bacterial life forms might be present on the planet. Others oppose Mars settlements because they disagree with the idea of using the Red Planet as a "backup" in case the Earth is destroyed. Those in favor of colonizing Mars, however, look to spread the human race beyond our single planet. The practical considerations of surviving long term on a world without a breathable atmosphere, no surface water, exposure to radiation, and extremes of heat and cold all have to be addressed first. Mars colonists could survive in domed cities, extracting and recycling resources from the Martian environment. However, a more interesting plan for the settlement of the Red Planet involves a process called terraforming, turning the dangerous environ- ment of Mars into something resembling Earth. Billions of years ago, Mars was more like Earth, with a thick atmosphere as well as oceans and rivers of surface water. The planet may well have had complex life forms. However, sometime in the distant past, Mars lost its (A ). When Mars found itself without the protection of that field, solar wind relentlessly stripped it of its atmosphere, quickly turning the planet into the frozen desert it currently is. While a number of schemes exist to restore Mars' atmosphere, creating a runaway greenhouse process that would raise its temperature, NASA and some academic researchers recently came up with a simple way to achieve the process naturally. The idea involves the creation of an electromagnetic shield between Mars and the Sun to protect the Red Planet from solar wind. Without the solar wind stripping it away, the atmosphere of Mars would gradually become thicker. Soon the temperature on the Martian surface would become high enough to release the trapped ( B ) at the poles, accelerating the (C). Water ice at the poles would melt, giving Mars back some measure of its oceans and rivers. All humans would have to do is introduce

解決済み 回答数: 1