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

(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 イ (土)

Waiting for Answers Answers: 0
English Senior High

内容的には間違ってないか。文法は合っているか。の2点で英文を見てもらいたいです。全部で5文で、対話の穴埋め問題です。 ⤵︎ ⤵︎私が描きたかったことです。 1、電気を変えるのを手伝って欲しい 2、あなたの誕生日は2月25じゃなかった?(2月のスペルが間違ってます🙇‍♂️)... Read More

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.

Waiting for Answers Answers: 0
Mathematics Senior High

数学1Aです! (タ)の求め方がわかりません。図の書き方が分からず悩んでいます。特に蛍光ペンのところがわからないです…どなたかよろしくお願いします🙇‍♀️

数学Ⅰ (2)太郎さんの住んでいる街にはK電鉄のA 駅, B 駅, C駅があり, A駅とB駅の 間の線路はまっすぐである。 「STATION A 駅 3駅の位置関係は A駅とB駅の間の直線距離が13km 駅 数学Ⅰ (i) 太郎さんはスマートフォンを持って電車に乗り, A駅からB駅まで移動した。 出発時にアプリに表示されていたのはA駅のみであったが, 出発からちょうど 分後にアプリに ソ ソ の解答群 STATION 10000 +++ B 駅 A駅とB駅の2駅のみが表示された ① A駅とC駅の2駅のみが表示された ② A駅とB駅とC駅の3駅が表示された (i) 1年後にC駅が移転し、 移転後の3駅の位置関係は B駅とC駅の間の直線距離が 5km C駅とA駅の間の直線距離が12km である。 また, 近隣に他の駅はない。 太郎さんのスマートフォンには最寄り駅が表示されるアプリが入っている。 ただ し,最寄り駅とは,スマートフォンからの距離が最も近い駅のことである。 そのア プリでは, 最寄り駅が複数ある場合はすべての駅が同時に表示される仕様になって いる。 以下では,駅および太郎さんがスマートフォンを持って乗っている電車は同じ平 面上の点とみなす。 また, A駅からB駅まで運行する電車はA駅とB駅を結ぶ線分上を動くものと し, その速度は加速・減速を無視し, つねに時速78km であるとする。 A駅とB駅の間の直線距離が13km B駅とC駅の間の直線距離が 5km C駅とA駅の間の直線距離が10km となった。 C駅の移転後に, 太郎さんはスマートフォンを持って電車に乗り, A駅からB 駅まで移動した。 このとき, アプリに複数の駅が最初に表示されるのは,出発か らおよそ タ 後である。 その後、 再び複数の駅が表示されるのは,B駅に到 着するおよそ チ 前である。 タ の解答群 3分46秒 3分56秒 ② 4分6秒 ③ 4分16秒 C駅 12 km 5km チ の解答群 AR 13km B 駅 ⑩ 2分40秒 ① 2分55秒 ②3分10秒 ③3分25秒 (数学Ⅰ第2問は次ページに続く。) 31

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

3問とも計算方法も答えも分からず、質問させて頂きました。 教えていただけると幸いですm(_ _)m

[3]表 2.1の命令を持つSEP-E の CPU が、あるプログラムを7000番地から実行開始して 数命令動いたところで、現在は命令フェッチ前の状態にあるとする。 この時、汎用レジスタの値 は表 2-2 主記憶装置(メインメモリ)の内容は表 2-3 のようになっている。 なお、レジスタの内 容および番地はすべて16進数である。 以下の設問に答えなさい。000円 2005 LOOT 80001 表2.1 命令一覧表(一部抜粋) P-E ニモニック TVCM 動作概要 0005 NZ V C* |ADD, F:T 加算 (T+F→T)VOY * * * * |AND, F:T ビット毎の論理積 (TAF→T) 0000 ** 0- BIT,F:T ビット毎の論理積 (TAF, フラグ変化のみ) * * 0- CMP,F:T 比較 (T-F, フラグ変化のみの減算) * * * * DEC,D-:T 値を1減らす (T-1→T) * * * * |HLT, D-:D- 実行を停止する |INC, D-:T |JCY,F:D7 値を1増やす (T+1→T) |C=1のときジャンプ (F→(R7) if C=1) |JMI,F:D7 |N=1のときジャンプ (F→(R7) if N=1) |JOV,F:D7 |V=1のときジャンプ (F→(R7) ifV=1) 無条件ジャンプ(F→(R7)) |JP,F:D7 |JR,F:D7 無条件相対ジャンプ ((R7)+F→(R7)) **** --- |JRM,F:D7 |N=1のとき相対ジャンプ ((R7)+F (R7) ifN=1) JZE,F:D7 |Z=1のときジャンプ (F→(R7) if Z=1) MOV,F:T 移動 (FT) OR,F:T ビット毎の論理和(TVF→T) SLA,D-:T 左シフト (T×2→T) |SLR, D-:T 左ローテイト SRA,D-:T |右シフト(T÷2→T) |SRR, D-:T 右ローテイト |SUB, F:T 減算 (T-F→T) |XOR,F:T ビット毎の排他的論理和 (TF→T) * * 0- **0- * * * * * * 0 * * * 0 * * * 0 * * * * * **0- ※N (Negative; 負), Z (Zero; ゼロ), C (Carry; キャリー), V (Overflow; オーバーフ ロー), * 演算結果に応じて変化する, -: 変化しない, 0: 必ず0になる 5

Waiting Answers: 1
TOEIC・English Undergraduate

至急お願いします!

次の1~5の日本文の意味を表すように、 語を補いなさい。 )内の語(句)を使って、下線部分に適切な英 1. 彼女は給油するためにガソリンスタンドに立ち寄った。 (car, fill up) 《英語》She stopped 2. 私は日本に私の服を送るための箱を探している。 (clothes, box, Japan, send) 《英語》I am looking for 3.彼はファイナンシャルプランナーになるために勉強している。 (become, financial, study) 《英語》 He is 4. 彼女は子供に料理を教えることのできる場所を借ります。 (cooking, kids, place, teach) 《英語》 She rents 5. キャシーは彼に仕事を引き継いでもらいたがっていた。 (business, take over) 《英語》 Cathy wanted at a gas station. planner. Ⅱ 次の英文を読んで、 下記のペアワークやグループワークに取り組みましょう。 ◎ CD 70 DL 70 A good work-life balance enables us to divide our energy between our home and work priorities. It also enables us to reduce stress and anxiety both at work and at home. In an effort to strike an optimum work-life balance, I struggle to find anything like a balance between work and doing something for myself at all. I want to travel to places in Asia to diversify my life. I hope to stay physically and mentally fit. I hope that my life will not always be as busy as it is right now. Notes 1. enable O to do 「○が…することを可能にする」 2. divide ○ ○ を分ける」 3. priority 「優先事項」 4. reduce 「○ を減らす」 5. optimum 「最適な」 6. struggle to do 「・・・ しようと努力する」 7. at all 「とにかく」 8. diversify ○ ○ に厚みを持たせる」 9. stay C 「Cのままでいる」 Pair/Group Work ペアまたはグループになって質問をしたり、答えたりしましょう。

Waiting for Answers Answers: 0