学年

質問の種類

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

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