学年

質問の種類

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

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 Two n-dimensional coordinate systems & and ŋ in S overlap smoothly provided the functions on¯¹ and ŋo §¯¹ are both smooth. Explicitly, if : U → R" and ŋ: R", then ŋ 1 is defined on the open set ε (ur) → ° (UV) V and carries it to n(u)—while its inverse function § 4-1 runs in the opposite direction (see Figure 1). These functions are then required to be smooth in the usual Euclidean sense defined above. This condition is con- sidered to hold trivially if u and do not meet. Č (UV) R" Ĕ(U) n(UV) R" S n(v) Figure 1. 1. Definition. An atlas A of dimension n on a space S is a collection of n-dimensional coordinate systems in S such that (A1) each point of S is contained in the domain of some coordinate system in, and (A2) any two coordinate systems in ✅ overlap smoothly. An atlas on S makes it possible to do calculus consistently on all of S. But different atlases may produce the same calculus, a technical difficulty eliminated as follows. Call an atlas Con S complete if C contains each co- ordinate system in S that overlaps smoothly with every coordinate system in C. 2. Lemma. Each atlas ✅ on S is contained in a unique complete atlas. Proof. If has dimension n, let A' be the set of all n-dimensional coordinate systems in S that overlap smoothly with every one contained in A. (a) A' is an atlas (of the same dimension as ✅).

未解決 回答数: 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枚目に記載してる写真を見て欲しいのですが、そこにシャーペンで書いてある①??と②??を教えて欲しいです。 なぜ成り立つのか分かりません

① 異なる素数 p q r を用いて 以上より、nが最大となるのはn=12のときであ り, n=12となるのは (i) より 23x32=72 25x3 = 96 (Ⅲ)より 22×3×5=60 22×3×7=84 2×32×5=90 であるから,全部で5個ある。 第5問 (1) APC は, △APC を点Cのまわりに時計回り に60° だけ回転移動した三角形であるから したがって AA'P'C=AAPC AP = A'P' B C (2)時計回りに回転移動する角が 60°のとき. △ACAは正三角形となるから, AA' = AC は成 り立つ。しかし、時計回りに回転移動する角が 60° でないときには,AA'ACは成り立たないこと がある。 ①④ 時計回りに回転移動する角の大きさによら ず△APC APC であるから, AC = A'C, CP=CPは成り立つ。 ②③時計回りに回転移動する角が60°のときに も, AP = AP', APPP'は成り立たないことが ある。 A'D' LAB であるから、APP ABPPは合同な正三角形 である。 よって ∠APB= ∠CQD=60°+60° = 120° ② <BPP=60° より ∠APP=60°であるから AP = BP=CQ=DQ より =1/AB = 4√3 3 1 sin 60° ? PQ=4-2BP cos60°=4- AP + BP + PQ + CQ + DQ 4√3 -4 +4 - 4/3 3 =4+4√3 A 4√3 CP = CP ② ② および P'CP = 60° より, △PCPは正三角形 であるから CP = PP' ③ よって、 ① ③より AP + BP + CP = A'P′ + BP + PP′ ④ A' P ⑤ 時計回りに回転移動する角が 60°のとき, △PCPは正三角形となるから, CP = PP'は成り 立つ。 しかし、時計回りに回転移動する角が60°で ないときには, CP = PP' は成り立たないことがあ る。 ➡0, ⑤ (3) 次の図のように, ABP を点Bのまわりに反 時計回りに 60°回転移動した三角形を A'BP/ △DQC を点Cのまわりに時計回りに 60°回転移動 した三角形を DQO とする。 P P A' B B -C A' 点Pの位置が変化すると,それに応じて点P'の 位置も変化するが, 点Bと点 A' の位置は変化し ない。 B D' よって, 2点P, P' が直線 A'B 上にあることが あれば、そのときに AP + BP + CPは最小となる。 ③ △PCPは正三角形であるから, 4点 A', P', P, Bが一直線上にあるとき ∠BPC = 180°-∠P'PC = 120° ④ ここで, △ABC は鋭角三角形であり, 内角はすべ 120° よりも小さい。 したがって、点Pは確かに △ABC の内部にある。 (1)と同様に考えて AP + BP + PQ + CQ + DQ =AP + PP + PQ + QQ + QD] であるから, 4点 P', P, Q, Q' が直線 A'D'上に あるときに AP + BP + PQ + CQ + DQ は最小と なる。 △PPB, QCQ' は正三角形であるから, 6点 A', P', P, Q, Q', D' が一直線上にあるとき AAA'BADD'C である。 さらに,正方形と正三角形の対称性より -③-9-

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