Skip to content

Commit 93ff8ed

Browse files
authored
docs: 添加离散数学理论基础 2024 春夏第一次小测试题 (#177)
1 parent 45a231f commit 93ff8ed

File tree

3 files changed

+63
-0
lines changed

3 files changed

+63
-0
lines changed
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#import "@preview/numblex:0.1.1": numblex
2+
#import "@preview/tablex:0.0.8": tablex
3+
#set text(font: "STSong", size: 10pt)
4+
5+
#set enum(numbering: numblex(numberings: ("1.", "a)")), full: true)
6+
7+
#show heading.where(level: 1): it => [
8+
#set align(center)
9+
#set text(size: 20pt, font: "FZXiaoBiaoSong-B05S")
10+
#it.body
11+
]
12+
13+
#show heading.where(level: 2): it => [
14+
#set align(center)
15+
#set text(size: 13pt, font: "FZXiaoBiaoSong-B05S")
16+
#it.body
17+
]
18+
19+
#show heading.where(level: 3): it => [
20+
#set align(center)
21+
#set text(size: 15pt, font: "Princess Sofia")
22+
#it.body
23+
]
24+
25+
= Discrete Mathematics Quiz 1
26+
== 2023-2024 春夏学期
27+
=== shrike505
28+
29+
#linebreak()
30+
+ Determine whether the following statements are true or false. (30%)
31+
+ The following two propositions are logically equivalent:#align(center)[$p arrow (q arrow r), (p arrow q) arrow r$]
32+
+ If $A$, $B$, $C$ are sets, then $A plus.circle (B plus C) = (A plus.circle B) plus.circle C$.
33+
+ $8 + 3 = 9$ $$iff$$ $8 - 3 = 7$.
34+
+ The set of positive real numbers less than 1 with decimal representations consisting only of 6s and 8s is uncountable.
35+
+ The set of real numbers that are solutions of quadratic equations $a x^2 + b x + c = 0$, where $a$, $b$, $c$ are integers, is countable.
36+
+ The time complexity of a linear search to find the smallest number in a list of $n$ numbers is #sym.Theta ($n log n$).
37+
38+
+ Suppose the variable $x$ represents students, $y$ represents courses, $T(x, y)$ means $\"x$ is taking $y.\"$. Translate the statement into symbols. (10%)
39+
+ There is a course that is being taken by all students.
40+
+ No student is taking all courses.
41+
42+
+ Suppose $g: A arrow B$ and $f: B arrow C$ where $A = {1, 2, 3, 4}, B = {a, b, c}, C = {2, 7, 10}$, and $f$ and $g$ are defined by $g = {(1, b), (2, a), (3, a), (4, b)}$ and $f= {(a, 10),(b, 7),(c, 2)}$. Find $f compose g$. (5%)
43+
44+
+ Write a proposition equivalent to $(p and not q)$ using only $p$, $q$, and the connective #sym.bar.v . (7%) #linebreak() ($\" bar.v \"$ represents NAND. The proposition $p bar.v g$ is true when either $p$ or $q$, or both, are false; and it is false when both $p$ and $q$ are true)
45+
46+
+
47+
+ Express the proposition formula $p plus.circle (q plus.circle r)$ in full disjunctive normal form. (7%)
48+
+ Express the proposition formula $p plus.circle (q plus.circle r)$ in full conjunctive normal form. (7%)
49+
50+
+ Put the functions below in order so that each function is big-O of the next function on the list. (7%)\ #tablex(
51+
columns: 3,
52+
rows: 3,
53+
align: center + horizon,
54+
auto-lines: false,
55+
[$f_1 (n) = (1.01)^n$],[$f_2 (n) = 10 n excl$],[$f_3 (n) = (log n)^3$],[$f_4 (n) = 2^n$],[$f_5 (n) = log log n$],[$f_6 (n) = 999 n^2 (log n)^3$],[$f_7 (n) = frac(n^4 + 1, n^3 + 3)$],[$f_8 (n) = n^3 + n (log n)^2$],[$f_9 (n) = 9^999$]
56+
)
57+
58+
+ Set $A = {ceil(x) + ceil(2x) +ceil(3x) bar.v x in R}$, set $B = x bar.v x$ is a positive integer less than $2024}$, find the value of ${A sect B}$ (10%)
59+
60+
+ Prove that if $x^3$ is irrational, then $x$ is irrational. (10%)
61+
62+
+ Use induction to prove that: if $x > 0, y > 0$, then $frac(x^n + y^n, 2) gt.eq (frac(x + y, 2))^n$ for all positive integers $n$.

docs/major_basic/discrete_math/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
- [(21 级)2022 春夏第四次小测(郑文庭班)](Discrete_Mathematics_Quiz_4_2022.pdf) | [参考解答](21-22 春夏离散郑文庭班第四次小测参考答案.pdf)
4949
- [(22 级)2023 春夏第一次小测](Discrete_Mathematics_Quiz_1_2023.pdf)
5050
- [(22 级)2023 春夏第二次小测](Discrete_Mathematics_Quiz_2_2023.pdf)
51+
- [(23 级)2024 春夏第一次小测](Discrete_Mathematics_Quiz_1_2024.pdf)
5152

5253
## 学长组课程学习建议
5354

0 commit comments

Comments
 (0)