Grade

Type of questions

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
English Senior High

教えてほしいです

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

Waiting for Answers Answers: 0
Mathematics Senior High

なぜ、直線Mにおいての任意の複素数をZと表すことができるんですか??直線Lの方でもZが使われてて違うものなのになぜ同じ文字でおけるのか教えて欲しいです!!

B(β) z-a z-a よって, 7-B Y-B. Think 例題 C2.36 垂線の方程式,垂心 **** 複素数平面において, 単位円周上に異なる3点A(a),B(β),C(y) を 定める. ことを証 (1) 点Aから直線 BC に垂線lを引くとき, この垂線ℓ上の任意の点 D1S P(z)について、z-a=By (2-2) が成り立つことを証明せよ。 (2) △ABCの垂心を α, β, y で表せ. 考え方 (1) 点A(a),B(3), C(y), P(z) について,|a|=|β|=|y|=1 解答 APLBC または z=a z-a (山形大改) (2) 点Bから直線CAに垂線を引くとき,この垂線上の任意の点Q (ω) について (1) 1-1が純虚数または01-8=-1 と同様の式が成り立つ垂心は z=w となる複素数である. (1) Pは垂線上の点なので, AP⊥BC または z=α より z-a -は純虚数または 0 Y-B (A(α)→0(0) とな [B(B) → 0(0) るように平行移動す Pzると,P,Cは、それ A(α)ぞれ [P(z)→P (z-a) IC(y)→C^(-3) YA P 1. 0 -1 1 上にある であるから, C(r)-1=0 に移る. z-a z-a A 7-B Y-B 両辺に y-βを掛けて, P'(z-a) z-α=-(y-β) (28) Ala ・① ここで, 3点A(a),B(β), C(y) は単位円周上の点よ り |a|=|β|=|y|=1 C'(r-B) よって, zキαのと したがって,|a|=||=|y|=1 であるから, OP OC を aa=βB=yy=1より, 0のまわりに今だ a= B= y= .....2 a B' A (0-8)=0 け回転して実数倍 したベクトルより ②①に代入すると, Z z-a=-(y-β) =BY (1) 1 1α18 8 2- a a =(β-y)- B-Y B BY よって 00: Z ・③ となり、題意は示された「円 z-a=k cos a=k(cos +isin(7-8) RY=ki(7-8) は0でない実数) よって zaki (純虚数 または0) CES ③は直線lの方程式 (1+1を複素数で表現した 2

Waiting for Answers Answers: 0