学年

質問の種類

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

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
英語 高校生

教えてほしいです

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
数学 中学生

1の(イ)の日本との時差の問題の 解き方がわかりませんʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ 教えてください!

優 10. D Q d 8. Yとd 社会 ●満点 100点 1 度ごとに引いたものである。 略地図 の各問いに答えなさい。 なお、略地図中の緯線は赤道から, 経線は本初子午線からそれ Kさんは、次の略地図中にある国々について調べ, メモを作成した。これらについて ●時間50分 緯度の範囲 X 北緯30度から南緯15度まで Y 北緯15度から南緯30度まで 日本との時差 a 1時間 b 2時間 C 4 時間。 d 6時間 1. X a 2. Xb 3.X とc 4.Xd 5. Yと TA ○ 日本には、 印で表された風の影響 夏には暖かく湿ったた 6. Ytb (ウ) 線②について述べた文として なさい。 7. Yc す あ をこえる 運ばれます。 また、 近海には、水深が800 ←D ます。 で示されたA. どの国はASEAN 国 ( 2023年末現在) います。 o Bの国では、植民 配にともなって布教さ 宗教の信者が多数を占 います。 (ア)あうにあてはまる語句の組み合わせとして最も 適するものを次の中から一つ選び、その番号を答えなさ い。 ードを取り飴 1. あ: P い : 海溝 う 太平洋 2. あ: P い:海溝 う: 大西洋 3. あ: P い: 大陸棚 太平洋 : 4. あ: P い: 大陸棚 大西洋 う: 5. あ:Q い: 海溝 う: 太平洋 6. あ:Q い:海溝 う:大西洋 7. あ: Q い: 大陸棚 太平洋 う: 8. あ: Q い: 大陸棚: 大西洋 ○ Cの点線で領域が 国は、三大洋の う る にあります。 1. シャカがひらいた宗教で, 中国 2. 教典の「コーラン」にもとづく 3 スペイン語やポルトガル語を公 4. 牛が神聖な動物であると考えら (右の写真は、Cの点線で領域が示 示したものである。 この国について も適するものを次の中から一つ選 えなさい。 1. 国土がさんご礁でできているた んで、波による海岸の侵食が進ん 2. フィヨルドとよばれる地形がみ に海水が深く入り込んでいる。 3 夏に永久凍土が解けることで が傾いたりするなどの問題がおこ 梅雨による大雨の影響で、土砂 4 (オ) 次の資料X, Yとできごと a ~c 一つずつ選んだときの組み合わせを X 世界の面積と人口 ○Dの国は, オセアニア に属しています。 近 ③オセアニア州の国々に アジア州の国々との結 きを強めています。 00 資 bm) 料 面積 アジア 23.9%. 北アメリカ 16. アジア 59.5%, 人口 北アメリカ 7.6% ものを次の中から一つ選び、その番号を答え 日本に伝わった。 に関わる細かい決まりがある。 南北アメリカ州の国で、 信者が多い。 牛肉を食べない人が多い。 様子を写真 最 号を答 低く平た られた谷 たり建物 (毎日新聞ウェブサイト掲載資料より引用) よる被害がもたらされることがある。 一線③を示す例として最も適するものをそれぞれ 1~6の中から一つ選び, その番号を答えなさい。 割合(2020年) 22.8% ヨーロッパ 17.0%. アメリカ 13.4% オセアニア 6.5% カ 17.2% ヨーロッパ 9.6%, アメリカ 5.5% オセアニア 0.5% 「データブック オブ・ザ・ワールド 2022年版」 をもとに作成) Y オーストラリアの相手先別貿易額の割合 1965年 るとき、次のい 2022年 イギリス 22.9%, アメリカ合衆国 18.1%, 日本 13.0%, 西ドイツ 4.6%, ニュージーランド 3.7% その他 37.7% 中華人民共和国 28.2% 日本 13.6%, 大韓民国 7.7%, アメリカ合衆国 6.3%, 台湾 3.9%, その他 40.3% 6までの (1) 一線 ①を完全に含む緯度の範囲をXYから,略地図中のAの国と日本との時差を から最も適するものをそれぞれ一つずつ選んだときの組み合わせをあとの1~8の中〔〕 一つ選び、その番号を答えなさい。 ただし, サマータイムは考えないものとする。 目が出ることも (国際通貨基金ウェブサイト掲載資料をもとに作成) a オーストラリアが, APECの結成を主導した。 できごと b オーストラリアで, 白豪主義とよばれる政策がとられた。 2024年 神奈川県 (22) オーストラリアで, 土地に関する権利がアボリジニに認められた。 2024年 神奈川県 (23)

解決済み 回答数: 1