学年

教科

質問の種類

情報:IT 高校生

昨日の全統模試の情報の問題。文字比較を3回実行するってあるけど、どんな比較をしているのかわからないです。

を訊 索」 索る こざは常にlenl ①適当でない。 str1 と str2の文 数が同じであれば1回以上実行される。 ②適当でない。 len1 < len2のときは、文字数が異な ①が正解 検索 " 東京都文京区小石川", "京都") を例に実行した場合 回となる。 ある時 問3 キ ② グ 6) 東京 京都 都文 文京 京区 区小 小石 石川 - の中から 「京都」 に一致する個数を求めるのが図2のプログラム である。 この場合、 (05) 行目のi, 0から7 (= len_h len_k)まで1ずつ増やしながら繰り返すことになる。 これを参 考に、図2のプログラムの (05)~ (08) 行目を完成させると,次 のようになる。 6. F (str2, str 行目のまくlen す。 (07)~12 ば、2をまだ 番目が異な しを終了さ たさない ち、3 i (05) を0から le len_k (キ まで1ずつ増 やしながら繰り返す: A (06) honbunchuの文字目から len_k 文字分の 文字列をsに代入 葉 (07) もし等価 (s, kensaku)== " 等しい"ならば: 「 (08) LLL kosu = kosu +1 これに従うと、検索(東京都文京区小石川 (ク " "京都") 京 の戻り値は1である。 ケ 問4 【ケ 0, コ 1が正解。 0 をう 「東京都文京区小石川」 に 「京都府」 は含まれていないので, 等 ("東京都文京区小石川", "京都府)の戻り値は0 (ケ)であ る。 「京都府京都市中京区菱屋町」に「京都府」は一つ含まれてい あるので,等価 ("京都府京都市中京区菱屋町", "京都府")の戻り 値は 1 コ である。 サシ 21 ス セ 30 が正解。 検索 東京都文京区小石川", "京都府) を実行すると, 関数 「等価」は 東京都 京都文都文京 文京区 京区小区小石 小石川 の7回呼び出され,それぞれの文字比較を3回実行するので、合 計の文字比較処理の回数は21サシである。 検索(京都府京都市中京区菱屋町", "京都府") を実行すると 関数 「等価」は 京都府 都府京 府京都 京都市 都市中市中京 中京区 京区菱 区菱屋 菱屋町 この10回呼び出され, それぞれの文字比較

未解決 回答数: 1
英語 高校生

英語の問題です。 できれば解き方も教えて欲しいです

(2) She listened attentively to her teacher ( the in no order to 2 in order not to (3) I carried the jar of honey very carefully ( ) miss anything. 私たちの目は、ま 1 ( )に入る最も適切な語句を ① ~ ④から選びなさい。 (2) (1) It is no ( ) arguing with people when they are very upset. 4 way (3 use The wonder 2 doubt (京都女子大) 3 in order to none ) spill it on the floor. ④so not in order to (共立女子大) divibe 3 so that 4 so as not to (畿央大) 3 be found 4 have found (駒澤大) ①in order to 2 instead of The (4) My watch wasn't to ( ) anywhere. I find had 2 finding (5) ( your 1 Keeping 4 You should keep antivirus software updated can maintain your computer's security. 3 In order to keep 2 Keep (6) The end-of-term test questions were reasonable and easy ( They scores. I be solved 2 to solve 3 solved (7) Both women became successful lawyers before ( 1 enter to ) politics. 3 entering now noilgga 195/mulov 2 entered into Tho (169but (8) I went to his house for help, ) find that he was not there. am) dhia so that 1 before (9) I'm looking forward to (i) all of you in person. (1) see 5) (10) Jill didn't have ( ①1 enough (11)( 2 saw ). All of the students got good (芝浦工業大) 4 having solved (東海大) ④ entrance ( 同志社女子大) ④only to y in person. 01, exil voy bluow ytivit ③ seeing ) time to check my homework, so I asked Kevin instead. 2 many ③ such ) that she had passed the exam, she shouted with joy. ①On hearing (12) Naomi likes ( 2 Upon heard 3 When heard ) to the same song again and again until she gets sick of it. 4 seen (南山大) ④plenty ( 日本女子大 ) ④With hearing (松山大) I listen 2 listening 3 listened Sie bo to listening BAW (13) There is ) what he will do. (立命館大) s an ①no telling (14) Little by little, I'm getting accustomed to ( 1 do (15) The news of free entrance tickets sounded ( 2 no to tell 3 not telling ④ not to tell 2 doing ) my job at the cafe. 3 be done (高千穂大) ④have done 1 as 2 so ) good to be true, but it was true. 3 too ④very (中京大) (16) I find (c ) hard to understand why they have made this decision. ①it 2 so C 3 that hitaq ④very (日本大)

回答募集中 回答数: 0
数学 高校生

287番の問題についてです。 someの対比として、othersが使われるのは理解できたのですが、この文では賛成したor賛成してない、の二択なので、the others(選択肢にはないですが…)でも良い気がするのですが、どう思いますか? もし選択肢にあったらどっちを選んでも... 続きを読む

haisance province 36 問題演習 1 STEP それぞれの空所に入る最も適切なものを 選択肢から1つ選びなさい。 285 I have two brothers. One is a fireman and ( ) is a police officer. 000 1 others ② any ③ the other ④ another SENE 185 ③残りの1人は... 兄弟が「2人」とあり、1人目はOne なので、 「残りの1人」は誰だか特 認識できるため、③ the other を使います。 286 This photograph of my friend is not very good. Let me show you 000 訳 僕には2人兄弟がいる。1人は消防士でもう一人は警察官だ。 ( 神戸学院大学) 286 (2) ( ) one. 1 about ③ simple ② another ④good 「もう一つ」を表すには? 何枚かある写真のうちの)もう1枚を見せてあげる」 というこ another を選びます。 「たくさんある中の1つ」 は、anを another = "an + other" でしたね。 この「もう1つ追加」とい another は入試頻出です。 和訳私の友達のこの写真はあまりよくない。もう1枚のを見せてあ (中京大学) 287 000 Some board members agreed with the president's proposal but ( ) 287 (3 didn't. ① another ③ others ② other ④ the other If you need an English dictionary, I will lend you ( 288 000 (1) some )this -89 Thought a cookbo (愛知学院大学) 2 one ④any (拓殖大学) the other と others の区別 文頭Some board members agreed 「賛成した役員もいる」 しなかった役員もいる」 には ③ others を使います。 ④ the ot 1人が賛成しなかった」 と断定してしまうことになります。 成でも反対でもない人」がいることを考えないといけないの 和訳社長の提案に賛成した役員もいたが、そうでない役員もいた 288 「同種類」を表すには? 空所にはan English dictionary という「不特定」の名詞を受 ります。 この[不特定」の感覚は「同種類」とも言えます。「同 というときに② one を使うのです。 和訳もし英語の辞書がいるなら、貸してあげるよ。 it one の区別 です。 ここでは、決し そのcookbo

未解決 回答数: 1
数学 高校生

2)、実数解が存在するための条件に関する質問です。 (1)で出てきた不等式が満たされればxが実数解を持つ。そのために不等式をyの関数とみて、yの最大値が0以上となるときの条件が、(*)をみたすxの存在条件になるのは分かってるつもりなんですが(簡単に言うとyも変数であるからだ... 続きを読む

54 第2章 複素数と方程式 標問 22 判別式 a b を実数の定数とするとき r'+y'+axy+b(x+y)+1=0 について考える. 以下の問いに答えよ. (*) α-2<0 より 求める条件は -462+4(a+2)≦0 すなわち J SE 55 MOORCONS ES 1% 0=8 +0+ (0) 62≧a+2 2次方程式 ax2+bx+c=0(a≠0) の解は x= -b±√b2-4ac 2a であり, a,b,cが実数のとき,D=62-4ac の符号により (2) 2<a<2 とする.(*)をみたす実数x, y が存在するための条件をα b (1) 実数y を固定したとき,についての2次方程式(*)が実数解をもつため の条件をα by を用いて表せ . 研究 (岐阜大) を用いて表せ. →精講 (1) について式を整理します . (*)は,実数係数の2次方程式ですか 解法のプロセス (1) 実数係数の2次方程式が実 数解をもつ ら 実数解をもつ (判別式) ≧ 0 が成り立ちます。 (2) (1)で実数が存在する条件をおさえてある ので、あとは実数y が存在する条件を求めます。 (1)で得た不等式を」についての2次関数のグラフ として考えるとよいでしょう. 条件 -2<a<2 はこのグラフが上に凸であることを示しています. <解答 (1)yは固定されている. (*)をæについて整理すると 2+(ay+b)x+y+ by + 1 = 0 ↓ (判別式) 0 (2) 2次関数f(y) のグラフが 上に凸であるとき f(y) ≧0 をみたす実数が 存在する ↓ f(y)=0 の (判別式) 0 判別式をDとおくと, (*)が実数解をもつための条件は, D≧0 である. D=(ay+b)2-4(y2 + by +1) より (a²-4)y°+26(a-2)y+62-4≧0 ......① (2) 2<a<2 のとき,不等式① をみたすyが存在するための a, b の条件を求 めればよい. f(y)=(a²-4)y2+2b(a-2)y +62-4 とおくと,-2<a<2であるから a-4<0 であり,f(y) のグラフは上に凸である. したがって,f(y)≧0 をみたす実数yが存在するための a,b の条件はf(y)=0の (判別式)≧0 である. b2(a-2)-(a2-4)(62-4)≥0 ..(a-2){62(a-2)-(a+2)(62-4)}0 ..(a-2){-462+4 (a+2)}≧0 D>0 ⇔ 異なる2つの実数解をもつ D=0 ⇔ 重解をもつ D<0 異なる2つの虚数解をもつ といった具合に解を判別することができる. a,b,c のいずれかが虚数のときは,判別式により, 重解であるか否かの 判別は 62-4ac = 0, 0 により可能であるが, 実数解をもつか否かの判別 はできない. 注意が必要である. 例えば, 虚数を係数にもつ2次方程式 x2-2ix-2=0 の判別式をDとおくと D MC =(-i)-(-2)=-1+2=1 (D≠0 より重解でないことが分かる) 判別式は正であるが, 解の公式より x=i±√1=i±1 であり,実数解をもたない.さらに, 方程式 2-(1+i)x+i = 0 である。 は 2-(1+i)x+i=(x-1)(x-i) と変形されるから x=1, i と 実数解と虚数解が共存する. 虚数を係数にもつ2次方程式については演習問題 30-130-2 も参照 せよ. 標問 109では3次方程式の判別式についても扱っている. + y 演習問題 A 22 整数とし, 2次方程式(k+7)'-2(k+4)x+2k=0 が異なる2つ (中京大) の実数解をもつとき,kの最小値および最大値を求めよ. 第2章

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

解いたのがあっているか教えて欲しいです。

121 122 Try! Jimmy ( Tis -ro 123 It ( 1 rained 3 had been raining came home. 124 125 126 Section 5 時制の一致 I didn't know that Sam ( has recovered. 1 is ) for ten days when it finally stopped.in ( 2 was raining 4 would be raining oy bih 2 had 3 has been stsubsty Boy II 時制は? ) playing the TV game for three hours when his mother for ten days 1 shall (2) cannot 3 would 4 will be had jusübung ever was 3 has been Try! The weather forecast last week said that the temperature (9) keep 101 arising. Newton explained why apples ( 1 fall 2 have been falling Try! They didn't know that the world ( 1 being 2 is Section 6***] (4) had been (4) can and su Try! By next week, you ( This July, I ( 1 teaches 3 teach We learned in our history class that World War II ( 1 ends Try! Mr. Right ( ) in the hospital. I'm happy that he Try! I read in a book that the American Civil War ( Tot () out in 1861. 1 breaks 2 broke 3 has broken 4 had been breaking b ) in 1945. 2 has been ending 3 ended 4 would end The novelist ( 1 is written 2 will have written inom no med ( 13 latog en (tot sepit \ sonte \avit) 11 (1) 3 have fallen ) round. I will have received folo 2 receiving 3 received を表す動詞の形は? og ty 997? ) from trees. 3 be (4) were Cast of smo se } booksheque 19ven and S beansines tovon bed ) ten books when he finishes Popis 3 writes POI 4 have received T100 過去のある時点 までの動作の継続) 4 falls when節が示している I bosesq\ sonie) Tool TRAK puse as ( Dogs) [ ) here for twenty years at his retirement age. will have been working 2 is worked 3 work il avod ber (中京大) 従属節の時制は、何 の影響を受ける? 主節の動詞 didn't know に注目 ) ar est gobは歴史的事実 歴史的事実を表す動 詞の形は? that 節の内容 「第2次 世界大戦が終わった」 2015 n 290b 1 929 19ven blow > the next one. T100 未来のある時点 ext oneyliaでの〈完了・結果〉〈経 4 has written 験〉 〈継続〉 を表す動 詞の形は? ) the package. ortalq ad aroquis si tu bovirus I the next one [**] diw ftal 2nd S fel を書き終えるのはいつ のこと? (南山大) 変わることのない事実 を表す動詞の形は? why 節の内容は,ずっ と変わることのない事 * olon6 Sinander o'clock E ) math to high school students for 15 years. **03#±70 2 am teaching u bar (4 <動作の継続〉を表す 動詞の形は? 4 will have been teaching MERT since three boyoin for 15 years [15 J と This July 「この7月 「で」の組み合わせに注 4 is working ayuda iniquod used E

未解決 回答数: 1
1/10