• 検索結果がありません。

(2)本問を選択

N/A
N/A
Protected

Academic year: 2021

シェア "(2)本問を選択"

Copied!
1
0
0

読み込み中.... (全文を見る)

全文

(1)

オートマトン (2)

本問を選択(Select this problem){ する(Yes),しない(No) } No.

(1) 次の文法Gにより生成される言語をL1とする.

S →²|a|b|aSa|bSb

ここで,Sは開始記号および非終端記号であり,abとは終端記号である.

文法Gにより ababaが導出される過程を示しなさい.

Let L1 be the language generated by the following grammar G:

S →²|a|b|aSa|bSb

where the start symbol is S that is also the nonterminal, and the terminals areaand b.

Show a derivation of abababy G.

(2) 言語L2を次のように定義する.

L2 ={w∈ {a,b} |w=wR}

ただし,wの逆をwRで表す.すなわち,(xnxn1. . . x1)R=x1x2. . . xnであり,²R=²である.

長さが5以上のw∈L2を一つ示しなさい.

Let L2={w∈ {a,b} |w=wR}, where wR is the reversal ofw, that is, (xnxn1. . . x1)R=x1x2. . . xn and ²R=².

Show one exmaple w∈L2 such that the length ofwis greater than 4.

(3) L2⊆L1が成立することを証明しなさい.

Prove that L2 ⊆L1. (4) L1⊆L2を証明しなさい.

Prove that L1 ⊆L2.

(解答は裏面を使用しても構わない.You can use the reverse side of this paper for your answering.)

参照

関連したドキュメント

種類 市民サービス 特性 非選択的事業 区分 非選択的事務事業..

1) 特に力を入れている 2) 十分である 3) 課題が残されている. ] 1) 行っている <選択肢> 2) 行っていない

ダウンロードファイルは Excel 形式、CSV

Altera Nios II フォルダを展開し、Existing Nios II software build tools project or folder into workspace を選択します(図 2–9 を参 照)。.

c マルチ レスポンス(多項目選択質問)集計 勤労者本人が自分の定年退職にそなえて行うべきも

二酸化窒素については、 「二酸化窒素の人の健康影響に係る判定条件等について」 (中 央公害対策審議会、昭和 53 年3月 22

1) 特に力を入れている 2) 十分である 3) 課題が残されている. ] 1) 行っている <選択肢> 2) 行っていない