学年

質問の種類

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

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 次の英文を読み, 空所に入れるのに最も適切なものを,それぞれ下の①~④のうちから一つずつ選びなさい。 (6) When growing tomatoes, we know we should pick them when they're bright red. With carrots, however, ( 6 ) because they grow underground. ①we should pick them when they turn orange (2) it's hard to know when they're ready (3) we should grow them more carefully than tomatoes (4) it's easy to know when they're bright red (7) Although it is quick, easy and convenient to be able to look up information on the internet, it can sometimes be difficult ( 7 ) because there is so much information. to find what you are looking for (2) to improve the convenience of the internet (3) to get more than what you need that people often experie (4) to have good computer literacy (8) Would you be happier if you were richer? Many people believe that they would be. But research conducted over many years suggests that ( 8 ). People in the United States, for example, are, on average, richer than New Zealanders, but they are not happier. poorer people tend to worry about their financial problems 2 pleasure in life usually comes from great wealth (3) the best way to be happy is learning how to save money greater wealth doesn't generally imply greater happiness (9) Many European rivers were once heavily polluted by manufacturing industries. As a result, wild animals dependent on clean water disappeared. However, as stricter environmental standards took effect, rivers such as the Thames of London have become much cleaner. Consequently, ( 9 ). water quality has continued to decline wild animals avoid drinking from the Thames (3) wild animals are making a comeback in many rivers (4) wild animals no longer depend on clean water

回答募集中 回答数: 0
英語 中学生

(1)の答えがD、(3)の答えがウ、(6)の答えがイ なんですけど、なんでそれになるかと、5⃣で3~5程の段落で分けるとしたらどこになるのか、またその段落はそれぞれどんな題名になるのかを教えて欲しいですm(_ _)m

学院) E J 5 次の英文を読んで、あとの問いに答えなさい。 < 星野改〉 High schools in Minnesota have a problem Many students are late to school. They are often tired. Some students fall asleep in class. They often get sick, too. The local governments take that as a problem. They make a small change.) It helps a school day a little later/ A lot! What do they do? They start the D- This small change makes a big difference. Why? Most teens are very tired early in the morning. They usually don't go to bed until after midnight In the morning, they wake up between 6:00 and 6:30 for school. So they don't get enough sleep! They are still tired early in the morning. But after the change/ teens are more awake and later start time is better for a teen's body clock I be ready/class/to/in). A be in ready class Everyone has a body clock. An adult's body clock works like this: most adults get tired between 9:00 and 11:00 at night. They usually go to bed before midnight. Adults can get up early in the morning. It's not a problem. But a teen's body clock is different. Teens don't get tired at midnight. They usually stay up later. But early in the morning, they need more sleep. B FO C The schools in Minnesota pay attention to the teen's body clock. They change the start of the school day from 7:20 a.m. to 8:40 a.m., 80 minutes later. Other schools in the United States change their start times too. Some schools change the time by only 30 minutes, but they still get good results. ( 2 ), the results are amazing! ③(Many) students are on time. Morning classes are easier to teach. Students are getting ①(good) grades. Students have fewer illnesses, so they are ⑤(little) absent. In Minnesota, there is another important effect: fewer students drop out of school or change schools. D Today, more and more high schools are starting later. Most schools can't start two hours later. But they can change the start time a little. A small change can make a very big difference! Just ask the students. Minnesota ミネソタ (アメリカ合衆国中央北部の州) (1) 次の英文を入れるのに最も適する位置を, 本文中のA~Dから1つ選びなさい。 Now the students are happier, and also the parents and teachers too. D(A) (2)下線部①の ( )内の語を並べかえて正しい英文を作るとき, 3番目にくるものをア~エから1つ選びなさい。 ア be イ ready ウ class I to (3) 20)( )に適するものを, ア~エから1つ選びなさい。 7 On the other hand (4) 3~50)( 1 However ウ In fact I Even so )内の語をそれぞれ比較級にかえなさい。 (3) much (5)本文の内容にあうものを,ア~エから1つ選びなさい。 more (T!) better ⑤⑤ fewer Less High school students in Minnesota are always taking classes seriously. Most teens usually go to bed as early as possible. Most adults don't stay up late because of their body clocks. I Some schools changed the school time but their students did not have good grades. 本文のタイトルとして最も適するものを,ア~エから1つ選びなさい。 7 Fewer Illnesses 1 Late Start Body Clock I Good Sleep イ (土)

回答募集中 回答数: 0
英語 中学生

(1)の答えがchoosing、(2)の答えがウ、(5)の答えがアで、それぞれなんでその答えになるのかと、 5⃣の本文を上から4行、4行、5行、4行、3行、2行で分けた時それぞれに題名を付けるとしたらどうなりますか? 教えて欲しいですm(_ _)m

5 次の英文を読んで, あとの問いに答えなさい。 <川越東改> Origami is the Japanese art of folding paper. To do origami, the artist starts with a square piece of paper. Some people like to use special origami paper that is two colors. The front of the paper is one color, and the back of the paper is another color. Other people like to use origami paper that has patterns on it. After ①(choose) your paper, you can find many instructions for folding the paper into different things. Many people enjoy (make) origami flowers, animals, or things ( 3 ). For all of these things, there are a few kinds of folds that you need to use. For example, sometimes you need to fold the paper in half. Sometimes, the paper must be folded from corner to corner. If you follow the directions carefully, you can create a beautiful paper flower or animal. However, origami is more than folding paper. First, origami is an important part of Japanese life. For example, nature is important in Japan. In Japan, people care about the seasons, weather, water, or other things in nature. Origami is also a part of nature. That is why the most popular origami shapes are things like animals. Birds, fish, flowers, and stars are all popular shapes. It is a quiet activity, and can calm the mind and body. People who do origami like the activity as much as the art. They like it because origami demands a lot of attention. When people think hard about creating something, they forget about their problems. This allows them ④ to calm down. ⑤ Origami is also good for teaching children. They also learn to work carefully. Also, origami has squares and triangles. These shapes are important in all kinds of learning. Origami helps children to learn about these shapes. Maybe you can try to do origami yourself. You only need some paper and a book of instructions. You can find instructions for many origami shapes on the Internet. instruction direction (1)①,②の( )内の語を適する形にかえなさい。 (2) 30( に適するものを, ア~エから1つ選びなさい。 (3) (4) 7 to paint with 1 to talk with 1 (2) making. to play with I to help with (イ) ④に適するものを,ア~エから1つ選びなさい。 Origami is also easy to learn. 1 Origami is also good for your imagination. Origami is also difficult to learn. I Origami is also good for your mind. ⑤にはA~Cの文が入ります。 自然な流れの文章になる配列を, ア~エから1つ選びなさい。 A Children must follow these steps exactly. B First, origami has many steps. C This way, children can learn to follow instructions. ア A-B-C イ A-C-B B-A-C I B-C-A (5)本文の内容にあうものを, ア~エから1つ選びなさい。 If you follow some instructions for paper folds, you can enjoy many different origami shapes. Learning origami gives us a good chance to help animals on the earth. You may feel tired if you try hard to do origami carefully. I The most important thing for children's education is origami. (土)

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