Skip to main content

Chapter 2

Artificial Intelligence

TU BCA past exam questions

Past questions and answers

30 questions set from this chapter. Most repeated first.

  • 2021 · 5 marks

What is Turing Test? Mention the characteristics features that an agent should have to pass turning Test.

Answer

Turing Test

Proposed by Alan Turing (1950), the Turing Test checks whether a machine can show intelligent behaviour indistinguishable from a human. A human interrogator asks written questions to two hidden parties, one human and one machine. If the interrogator cannot reliably tell which is the machine, the machine passes the test.

Capabilities a machine must have to pass

  1. Natural language processing: to communicate successfully in a human language such as English.
  2. Knowledge representation: to store what it knows or hears.
  3. Automated reasoning: to use the stored information to answer questions and draw new conclusions.
  4. Machine learning: to adapt to new circumstances and detect and extrapolate patterns.

The Total Turing Test adds two more:

  1. Computer vision: to perceive objects.
  2. Robotics: to manipulate objects and move about.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 5 marks

How simple reflex agent works? using your own assumptions, design PEAS framework for an English to Nepali Translating Agent.

Answer

Simple reflex agent

A simple reflex agent selects actions only on the basis of the current percept, ignoring the percept history. It works through condition-action rules ("if condition then action").

Working: sensors give the current percept, then INTERPRET-INPUT builds the state description, then RULE-MATCH finds a rule whose condition matches, then the rule's action is executed through the actuators.

function SIMPLE-REFLEX-AGENT(percept)
    state  <- INTERPRET-INPUT(percept)
    rule   <- RULE-MATCH(state, rules)
    return rule.ACTION

Example: a vacuum cleaner that sucks dirt if the current square is dirty, otherwise moves. It works well only when the environment is fully observable.

PEAS for an English-to-Nepali translating agent

Description
Performance measureTranslation accuracy (BLEU score, correct grammar and meaning), fluency, speed, percentage of words/sentences correctly translated
EnvironmentEnglish text or speech input from users, Nepali language grammar and dictionary, web pages or documents
ActuatorsScreen display of Nepali text, speaker output, file or document export
SensorsKeyboard, text input, microphone or OCR for English input

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 5 marks

What do you mean by alpha beta pruning? Illustrate alpha and beta cutoff using appropriate example.

Answer

Alpha-beta pruning

Alpha-beta pruning is an optimisation of the minimax algorithm that skips (prunes) branches of the game tree that cannot affect the final decision, so it returns the same result as minimax but explores fewer nodes.

  • Alpha (α\alpha): the best (highest) value found so far for MAX along the path.
  • Beta (β\beta): the best (lowest) value found so far for MIN along the path.
  • Cut-off rule: prune the remaining children when α≥β\alpha \ge \beta.
    • Alpha cut-off happens at a MIN node when its value is ≤α\le \alpha of an ancestor MAX node.
    • Beta cut-off happens at a MAX node when its value is ≥β\ge \beta of an ancestor MIN node.

Example

Root A is MAX with MIN children B, C, D. The leaves are B: (3, 12, 8), C: (2, 4, 6), D: (14, 5, 2).

  1. Evaluate B: leaves 3, 12, 8 give B=min⁡=3B = \min = 3. At the root, α=3\alpha = 3.
  2. Evaluate C: the first leaf is 2, so C≤2≤α=3C \le 2 \le \alpha = 3. MAX will never choose C, so the leaves 4 and 6 are pruned (alpha cut-off).
  3. Evaluate D: leaf 14 gives β=14\beta = 14, leaf 5 gives β=5\beta = 5, leaf 2 gives D=2D = 2. D=2<3D = 2 < 3, so it is not chosen.
  4. Root value is max⁡(3,2,2)=3\max(3, 2, 2) = 3, so the best move is B.

Leaves 4 and 6 were never examined. With the best ordering, the nodes searched drop from O(bd)O(b^d) to about O(bd/2)O(b^{d/2}).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 5 marks

Define knowledge representation system. How can you represent knowledge using semantic network? Illustrate with an example.

Answer

Knowledge representation system

A knowledge representation (KR) system is a scheme for encoding facts and rules about the world in a form that a computer can store, reason with and use to solve problems. A good KR system has representational adequacy (it can represent all needed knowledge), inferential adequacy (it can derive new knowledge), inferential efficiency and acquisitional efficiency. Examples are logic, semantic networks, frames, production rules and scripts.

Semantic network

A semantic network is a graph where nodes represent objects, concepts or classes, and labelled arcs (links) represent relations between them, such as is-a, has-part, instance-of, color. The is-a links give inheritance: a node inherits the properties of its superclass.

Example

Animal --has--> Skin
   ^
   | is-a
 Bird --can--> Fly
   ^                \
   | is-a            has --> Wings
Parrot --colour--> Green
   ^
   | instance-of
 Polly

From the network we can answer:

  • Polly is a Parrot, a Parrot is a Bird, so Polly can fly (inherited).
  • Polly is an Animal, so Polly has skin.
  • Polly's colour is green.

Advantages: it is simple, visual and supports inheritance. Limitations: no standard semantics and it handles negation and quantifiers poorly.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 5 marks

What us learning by analogy? How transformational analogy differs from derivational analogy?

Answer

Learning by analogy

Learning by analogy is learning to solve a new problem by recalling a similar problem solved earlier and transferring its solution (or the way it was found) to the new one. It involves retrieving a similar case, mapping the similarities and adapting the solution. An example is using what is known about water flow to understand electric current.

Transformational vs derivational analogy

Transformational analogyDerivational analogy
Transfers the final solution of the old problem to the new oneTransfers the reasoning process (steps, decisions, justifications) that produced the old solution
The old solution is transformed (modified) by operators to fit the new problemThe old derivation is replayed, and each step is re-checked and modified for the new problem
Ignores how the solution was foundUses the detailed problem-solving history
Simple and fast, but may fail if the problems differ in detailMore powerful and flexible, but needs storage of the derivation traces and more computation
Example: adapting a proof of one geometry theoremExample: replaying the planning steps of a past trip for a new trip

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 5 marks

Describe about natural language processing, why pragmatic analysis important in the language processing.

Answer

Natural language processing (NLP)

NLP is the branch of AI that lets computers understand, interpret and generate human (natural) language, in text or speech. Applications include machine translation, speech recognition, chatbots, spell checking, sentiment analysis and information retrieval.

Phases of NLP

  1. Lexical analysis: splits text into words, tokens and sentences and finds word structure (morphology).
  2. Syntactic analysis (parsing): checks grammar and builds a parse tree of the sentence.
  3. Semantic analysis: finds the literal meaning of words and sentences.
  4. Discourse integration: the meaning of a sentence depends on the preceding ones (e.g. resolving pronouns such as "he", "it").
  5. Pragmatic analysis: interprets the sentence in its real-world context to find the intended meaning.

Importance of pragmatic analysis

Pragmatics deals with the speaker's intention, the context, the situation and the world knowledge needed to understand what is really meant rather than what is literally said. For example, "Can you pass the salt?" is literally a question about ability but pragmatically a request. "It's cold here" may mean "close the window". Without pragmatic analysis, a system would give literal and often wrong responses to such sentences, and it could not resolve ambiguity, sarcasm or indirect speech. It is therefore essential for dialogue systems and chatbots to behave naturally.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 5 marks

Why export system is important in AI? Describe the architecture of an export system.

Answer

Importance of an expert system in AI

An expert system is an AI program that captures the knowledge of a human expert in a narrow domain and uses it to give advice or decisions. It is important because it:

  • makes scarce expert knowledge available to many people at any time,
  • is consistent, does not get tired and has no emotional bias,
  • preserves expertise when experts retire,
  • is faster and cheaper than consulting a human expert,
  • can explain its reasoning, and can solve problems in dangerous or complex fields (medical diagnosis such as MYCIN, fault finding, geology such as PROSPECTOR).

Architecture of an expert system

  1. Knowledge base: facts and heuristic rules (usually IF-THEN) about the domain, supplied by the expert.
  2. Inference engine: the reasoning part that applies the rules to the facts to reach conclusions, using forward chaining (data-driven) or backward chaining (goal-driven).
  3. Working memory (blackboard): holds the facts of the current problem and intermediate results.
  4. User interface: lets the user enter queries and facts and receive the answers.
  5. Explanation facility: tells the user how (and why) a conclusion was reached.
  6. Knowledge acquisition module: lets the knowledge engineer and expert add and update knowledge.
User <-> User Interface <-> Inference Engine <-> Knowledge Base
                               |   \
                       Working Memory  Explanation Facility
                                         ^ Knowledge Acquisition (Expert / Knowledge Engineer)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 10 marks

Describe feed forward neural network and feedback artificial neural networks. How can you realize AND gate and OR gate using neural network? Demonstrate with appropriate examples by defining suitable weights and activation function.

Answer

Feed-forward neural network

In a feed-forward network the connections go in one direction only, from the input layer through the hidden layers to the output layer. There are no loops or feedback, so the output depends only on the current input. Examples are the single-layer perceptron and the multilayer perceptron (trained by backpropagation). They are used for classification and pattern recognition.

Feedback (recurrent) neural network

In a feedback network the outputs of neurons are fed back as inputs to the same or earlier layers, creating loops. The network has memory and its state evolves over time until it settles. Examples are the Hopfield network, Elman network and Boltzmann machine. They are used for associative memory, optimisation and sequence processing.

Feed-forwardFeedback
One-way flowLoops/cycles
No memory of past inputsHas memory (dynamic)
Simple and stableComplex; may oscillate before settling

AND and OR gates with a perceptron

Each neuron computes a weighted sum net=w1x1+w2x2+bnet = w_1 x_1 + w_2 x_2 + b and uses the step activation

y={1net≥00net<0y = \begin{cases} 1 & net \ge 0 \\ 0 & net < 0 \end{cases}

AND gate: choose w1=w2=1w_1 = w_2 = 1, b=−1.5b = -1.5 (threshold 1.5).

x1x_1x2x_2netnetyy
00−1.5-1.50
01−0.5-0.50
10−0.5-0.50
110.50.51

OR gate: choose w1=w2=1w_1 = w_2 = 1, b=−0.5b = -0.5 (threshold 0.5).

x1x_1x2x_2netnetyy
00−0.5-0.50
010.50.51
100.50.51
111.51.51

Both outputs match the truth tables of AND and OR, so a single neuron with suitable weights, bias and step activation realises each gate. (XOR is not linearly separable and needs a hidden layer.)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 10 marks

What is the use of existential and universal quantifiers in FOPL? How can you convert FOPL statements into CNF form? Construct FOPL for following statements and convert to CNF form; all students are talent person. every talent person are smart, someone who is not smart is dumb. Ram is dumb but he is talent person.

Answer

Quantifiers in FOPL

  • Universal quantifier (∀\forall): states that a predicate holds for all objects in the domain. ∀x Cat(x)→Mammal(x)\forall x\, Cat(x) \rightarrow Mammal(x) means every cat is a mammal. It is normally used with implication.
  • Existential quantifier (∃\exists): states that a predicate holds for at least one object. ∃x Student(x)∧Smart(x)\exists x\, Student(x) \land Smart(x) means some student is smart. It is normally used with conjunction.

Converting FOPL to CNF

  1. Eliminate implications and biconditionals: P→Q≡¬P∨QP \rightarrow Q \equiv \lnot P \lor Q.
  2. Move negation inward (De Morgan's laws, ¬∀x≡∃x¬\lnot\forall x \equiv \exists x\lnot, ¬∃x≡∀x¬\lnot\exists x \equiv \forall x\lnot).
  3. Standardise variables apart (rename so each quantifier has a unique variable).
  4. Skolemise: remove ∃\exists by replacing the variable with a Skolem constant or function of the enclosing universal variables.
  5. Drop the universal quantifiers.
  6. Distribute ∨\lor over ∧\land to get a conjunction of clauses.

FOPL for the statements

  1. All students are talented persons: ∀x (Student(x)→Talent(x))\forall x\,(Student(x) \rightarrow Talent(x))
  2. Every talented person is smart: ∀x (Talent(x)→Smart(x))\forall x\,(Talent(x) \rightarrow Smart(x))
  3. Someone who is not smart is dumb: ∀x (¬Smart(x)→Dumb(x))\forall x\,(\lnot Smart(x) \rightarrow Dumb(x))
  4. Ram is dumb but talented: Dumb(Ram)∧Talent(Ram)Dumb(Ram) \land Talent(Ram)

Conversion to CNF

  1. ∀x (¬Student(x)∨Talent(x))\forall x\,(\lnot Student(x) \lor Talent(x)) gives the clause ¬Student(x)∨Talent(x)\lnot Student(x) \lor Talent(x)
  2. ∀x (¬Talent(x)∨Smart(x))\forall x\,(\lnot Talent(x) \lor Smart(x)) gives the clause ¬Talent(x)∨Smart(x)\lnot Talent(x) \lor Smart(x)
  3. ∀x (¬¬Smart(x)∨Dumb(x))\forall x\,(\lnot\lnot Smart(x) \lor Dumb(x)) which is Smart(x)∨Dumb(x)Smart(x) \lor Dumb(x)
  4. Dumb(Ram)Dumb(Ram) and Talent(Ram)Talent(Ram) as two separate unit clauses.

Final CNF clauses:

(¬Student(x)∨Talent(x))∧(¬Talent(x)∨Smart(x))∧(Smart(x)∨Dumb(x))∧Dumb(Ram)∧Talent(Ram)(\lnot Student(x) \lor Talent(x)) \land (\lnot Talent(x) \lor Smart(x)) \land (Smart(x) \lor Dumb(x)) \land Dumb(Ram) \land Talent(Ram)

No existential quantifiers occur, so no Skolemisation is needed.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2021 · 10 marks

How uniformed search is different from informed search? Describe the working mechanism of breadth first search and iterative deepening search. Support your answer with appropriate state space and search paths resulted.

Answer

Uninformed vs informed search

Uninformed (blind) searchInformed (heuristic) search
Uses no knowledge about how close a state is to the goalUses a heuristic function h(n)h(n) estimating the cost to the goal
Explores systematically, often many nodesExplores promising nodes first, fewer nodes
Slower, needs more time and memoryFaster and more efficient
Examples: BFS, DFS, uniform cost, iterative deepeningExamples: greedy best-first, A*, hill climbing

State space used for the illustration

            S
          /   \
         A     B
        / \     \
       C   D     E
           |
           G (goal)

Breadth-first search (BFS)

BFS expands the shallowest unexpanded node first, using a FIFO queue, level by level.

  • Queue: S. Expand S, giving A, B.
  • Expand A, giving B, C, D. Expand B, giving C, D, E.
  • Expand C (no children). Expand D, giving G is generated. Expand E.
  • Goal G found.

Order of visit: S, A, B, C, D, E, G. Path found: S - A - D - G.

BFS is complete, and optimal when step costs are equal. Time and space are O(bd)O(b^d), which is high.

Iterative deepening search (IDS)

IDS repeats depth-limited DFS with the limit 0, 1, 2, ... until the goal is found. It combines the low memory of DFS with the completeness and optimality of BFS.

  • Limit 0: S (not goal).
  • Limit 1: S, A, B (not goal).
  • Limit 2: S, A, C, D, B, E (not goal).
  • Limit 3: S, A, C, D, G. Goal found.

Path: S - A - D - G. The shallow nodes are regenerated several times, but this costs little because most nodes lie at the deepest level. Time is O(bd)O(b^d) and space is only O(bd)O(bd).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 5 marks

Compare Goal Based and Utility Based agent with example.

Answer

A goal-based agent chooses actions by searching or planning for a sequence that reaches a stated goal. A utility-based agent also measures how good each outcome is using a utility function, so it can choose the best way of reaching the goal.

BasisGoal-based agentUtility-based agent
Decision criterionGoal achieved or not (binary)Degree of satisfaction (utility value)
Conflicting goalsCannot compare themTrades them off using utility
UncertaintyHandles poorlyMaximises expected utility
FlexibilityModerateHigh
ComplexitySimplerMore complex

Example (goal-based): a navigation program whose only goal is to reach Pokhara from Kathmandu. Any route that arrives is acceptable.

Example (utility-based): a taxi agent that picks among routes to Pokhara by weighing time, fuel cost, safety and comfort. It chooses the route with the highest expected utility, not just any route that arrives.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 5 marks

Using Constraint satisfaction problem solve the Cryptarithmetic Problem
CROSS + ROADS = DANGER

Answer

Constraint satisfaction formulation

  • Variables: C, R, O, S, A, D, N, G, E (each a distinct digit 0-9) plus carries c1,c2,c3,c4,c5c_1,c_2,c_3,c_4,c_5.
  • Constraints: all letters differ; C, R, D are non-zero (leading digits); column sums hold.

C R O S S+  R O A D SD A N G E R\begin{array}{r} C\,R\,O\,S\,S \\ +\;R\,O\,A\,D\,S \\ \hline D\,A\,N\,G\,E\,R \end{array}

Column equations (right to left):

  • S+S=R+10c1S+S = R + 10c_1
  • S+D+c1=E+10c2S+D+c_1 = E + 10c_2
  • O+A+c2=G+10c3O+A+c_2 = G + 10c_3
  • R+O+c3=N+10c4R+O+c_3 = N + 10c_4
  • C+R+c4=A+10c5C+R+c_4 = A + 10c_5
  • c5=Dc_5 = D, so D=1D=1.

Solving

  1. D=1D=1 and C+R+c4=A+10C+R+c_4 = A+10.
  2. Try C=9C=9, R=6R=6, c4=0c_4=0: this gives A=5A=5.
  3. From R+O+c3=N+10c4R+O+c_3=N+10c_4 with c4=0c_4=0 and R=6R=6: 6+O+c3=N6+O+c_3=N. Take O=2O=2, c3=0c_3=0, so N=8N=8.
  4. Column 3: O+A+c2=GO+A+c_2=G gives 2+5+c2=G2+5+c_2=G. With c2=0c_2=0, G=7G=7 and c3=0c_3=0, which is consistent.
  5. Column 2: S+D+c1=ES+D+c_1=E gives S+1+c1=ES+1+c_1=E. Column 1: 2S=6+10c12S=6+10c_1, so S=3S=3 and c1=0c_1=0. Then E=4E=4.
  6. Digits used: C=9, R=6, O=2, S=3, A=5, D=1, N=8, G=7, E=4. All are distinct.

Solution

96233+62513=15874696233 + 62513 = 158746

Check: 96233+62513=15874696233+62513=158746, which is DANGER.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 5 marks

What are various knowledge representation issues? Provide solutions of any two.

Answer

Issues in knowledge representation

  1. Important attributes: some attributes occur in many objects (for example instance and isa). The representation must support them.
  2. Relationships among attributes: inverses, existence of values, techniques for reasoning about values, and single-valued attributes.
  3. Choosing the granularity: deciding the level of detail at which knowledge is represented.
  4. Representing sets of objects: some properties hold for a set as a whole, not for each member.
  5. Finding the right structure: choosing the right structure from a large store of knowledge when it is needed.

Solutions to two of them

  • Choosing granularity: use a hierarchy of levels. High-level facts (for example "John is a student") sit at the top. Low-level primitives such as Roll(John, x) are added only when needed. Frames and semantic nets let the system work at the level the query requires.
  • Finding the right structure: use indexing and selection. Index structures by key features, such as a frame's name or slots, and pick the best match through pattern matching. If the chosen frame fails, backtrack to a more suitable one. Default values in the frame fill in missing information.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 5 marks

Explain with example supervised and unsupervised learning.

Answer

Supervised learning

The model learns from a labelled dataset, where each input xx has a known output yy. It learns a mapping f:x→yf: x \to y by minimising the error between its predictions and the labels.

  • Types: classification (discrete output) and regression (continuous output).
  • Algorithms: decision trees, SVM, k-NN, linear regression, neural networks.
  • Example: predicting whether an email is spam or not spam from emails already labelled spam/not spam. Another example is predicting house prices from past sales.

Unsupervised learning

The model learns from unlabelled data. It finds hidden structure, patterns or groups without a teacher.

  • Types: clustering, association, dimensionality reduction.
  • Algorithms: k-means, hierarchical clustering, PCA, Apriori.
  • Example: grouping customers of a shop into segments by buying behaviour with no predefined segments. Another is market-basket analysis finding that bread and butter are bought together.
BasisSupervisedUnsupervised
DataLabelledUnlabelled
GoalPredict outputDiscover structure
FeedbackDirectNone

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 5 marks

Explain the architecture of Expert system. Give its two application areas.

Answer

An expert system is an AI program that imitates the decision-making of a human expert in a narrow domain by using stored knowledge and inference.

Architecture

  1. Knowledge base: domain facts and rules (usually IF-THEN) obtained from experts.
  2. Inference engine: applies the rules to the facts to reach conclusions, using forward chaining (data-driven) or backward chaining (goal-driven).
  3. User interface: lets the user enter queries and facts and see the results.
  4. Explanation facility: tells the user how and why a conclusion was reached.
  5. Knowledge acquisition module: helps the knowledge engineer add or update knowledge.
  6. Working memory: holds the facts of the current case.

Flow: User -> User interface -> Inference engine <-> Knowledge base, with the explanation facility and knowledge acquisition attached to the engine and knowledge base.

Application areas

  • Medical diagnosis: for example MYCIN, which diagnoses bacterial infections.
  • Mineral exploration / configuration: for example PROSPECTOR for geology, and XCON for configuring computer systems.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 5 marks

What is the need of activation function in ANN? Implement Perceptron algorithm for AND logic gate with 2-bit binary input.

Answer

Need for an activation function

An activation function decides the output of a neuron from its weighted sum.

  • It introduces non-linearity. Without it, any stack of layers collapses to a single linear transformation and cannot learn complex patterns.
  • It limits the output to a useful range (for example sigmoid to 0-1).
  • It decides whether a neuron "fires" (for example a step or ReLU function).
  • It makes gradient-based learning such as back-propagation possible when it is differentiable.

Perceptron for AND gate

Net input: net=w1x1+w2x2+bnet = w_1x_1 + w_2x_2 + b. Output: y=1y = 1 if net≥0net \ge 0, else 00. Update rule: wi←wi+η(t−y)xiw_i \leftarrow w_i + \eta (t - y) x_i and b←b+η(t−y)b \leftarrow b + \eta (t - y).

Training with η=1\eta = 1, starting from w1=w2=b=0w_1=w_2=b=0. After a few epochs the weights settle at w1=1, w2=1, b=−2w_1=1,\ w_2=1,\ b=-2.

x1x_1x2x_2netnetyytarget
00-200
01-100
10-100
11011

All four patterns are classified correctly.

X = [(0,0),(0,1),(1,0),(1,1)]
T = [0,0,0,1]
w = [0, 0]; b = 0; lr = 1

def step(n):
    return 1 if n >= 0 else 0

for epoch in range(20):
    errors = 0
    for (x1, x2), t in zip(X, T):
        y = step(w[0]*x1 + w[1]*x2 + b)
        e = t - y
        if e != 0:
            w[0] += lr*e*x1
            w[1] += lr*e*x2
            b += lr*e
            errors += 1
    if errors == 0:
        break

print(w, b)
for (x1, x2) in X:
    print(x1, x2, step(w[0]*x1 + w[1]*x2 + b))

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 5 marks

Write short notes on:
a) Hopefield Network
b) Best First Search

Answer

a) Hopfield Network

A Hopfield network is a fully connected, recurrent neural network with a single layer of neurons that serves as an associative (content-addressable) memory.

  • Every neuron connects to every other neuron; there is no self-connection (wii=0w_{ii}=0) and weights are symmetric (wij=wjiw_{ij}=w_{ji}).
  • Neurons are binary (+1/-1 or 1/0) and update as xi=sign(∑jwijxj)x_i = \text{sign}\left(\sum_j w_{ij}x_j\right).
  • Patterns are stored with Hebbian learning: wij=∑pxipxjpw_{ij} = \sum_p x_i^p x_j^p.
  • It has an energy function that decreases with each update, so the network settles into a stable state (a stored pattern).
  • Uses: pattern recall from noisy or partial input, optimisation problems. Its capacity is limited to about 0.15N0.15N patterns for NN neurons.

b) Best First Search

Best-first search is an informed search that always expands the node that looks most promising according to an evaluation function f(n)f(n).

  • It uses a priority queue (OPEN list) ordered by f(n)f(n) and a CLOSED list of expanded nodes.
  • In greedy best-first search, f(n)=h(n)f(n)=h(n), the estimated cost to the goal.
  • Steps: put the start node on OPEN; pick the node with the lowest ff; if it is the goal, stop; otherwise expand it, add its children to OPEN, and repeat.
  • It is fast but neither optimal nor always complete. Time and space are O(bm)O(b^m) in the worst case.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 10 marks

Consider the following sentences:
a) Tashi only likes easy course
b) Science Courses are hard
c) All courses in Computer Application are easy
d) Artificial Intelligence is Computer Application Course Use resolution to ensure question what Course would Tasha like?

Answer

Step 1: Convert to First-Order Logic (FOL)

  1. ∀x (Likes(Tashi,x)→Easy(x))\forall x\ (Likes(Tashi,x) \rightarrow Easy(x)) (Tashi likes only easy courses)
  2. ∀x (Science(x)→Hard(x))\forall x\ (Science(x) \rightarrow Hard(x))
  3. ∀x (CompApp(x)→Easy(x))\forall x\ (CompApp(x) \rightarrow Easy(x))
  4. CompApp(AI)CompApp(AI)
  5. Common knowledge: nothing is both easy and hard: ∀x ¬(Easy(x)∧Hard(x))\forall x\ \neg(Easy(x) \wedge Hard(x)). Not needed for this proof.

Goal: find xx such that Likes(Tashi,x)Likes(Tashi,x). The system derives that Tashi would like AI.

Step 2: Convert to clause form

Facts 3 and 4 give Easy(AI)Easy(AI). To find what Tashi likes we need a rule of the form "if easy then Tashi likes". The statement "Tashi only likes easy courses" is read as "Tashi likes a course if it is easy". So clause 1 becomes ∀x (Easy(x)→Likes(Tashi,x))\forall x\ (Easy(x) \rightarrow Likes(Tashi,x)).

  • C1: ¬Easy(x)∨Likes(Tashi,x)\neg Easy(x) \vee Likes(Tashi,x)
  • C2: ¬Science(x)∨Hard(x)\neg Science(x) \vee Hard(x)
  • C3: ¬CompApp(x)∨Easy(x)\neg CompApp(x) \vee Easy(x)
  • C4: CompApp(AI)CompApp(AI)
  • Negated goal (with an answer literal): C5: ¬Likes(Tashi,y)∨Ans(y)\neg Likes(Tashi,y) \vee Ans(y)

Step 3: Resolution

  1. C3 and C4, with x/AIx/AI: Easy(AI)Easy(AI) (C6)
  2. C1 and C6, with x/AIx/AI: Likes(Tashi,AI)Likes(Tashi,AI) (C7)
  3. C5 and C7, with y/AIy/AI: Ans(AI)Ans(AI)

Conclusion: the answer literal is Ans(AI)Ans(AI), so Tashi would like Artificial Intelligence. She would not like Science courses, which are hard.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 10 marks

Explain A* algorithm with suitable example. Differentiate between informed and uniformed search.

Answer

A* algorithm

A* is an informed best-first search that finds the least-cost path from a start node to a goal using

f(n)=g(n)+h(n)f(n) = g(n) + h(n)

where g(n)g(n) is the actual cost from the start to nn and h(n)h(n) is the heuristic estimate from nn to the goal. If hh is admissible (h(n)≤h(n) \le true cost) A* is optimal. If hh is also consistent, A* is complete.

Algorithm

  1. Put the start node on OPEN with f=h(start)f = h(start).
  2. Pick the node nn on OPEN with the least ff. If OPEN is empty, fail.
  3. If nn is the goal, return the path.
  4. Move nn to CLOSED. For each successor mm, compute g(m)=g(n)+c(n,m)g(m)=g(n)+c(n,m) and f(m)=g(m)+h(m)f(m)=g(m)+h(m).
  5. If mm is new, add it to OPEN. If it exists with a higher gg, update it with the better path. Repeat from step 2.

Example. Graph edges: S-A (1), S-B (4), A-B (2), A-C (5), B-C (1), C-G (3), A-G (12). Heuristics: h(S)=7, h(A)=6, h(B)=2, h(C)=1, h(G)=0h(S)=7,\ h(A)=6,\ h(B)=2,\ h(C)=1,\ h(G)=0.

  • Expand S: A has f=1+6=7f=1+6=7, B has f=4+2=6f=4+2=6. Pick B.
  • Expand B (g=4g=4): C has f=5+1=6f=5+1=6. A stays at 7. Pick C.
  • Expand C (g=5g=5): G has f=8+0=8f=8+0=8. OPEN has A(7), G(8). Pick A.
  • Expand A (g=1g=1): B via A gives g=3g=3, so f=3+2=5f=3+2=5 is better than 6; update B. G via A gives g=13g=13, so f=13f=13, worse. Pick B (f=5f=5).
  • Expand B (g=3g=3): C via B gives g=4g=4, f=5f=5, better. Pick C, then G with g=4+3=7g=4+3=7, f=7f=7.

Optimal path: S -> A -> B -> C -> G with cost 1+2+1+3=71+2+1+3 = 7.

Informed vs uninformed search

BasisInformed (heuristic)Uninformed (blind)
KnowledgeUses problem-specific heuristic h(n)h(n)Uses only the problem definition
EfficiencyFaster, fewer nodes expandedSlow, explores many nodes
MemoryUsually lessOften large
OptimalityDepends on heuristicBFS/UCS are optimal
ExamplesA*, greedy best-first, IDA*BFS, DFS, uniform cost, iterative deepening

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 · 10 marks

Define universal and existential quantifiers. Explain Bayesian Belief Network in brief. Discuss how back propagation algorithm is used to train ANN?

Answer

Quantifiers

  • Universal quantifier ∀\forall: the statement holds for every object in the domain. ∀x (Student(x)→Studies(x))\forall x\ (Student(x) \rightarrow Studies(x)) means "all students study".
  • Existential quantifier ∃\exists: the statement holds for at least one object. ∃x (Student(x)∧Topper(x))\exists x\ (Student(x) \wedge Topper(x)) means "some student is a topper".
  • Relations: ¬∀x P≡∃x ¬P\neg\forall x\,P \equiv \exists x\,\neg P and ¬∃x P≡∀x ¬P\neg\exists x\,P \equiv \forall x\,\neg P.

Bayesian Belief Network (BBN)

A BBN is a directed acyclic graph in which nodes are random variables and edges show direct causal influence. Each node has a conditional probability table P(X∣Parents(X))P(X \mid Parents(X)).

  • The joint probability is P(x1,…,xn)=∏iP(xi∣parents(xi))P(x_1,\dots,x_n) = \prod_i P(x_i \mid parents(x_i)).
  • It allows compact representation and reasoning under uncertainty using Bayes' rule, P(A∣B)=P(B∣A)P(A)P(B)P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}.
  • Example: Burglary and Earthquake -> Alarm -> JohnCalls and MaryCalls. We can compute P(Burglary∣JohnCalls)P(Burglary \mid JohnCalls).

Back-propagation to train an ANN

Back-propagation trains a multilayer feed-forward network by gradient descent on the error.

  1. Initialise weights with small random values.
  2. Forward pass: compute each layer's output, netj=∑wijxi+bjnet_j=\sum w_{ij}x_i + b_j and oj=f(netj)o_j = f(net_j) (for example sigmoid).
  3. Error: E=12∑(tk−ok)2E = \frac12\sum (t_k - o_k)^2.
  4. Backward pass: for an output neuron, δk=(tk−ok) ok(1−ok)\delta_k = (t_k-o_k)\,o_k(1-o_k). For a hidden neuron, δj=oj(1−oj)∑kδkwjk\delta_j = o_j(1-o_j)\sum_k \delta_k w_{jk}.
  5. Weight update: Δwij=η δj oi\Delta w_{ij} = \eta\,\delta_j\,o_i and wij←wij+Δwijw_{ij} \leftarrow w_{ij} + \Delta w_{ij} (with an optional momentum term).
  6. Repeat for all training patterns (epochs) until the error falls below a threshold or a maximum number of epochs is reached.

The learning rate η\eta controls step size. Back-propagation can get stuck in local minima, which momentum and good initialisation reduce.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 5 marks

Define Artificial intelligence. Explain its components

Answer

Artificial Intelligence (AI) is the branch of computer science concerned with building machines and software that perform tasks normally requiring human intelligence, such as reasoning, learning, perception, problem solving and language understanding. It can be viewed as systems that think or act rationally, or like humans.

Components of AI

  1. Knowledge representation: storing facts and rules in forms the machine can use (logic, semantic nets, frames, rules).
  2. Reasoning and problem solving: searching and inferring to reach conclusions or plans.
  3. Machine learning: improving performance from data and experience.
  4. Natural language processing: understanding and generating human language.
  5. Perception (computer vision and speech recognition): interpreting sensory input such as images and sound.
  6. Robotics and planning: acting in the physical world and planning sequences of actions.
  7. Expert systems: reproducing the decisions of human experts in a domain.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 5 marks

Solve the given crypto arithmetic problems TWO+TWO =FOUR.

Answer

T W O+  T W OF O U R\begin{array}{r} T\,W\,O \\ +\;T\,W\,O \\ \hline F\,O\,U\,R \end{array}

Constraints: each letter is a distinct digit; T and F are non-zero. Since two 3-digit numbers sum to under 2000, F=1F=1.

Let c1,c2,c3c_1,c_2,c_3 be carries from the units, tens and hundreds columns:

  • O+O=R+10c1O+O = R + 10c_1
  • W+W+c1=U+10c2W+W+c_1 = U + 10c_2
  • T+T+c2=O+10c3T+T+c_2 = O + 10c_3
  • c3=F=1c_3 = F = 1

Solving

  1. F=1F=1, so c3=1c_3=1 and 2T+c2=O+102T + c_2 = O + 10. Hence T≥5T \ge 5.
  2. R is even (it equals 2O2O mod 10), so OO and RR follow from OO.
  3. Try T=7T=7, c2=0c_2=0: 14=O+1014 = O + 10, so O=4O=4. Then R=8R = 8, c1=0c_1=0.
  4. 2W+0=U+10c22W + 0 = U + 10c_2 with c2=0c_2=0 gives U=2WU = 2W. Choose W=3W=3, so U=6U=6.
  5. Digits: T=7, W=3, O=4, F=1, U=6, R=8, all distinct.

Solution

734+734=1468734 + 734 = 1468

(Other valid assignments exist, for example 765+765=1530765+765=1530 and 836+836=1672836+836=1672.)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 5 marks

What is an agent? List the different types of agents use in AI.

Answer

An agent is anything that perceives its environment through sensors and acts upon it through actuators. For example, a robot vacuum senses dirt with sensors and acts with its motors and brushes. A rational agent chooses the action that maximises its expected performance measure.

Types of agents

  1. Simple reflex agent: acts only on the current percept using condition-action rules. Example: a thermostat.
  2. Model-based reflex agent: keeps an internal state about the world to handle partially observable environments.
  3. Goal-based agent: chooses actions that achieve a stated goal, using search and planning.
  4. Utility-based agent: chooses among ways of reaching the goal by maximising a utility (degree of happiness) function.
  5. Learning agent: improves with experience. It has a learning element, critic, performance element and problem generator.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 5 marks

What is an expert system? Explain the stages of expert system development.

Answer

An expert system is a computer program that holds the knowledge of human experts in a specific domain and uses inference to give advice or solve problems at expert level. It consists of a knowledge base, an inference engine and a user interface. Examples are MYCIN (medical diagnosis) and DENDRAL (chemistry).

Stages of expert system development

  1. Identification: define the problem, its scope, the goals, the available experts and the resources.
  2. Conceptualisation: identify the key concepts, relations and the problem-solving strategy used by the experts.
  3. Formalisation: choose the knowledge representation (rules, frames) and the tool or shell, and map the concepts into it.
  4. Implementation: the knowledge engineer builds the knowledge base and inference engine as a working prototype.
  5. Testing: run the prototype on real cases with the expert, find errors and gaps, and refine the rules.
  6. Deployment and maintenance: install the system for users, train them and keep updating the knowledge base.

Development is iterative: the knowledge engineer repeatedly goes back to the expert to acquire and correct knowledge.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 5 marks

Explain breadth-first search and depth-first search with example.

Answer

Consider this tree: A is the root with children B and C; B has children D and E; C has child F.

Breadth-first search (BFS)

BFS expands the shallowest unexpanded node first. It uses a FIFO queue.

  • Order of visit: A, B, C, D, E, F.
  • Complete, and optimal when all step costs are equal.
  • Time and space are O(bd)O(b^d), where bb is the branching factor and dd the depth of the shallowest goal. Memory is its main weakness.

Depth-first search (DFS)

DFS expands the deepest unexpanded node first. It uses a LIFO stack (or recursion).

  • Order of visit: A, B, D, E, C, F.
  • Not complete in infinite or cyclic spaces and not optimal.
  • Time is O(bm)O(b^m) and space is only O(bm)O(bm), where mm is the maximum depth.
BasisBFSDFS
Data structureQueueStack
OptimalYes (equal costs)No
MemoryHighLow
Best forShortest pathDeep solutions, low memory

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 5 marks

Differentiate between inference and reasoning. Why is probabilistic reasoning important in AI?

Answer

Inference vs reasoning

BasisInferenceReasoning
MeaningDeriving a specific conclusion from given facts or premisesThe whole thought process of using knowledge to reach conclusions or decisions
ScopeA single step (for example modus ponens)A chain of inference steps, including strategy
OutputA new fact or conclusionA justified decision, plan or explanation
ExampleFrom "All men are mortal" and "Ram is a man", infer "Ram is mortal"Using many such steps to diagnose a disease

Why probabilistic reasoning is important in AI

  • The real world is uncertain, because sensors are noisy and information is incomplete or ambiguous. Pure logic (true/false) cannot express this.
  • It represents degrees of belief, for example P(Disease∣Symptom)P(Disease \mid Symptom).
  • It updates beliefs as evidence arrives using Bayes' rule, P(H∣E)=P(E∣H)P(H)P(E)P(H\mid E) = \frac{P(E\mid H)P(H)}{P(E)}.
  • It supports decision-making under uncertainty, such as in medical diagnosis, spam filtering, robotics and speech recognition.
  • Models such as Bayesian networks and HMMs handle uncertainty efficiently.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 5 marks

What is learning in neural networks? Explain types of neural network.

Answer

Learning in neural networks

Learning is the process by which a neural network adjusts its weights and biases in response to training data so that its outputs approach the desired outputs. A learning rule, such as the delta rule or back-propagation, repeatedly reduces an error measure until the network performs well on the task.

Learning paradigms:

  • Supervised: trained with input-target pairs.
  • Unsupervised: finds patterns in unlabelled data (for example self-organising maps).
  • Reinforcement: learns from rewards and penalties.

Types of neural networks

  1. Single-layer feed-forward (perceptron): input directly connected to output; can solve only linearly separable problems.
  2. Multilayer feed-forward (MLP): one or more hidden layers; trained with back-propagation; handles non-linear problems.
  3. Recurrent neural network (RNN): has feedback loops and memory; used for sequences, speech and text. Hopfield networks are recurrent.
  4. Convolutional neural network (CNN): uses convolution layers; used for images and video.
  5. Self-organising map (Kohonen): unsupervised clustering and dimensionality reduction.
  6. Radial basis function network: uses radial functions in the hidden layer; used for function approximation.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 10 marks

Compare A* algorithm and greedy algorithm to show how it uses heuristic cost to generate optimum solutions with an example.

Answer

Comparison of A* and greedy best-first search

Both are informed searches that use a heuristic h(n)h(n), the estimated cost from nn to the goal.

BasisGreedy best-firstA*
Evaluation functionf(n)=h(n)f(n)=h(n)f(n)=g(n)+h(n)f(n)=g(n)+h(n)
Uses cost so farNoYes (g(n)g(n))
OptimalNoYes, if hh is admissible
CompleteNo (can loop)Yes (finite graphs, positive costs)
SpeedFastSlower, but finds the best path
MemoryLowerHigher

How heuristic cost gives the optimum

A* adds the real cost g(n)g(n) already paid to the estimate h(n)h(n) still to go. If h(n)h(n) never overestimates (admissible), the first time the goal is selected from OPEN its ff equals the true cheapest cost, because every other path on OPEN has f≥f \ge that value. Greedy ignores gg, so it can follow a path that looks close to the goal but is expensive.

Example. Edges: S-A (2), S-B (5), A-G (10), B-G (3). Heuristics: h(S)=6, h(A)=1, h(B)=3, h(G)=0h(S)=6,\ h(A)=1,\ h(B)=3,\ h(G)=0. The true best cost is S-B-G = 8; the other path S-A-G costs 12.

  • Greedy: from S, A has h=1h=1 and B has h=3h=3, so it picks A, then G. Path S-A-G, cost 12 (not optimal).
  • A*: from S, A has f=2+1=3f=2+1=3, B has f=5+3=8f=5+3=8. It expands A and reaches G with f=12+0=12f=12+0=12. B (f=8f=8) is now the lowest, so it expands B and reaches G with f=8+0=8f=8+0=8. G with f=8f=8 is chosen before G with f=12f=12. Path S-B-G, cost 8 (optimal).

So A* uses the heuristic and the path cost together to guarantee the optimum, while greedy only reaches a goal quickly.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 10 marks

What do you mean by frame and semantic net? Convert the given FOPL in semantic net
a) A person is a mammal
b) Sandip is a person
c) Person has a nose
d) Sandip is in the Nepali team.
e) Uniform color of Sandip is red/blue.

Answer

Frame

A frame is a data structure for representing stereotyped knowledge about an object, event or situation. It is a collection of slots (attributes) with fillers (values), default values, and procedures (if-needed, if-added). Frames are organised in a hierarchy and inherit slots from parent frames through is-a links. Example:

  • Frame: Person, with slots: isa = Mammal, has = Nose.
  • Frame: Sandip, with slots: isa = Person, team = Nepali team, uniform colour = red/blue.

Semantic net

A semantic net is a graph for knowledge representation. Nodes represent objects or concepts and labelled arcs represent relations between them (for example is-a, has-part, instance). It supports inheritance: a node inherits the properties of its parents.

Conversion of the given statements

Nodes and arcs (node --relation--> node):

  • (a) Person --is-a--> Mammal
  • (b) Sandip --instance-of--> Person
  • (c) Person --has--> Nose
  • (d) Sandip --member-of--> Nepali team
  • (e) Sandip --uniform colour--> {Red, Blue}

Resulting net:

Mammal <--is-a-- Person --has--> Nose Person <--instance-of-- Sandip --member-of--> Nepali team Sandip --uniform colour--> Red / Blue

By inheritance, Sandip is a mammal and has a nose, even though those facts are not stored on the Sandip node.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 · 10 marks

Differentiate between forward and backward propagation networks, and describe the situations in which forward propagation networks are better and the situations in which backward propagation networks are better.

Answer

Forward propagation (feed-forward) networks

Signals travel in one direction only: input layer -> hidden layers -> output layer. There are no feedback loops, so the output depends only on the current input.

Backward propagation / feedback (recurrent) networks

Here the question is read as networks in which information also flows backward through feedback connections (recurrent networks), and the error is propagated back to train the weights. Outputs depend on the current input and on earlier states.

BasisForward (feed-forward)Backward / feedback (recurrent)
Information flowOne directionLoops; outputs feed back as inputs
MemoryNoneRetains past state
DynamicsStatic mappingDynamic, evolves over time
TrainingSimple (back-propagation)Harder (back-propagation through time)
StabilityAlways stableMay oscillate or diverge
ExamplesMLP, perceptron, CNNRNN, LSTM, Hopfield network

When feed-forward networks are better

  • Static pattern recognition and classification, for example handwritten digits and image classification.
  • Function approximation and regression where each input is independent.
  • When fast, stable and simple training and prediction are needed.
  • When there is limited computing power or data.

When feedback (backward) networks are better

  • Sequential or time-dependent data such as speech, text, time series and language modelling.
  • Tasks needing memory of earlier inputs, such as predicting the next word.
  • Associative memory and pattern completion from noisy input (Hopfield network).
  • Control and dynamic systems where the output depends on previous states.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

Questions from TU BCA 2021 Seventh Semester Advanced .NET Technology (TU board exam, 2021), TU BCA 2023 Seventh Semester Advanced .NET Technology (TU board exam, 2023), TU BCA 2025 Seventh Semester Advanced .NET Technology (TU board exam, 2025), TU BCA 2021 Seventh Semester Artificial Intelligence (TU board exam, 2021), TU BCA 2023 Seventh Semester Artificial Intelligence (TU board exam, 2023), TU BCA 2025 Seventh Semester Artificial Intelligence (TU board exam, 2025), TU BCA 2021 Seventh Semester Cloud Computing (TU board exam, 2021), TU BCA 2023 Seventh Semester Cloud Computing (TU board exam, 2023), TU BCA 2024 Seventh Semester Cloud Computing (TU board exam, 2024), TU BCA 2025 Seventh Semester Cloud Computing (TU board exam, 2025), TU BCA 2021 Seventh Semester Cyber Law and Professional Ethics (TU board exam, 2021), TU BCA 2023 Seventh Semester Cyber Law and Professional Ethics (TU board exam, 2023), TU BCA 2024 Seventh Semester Cyber Law and Professional Ethics (TU board exam, 2024), TU BCA 2025 Seventh Semester Cyber Law and Professional Ethics (TU board exam, 2025), TU BCA 2021 Seventh Semester Database Administration (TU board exam, 2021), TU BCA 2023 Seventh Semester Database Administration (TU board exam, 2023), TU BCA 2025 Seventh Semester Database Administration (TU board exam, 2025), TU BCA 2024 Seventh Semester E-Governance (TU board exam, 2024), TU BCA 2025 Seventh Semester E-Governance (TU board exam, 2025), TU BCA 2023 Seventh Semester Image Processing (TU board exam, 2023), TU BCA 2025 Seventh Semester Image Processing (TU board exam, 2025), TU BCA 2024 Seventh Semester Network Administration (TU board exam, 2024) and TU BCA 2025 Seventh Semester Network Administration (TU board exam, 2025). Answers are written for this site; check them against your class notes.