Grade

Subject

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プログラムの中で明示的にフ ァイルに出力することもできるので すがここでは安直な方法を取ります

Waiting Answers: 1
TOEIC・English Undergraduate

文章を読んで上の1〜4の問題を解くものです。 分からないのでお願いします

3. Answer the following questions. 1 What is the difference between UNIX and Linux? 2 3 4 Choose one of the words in italics in the text. What is the definition of the word you have chosen? What are the three levels of a Linux system? What are the two main functions of the kernel? [Reading Text] UNIX was initially developed by researchers at Bell Labs in the 1970s. Today, UNIX and its variants are widely used mainly on servers. By far, the most well- known UNIX-like operating system is Linux. Linux is available in different distributions which include the Linux kernel and different collections of software. These distributions have various user interfaces, many experienced users preferring the command-line interface, or shell. Linux distributions include a range of software including text editors. memory. While the mechanics of Linux and other Unix operating systems are complicated, the components of a Linux system can be grouped into three levels. The lowest level is the hardware, such as Central Processing Unit (CPU) and The next level is the kernel. It enables communication between hardware and software, by providing instructions to the CPU and other hardware. The programs that are running on the system, or processes, make up the top level known as the user space. Processes in user space generally only have access to a restricted amount of memory and operations, this is called user mode. The kernel runs in kernel mode which allows it unrestricted access to hardware resources. The kernel provides functions such as process management and memory management. A computer only has limited Random Access Memory (RAM) and processor cores. Process management allows the system to run multiple programs (processes) at the same time even if the CPU can only execute only a few processes at a time. Memory management allows applications to share the system's memory while avoiding potential issues such as memory leak. Included with the kernel are device drivers that provide an interface for applications to communicate with hardware, such as hard drives. System calls allow user processes to access features that are executed at kernel mode, for example creating new processes.

Waiting for Answers Answers: 0
TOEIC・English Undergraduate

この1〜4の問題お願いします🙏🏼🙏🏼

3. Answer the following questions. 1 What is the difference between UNIX and Linux? 2 3 4 Choose one of the words in italics in the text. What is the definition of the word you have chosen? What are the three levels of a Linux system? What are the two main functions of the kernel? [Reading Text] UNIX was initially developed by researchers at Bell Labs in the 1970s. Today, UNIX and its variants are widely used mainly on servers. By far, the most well- known UNIX-like operating system is Linux. Linux is available in different distributions which include the Linux kernel and different collections of software. These distributions have various user interfaces, many experienced users preferring the command-line interface, or shell. Linux distributions include a range of software including text editors. memory. While the mechanics of Linux and other Unix operating systems are complicated, the components of a Linux system can be grouped into three levels. The lowest level is the hardware, such as Central Processing Unit (CPU) and The next level is the kernel. It enables communication between hardware and software, by providing instructions to the CPU and other hardware. The programs that are running on the system, or processes, make up the top level known as the user space. Processes in user space generally only have access to a restricted amount of memory and operations, this is called user mode. The kernel runs in kernel mode which allows it unrestricted access to hardware resources. The kernel provides functions such as process management and memory management. A computer only has limited Random Access Memory (RAM) and processor cores. Process management allows the system to run multiple programs (processes) at the same time even if the CPU can only execute only a few processes at a time. Memory management allows applications to share the system's memory while avoiding potential issues such as memory leak. Included with the kernel are device drivers that provide an interface for applications to communicate with hardware, such as hard drives. System calls allow user processes to access features that are executed at kernel mode, for example creating new processes.

Waiting for Answers Answers: 0
Chemistry Undergraduate

固体電解質のイオン伝導度に関する質問です。 Na-β"アルミナを実験で使用しています。β"-アルミナ内のNa+移動がどのくらいの速度で行われているのかが知りたいという状況で、イオン伝導度のデータはあるのですが、単位が(Ω・cm)^(-1)のようなもので、どう扱えば単位時間... Read More

PROPERTIES OF ionotec BETA"-ALUMINAS Property Phase content, % beta" Porosity,% Maximum pore size (um) Maximum grain size (um) Bending strength (MPa) Strength Weibull factor Fracture toughness (MPa m³) Ionic conductivity (ohm cm)-¹ 25°C 200°C 300°C 400°C Thermal expansion coefficient 0-500°C (x 10-6) 500-1000°C Part Number A1 A2 H1 B1 B2 C2 14 Berkeley Court Manor Park Runc orn For further details please contact: lonotec Ltd Cheshire WA7 1TQ England Na-beta" 90-95 1-2 5 20 70 105 140 100 220 220 250-300 8-13 2-3 0.002 0.092 0.24 0.38 7.2 8.6 ionotec manufactures a range of tubular shapes of standard dimensions given below. Flat discs and rectangular plates can be manufactured in any size in the range 10-70 mm across and 0.5-3.0 mm thickness. Ag-, Pb-, Sr- and Ba-conductive versions are also available. K-beta" 85-90 2-3 8 20 250-300 8-13 0.0005 0.021 0.053 0.10 7.45 8.5 Length Internal Minimum Maximum (mm) diameter thickness thickness (mm) (mm) (mm) 6.5 0.5 1.5 13 0.5 1.5 20 1 28 1 29 1 52 2 2 2 2 2 Telephone: +44(0)-1928-579668 Fax: +44(0)-1928-579627 e-mail: info@ionotec.com Web: www.ionotec.com

Waiting for Answers Answers: 0
Chemistry Undergraduate

固体電解質のイオン伝導度に関する質問です。 Na-β"アルミナを実験で使用しています。β"-アルミナ内のNa+移動がどのくらいの速度で行われているのかが知りたいという状況で、イオン伝導度のデータはあるのですが、単位が(Ω・cm)^(-1)のようなもので、どう扱えば単位時間... Read More

PROPERTIES OF ionotec BETA"-ALUMINAS Property Phase content, % beta" Porosity,% Maximum pore size (um) Maximum grain size (um) Bending strength (MPa) Strength Weibull factor Fracture toughness (MPa m³) Ionic conductivity (ohm cm)-¹ 25°C 200°C 300°C 400°C Thermal expansion coefficient 0-500°C (x 10-6) 500-1000°C Part Number A1 A2 H1 B1 B2 C2 14 Berkeley Court Manor Park Runc orn For further details please contact: lonotec Ltd Cheshire WA7 1TQ England Na-beta" 90-95 1-2 5 20 70 105 140 100 220 220 250-300 8-13 2-3 0.002 0.092 0.24 0.38 7.2 8.6 ionotec manufactures a range of tubular shapes of standard dimensions given below. Flat discs and rectangular plates can be manufactured in any size in the range 10-70 mm across and 0.5-3.0 mm thickness. Ag-, Pb-, Sr- and Ba-conductive versions are also available. K-beta" 85-90 2-3 8 20 250-300 8-13 0.0005 0.021 0.053 0.10 7.45 8.5 Length Internal Minimum Maximum (mm) diameter thickness thickness (mm) (mm) (mm) 6.5 0.5 1.5 13 0.5 1.5 20 1 28 1 29 1 52 2 2 2 2 2 Telephone: +44(0)-1928-579668 Fax: +44(0)-1928-579627 e-mail: info@ionotec.com Web: www.ionotec.com

Waiting for Answers Answers: 0
TOEIC・English Undergraduate

答え合わせの為、答えを教えて頂きたいです。 よろしくお願いします。ビジネス英語です。

Working with words 1 Complete the sentences with the words in bold. Change the form of the word in bold or add another word to it. supply 1 It's important to build good relationships with different suppliers. 2 Our supply chain begins with the manufacturer in India and ends in our UK shops. is much higher but it's transport 3 The cost of air faster. show 4 Customers from all over Europe visit our in Paris and Milan. invent 5 Every item in our photographic records of each of them. middle 6 The problem with using is that it adds to the final cost of products because we have to add on their fee. is unique, so we keep ship 7 We have a large. track 8 We use barcodes to stock coming in and out of the warehouse. made 9 All our pots are _, which makes them expensive, but our target customer doesn't want anything mass-produced. original 10 The arriving in three days. of the of the products is printed on the bottom of the box. 2 Underline the correct words in italics to complete the sentences. 1 The book is currently out of stock, but it is on / out of order, so we'll have it soon. 2 We need to stock up on / run out of headed paper. Could you put an order in? 3 I ran low on/out of ink, so I couldn't print out the report. 4 We can keep track of/ on track our order by satellite. 5 Let's stop at the next service station. We are running low/out on petrol. Business 1 Complete the phone call between Virginie, a customer, and Kevin, a call handler. Put the words in italics in the correct order. Kevin Good afternoon, you're speaking to Kevin. How can I help you? Virginie Hello, I am up/chasing/an/order chasing up an order I placed three weeks ago. Kevin account /take/I/your/details / Can please? 2 Virginie Yes. The account number is 572638. Kevin OK. If you bear with me a moment, I'll into / look/it 3 Let me see. Well, my /to / information / according it is still on order. 4 Virginie I really need to know happened /to/has/it/ what 5 Could check/me/you/it/for/out 6 ? Kevin Certainly. I'll back/you/to/hour / within/get/ the 7 Virginie Thank you. 2 Kevin calls Virginie back. Complete their conversation with the phrases from the list. put the order straight through asap charge it to was dispatched on check it out as quick as we can must have gone wrong Kevin Hello, this is Kevin from DYK calling. I've got some information about your order. Virginie Oh, thanks for calling back. So, what's happened to it? Kevin Well, we put the order straight through to the warehouse, and it 2_ the 25th. Virginie But I haven't received it yet. Kevin I'm sorry about that. Can you confirm the delivery address? Virginie We wanted it delivered to our Brussels office. Kevin Oh, something 3 It looks like it might have gone to your Paris office instead. I'll 4 straightaway. Virginie I've already been waiting three weeks. Could you just send it again 5 ? Kevin OK, no problem. We'll resend it Virginie Thank you. And please not the Paris one. the Brussels account,

Waiting for Answers Answers: 0