学年

質問の種類

情報: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
数学 高校生

答え合わせお願いします🙇‍♀️🙏💦

Ⅱ. 次の英文の空欄 ( 11 ) から ( 20 )に入る最も適切な英単語を, a. ~d.の中から 1つ選びなさい。 解答は解答用紙1枚目 (マークシート方式)の所定の解答欄にマークし なさい。 2893 000 Lego bricks. (Image source: Wikimedia Commons-CC license) Car made from Lego bricks. Lego has unveiled its first bricks made from recycled plastic bottles and ( 11 ) that it hopes to include the pieces in sets within two years. The prototype 4x2 bricks have been made from PET plastic from ( 12 ) bottles with additives to give them the strength of standard Lego parts, and are the result of three years of ( 13 ) with 250 variations of materials. It has already ( 14 ) plans to remove single-use plastic from boxes, and since 2018 has been ( 15 ) parts from bio-polyethylene (bio-PE), made from sustainably sourced sugarcane. These parts are bendy pieces, such as trees, leaves and accessories for figurines. Tim Brooks, vice-president for environmental ( 16 ) at Lego Group, said the biggest challenge was "rethinking and innovating new materials that are as ( 17 ), strong and high (18) as our existing bricks and fit with Lego elements made over the past 60 years". He added: "We're committed to playing our part in building a sustainable future for generations of children. We want our products to have a positive ( 19 ) on the planet, not just with the play they inspire, but also with the materials we use. We still have a long 20 ) we are making." way to go on our journey, but are pleased with the Hillary Osborne, "Lego develops first bricks made from recycled plastic bottles", The Guardian, 23 June, 2021. (https://www.theguardian.com/lifeandstyle/2021/jun/23/lego- develops-first-bricks-made-of-recycled-plastic-bottles) (-)

解決済み 回答数: 1