学年

質問の種類

英語 中学生

答えはイなのですが、アが×な理由が分かりません。 教えてください。

7 次の(1),(2)の英文を読んで、それぞれの問いに答えなさい。 (1) みなみ市 (Minami City) に住むユイ (Yui)とジョン(John) は、 留学について調査し, 英語でプレ ゼンテーション(presentation) を行いました。 ユイがスライド (Ade)を使って発表をしています。 Hello, everyone. Are you interested in studying abroad? Zealand to study English last summer. I went to New It was an amazing experience for me during those ten weeks. I believe that studying abroad is very meaningful for high school students. Now, please look at Slide 1. It shows the number of Japanese high school students studying abroad from 2009 to 2019. The number went down once in 2015, but in 2017, the largest number of students, more than 45,000, studied abroad. In 2019, the number went down a lot because of big international problems, but we believe that more students will study abroad in the future. So, where did many students go? Look at Slide 2. It shows the countries that the high school students in Minami City went to from 2009 to 2019. We can see that more than half of the students went to English-speaking countries This means that many students used English during their stays. I think that we can improve our language skills by communicating with local people a lot. For example, before studying at a English, but my English (Ave school in New Zealand, I wasn't very good at improv after staying there. But studying abroad isn't easy for everyone. Having friends from abroad is good, but not everyone has that chance. So, how should we study English in Japan? We asked 500 students at this high school, "How do you study English at home?" Look at Slide 3. It shows the results. Among these several ways, we recommend watching movies and TV dramas in English. We think so because by watching them, we can also learn about the people living there and their cultures. Learning these things is as important as learning the English language itself. We think that learning English is very useful for high school students. Study hard, and if you have a chance, please go abroad and learn many things. Slide 2 Slide 3 Ways to Study English % 25% 32% Study with textbooks 62 Watch movies 14 10% Watch TV dramas 14 15% Read English books or newspapers 7 U.S. U.K. Australia ☐ others South Korea Keep a diary in English 3 (注) meaningful 意味のある English-speaking 英語を話す not everyone U.S. アメリカ合衆国 South Korea すべての人が〜とは限らない chance U.K. keep a diary 日記をつける itself それ自体

解決済み 回答数: 1
資格 大学生・専門学校生・社会人

この問題の2行目sbというのはなんでしょうか。 文字型sという箱の中にABCDという値が入っていて、 StringBuffer:sb←stringBuffer(s) sbという箱の中をABCDで初期化するという意味かと思ったのですが メンバ変数とかメソッドとかを説明してる枠... 続きを読む

ワグラム中の 問 11 次の記述中の [7] オブジェクト指向 頭の位置は1である。 (4)として Catsb 解説 p. 158 クラス StringBuffer は文字列処理を行うクラスである。 クラス StringBuffer a 図に示す。 に入れる正しい答えを, 解答群の中から選べ。 ここで、文字の先 明を ある。 関数 stringProcessing を stringProcessing ("ABCD") として呼び出すと, 戻り値はで ()tignod 型 説明 メンバ変数 文字列型 格納する文字列。 str 説明 コンストラクタ StringBuffer (文字列型: str) (Linersqlstsb. メソッド 戻り値 引数 strでメンバ変数 str を初期化する。 説明 append(文字列型: str) StringBuffer メンバ変数 str の末尾に引数 str を追加し,イ ンスタンスへの参照を返す。 delete(整数型: start, StringBuffer メンバ変数 str の start 番目からend - 1番 目まで削除し, インスタンスへの参照を返す。 メンバ変数 str を返す。 整数型: end) toString() 文字列型 TIDNA replace (整数型: start, StringBuffer メンバ変数 str の start番目から end 整数型 end, 文字列型: str) lastIndexOf( 整数型 文字列型: str) 目の部分文字列を引数 str に置換し, インス inersqtiqson タンスへの参照を返す。 tibne メンバ変数 str を検索し, 引数 strが最後に出 現する、先頭からの文字位置を返す。見つか らない場合は-1を返す。 図 クラス StringBuffer の説明 ISASE [プログラム] 1: ○整数型: stringProcessing (文字列型:s) 2: StringBuffer: sb ← StringBuffer(s) 3: sb ←sb.append("ABCD").delete(4, 6) 4: sb ← sb.append(sb.delete(2, 3).toString()).replace(3, 4, "D") 5: return sb.lastIndexOf("CD") 第1部 予想 ided ist ge 01508300 金を

解決済み 回答数: 1