Grade

Type of questions

IT Undergraduate

vsコードを使ってJava言語の勉強をしてたんですけど初心者すぎて何が原因で上手くコードの実行ができてないのかわかりません… 勉強の資料として使ってるのは京都大学のJavaによるプログラミング入門 です。

17:43 7月27日 (木) 1.7 使用するサンプルプログラム (TankCalculator.java) 1: public class Tank Calculator { 2: public static void main (String args[]){ final double FLOW_RATE = 1.0; final double TANK_AREA = 20.0; final double INITIAL_LEVEL = 10.0; double time; //s double tankLevel; //m ... ocw.kyoto-u.ac.jp 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: time = 30; 14: tankLevel = INITIAL_LEVEL + FLOW_RATE*time/TANK_AREA; 15: System.out.println("Tank Level at time "+ time + "s = " + tankLevel + "m"); 16: 17: 18: 19: } 20:} 11 System.out.println("Flow Rate = + FLOW_RATE + "m** 3/s"); System.out.println("Tank Area=" + TANK_AREA + "m**2"); System.out.println("Initial Level = " + INITIAL_LEVEL + "m"); time = 60; tankLevel = INITIAL_LEVEL + FLOW_RATE*time/TANK_AREA; System.out.println("Tank Level at time "+ time + "s=" + tankLevel + "m"); 【補足】 // の後ろは,プログラムを後で読解しやすくするための注釈です. Flow Rate = 1.0m**3/s Tank Area = 20.0mm**2 Initial Level = 10.0m 8 Tank Level time 30.0s = 11.5m Tank Level at time 60.0s = 13.0m 1.7.1 サンプルプログラムの入力と実行 先ほどと同じように, 秀丸エディタを開き, 20行のプログラムを書き込んで, Tank Calculator.java と名付け, 保存して, コンパイル, 実行してください. 成功すれば,以下の実行結果が示されます。(失敗してもめげないで, 2.5.1 節を参 考に、原因を考え,再トライしてください) ちなみに, 実行結果をファイルに書き出すにはコマンドプロンプトの「リダイレク ト」 という機能を使います 11. java TankCalculator > result.txt これにより result.txt というファイルが出来ているはずです。 中身は数値や文字列 だけのテキストファイルですのでエディタなどで内容を確認できます。 @91% 11javaプログラムの中で明示的にフ ァイルに出力することもできるので すがここでは安直な方法を取ります

Unresolved Answers: 1
English Senior High

この文の第二段落のamid calls for ~のcallsは、名詞でしょうか?前置詞のamidとcalls forのつながりが、なぜこのような訳になるのか理解できません。このcalls が名詞だと仮定して直訳すると、管理下において大規模に火を放つことを求める要求の最中に... Read More

王 jon 【目標解答時間 15分 配点 37点 15 次の英文を読み, 下記の設問 (A~D) に答えなさい。 Fire is "a good servant but a bad master." In my house, in summer, I smell the air for the faintest hint of smoke as keenly as any horse or dog or kangaroo. I watch for columns of smoke, visualising again and again how fire could rush( 1 )the hill towards us. But if you are philosophical about it, fire is a natural 5 part of the Australian environment and has been for millions of years. Living with the threat of fire in the bush, or in the wild, is like living with sharks when diving, or with snakes while walking, or with traffic accidents on a city street. The idea that we should remove every shark from the sea, or every snake from the land, and control- burn, or deliberately set fire, to prevent any risk of 10 bushfires is a recipe for making the environment even worse. As Phil Koperberg, head of the New South Wales Fire Brigades, said ( 2 ) the Sydney bushfires of 1994, amid calls for massive control burning, “Do you want to concrete over all the bush? If you choose to live in the bush, you choose to accept the risk. f It is often claimed that some Austratian plants and animals have actually adapted to fire, evidence of an extraordinarily long period (millions of years before human arrival) during which fire has been more significant in the Australian environment than it has been on any other continent, but this is probably not strictly true. Many plants have adapted to the environment in 20 ways that also happen to be valuable in times of fire. ( 3 ), animals have adapted to a variety of different habitats, and can therefore survive during different periods of vegetation regrowth after a fire (or after, say, a cyclone, a flood, or just a tree falling in a forest). A tree that has the ability to regenerate from roots or lower trunk when the 25 upper tree dies as a result of being broken off in a storm, or falls over, rotten to the core, will also be able to respond when the upper part is killed by a fire. Seeds adapted to long hot droughts, and requiring a combination of heat and water for germination", will also find a fire, if followed by rain, a good stimulus for growing new plants. There does appear to be evidence that chemicals in 30 smoke can help promote growth in plants, but whether this is a direct 可能性があるかを 何度も が続いているのだ。 森林地帯, ダイビングのときにサメ, そやカンガルーにも負けな の匂いを嗅ぐ。 私は,どのよ 暮らすようなものである。 海 しき主人である」( れば, 火事はオーストラリア >> のヘビを取り除くべきだと 意図的に火を放つべきだ , 1994年のシドニー ている真っ只中 と言った。 入れるこ

Unresolved Answers: 0
English Senior High

至急❗️大門3と大門4がわかりません。教えて下さい。よろしくお願いします。

3 次の英文の( )に入れるのに最も適当なものを1つ選び、記号を○で囲みなさい. (1) 2012 is the year ( 7. when ) our soccer team played in the finals. 1. where . which (2) Japan is the country ( 7. how ) people drive on the left. 1. that . where ) I respect him. (3) My father works hard every day. That's ( 7. how 1. when . where (4) There are some points ( ) I disagree with you. 7. how 1. when . where ) our city is often attacked by typhoons. (5) Summer is the season ( 7. how 1. when . where ) a famous novelist lives. (6) That is the house in ( 7. that 1. which (7) I caught a cold. This is ( 7. how (8) The time will come ( (2) That is the point when you are mistaken. I. why * drive on the left 「(車が) 左側を走る」 I. which (3) I want to know the way you cooked this delicious dish. . where ) I will be absent from today's meeting. 1. which . why I. whose ) humans live to be 150 years old. *live to be ~ 「~になるまで生きる」 1. when 7. how . where I. why (9) I'm interested in publishing a book. Could you tell me ( ) you published your book? 7. that 1. how . which I. whose (4) That is the bakery where my aunt opened last week. I. why I. why 4 次の英文の誤りを正しく直し、全文を書きかえなさい. 誤りがない場合は,解答欄に○を書きなさい. (1) Please tell me the exact time where you will arrive here. (5) Do you know the place where we often gather and have lunch in? I. whose I. whose (6) In our house, we have a beautiful flower bed where my mother loves. * flower bed 「花だん」

Unresolved Answers: 1
English Senior High

至急❗️ここの問題がわからないので教えてもらえると助かります。よろしくお願いします。

3 次の英文の( )に入れるのに最も適当なものを1つ選び,記号を○で囲みなさい. (1) 2012 is the year ( ) our soccer team played in the finals. 7. when 1. where . which (2) Japan is the country ( I. why ) people drive on the left. * drive on the left 「(車が) 左側を走る」 1. that . where I. which 7. how (3) My father works hard every day. That's ( 7. how ) I respect him. . where 1. when (4) There are some points ( ) I disagree with you. 7. how 1. when . where ) our city is often attacked by typhoons. (5) Summer is the season ( 7. how 1. when . where ) a famous novelist lives. (6) That is the house in ( 7. that 1. which . where ) I will be absent from today's meeting. (7) I caught a cold. This is ( 7. how 1. which . why I. whose (8) The time will come ( 7. how ) humans live to be 150 years old. * live to be ~ 「~になるまで生きる」 1. when . where I. why (9) I'm interested in publishing a book. Could you tell me ( ) you published your book? 7. that 1. how . which I. whose (2) That is the point when you are mistaken. (3) I want to know the way you cooked this delicious dish. (4) That is the bakery where my aunt opened last week. I. why 次の英文の誤りを正しく直し、全文を書きかえなさい. 誤りがない場合は,解答欄に○を書きなさい. (1) Please tell me the exact time where you will arrive here. (5) Do you know the place where we often gather and have lunch in? I. why I. whose I. whose (6) In our house, we have a beautiful flower bed where my mother loves. * flower bed 「花だん」

Waiting for Answers Answers: 0
English Senior High

ビジョンクエスト ace lesson3のprick reviewです 右側のクイズの答えを教えて頂きたいです

to me the reason why you 明してください。) I can write a letter to my host family. に,( )内の語句を並べか 直接会って話をする必要がある. to / to / need/you) face 1 ると、 私は楽しかった子どもの of / happy / me / childhoc ☆はすぐに出発しなければな d/him/to/ convinced / 徒たちに優れた教育を提供 (with / its / education/ 行動は彼らに多大な迷惑を behavior (of / them / a うに, 下線部に適切な語 do in to ent てくれますか。 E 300 招いてくれてありがとう。 43 (0) 紙をようやく書き終えた。 生に,昼食時に何があっ 英語に直しなさい。 バスで学校に通っている いているのは誰なのだ? ピアノの練習をしている。 に良くなると私は信じ さばき方を教えてくれた Jeg 03 11 夏休みのホームステイタ Is. Thompson 宛に, t please me, so I create しくなかった。 だから私 explain は「~を説明する」という意味の 他動詞で説明する事柄が目的語にくる。 説明する相手 (「~に」) を表す場合は前置詞 to が必要。 Vision Quest ⅡI Ace WORKBOOK 10 Lesson 4 Quick Review 動詞を決める ASVO My father takes the first train every morning. 父は毎朝、 始発電車に乗っている。 I need to pack my suitcase by tomorrow morning. 私は明日の朝までにスーツケースに荷物を詰めなければならない。 I can't believe that I've passed the audition for the leading part. 私がオーディションで主役に合格したなんて信じられない。 □ 1. 私の祖母は新しいドレスを作る予定だ。 My grandmother is going to □ 2. あなたにまた会いたい。 I you again. □ 3. ハイキングに行ったことを覚えていますか。 Do you □ 4. 彼が引っ越したとは知りませんでした。 I he had moved. □ 5. いつそのTシャツを買ったのか思い出せない。 I I bought the T-shirt. never going hiking? B SVOO Meg showed me her family album at her house. メグは家で家族のアルバムを私に見せてくれた。 Can you [] 7. 父は私にもっと野菜を食べるように言った。 My father □ 8. 彼女がどこの出身か尋ねてみよう。 Let's Quiz 「買う予定だ」 に。 dress. Quiz 「お会いする必要があります」 に。 I convinced my parents that I needed a new computer. 私は両親に新しいコンピューターが必要だということを納得させた。 This book teaches us what love is. この本は愛とは何かを私たちに教えてくれる。 □ 6. 君のノートをしばらく貸してくれない? for a moment? she's from. Expressions+Check! □ 9. この歌を聴くと、 私は夏祭りを思い出す。 This song □ 10. 生態系は私たちに空気, 水, 食料を提供している。 Ecosystems us □ 11.ATMでお金を引き出す方法をあなたに説明します。 Let me Quiz 「忘れましたか」 に。 bid Quiz 「信じられませんでした」 に。 Quiz 「いつ買ったのだろう」 に。 Quiz 「助言した」 に。 I should eat more vegetables. 教科書 pp.18~19 Quiz 「見せてくれますか」 に。 Quiz 「いつ日本に来たのか」 に。 Quiz 「子ども時代を」 に。 the summer festival. Quiz 「多くの資源を」に。 air, water and food. Quiz 「教えます」 に。 you how to get money from an ATM. D/when will 2 My father 3 Themuseum FI will sho Pleas eall m 5 He ner. 72 my fathe. 3 The musio 5please c sson3 Qui grew grew sold sells 3 arrived Fresembl. enter 6a appeare 7 looking

Unresolved Answers: 0
English Senior High

これを訳していただけませんか😭

dovecameron to the most beautiful man I have ever known, and my best friend: yesterday marks 5 years since you've left us, and I still feel you all around me every day, all the time. I feel as though I understand you more and more as I begin to understand myself in these formative years, and although it can't ever replace the years I've lost with you, I know I am never without you because you are in me :) I am so happy every day, dad, and so is Claire. Both of your girls are following their bliss and living their great adventure. Taking no prisoners, loving all they can and eating ice cream bars and overly salted popcorn in bed. I wish you could meet all of the amazing people I've brought into my life and know how safe and loved I am. I know that wherever you are you know all of this, and you laugh at me when I speak as though you're gone. You taught me how to love, and you are love to me. The gift that you have given to me and Claire, the intense pain and loss, has brought a clarity, a deep human connection, an empathy and a color to our lives in a way that nothing else could. I can never go back to who I was before, and I would never want to. You still teach me lessons every day, and make me laugh as the lessons you instilled at a young age begin to settle into my bones and make more sense. You set me up for the best life imaginable, and I plan to make your proud every single day and never waste it. I love you eternally, and can't wait to see you again, maybe in our next life as we find each other over and over. Forever your best friend, and your little girl.

Waiting for Answers Answers: 0
English Senior High

答えがないので正誤判定お願いしたいです。ちなみに、オレンジで囲ってるのが私の回答です。 最後(11)丸をし忘れましたが答えは2番にしました。 それとオレンジで囲ってみにくくなった英単語などは隣または近くに書きましたが,わからないとこあれば指摘ください。

⑤ 空欄の入る最も適切なものを選択肢から1つ選びなさい。 (1) What nobody would ( ) suggest is that women be told to stay at home dare (2) Scientits reported that monkeys had been seen ( V S use (複数扱 (3) The police ) the murder case at the moment. are investigating investigate may (5) You can avoid ( &n having M (7) My wife and I ( fear to be taking advantage of 2 have used 3 to aking advantage of by (6) I like watching Star Wars movies, but I ( had to cancel (4) I don't know where their wedding i going to be held, but if they decide on Kyoto, I definitely ( ) go. Zwill (9) Soccer ( (10) It ( 2 might has been got to know (8) All trains stopped (y s stopped (yesterday (11) I'd rather ( had to have 3 hope 2 had cancelled ) keeping yourself well informed and taking a few safety precautions. being taken advantage of by and the meeting ( 2 should well for you not to go out ) some simple tools just as human beings do. using Investigates ) so late at night.. ) each other since we were in high school) have been knowing 3 hay known 3 need 3 will be having 4 being taken advantage by ) enough of them by the time this one ends. wish C had to be cancelled 4 to using IS Ad 4 investigating can well ) be the world's most popular sport: however, baseball is more popular in the US may well ) a few days before we know the full results of the medical checkup. should have been 3 was you didn't go out willl have had 4 know had been to cancel 4 must well will be

Waiting for Answers Answers: 0