学年

質問の種類

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

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問でも教えて頂けたら嬉しいです…🙏

Lesson 3. Palliative Care 部突破! いま最もアツく、最もイカ Medical treatment / Health STEP P 1 Read the Article Let's learn about palliative care, medical care that relieves pain, symptoms and stress caused by serious illness. 1) Palliative care, form of health care that seeks to improve the quality of life of patients with terminal disease through the prevention and relief of suffering. It is facilitated by the early identification of life-threatening disease and by the treatment of pain and disease- associated problems, including those that are physical, psychological, social, or spiritual in nature. As defined, palliative care begins at the point of diagnosis of terminal disease and can be delivered in a variety of health care settings. In general, it involves health and social care professionals working in hospitals, communities, hospices, and voluntary sectors. 2) Palliative care has been associated with many different terms, including terminal care, care of the dying, end-of-life care, and supportive care. However, these forms of care are not necessarily the same as palliative care. Likewise, palliative care is also sometimes described as hospice care. While hospice care does imply palliative care, it is specific to care provided near the end of life. In contrast, palliative care covers the duration of a patient's illness and, hence, may be delivered over the course of years. 3) Palliative care emphasizes three main principles: 1) A team-based approach is fundamental in managing distressing symptoms, such as pain, nausea, fatigue, and depression. It is also a necessary component in meeting the physical and psychosocial needs of the patient and his or her family. 2) Dying is a normal process. Symptom management is needed in order to help patients live life to the fullest until they die. 3) The synthesis of physical care with psychological and spiritual care fulfills a vital role in the overall care of the patient. 4) Palliative care is a global concern, and a steady rise in the number of people who are living longer with degenerative disease suggests that demand for palliative care services will increase in the are areas of intense. developments such Standards Framewo and Palliative Care Indian Association health care profes intended to help physical and psyc 5) In some place For example, the and has identifie framework is int days of life. Its communication, their families, a palliative c diagnosis duration: nausea H Log in to Watch th Hear resear the 2020 co

回答募集中 回答数: 0