Grade

Type of questions

English Junior High

問3 ェ 問5 イ 問6 ウエ なぜそうなるのかの解説お願いします

次の英文は,日本にホームステイしているエミリー(Emily) のことを書いたものです。これを読んで問いに答えなさい。 Emily is a high school student from the U.S. She is interested in Japan very much. She came to Japan and has stayed at Taro's house for one month. She is enjoying her stay in Sapporo. (1) One day, she went to a movie with Taro. The movie was really nice, so it made them excited. After that, they took a *subway to go back to their home. Emily was telling him what she thought about the quiet. He said, "Please talk in a small voice. movie_in_a *loud voice on the subway, so Taro In Japan, we are usually quiet on the subway." She was surprised to hear that, so she said to Taro, "Sorry, but I don't know why we have to be so quiet. In the U.S., we can talk with each other on the subway. Sometimes some people dance and sing a song." This time Taro was surprised to hear that. ① The next day, Emily was talking with Taro's father. She said, “Today I saw something *strange when I was on the subway. There were so many people and most of them could not sit down. Only one *seat was *empty, but *no one tried to sit there." Taro's father answered, “Did you see a sign near the seat? That seat is only for people who need some help like *elderly people or *pregnant women, or people with special *needs. *Even if there are no elderly people standing on the subway, other people won't sit there. The *priority seats are on the buses and trains in many towns in Japan, but the seats like this only in Sapporo." Emily thinks everyone should give a seat to elderly people or pregnant women. By doing so, they won't need special seats on the subway. Emily will stay in Sapporo for more two months and そうすることで (E) subway T loud... 大きな strange... おかしな, 奇妙な empty 空いている no one ~ ・だれも~しない seat... elderly ・・・ 高齢の even if ~・・・ たとえ~でも

Waiting for Answers Answers: 0
IT Undergraduate

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

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

Waiting for Answers Answers: 0