学年

質問の種類

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

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
現代文 高校生

この問題がわかりません ヒントはたくさんあるのですが、 教えてほしいです

ウィンステップノート 1~12 への取り組み ノートを見ずに模試 次の文章を読んで、後の問いに答えよ。(配点 三〇) キー 主語 サイエンスとアート。 相反する点は、いくらでもあげられる。 本文 たとえば、普遍性と偶然性。サイエンスの実験では、条件をそろえれば毎回同じ結果になることが求められる。 データは平均化され、一回きりの出来事は「外れ値」として扱われる。しかしアートでは、偶然性がだいじにされ、 平均値よりも「外れ値」にこそ光があてられるようなことが多い。 ~ たとえば、「わたし」の存在。 サイエンスの論文では、「思う」より「考えられる」という表現が好まれる。だれ が考えてもそう解釈できる無理のない論理だという意味だ。つまりサイエンスは、できる限り「わたし」を排除す る。いっぽうでアートは、むしろわたし」がなければはじまらない。「わたし」がこう思う、「わたし」はこう感 じる。ほかのだれもが気づかなかった「わたし」の「思う」や「感じる」を切り出して表現する。 解釈も鑑賞者に よって異なり、そこに一つの正解があるわけではない。 もはや一八〇度違う部分も多いのだけれど、 サイエンスとアートは対極に位置するわけではない。むしろ、そ 10 の根っこにこそ共通するものがある。 (注)ないとうれい (注) その思いを強くしたきっかけが、芸大に入ったばかりのころ、特別講義でこられた内藤礼さん(現代美術)のお 話だ。 「たとえばいま、木漏れ日からさす光がカーテンにきらきら映し出される感じ。 そんなふだんの生活のなかの一場 面や自然の美しさを、いいなあ、と感じている。ほんとうはそうして自分で感じているだけでいいのだけれど、そ15 の「感じ」をアートのなかに表現したい。別にだれがしなくてもいいのだけれど、やらずにはいられない。わたし は、究極に美しいものをつくりたい」 この言葉が、研究者として自分が目指す姿勢と重なり、サイエンスからアートの分野に足を踏み入れたときの迷 いを吹き飛ばしてくれた。 ふりかえり 5 Keflection 様々

回答募集中 回答数: 0
英語 高校生

教えてほしいです

3 次の英文を読み, 空所に入れるのに最も適切なものを, それぞれ下の①~④のうちから一つずつ選びなさい。 Cigarette smoking has negative effects not only on the body of the person who smokes but also on the body of someone who regularly breathes in second-hand smoke. Some of the most obvious effects are high blood pressure, sleep disorders, heart failure, and lung cancer. Despite such harmful consequences, ( 10 ). It has been reported that smoking creates feelings of pleasure, reduces tension, and promotes close relationships. Many smokers admit that smoking is a bad habit. ( 11 ), they tend to think that the number of cigarettes that they smoke is below the danger level and thus are not worried about the risk. Some even feel that they do not breathe in the smoke and that a cure for cancer will be found before they become ill with the disease. We have to admit that smoking is a habit which is difficult to break ( 12 ) the nicotine found in tobacco goes into the blood and stimulates the brain, making smokers feel pleasant for several minutes. What is more, the smoker usually feels anxious and wants to have another cigarette. ( 13 ) the policies that now ban smoking in most public areas, the stress that people often experience at work and at home can force them to smoke. ( 10 ) ①some people decide to stop smoking millions of people continue to smoke ( 11 ) the price of cigarettes has risen ①smoking is more harmful than drinking Therefore 2 While ③ Of course 4 However (12) 1 because 2 as a result 3 but SO (13) ①Despite 2 Although (3) But 4 Yet

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