学年

質問の種類

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

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

内容的には間違ってないか。文法は合っているか。の2点で英文を見てもらいたいです。全部で5文で、対話の穴埋め問題です。 ⤵︎ ⤵︎私が描きたかったことです。 1、電気を変えるのを手伝って欲しい 2、あなたの誕生日は2月25じゃなかった?(2月のスペルが間違ってます🙇‍♂️)... 続きを読む

II. 以下に指示された二人の対話を完成させるのに, 最もふさわしいと考えられる 英文を6語以上で書きなさい。 1) A: I'm thinking about changing the design of my bedroom. B: What were you thinking of doing? A: ( ) B: That will really brighten the atmosphere of the room. Let me know if you need a hand. : 2) A Hi, George. Happy birthday! B: Huh? What do you mean? It's not my birthday today. A: ( ) B: No, it's the 25th of March. But, that's okay. You can say it to me again next month. 3) A Did you hear that Tracey and Belinda decided to get married? B Yes, Belinda called me last night. It's wonderful news. We need to think about a present. A: ( ) B: That's a great idea; they both love entertaining at home. 4) A Why were you late this morning? B Well, there was no room to leave my bicycle at the station. A Really? Were all the spaces taken? B: Yes. I think people should be able to leave their bicycles anywhere. A: ( ) 5) A Don't you think John did really well in the debate contest? B: Yes, I was surprised. He is usually quite shy.

回答募集中 回答数: 0
英語 高校生

論表のワークです!お願いします🙏🏻 ̖́-

Lesson 4 Esports' Time Has apniwellot er /50 A Translate the English into Japanese and the Japanese into English. 【語彙の知識】(各1点) 1. various 形 B1 [ ] 2. 名 B1 戦闘, 対戦 3. respond B1 ] 4. strategy 名 A2 [ 5. 名 A2 社会, 世間 6. 名 A2 基本, 原理 ] B Choose the word whose underlined part is pronounced differently from the other three 【発音の知識】 (2点) 1. 7. basic イ. battle ウ. practice I. strategy 2. ア. another イ. gold 7. over I. program 3. ア. electronic 1. popular ウ. respond I. society C Complete the following English sentences to match the Japanese. 【表現と文法の知識】 1. そのテニスの試合は4月30日に開催されます。 The tennis tournament will ( 2. 私は美術や音楽のような芸術系の教科が好きです。 I like artistic subjects ( ) ( 3. 近頃, ますます多くの人が東京を訪れている。 ) and ( ) ( ) on April 30. ) art and music. (各3点) 1) people are visiting Tokyo these days. D Arrange the words in the proper order to match the Japanese. 【表現と文法の知識・技能】 Arranga. 1. プロ野球選手になるのは有名な歌手になるのと同じくらい難しい。 (各3点) Becoming a professional baseball player (as/as/becoming / difficult / is a famous singer. 2. 私にこの機械の使い方を教えてください。 Please (teach/use/to/me/how) this machine. 3. 私の試験の結果は彼女ほどはよくなかった。 My exam results (as/as/good/hers / weren't).

回答募集中 回答数: 0