Skip to content

Commit b1ee354

Browse files
committed
feat: parsed text and my solutions
1 parent 01c9f6f commit b1ee354

File tree

3 files changed

+101
-0
lines changed

3 files changed

+101
-0
lines changed

lecture/2025/ang1_solved.png

1.19 MB
Loading

lecture/2025/ang2_solved.png

1.14 MB
Loading

lecture/2025/parsed.txt

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
1. Can we effectively formulate every problem as a state space search problem?
2+
a) No, because we will have too many operators and too high a branching factor in the search graph.
3+
b) No, because not all problems allow us to define inverse transition operators between states.
4+
c) Yes, because complex operations can be represented as operators acting on a computational graph.
5+
d) Yes, because symbolic-arithmetic operations can be recursively represented in a computational graph.
6+
7+
2. Is there a place for a deduction-based approach in contemporary artificial intelligence?
8+
a) No, because practically all contemporary AI systems are based on machine learning.
9+
b) Yes, deductive methods allow for the expression of verified knowledge, e.g., in the form of rules, also as sources of knowledge for generative language models (LLMs).
10+
c) Yes, because deductive methods are essential for data augmentation.
11+
d) Yes, because deductive methods are present in every supervised machine learning algorithm as an element of controlling the learning process.
12+
13+
3. What is arc consistency in constraint satisfaction problems and why is it used?
14+
a) Arc consistency is the consistency of the path of connected variables in search and an element of partial solution representation.
15+
b) Arc consistency guarantees that for any two variables connected by a constraint, their domains contain values that satisfy that constraint.
16+
c) Arc consistency is a transformation of the problem, resulting in it consisting of n subproblems, in which the pairs are connected by a single arc.
17+
d) Arc consistency is a partial order of pairs: variable—heuristic, accelerating the solution finding.
18+
19+
4. What is the partial order planning algorithm based on?
20+
a) Hierarchically dividing the problem into areas of local subplans that are next combined.
21+
b) The lack of distinction between actions that are generated for the same operators.
22+
c) Utilising only the necessary constraints in the representation of the plan.
23+
d) A partial order plan allows for conflicting sequences of actions, where conflicts are resolved later through additional searching.
24+
25+
5. What are the true properties of the evaluation function in algorithms for playing logical games?
26+
a) The evaluation function must be consistent with the payoff function for terminal nodes and estimate it for all intermediate states.
27+
b) It must return 0 for the terminal node of the game tree and be consistent with the payoff function for the others.
28+
c) The evaluation function is a heuristic function for the cost of winning in one move.
29+
d) The evaluation function is any linear function of the set of features describing the game state.
30+
31+
6. Why is it important for the heuristic to be admissible in state space search?
32+
a) An admissible heuristic does not hide the problem and returns values no higher than the actual cost.
33+
b) Because it allows for comparing values between nodes.
34+
c) Because only an admissible heuristic defines equivalence classes of nodes based on its values.
35+
d) Because it does not hide the path leading to a node that satisfies the goal test.
36+
37+
7. When do positions in the game tree become stable (quiescent)?
38+
a) Stable (quiescent) positions are those for which there is a balance between attacking moves and moves that create threats.
39+
b) Positions in the game tree become stable (quiescent) when their subtrees become balanced after applying alpha-beta pruning.
40+
c) Stable (quiescent) positions are those for which the situation in the game does not correlate with significant changes in the value of the evaluation function over the next few moves.
41+
d) Stable (quiescent) positions are below the depth that defines the horizon problem in the game tree.
42+
43+
8. How does constraint propagation affect the efficiency of a constraint problem-solving algorithm?
44+
a) It is an alternative approach to backtracking search based on heuristic forward searching.
45+
b) Constraint propagation shifts the search to the level of local operations within the variable domains.
46+
c) Constraint propagation dynamically reduces the effective size of the variable domains.
47+
d) It breaks the problem into independent subproblems of constraint solving within individual pairs of variables.
48+
49+
9. Do planning algorithms differ from heuristic state space search?
50+
a) Planning algorithms are heuristic search algorithms based on a partial order graph heuristic.
51+
b) Planning algorithms utilise knowledge from the symbolic representation of state change operators.
52+
c) Planning algorithms do not build a complete transition graph from the initial state to the final state, but only a forest of partial graphs.
53+
d) Planning algorithms build the action graph deterministically and later apply heuristics to linearise the partial order graph into the final graph.
54+
55+
10. Why does unsupervised machine learning work and to what extent?
56+
a) Unsupervised machine learning operates on the basis of transformation of some attributes into decision classes based on correlation analysis.
57+
b) Unsupervised machine learning explores similarities between objects to make property transfers or determine equivalence classes.
58+
c) Unsupervised machine learning relies on the augmentation of labelled data based on data clustering.
59+
d) Unsupervised machine learning only works when the results of data clustering are correlated with an accepted class hierarchy for the data.
60+
61+
11. What is the order of assigning attributes to the nodes of the decision tree?
62+
a) Any order is acceptable as long as the attributes with the highest InfoGain value are chosen.
63+
b) A single path contains a group of attributes determined by a clustering algorithm and then subjected to unsupervised attribute selection.
64+
c) The assignment of attributes to nodes results from an unsupervised contextual assessment of cross-entropy.
65+
d) The order in each path of the tree (root - leaf) results from the reduction of uncertainty.
66+
67+
12. What needs to be done to adapt decision trees, which are inherently symbolic, to operate on numerical values?
68+
a) It is necessary to quantize numerical attributes in a way statistically adjusted in terms of intervals for each attribute individually.
69+
b) Functions should be introduced that assign appropriate symbols to numerical values from the training data.
70+
c) Numerical values that may appear in the input data can simply be treated as individual symbols.
71+
d) To the tree nodes corresponding to numerical values, functions should be assigned that calculate the choice of the outgoing branch.
72+
73+
13. How does training a neural network change it for specific tasks?
74+
a) The network remains the same, for example, the number of neurons and their types do not change; only the structure of the network is reorganized, including the positions of selected neurons, according to individual decision paths.
75+
b) As a result of training, activation paths related to the recognition of specific classes are created within the neural network during its use.
76+
c) Training the network causes the network parameters to adjust gradient-wise to a softmax probability distribution correlated with the given set of classes.
77+
d) As a result of training, the connections between neurons are adjusted, and some may even be suppressed, due to changes in weights and the distribution of values generated at the outputs.
78+
79+
14. What is the significance of document segmentation for the functioning of the RAG system?
80+
a) Segmentation determines the detail of the response by defining the size of the text window as the basis for providing the answer.
81+
b) The size and methods of segmenting text (fragments of documents) can facilitate the precise determination of the basis for generating a response.
82+
c) Segmentation does not affect the precision of the responses given – they are generated by a large language model (LLM), but it is useful for processing efficiency.
83+
d) Document segmentation in the database facilitates the generation of concise responses of limited length.
84+
85+
15. How does a neural network classify input data?
86+
a) Each layer of the network defines the projection of input signals onto the set of classes; and at the end, the output layer performs aggregation and voting according to the softmax scheme.
87+
b) The neural structures of a non-recurrent network form a forest of fuzzy classification trees built from subsets of neurons.
88+
c) Activation functions shape the level of output signals, and in the output layer, the signals from the neurons are interpreted according to the assumed classification task.
89+
d) The neural network in the input layer selects attributes and processes their chosen subset into a stimulation vector, which then passes through the subsequent layers and influences the output neurons in a gradient-wise way.
90+
91+
16. What can we use the k-nearest neighbors (k-NN) algorithm for?
92+
a) It allows for making assumptions about the selected properties of unknown objects based on the exploration of an assumed similarity measure.
93+
b) The k-NN algorithm can be used to evaluate the results of classification by a supervised algorithm.
94+
c) It enables the generation of a hierarchical structure of classes for the input data.
95+
d) It allows for discovering the optimal partitioning of input data and determining the number of classes – the parameter k – that are represented in that data.
96+
97+
17. Why do we distinguish between the retrieval and re-ranking phases in Semantic Retrieval?
98+
a) This is due to the use of networks of varying depths and the orthogonal perspectives on comparing queries and documents.
99+
b) Because the matching of the query in the RAG system gradually transitions from the document level, through fragments, to sentences.
100+
c) The goal is to maximize the accuracy of the cut-off ranking of the retrieved documents while minimizing computational resource consumption.
101+
d) Both phases define different perspectives on comparing texts: sentence to sentence and word to word in the second case.

0 commit comments

Comments
 (0)