SharedCourses/docs/courses/软件工程学院/计算理论基础/期末试卷/2025春季学期计算理论基础期末考试试卷(回忆版).md

19 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2025春季学期计算理论基础期末考试试卷回忆版
## 注这次考试的形式是五道题自行选四个做每题25分多做没有加分此外原卷面是英文请大家注意
1.给出接受以下语言的DFA
所有以1开头能被5整除的二进制串如101, 1010, 1111左侧自动机读入的第一个符号为最高位右侧为最低位
2.请给出DFA化简中State Elimination Technique的复杂度的tight bound要有明确的推理过程
3.A marble is dropped at A and B. Levers x1, x2 and x3 cause the marble tofall either to the left or to the right. Whenever a marble encounters a lever, it causes the lever to reverse after the marble passes, so the next marble will take the opposite branch. The game wins when there is a marble falls through C. The levers are all initialized to the left. Model this toy by a DFA.
![marble](marble.png)
4.证明语言 $L = \{a^nb^nc^md^m (n \geq m \geq 1) \cup a^nb^mc^md^n (n \geq m \geq 1)\}$ 不是CFL
5.构造如下的图灵机其功能为给定三个非负整数n, m, k判断n + m是否等于k。
输入的形式为:$$\underbrace{11……1}_{n个}0\underbrace{11……1}_{m个}0\underbrace{11……1}_{k个}$$