Mrs. James works in a book store. She has been assigned the task of rearranging all information technology books on a particular shelf in proper order at the end of each day. What would be her best choice for a sorting algorithm?
Bubble Sort Insertion Sort Selection Sort Heapsort None of these ------------- ジェームス婦人は書店で働いている。彼女は毎日終業時まで、特定の 本棚のIT関連の本を適切な順番に並びかえる仕事をしている。下記のうち、 どのアルゴリズムを使って並びかえるのが最適か?
20 passengers are to travel on a train which can accommodate 13 in the upper berth and 7 in the lower deck. How many ways can they be assigned berths if 5 refuse to be booked in the upper berth and 8 refuse to be booked in the lower berth?
25 21 18 15 None of these -------------- 20人の乗客が乗っている寝台列車がある。上の寝台が13、下の寝台が 7つ空いている。しかし、20人のうち5人は上の寝台に寝るのが嫌で、 8人は下の寝台が嫌な場合、希望の寝台を割り振ると何通りの組み 合わせがあるか。
John travels to Gotham everyday for his work. His wife picks him up at the train station each evening at exactly 6 PM. One day, he left work early, and arrived at the train station at 5 PM. He started walking home, but he met his wife en route to the station and got into the car. They drove home and arrived 10 minutes earlier than usual. How long did the man have to walk before he was picked up by his wife?
How many plates can be placed on a table where the diameter of the table is 15 times that of the plates? The plates can not overlap each other or the edge of the table.
187 225 200 150 None of these ------------------- お皿をテーブルの上に並べるとする。テーブルの直径はお皿の直径の15倍。 何枚のお皿を並べられるか? お皿は重ねられないし、テーブルのふちにも 置けない。 たぶん、テーブルもお皿もまん丸なんだろうな。
Let S be the set of strings defined by the regular expression (abb*c)* . Which of the following regular expressions defines a set of strings which is a subset of S?
a*b*c* (a*b*c*)* (aabb*cc)* (aabb*c)* None of the above --------------- Sは正規表現 (abb*c)* という文字列だ。下記のうち、Sのサブセットとして 定義される正規表現の文字列は?
60 students take tests in French and Astrology. 40 pass in French and 30 in Astrology. If X is the number of students who pass in both subjects then what is the range of possible values of X ?
10 ≦ X ≦ 30 X = 10 X ≧ 10 X < 60 30 ≦ X ≦ 40 ------------- 60人の生徒が英語と保健体育のテストを受けている。40人が英語の テストに受かり、30人が保健体育のテストに受かった。Xは英語と 保健体育の両方に受かった人数とすると、Xのとりうる範囲は?
A box contains 2 green, 3 red and 4 yellow marbles. If after each selection the marble is replaced, what is the probability of drawing a green, a red and then a yellow marble (in order)?
8/243 4/27 8/247 1/729 Can't be determined ---------- 箱の中に緑玉2個、赤玉3個、黄玉4個が入っている。そこから玉を抜き取っていった とき、緑、赤、黄色の順で取り出す確率は?
In a certain factory, there are 100 workers who have 3 commuting options: their own vehicle, company bus, and public transport. 50 workers use the company bus, 70 use their own vehicle, and 60 use the public transport. 10 workers use only the company bus or their own vehicle and avoid the public transport. 5 workers do not have their own vehicle and hence use the other two only, while 25 workers do not live on the route of the company bus and hence use either the public transport or their own vehicle. 20 workers use all forms of transportation. How many workers commute by own vehicle?
An insurance company has written 2 fire insurance policies of $50,000, 4 of $25,000, and 9 of $10,000. If the probability of a fire is 1/1000 per year, how much can the company expect to pay during the first year of the policies?
$85 $290 $1275 0 None of these ----- ある保険会社は50000ドルの火災保険を2件、25000ドルの火災保険を4件、 10000ドルの火災保険9件を請け負っている。もし火災が起きる確率が1年に 1/1000だったとすると、保険会社は最初の1年に払わなければならない 期待値はいくらか?
There are 25 stations on a railroad line. At each of the 25 stations the passengers can get tickets for any of the other 24 stations. How many different kinds of tickets do you think have to be printed?
The set of rational numbers is an abelian group under addition. The set of rational integers is an abelian group under addition. The set of rational numbers form an abelian group under multiplication. The set of rational integers form an abelian group under multiplication. None of these ------------- どれがウソ?