学年

質問の種類

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

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
数学 高校生

数lの三角形の外心と垂心にについての問題です。 黄色い線で引いたところが分からないです。 自分は、①からNMとBCが等しいと分かったから③になると思ったのですがネットで調べたところ、平行=等しいではないと書かれていたので、③の成り立つ条件が分からなくなりました。 稚拙な文章... 続きを読む

69 Ca 20° A 30 B ●362 基本事項 3 ば、(1)にお 外接円を考 367 基本 例題 67 三角形の外心と垂心 00000 ABC の辺BC, CA, ABの中点をそれぞれL, M, N とする。 △ABCの 明せよ。 ただし, △ABCは鋭角三角形または鈍角三角形とする。 外心OはLMN の垂心であることを、次の3つのことを示すことにより証 OLINM, ONILM, OMILN CHART & SOLUTION p.362 基本事項 3. 三角形の外心と心 区別をはっきりと 外心 垂心 3辺の垂直二等分線の交点 3頂点から対辺またはその延長への垂線の交点 また, 中点連結定理を利用する。 この例題において、 例えば△ABC と中点N,Mに対して 忘れぬ AN=NB, AM=MC NM//BC 3 7 解答 N,Mはそれぞれ辺 AB, CA の 中点であるから 鋭角三角形 NM // BC A . ① 点Oが ABC の外心 ⇒点0は辺BCの垂直二 等分線上にある。 を利用。 角) x2 点OはABCの外心であり, 点L は辺BCの中点であるから N MO 0 0 h 三角形の辺の外心、内心、重心 ①,② から OLLBC OLINM ・② ・③ B B L H C 同様に, 点L, M はそれぞれ 辺BC, CA の中点であり, 鈍角三角形 A ON⊥AB であるから B N M ONILM ④ 点L, Nはそれぞれ辺BC, AB の 中点であり, OMICA であるから B 2 # AC L OMILN *****. ⑤ ③ ④ ⑤ から, 点Oは△LMN CA: CD- 垂心である。 とし nf △ABC が ∠A=90° の直角三角形の場合, △LMNは ∠L=90° の直 角三角形となり △ABC の外心O (点L)は△LMN の垂心となる。 ① inf, 単に 「Oが△LMN の垂心であることを証明せ よ」 という場合は,左の解 答において, ③~⑤のうち HA2つを示せばよい。 MOS-HA

未解決 回答数: 1
英語 中学生

(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