学年

質問の種類

情報: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
英語 高校生

2を教えてほしいです💦お願いします🙇

英語 ( 70分) 1 次の文章を読んで 1~7の問いに英語で答えなさい。 It's Christmas Eve, December 24, 1914. The night is clear and cold/ Moonlight illuminates the snow/covered land separating the British and German trenches outside a small town in northern France. British military command feeling nervous sends a message to the front lines: it is thought possible the enemy may attack during Christmas or New Year. Extra caution will be maintained during this period. The military command has no idea what's really about to happen. Around seven for eight in the evening/ British soldier Albert Moren blinks in disbelief What's that on the other side? Lights flicker on./ one by one. Lanterns. he sees, and torches, and... Christmas trees? /"Stille Nacht, That's when he hears it - soldiers singing in German/" heilige Nacht." Never before had the Christmas music sounded so beautiful. I shall never forget it," Moren says later. It was one of the highlights of my life. Then, in response, the British soldiers start singing The First Noel." The Germans applaud, and counter by singing "O Tannenbaum." They go back-and-forth for a while, until finally the two enemy camps sing "O Come, All Ye Faithful" in Latin, together. "This was really a most extraordinary thing." soldier Graham Williams later recalled, "two nations both singing the same Christmas music in the middle of a war." Events just north of a small town in western Belgium go further still. From the enemy trenches, Corporal John Ferguson hears Someone call out, asking if they want some tobacco. "Come towards the light," shouts the German. So Ferguson walks out into no-man's land into the field between both armies. "We were soon speaking as if we had known each other for years." he later wrote. "What a sight little groups of Germans and British talking together almost as far as the eye can seel Out of the darkness we could hear laughter and see lighted matches.... Here we were laughing and chatting to men who only a few hours before we were trying to kill!" The next morning. Christmas Day, the bravest of the soldiers again climb out of the trenches. Walking past the barbed wire, they go over to shake hands with the enemy. Then they wave "come on!" to those who'd stayed behind. "We all cheered." remembered soldier Leslie Washington of the Queen's Westminster Rifles. "and then we all came out together like a football crowd." (A Gifts are exchanged. The British offer chocolate, tea and cakes: and the Germans share cigars, sauerkraut and schnapps. They make jokes and take group photographs as though it's a big./happy reunion/ More than one game of football is played./using helmets for goal posts. One match goes 3-2 to the Germans, another goes to the British, 4-1. In northern France/the opposing sides hold a joint burial service. "The Germans formed up on one side." Lieutenant Arthur Pelham- Burn later wrote./"the English on the other, the military officers standing in front, helmets off, heads bowed in respect. As their friends are laid to rest friends killed by enemy bullets - they sing in English "The Lord is My Shepherd" and the same song in German mein Hirt" their voices in unison. "Der Herr That evening, there are Christmas dinner parties up and down the lines. One English soldier finds himself invited into the German held zone to a wine cellar, where he and a soldier from southern Germany pop open a bottle of 1909 French champagne. The men exchange

解決済み 回答数: 2