学年

教科

質問の種類

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

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・英語 大学生・専門学校生・社会人

わからないので答えを教えてもらいたいです。

英語 Amy: Hey Jake, I was thinking about online shopping this weekend. Do you shop online often? Jake: Yeah, I do it quite a bit. It's so ( house and you can ( ) almost anything online. That's true. I love the convenience, too, especially with a busy schedule. But I've heard there are some downsides to it. What do you think? Well, one obvious downside is not being able to ( ) or try the product before buying. Sometimes, what you see on the website isn't exactly what you get. Amy: Yeah, that's a good point. I've had a couple of instances where the color or size was ) from what I expected. ( Another thing is the shipping time. Even with express shipping, you might have to ( ) a few days for your stuff to arrive. It's not great if you need Amy: Jake: Jake: Amy: Amy: Jake: Jake: Jake: something urgently. True, waiting can be frustrating. But what about the ( that sometimes the prices are higher online. It depends. I've found some great deals online, especially during sales. But you're right; in some cases, the prices can be a bit inflated, and you might end up paying more than if you bought it in-store. Amy: And returns can be a hassle, too. I had to return a shirt once, and the process took forever. It's not as easy as just going to a store and returning it on the spot. Yeah, returns can be a pain. Also, there's the whole security issue. You must be careful about where you're buying from to avoid scams or stealing your ( ). Amy: Oh, definitely. I always make sure the website is secure before entering any payment details. 日本語 L ), you know? No need to leave the On the bright side, online ( ) can be super helpful. I always check them before making a purchase. It gives you an idea of the product's quality and whether it's worth the money. Amy: That's a good point. I do the same. It's like having the opinions of a bunch of friends who've already ( ) the product. Jake: Exactly. So, while there are some drawbacks, I think the ( ) of online shopping, like the convenience and variety, outweigh the ( ) for me. Yeah, I agree. It's all about finding a balance and being cautious about where and what you're buying. )? I've heard

回答募集中 回答数: 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