学年

教科

質問の種類

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

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

自分の回答と照らし合わせて確認したいので、答えがなにになるかどなたか教えてください。 解説もあると助かります。

5 A Matter of Taste Reading Passage 042 At the age of just 22, Jamie Oliver became well known across the UK as "The Naked Chef." He called himself this not because he cooked wearing no clothes, but because he wanted to simplify food preparation so that everybody could follow his recipes. He wanted to "strip down" the idea of cooking. Since then he has had numerous TV shows, published 50 many books, and has become a household name in the UK. Today, one of the activities Jamie Oliver is best known for is his great effort to improve the school dinners that children eat every day. One day, he visited the kitchen of a typical London secondary school, and he was shocked to see how much processed junk food the kids were given to eat each day. Fat and sugar levels were extremely high, and nutritional values very 10 low. The "turkey twizzler" became the symbol of these unhealthy meals: processed meat containing 21.2% fat and only 34% actual turkey. Oliver ran the school kitchen for one year and tried to show that it was possible to serve healthy meals on a limited budget—and that kids actually enjoyed eating them. His mission was to radically change the eating habits of children in that school, and across the country. 150 200 15 20 25 CULTIES 250 His project (the "Feed Me Better" campaign) has had some influence on school dinners in the UK. After watching the documentary Jamie's School Dinners, 271,677 people signed a petition calling for healthier school meals. This led the Prime Minister to agree to spend 280 million pounds (about 37 billion yen) on school dinners, to ban some junk food from school menus, and to create a School Food Trust to provide support and advice for people preparing school meals. Research, by the way, shows that children who stop eating sugary, fatty food and instead eat Oliver's school dinners are better behaved in class, and they get higher test 300 scores, too. 350 Of course, the project has had some problems. At first, many students (and even parents) resisted the removal of the junk food they were so used to. In one famous instance, some parents were passing local takeaway food to their children through the school fence. Also, schools that followed the plan for a while were often found to gradually drift back into bad habits. After all, it is easier and cheaper to just give the kids junk food. However, Oliver's efforts represent a positive start, and with obesity becoming such a huge problem (see Unit 4), 400 it's a very necessary start.

解決済み 回答数: 1
TOEIC・英語 大学生・専門学校生・社会人

【至急】この穴埋め問題の答えを教えて欲しいです。

Progress test (Part 1) Drag the words into the correct spaces. some of few 1/2 some a few enough neither lots of both little every each no information about attractions in the city. There are Coming to London for a weekend? Here's interesting places to visit - you won't have time to see them all. Firstly, visit to London would be complete without seeing Big Ben. The clock at the Houses of Parliament has become a symbol of London, but few✔ tourists know that Big Ben is actually the name of the bell, not day, so arrive early. the clock or the clock tower. On the opposite side of the river is the London Eye, the world's biggest observation wheel. holding 25 people, but there are still queues nearly There are 32 sections, If you'd like somewhere scientific, you could go to the Natural History Museum or the Science Museum. Entry to of these appeal to you, you may prefer Madame Tussaud's, the museum where is free. Or, if you can meet the world's most famous people made of wax. You could meet the Queen of England there, or you could hope to see her at Buckingham Palace, her London home, just the most valuable jewels in the world. stops away on the London Underground 'Tube' train. If you want to see more royal palaces, try the Tower of London, where you can see the Crown Jewels, If that isn't for one trip, why not go to Shakespeare's Globe Theatre, a reconstruction of the 1599 theatre extra money, you can even see a play there. where his plays were performed. If you have a

回答募集中 回答数: 0
TOEIC・英語 大学生・専門学校生・社会人

()のなかで当てはまるものを教えてください。 お願いします。

lounon 01. (Can/May) I ask where (do you come from/you come from)? 02. Today I (shall be working/will work) after school. 03. Do you want to go with usi i would/can) if (could/would/can) but I (couldn't/wouldn't/can't). 04. To the extent he was able, our English composition teacher taught us (construction/ to construct) a group of words with a (completed/completing) thought, a sentence. 05. If I (am/is/are/was/were) asked a question in English, I try to answer in English. 06. He (has eaten/had eaten/ate) breakfast by the time he left the house. 07. What (will/would/can/could) you choose if you (will/would/can/could) choose between Pascal's wager and cryonics? 08. If I (am/is/was/were) a rich man, 1 (could/can) build a five story house. og. If I (was/were) speeding, I slowed down. 10. If I (am/was/were) a king, my wife (would have been/would be) my queen. 11. Would you please tell me what (is your name/your you mind lending me a hand? 13. I (couldn't/can't) see well for the snow was so heavy. 14. (After having/When became/had become) the shift manager. 15. The doctor would not (have given/give) vaccinations (would of/would have/had) (he/she) is)? 12. (Would/Could) name 1) worked part time a few weeks, I (have become/ (know/knew/known) (because/that) they (have/had) never been (proved/proven) to save a single life. 1-03 1-04 (spoken/speaking).

回答募集中 回答数: 0
化学 大学生・専門学校生・社会人

この問題が化学基礎のテストで出てきました。 解き方がわからないので解説をしていただきたいです、 よろしくお願いします。(T_T) 正答は (1) A (2) B (3) D (4) C です。

(3) (4) 大間 9. 以下の文章を読み、 問いに答えなさい。 【各2点 計8点&大 芳香族化合物とは、ベンゼン環(構造式:Ph-) という構造を含む有機化合物である。 これらの化合物は、ベンゼン環の疎水性が強いため,一般にはエーテルなどの有機溶媒 中に存在する。しかし、置換基と呼ばれる部位が酸塩基反応を起こして塩に変化すると 電離が起こり、親水性が強くなる。これを利用して、エーテル層に存在する芳香族化合 物の混合物から、それぞれの芳香族化合物を水に溶かし出すことが可能である。 いま、以下の4種類の芳香族化合物がエーテル層に存在する。 (1) ニトロベンゼン(構造式:Ph-NO2) 中性物質 アニリン (構造式 : Ph-NH2) 電離: Ph−NH2 + H2O 安息香酸(構造式 : Ph-COOH) 電離: Ph-COOH → Im0.01.32 P OIL フェノール(構造式 : Ph-OH) 電離: Ph-OH ->> Ph-O + H+ Name: Ph−NH3* + OH - 操作V 水層Dに塩酸を加える。 Ph-COO + H+JIBAT. C) 1500650NISALO なお、酸性の強さは 強酸 > 安息香酸 > 炭酸 > フェノールである。 このエーテル層に対して以下の操作を順におこなう。学 操作Ⅰ 水酸化ナトリウム水溶液を加え、エーテル層と水層を分離。 操作Ⅱ 操作 Ⅰ のエーテル層に塩酸を加え、エーテル層Aと水層 B を分離。 操作Ⅲ 水層 B に水酸化ナトリウムを加える。 1513 de 3.06 W 操作ⅣV 操作Iの水層にエーテルを加え、二酸化炭素を通過させる。 ・そのあと、エーテル層Cと水層を分離。 すべての操作が終了したとき, (1)~(4) の芳香族化合物は,それぞれA~Dの ち、どの層に存在するか。 記号で答えなさい。

回答募集中 回答数: 0
1/6