学年

教科

質問の種類

情報 大学生・専門学校生・社会人

Oracle certified Java Programmer Gold SE11 IT系ベンダー資格のOracle certified Java Programmer Gold SE11の資格勉強をしているのですが、もし、Javaに詳しい人がいるのでしたら、 第6章... 続きを読む

8. 次のコードをコンパイル、 実行したときの結果として、正しいものを びなさい。 (1つ選択) } var sql = "select * from item where id = ?": try (var ps = con.prepareStatement (sql)){ ResultSet rs = ps.executeQuery(); // do something 0件の検索結果が戻される 11. 次のコードをコンパイル、実行したときの結果として、正しいものを選 びなさい。(1つ選択) var sql = "select * from emp"; try (PreparedStatement ps = con.prepareStatement(sql){ ResultSet rsps.executeQuery(); System.out.println(rs.getString(2)); なお、 検索する対象となるempテーブルは、以下のレコードが登録さ れているものとする。 DEPARTMENT A. B. 全件の検索結果が戻される C. コンパイルエラーが発生する D. 実行時に例外がスローされる ID NAME 1 ALLEN R&D A. B. executeQueryメソッド C. executeメソッド D. executeBatch メソッド メソッドとして、最も適切なものを選びなさい。 (1つ選択) executeUpdate メソッド 19. JDBCを使ったデータベースプログラミングをしている。 UPDATE文を 実行した結果、 何件更新されたかを調べたい。 PreparedStatementの P314 2 SCOTT SALES 3 BILL ACCOUNTING A. 「1」 と表示される Marit B. 「2」 と表示される C. 「ALLEN」 と表示される D. 「SCOTT」 と表示される E. コンパイルエラーが発生する F. 実行時に例外がスローされる 第6章 JDBCによるデータベース連携 (問題) <->P316 P314 10. 次のコードをコンパイル、 実行したときの結果として、正しいものを選 びなさい。 (1つ選択) var sql = "delete from item where id = ?"; try (var ps = con.prepareStatement(sql))( ps.setInt(1, 1); ps.executeUpdate("update item set name="test' where id = ?'); 12. 次のコードをコンパイル、 実行したときの結果として、正しいものを選 びなさい。 (1つ選択) var sql = "select count(*) from item"; try (PreparedStatement ps = con.prepareStatement(sql)){ System.out.println(ps.execute()); なお、検索する対象となるitemテーブルは、以下のレコードが登録さ れているものとする。 A. DELETE文が実行される id name 1 B. UPDATE文が実行される banana 2 C. コンパイルエラーが発生する apple 3 D. 実行時に例外がスローされる P316 orange 298 ※次ページに続く 299

回答募集中 回答数: 0
TOEIC・英語 大学生・専門学校生・社会人

英検準1級のライティングです。 どなたでも構いません。添削をお願いしたいです!何を書いているか分からなければ、聞いてもらって全然大丈夫です。ていうか、読んだだけでは、全く理解できないと思います。 近日中に受けるので、明日の夕方頃までにお願いします🙏

Write an essay on the given TOPIC. Use TWO of the POINTS below to support your answer. Structure: introduction, main body, and conclusion Suggested length: 120-150 words TOPIC Do you think that gas-powered cars will be replaced by electric cars in the near future? 電時の排出 POINTS 走行エネルギーの asse). Environment Convenience #1124-Kat #veg Cost Industry 高速産 ・充電せった コストが高い 産業限られた 短いきが しが ・使用者が買いかえようとは 思わない 2:33. 1 充電スペースの 2015 3. cars will be replaced by electric cars I do not think that gas-powered opinion. in the near future, I have two reasons to support this One reason is that it may be not convenient for people to drive electric cars in these days society. For example, electric cars take more time to charge than gas-powered cars. Moreover, electric cars can run few distance. Onother reason is that electric cars cost a lot of money in the many situation. For example, people who use electric, cars usually sex charging places at the each houses, but they have to pay so much cash to do it, Also, they need to prepare too much money every month to charge electric Propte cash, For these reasons above, I believe that gas-powered cars will be replaced by electric cars in the near future. total: 179 words

回答募集中 回答数: 0
TOEIC・英語 大学生・専門学校生・社会人

英読解の問題です。 すっかり忘れてしまったため何も分かりません。 3問教えて欲しいです。お願いします><

5. 次のメッセージを読み、 [4×3=12] (1)~(3) A~Dで適切なものに○をつけなさい。 Sarah Rogovin [09:20 A. M.] Good morning. Li Na and Dave. Could you let me know the latest on the Taipei trip? Li Na Tsai [09:25 A. M.] Everything is prepared at this end. I've booked a meeting room for three days, ordered refreshments, and arranged daily taxis to and from your hotel. Sarah Rogovin [09:28 A. M.] Fantastic. Did you remember that three people are vegetarian? Li Na Tsai [09:30 A. M.] Yes, they have separate meals. The price is actually a little lower for them. Dave Kaplan [09:31 A. M. 1 And I just confirmed the new flights for you and Chen Wang. Sarah. You're now flying direct from Singapore to Taipei at 6 P. M. on Sunday. My apologies again for the misunderstanding. Sarah Rogovin [09:34 A. M.] Thanks for sorting that out. Dave. This makes the journey much easier. Could you e-mail the electronic ticket to Chen Wang when you receive it, please? Dave Kaplan [09:35 A. M.] Consider it done. Li Na Tsai [09:37 A. M.] Sarah, I've arranged for a projector, but do you also need a laptop set up in the meeting room? Also, the staff there will give you an access code for the room; you may need to ask for it. a Wi-Fi signal Sarah Rogovin [09:40 A. M.] As you said previously that there's throughout the hotel you've booked, I'll use my own. Thanks again for your hard work, both of you. (1) Why does Ms. Rogovin ask about food? (A) She wants to eat in a separate room. (B) Her colleague forgot to order meals last time. (C) Some attendees don't eat meat. (D) She thinks the meals are too (2) What is suggested about the flights? (A) They are booked for Sunday morning. (B) The original booking was incorrect. (C) A discount was offered on the price. (D)) There will be a short stop on the route. (3) At 9:35 A. M.. what does Mr. Kaplan mean when he writes, "Consider it done" ? (A) He will forward a document. (B) He will call Mr. Wang. (C) He will reserve two seats. (D) He will order a taxi.

回答募集中 回答数: 0
物理 大学生・専門学校生・社会人

III-1(4)を教えてください。

III. 強さの定常電流が作る磁場は、次のビオサバールの法則で与えられる。 点Sのまわりのds部分を流れる電流が点Pに作る磁場dHは、 I ds x r' 4T ¹3 (1) で与えられる。ここで、はSからPに向かうベクトルSP = r 。下の左図参照。 dH= I Sas P III-1. 強さの無限直線定常電流が軸上を、軸の正の向きに流れている場合を考える。 上の左図。 円筒座標系において、点Pの円筒座標を(p,d,z) とし、 その点での規格化された 基底ベクトルをeprepez とする。 円筒座標 (p,Φ, z) の点Pに作られる磁場H (p,p, z) は、 ed の向きであり、磁場のe, 成分, Ho は pのみに依存する、 すなわち H(p, o, z) Hs(p)e. と表すことができることを以下の手順 (1)-(3) で示せ。 = I (2) (1) 軸上の点Pに作られる磁場を求める。 点Pの座標を(x, 0, 0) とする。 軸上の点S のまわりのds部分を流れる電流が点Pに作る磁場の向きをその理由とともに答えよ。 V x H = i (2) 次に、点Pがzy平面上、軸からの距離がpの位置にあるとする。 このとき、円筒 座標を用いて点Pの座標が (p,p,0) であるとする。 軸上の点Sのまわりのds 部分 を流れる電流が点Pに作る磁場の向きをその理由とともに答えよ。 また、磁場の大き さがpのみに依存し、中に依存しないことを示せ。 2 (3) 最後に、 点Pが円筒座標 (p, 中, z), ≠0の位置にあるとする。 軸上の点Sのまわり のds 部分を流れる電流が点Pに作る磁場の向きをその理由とともに答えよ。 また、 磁場の大きさがpのみに依存し、 中,zに依存しないことを示せ。 (4) 磁場をH, 電流密度をżとしたとき, マックスウェルの方程式の一つは, (3) で与えられる。 マックスウェルの方程式 (3) を用い, さらにストークスの定理を適用 して、円筒座標 (p, 中, z), (p > 0) の点Pにおける磁場のe, 成分, H を求めよ。

回答募集中 回答数: 0
TOEIC・英語 大学生・専門学校生・社会人

67の答えがCなのですがおかしくないですか?恐らくCEOの事を書いているのだと思いますがCEOと社長presidentは別の役職で同じではないと思ったのですが

65-67 refer to the following conversation. W: Richard, we were deeply impressed with your presentation this morning. You concentrated on the benefits the customers 65. What did the man do this morning? OEIC (A) He had a talk with an executivetsTENING will get from our new products. That was awesome. The sales manager wants you to give a presentation on the same topic to the board of directors next week. (B) He gave a talk. (C) He made a presentation to the board of directors. (D) He put together handouts. 66. What does the woman suggest? I'm glad you liked it. I'l try my best to please the board of directors. Maybe l could use some technology to supplement my presentation. Don't you think using a video allows the audience to understandit (A) Preparing more informative materials (B) Using a video (C) Getting advice from the sales manager (D) Choosing a new topic M: ,Com, /。 better? W: That's a good idea. You should prepare more extensive handouts as well. I will be free this afternoon, so l can help you put them together. M: I'd appreciate it. Let's make it our top priority to ensure that our executives are satisfied. Even the CEO will be there. 67. What does the man say about next week's presentation? (A) It will take place in the afternoon. (B) It will concentrate on the benefits of video presentations. (C) The president will see it. (D) The sales manager will help them prepare for it. 65B 66A 6

回答募集中 回答数: 0
1/2