学年

質問の種類

英語 高校生

19番の問題、答えは4なのですが、日本語訳調べても3が何故違うか分かりません。

陰性検査 延期 Questions 19 and 20] refer to the following announcement. • . • . Because of Covid, our concert tour has been rescheduled to summer 2023 Tickets for the original dates are still valid. If you have downloaded the app. new tickets will be issued automatically. If you do not have the app you ca i can buy tickets on the band's website or call 555-2276 to speak to an operator. Fans who cannot attend the new date can return their tickets for a full refund on the app or website. Tickets may also be transferred to other fans but only if they are registered with the fan club. Exchange can only be done through the app. The personal details for every ticket holder must be given while purchasing. The app can be downloaded from the Apple Store, Google Play, or the band's website. Covid Restrictions: Spinst 1241 ・規則 We will be following the Covid-19 rules and regulations in each of the areas we are travelling through, so customers should check local protocols with the venue before travelling to the concert. Masks must be worn at all venues. Proof of vaccination and/or ワクチン いや~ a negative test may be required. Covid rules and regulations may change at any time, so keep up to date via the app or the venue's website. 19 What are some of the things you can do on the band's website? ①return tickets, and exchange tickets UP X 2 return tickets, and check Covid regulations exchange tickets, and download the app 4 return tickets, and download the app 11- (2023AA-F-10)

解決済み 回答数: 1
情報 大学生・専門学校生・社会人

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