後期試験 ・ 2024 年 1 月 26 日 2 時限実施 ・ ページ
授業 科目 |
情報数学 I | 学生番号 | 学科 | 学年 | 組 | 番 | フリ ガナ |
評点 | ||||||||
氏名 | ||||||||||||||||
担当者 | DÜRST, Martin J. |
下記の表を、4<|B|≤15 を条件に、部分問題 1 と 3 のために例を作って項目を完成しなさい。/ Complete the table below under the condition 4<|B|≤15, and creating an example for subproblems 1 and 3. (7 点)
一般の書き方 (太字) | 今回の場合 |
---|---|
B | P ( {犬、牛、羊} ) |
0 (零元) | {} |
1 (単位元) | {犬、牛、羊} |
△ | 積集合 |
▽ | 和集合 |
⫬ | 1を全体集合にした補集合 |
半順序 | 部分集合 |
左記のブール代数のハッセ図を書きなさい。
Draw the Hasse diagram of the Boolean algebra on the left. (5 点)
次の表の基数変換を行いなさい。/ Carry out the base conversions in the following table.
番号/# | base of a の基数 | a | base of b の基数 | b |
---|---|---|---|---|
例 | 2 | 10111100 | 16 | BC |
5 | 2431 | 10 | 366 | |
10 | 123 | 7 | 234 | |
18 | 3G | 10 | 70 | |
6 | 1425 | 36 | AH | |
4 | 1123 | 9 | 111 | |
4 | 30123221 | 16 | C6E9 | |
16 | AC3F | 2 | 1010 1100 0011 1111 | |
8 | 7465 | 2 | 111100110101 | |
2 | 1101 0110 1101 0100 | 4 | 31123110 | |
4 | 3120231 | 8 | 33055 | |
27 | AGH | 9 | 11548 | |
2 | 101 1010 1110 1011 0111 | 16 | 5AEB7 |
後期試験 ・ 2024 年 1 月 26 日 2 時限実施 ・ ページ
論理式 A = XOR(D, E) ∨ ¬E ∧ (C→D) について、
次の問題に回答しなさい。
Answer the following subproblems for the logical formula A = XOR(D, E) ∨ ¬E ∧ (C→D).
下記の真理表に論理式 A の計算の途中経過と結果を記入しなさい。
Complete the truth table below with the intermediate and final results for formula A. (12 点)
C | D | E | ¬E | C→D | C→D∧¬E | XOR(D,E) |
XOR(D, E) ∨ ¬E ∧ (C→D) |
F | F | F | T | T | T | F |
T |
F | F | T | F | T | F | T |
T |
F | T | F | T | T | T | T |
T |
F | T | T | F | T | F | F |
F |
T | F | F | T | F | F | F |
F |
T | F | T | F | F | F | T |
T |
T | T | F | T | T | T | T |
T |
T | T | T | F | T | F | F |
F |
論理式 A の二つの標準形とその名前を書きなさい。/ Write the two normal forms for formula A, and their names. (10 点)
短い方の標準形 / shorter NF: 名前/name: 乗法標準形
式/formula: (C∨¬D∨¬E) ∧ (¬C∨D∨E) ∧ (¬C∨¬D∨¬E)
長い方の標準形 / longer NF: 名前/name: 加法標準形
式/formula: ¬C∧¬D∧¬E ∨ ¬C∧¬D∧E ∨ ¬C∧D∧¬E ∨ C∧¬D∧E ∨ C∧D∧¬E
論理式 A を基本的な論理演算子 (∧、∨、¬) のみの式に段階的に変換し、できるだけ単純化してください。段階ごとに、どの様な性質を使ったかを書きなさい。 同じ性質を複数並行に使うときには一つの段に記入してよい。立て続けに同じ性質を使うときには別の段に記入しなさい。 交換律と結合律の使用はまとめて一段に記入しなさい。/ Step by step simplify formula A as much as possible, to use only the basic logical operators (∧、∨、¬). For each step, indicate the law used. When applying the same law in parallel, use a single step. When applying the same law in sequence, use multiple steps. Use a single step for commutative and associative laws together.(18 点)
ヒント 1: XOR(X, Y) を「XOR の定義」で ¬(X↔Y) に変換できます。
Hint 1: XOR(X, Y) can be converted to ¬(X↔Y) in a single step using "definition of XOR".
ヒント 2: 単純化の結果を片方の標準形と比較することで、結果の確認ができます (カルノー図表の応用)。
Hint 2: The result of the simplification can be checked using one of the normal forms, and the Karnaugh map.
単純化 | 使用した性質 |
---|---|
XOR(D, E) ∨ ¬E ∧ (C→D) | ---- |
XOR の定義 | |
¬(D↔E) ∨ ¬E∧(C→D) | |
同値の除去 | |
¬(D→E ∧ E→D) ∨ ¬E∧(C→D) | |
含意の除去、3ヶ所 | |
¬(¬D∨E ∧ ¬E∨D) ∨ ¬E∧(¬C∨D) | |
デ・モーガンの法則 | |
¬(¬D∨E) ∨ ¬(¬E∨D) ∨ ¬E∧(¬C∨D) | |
デ・モーガンの法則、2ヶ所 | |
¬¬D∧¬E ∨ ¬¬E∧¬D ∨ ¬E∧(¬C∨D) | |
二重否定、2ヶ所 | |
D∧¬E ∨ E∧¬D ∨ ¬E∧(¬C∨D) | |
分配率 | |
D∧¬E ∨ E∧¬D ∨ ¬E∧¬C ∨ ¬E∧D | |
交換率 (5回) | |
¬D∧E ∨ ¬C∧¬E ∨ D∧¬E ∨ D∧¬E | |
べき等律 | |
¬D∧E ∨ ¬C∧¬E ∨ D∧¬E | |
---- |
後期試験 ・ 2024 年 1 月 26 日 2 時限実施 ・ ページ
授業 科目 |
情報数学 I | 学生番号 | 学科 | 学年 | 組 | 番 | フリ ガナ |
評点 | ||||||||
氏名 | ||||||||||||||||
担当者 | DÜRST, Martin J. |
次の論理式に相当する回路の図を書きなさい。/ Write the circuit diagrams corresponding to the following logic formulæ.
XOR(D, E) ∨ ¬E ∧ (C→D) | NOR(NAND(X, Y), Z, ¬Y) |
---|---|
[図省略] | [図省略] |
次の情報数学関連の英語の用語に相当する日本語の用語を書いて、簡単に説明しなさい。日本語の用語ではカタカナをできるだけ避けなさい。 / For the following English terms from Discrete Mathematics, write their Japanese equivalent and a short explanation. For the Japanese terms, avoid Katakana as much as possible.
後期試験 ・ 2024 年 1 月 26 日 2 時限実施 ・ ページ
集合 P = {4, 5, 6, 7, 8, 9} 内の関係 R は下記の表で与えられている。R を残りの四つの表現形式で書きなさい。
The relation R on the set Q = {4, 5, 6, 7, 8, 9} is given below as a matrix.
Write the remaning four representations of R.
表/Table | 行列/Matrix (4 点) | グラフ/Graph (6 点) | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
0 1 0 1 0 1 1 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 [大きい丸括弧省略] |
[図省略] |
順序対の集合 (内包的記法) / set of ordered pairs (connotation) (4 点):
{(x,y) | x∊P ∧ y∊P ∧ (y+x) mod 2 = 1)}
順序対の集合 (外延的記法) / set of ordered pairs (denotation) (4 点): {(4,5), (4,7), (4,9), (5,4), (5,6), (5,8), (6,5), (6,7), (6,9), (7,4), (7,6), (7,8), (8,5), (8,7), (8,9), (9,4), (9,6), (9,8)}
関係 R∘R を計算し、行列で書きなさい。 Calculate the relation R∘R and write it as a matrix. (4 点)
1 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 0 1 0 1 0 1 (大きい丸括弧省略)
R と R∘R をつかって、Rn (n>0) の値を説明しなさい。
Explain the values of Rn (n>0) using R and R∘R. (4 点)
n が偶数の場合、Rn=R∘R; n が奇数の場合、Rn=R
授業で習った関係の性質の名称と、R と R∘R についてその有無を (〇か×で) 表に記入しなさい。/ Fill in the table with the names of the properties of relations discussed in the course, and for R and R∘R indicate using 〇 or × whether the properties hold or not. (8 点)
性質/property | R | R∘R |
---|---|---|
反射的 | × | 〇 |
対称的 | 〇 | 〇 |
反対称的 | × | × |
推移的 | × | 〇 |
次の式を木の形で書きなさい。/ Write the following formulæ as trees.
20 / 3 * 5 / 7 XOR(D, E) ∨ ¬E ∧ (C→D) 15 - 3 / 7 - 12
[図省略]
後期試験 ・ 2024 年 1 月 26 日 2 時限実施 ・ ページ
授業 科目 |
情報数学 I | 学生番号 | 学科 | 学年 | 組 | 番 | フリ ガナ |
評点 | ||||||||
氏名 | ||||||||||||||||
担当者 | DÜRST, Martin J. |
下記の数、学生、映画俳優などについての英文に相当する式を作成しなさい。授業で習った記号は全て使って構いません。学生の集合は
S、俳優 (movie actor) の集合は M、学生 s が俳優 m を好きということを
like(s, m)、俳優の cm での身長を height(m) で表す。それ以外、名前付きの述語、関係、関数を使わないこと。
Create the formulæ corresponding to the English sentences below about numbers, students, (movie) actors,...
You can use all the symbols that were introduced in this course. Use S for the set of students,
M for the set of actors,
like(s, m) to express that student s likes actor m,
and height(m) to express the height (in cm) of actor m.
Do not use any other named predicates, relations, or functions.
There is a student who likes all actors. ∃s∈S: ∀m∈M: like(s, m)
All actors like all students. ∀m∈M: ∀s∈S: like(m, s)
Every student likes an actor. ∀s∈S: ∃m∈M: like(s, m)
There is an actor who is liked by every student. ∃m∈M: ∀s∈S: like(s, m)
No actor likes any student. ¬∃m∈M: ∃s∈S: like(m, s)
There is an actor who dislikes all students. ∃m∈M: ∀s∈S: ¬like(m, s)
Every actor is liked by a student. ∀m∈M: ∃s∈S: like(s, m)
An actor who likes a student is also liked by that student.
∀m∈M: (∃s∈S: (like(m,s) → like(s,m))
No student likes all actors.
∀s∈S: ¬∀m∈M: like(s, m)
Any student who likes an actor also likes another actor.
∀s∈S: (∃m1∈M: like(s, m1) → (∃m2∈M: m1≠m2 ⋏ like(s, m2))
All actors who do not like any students are not liked by any students. ∀m∈M: ((∀s∈S: ¬like(m, s)) → ∀s∈S: ¬like(s, m))
There are more actors taller than 200cm than students smaller than 150cm.
|{m|m∈M ∧ height(m)>200}| > |{s|s∈S ∧ height(m)<150}|
No two students like the same actor.
∀s1∈S, s2∈S: s1≠s2 → {m|m∈M ∧ like(s1,m)}∪{m|m∈M ∧ like(s2,m)} = {}
All actors over 250cm height like all students, but there is no actor who likes any student.
(∀m∈M: (height(m)>250 → ∀s∈S: like(m, s))) ∧ ¬∃m∈M: ∃s∈S: like(m, s)
If exactly two students like all actors, then these students are liked by all actors.
∃s1∈S: ∃s2∈S: (∀m∈M: like(s1,m)∧like(s2,m)) → ∀m∈M: like(m,s1)∧like(m,s2)
後期試験 ・ 2024 年 1 月 26 日 2 時限実施 ・ ページ
n が素の場合、{1, 2, ..., n-1} と mod n の掛け算で群が作れることが知られている。
n=5 の場合、その群の積表を書きなさい。
It is known that a group can be formed for any prime number n, consisting of {1, 2, ..., n-1} and multiplication modulo n.
Give the Cayley table of this group for n=5. (4 点)
* (mod 5) | 1 | 2 | 3 | 4 |
---|---|---|---|---|
1 | 1 | 2 | 3 | 4 |
2 | 2 | 4 | 1 | 3 |
3 | 3 | 1 | 4 | 2 |
4 | 4 | 3 | 2 | 1 |
全ての n>0 の場合、{0, 1, ..., n-1} と mod n の足し算で群が作れることも知られている。
n=4 の場合、その群の積表を書きなさい。
It is also known that a group can be formed for any n>0, consisting of {0, 1, ..., n-1} and addition modulo n.
Give the Cayley table of this group for n=4. (4 点)
+ (mod 4) | 0 | 1 | 2 | 3 |
---|---|---|---|---|
0 | 0 | 1 | 2 | 3 |
1 | 1 | 2 | 3 | 0 |
2 | 2 | 3 | 0 | 1 |
3 | 3 | 0 | 1 | 2 |
n>0 が素でない場合、{1, ..., n-1} から n とお互いに素でない (二つの数の最大公約数が1でない) 数を除いた集合と mod n の掛け算で群が作れることも知られている。/ It is also known that a group can be formed for any non-prime n>0, by removing any numbers co-prime with n (i.e. where the GCD of the two numbers is not 1) from the set {1, ..., n-1} and multiplication modulo n.
n=9 の場合、この集合は {1, 2, 4, 5, 7, 8} となる。/ For n=9, this set is {1, 2, 4, 5, 7, 8}.
n=14 の場合、この集合を書きなさい。Write this set for n=14. (3 点) {1, 3, 5, 9, 11, 13}
n=8 の場合、この群の積表を書きなさい。Give the Cayley table of this group for n=8. (4 点)
* (mod 8) | 1 | 3 | 5 | 7 |
---|---|---|---|---|
1 | 1 | 3 | 5 | 7 |
3 | 3 | 1 | 7 | 5 |
5 | 5 | 7 | 1 | 3 |
7 | 7 | 5 | 3 | 1 |
n=10 の場合、この群の積表を書きなさい。Give the Cayley table of this group for n=10. (4 点)
* (mod 10) | 1 | 3 | 7 | 9 |
---|---|---|---|---|
1 | 1 | 3 | 7 | 9 |
3 | 3 | 9 | 1 | 7 |
7 | 7 | 1 | 9 | 3 |
9 | 9 | 7 | 3 | 1 |
上記の四つの積表の群の間で、すぐ同形と判断できる二つを部分問題番号で列挙し、理由を説明しなさい。/ For the four groups above with Caley tables, list up (by using the number of the subproblem) the two groups that can immediately be identified as isomorphic, and explain the reason. (3 点)
部分問題 1 と 5 の群が銅系である。1→1, 3→2, 7→3, 9→4 が対応し、要素の配置が全く同じのため。
上記の四つの責表の群のうち、他の群と絶対同形でない群を部分問題番号で特定し、その理由を説明しなさい。/ For the four groups above with Caley tables, identify (by the number of the subproblem) the group that is definitely not isomorphic to any of the other groups, and explain the reason. (3 点)
部分問題 4 の群では単位元が対角線上にある (どの元も自分の逆元である) ので、他の群と同形でない。
残りの一つの群はどうやって、ほかのどの群と同形なのかすぐわかるようにできるかを説明しなさい。必要に応じて責表を使いなさい。/ For the one remaining group, explain how to make sure that it is easy to see which other group(s) it is isomorphic to. If necessary, use a Caley table. (6 点)
+ (mod 4) | 0 | 1 | 2 | 3 |
---|---|---|---|---|
0 | 0 | 1 | 3 | 2 |
1 | 1 | 2 | 0 | 3 |
3 | 3 | 0 | 2 | 1 |
2 | 2 | 3 | 1 | 0 |
部分問題 2 の責表で最後の二つの行と列を交換すると、次の積表ができる。0→1, 1→2, 3→3, 2→4 で部分問題 1 の群との同形がすぐわかる。
後期試験 ・ 2024 年 1 月 26 日 2 時限実施 ・ ページ
授業 科目 |
情報数学 I | 学生番号 | 学科 | 学年 | 組 | 番 | フリ ガナ |
評点 | ||||||||
氏名 | ||||||||||||||||
担当者 | DÜRST, Martin J. |
最初の n-1 個の正の整数の二乗の合計が (n-1)·n·(2n-1)/6
であることを証明しなさい。
Prove that the sum of the squares of the first n-1 positive integers is (n-1)·n·(2n-1)/6.
例えば / As an example, n=6 の場合、1 + 4 + 9 + 16 + 25 = 5·6·11/6
数学的帰納法を使います。
次の式が恒真である前提の下、その双対を書きなさい。/ Write the dual of the following formulæ, assuming they are tautologies.
¬B ∨ F = ¬C∧T: ¬B ∧ T = ¬C ∨ F
¬X∧F = ¬F∧X: ¬X ∨ T = ¬T ∨ X
この授業で一番分かりにくかったことを書きなさい。 (決まった正解はありません。「英語」とだけ答えないこと。)
What was most difficult to understand in this course? (There is no definite answer. Do not simply answer "English".)
@@@@
この授業で一番勉強になったことを書きなさい。 (決まった正解はありません。)
What topic in this course was most interesting for you? (There is no definite answer.)
@@@@
一回目の授業では参考書の購入 (又は借り出し)
と熟読が強く進められました。熟読した参考書の詳細を書きなさい。
In the first lecture, I recommended to read a textbook in parallel to the lecture. Which textbook did you read?
廣瀬健著、情報数学、
電子情報通信学会編、コロナ者