computer-nec-license
  • NEC-Computer
  • 1. Concept of Basic Electrical and Electronics Engineering
    • 1.1 Basic Concepts
    • 1.2 Network Theorems
    • 1.3 Alternating Current Fundamentals
    • 1.4 Semiconductor Device
    • 1.5 Signal Generator
    • 1.6 Amplifiers
    • MCQs
      • MCQs On Basic Electrical
        • set-1
        • set-2
      • MCQs On Basic Electronics
        • set-1
        • set-2
  • 2. Digital Logic and Microprocessor
    • 2.1 Digital Logic
    • 2.2 Combinational & Arithmetic Circuit
    • 2.3 Sequential Logic Circuits
    • 2.4 Microprocessor
    • 2.5 Microprocessor System
    • 2.6 Interrupt Operations
    • MCQs
      • MCQs On Digital Logic
        • set-1
        • set-2
        • set-3
        • set-4
        • set-5
        • set-6
        • set-7
        • set-8
        • set-9
        • set-10
        • set-11
        • set-12
      • MCQs On Microprocessor
        • set-1
        • set-2
        • set-3
        • set-4
        • set-5
        • set-6
        • set-7
        • set-8
        • set-9
  • 3. Programming Language and Its Applications
    • 3.1 Introduction to C Programming
    • 3.2 Pointers, Structures, and Data Files
    • 3.3 C++ Language Constructs with Objects and Classes
    • 3.4 Features of Object-Oriented Programming
    • 3.5 Pure Virtual Functions and File Handling
    • 3.6 Generic Programming and Exception Handling
    • MCQs
      • set-1
      • set-2
      • set-3
      • set-4
      • set-5
  • 4. Computer Organization and Embedded System
    • 4.1 Control and CPU
    • 4.2 Computer Arithmetic and Memory System
    • 4.3 I/O Organization and Multiprocessor
    • 4.4 Embedded System Design
    • 4.5 Real-Time Operating and Control Systems
    • 4.6 Hardware Description Language (VHDL) and IC Technology
    • MCQs
      • set-1
      • set-2
      • set-3
      • set-4
      • set-5
      • set-6
      • set-7
      • set-8
      • set-9
      • set-10
      • set-11
  • 5. Concept of Computer Network and Network Security System
    • 5.1 Introduction to Computer Networks
    • 5.2 Data Link Layer
    • 5.3 Network Layer
    • 5.4 Transport Layer
    • 5.5 Application Layer
    • 5.6 Network Security
    • MCQs
      • Basic Networking
        • set-1
        • set-2
      • Advanced Networking
        • set-1
        • set-2
        • set-3
        • set-4
        • set-5
        • set-6
  • 6. Theory of Computation and Computer Graphics
    • 6.1 Introduction to Finite Automata
    • 6.2 Introduction to Context-Free Languages (CFL)
    • 6.3 Turing Machines (TM)
    • 6.4 Introduction to Computer Graphics
    • 6.5 Two-Dimensional Transformation
    • 6.6 Three-Dimensional Transformation
    • MCQs
      • MCQs on Theory of Computation
        • set-1
        • set-2
        • set-3
      • MCQs On Computer Graphics
        • set-1
        • set-2
        • set-3
        • set-4
        • set-5
        • set-6
  • 7. Data Structures and Algorithm, Database System and Operating System
    • 7.1 Introduction to Data Structures, Lists, Linked Lists, and Trees
    • 7.2 Sorting, Searching, Hashing and Graphs
    • 7.3 Introduction to Data Models, Normalization, and SQL
    • 7.4 Transaction Processing, Concurrency Control, and Crash Recovery
    • 7.5 Introduction to Operating System and Process Management
    • 7.6 Memory Management, File Systems, and System Administration
    • MCQs
      • MCQs ON DSA
        • set-1
        • set-2
        • set-3
        • set-4
        • set-5
        • set-6
      • MCQs On DBMS
        • set-1
        • set-2
      • MCQs On Operating System
        • set-1
        • set-2
        • set-3
        • set-4
        • set-5
        • set-6
        • set-7
        • set-8
        • set-9
        • set-10
        • set-11
        • set-12
  • 8. Software Engineering and Object-Oriented Analysis & Design
    • 8.1 Software Process and Requirements
    • 8.2 Software Design
    • 8.3 Software Testing, Cost Estimation, Quality Management, and Configuration Management
    • 8.4 Object-Oriented Fundamentals and Analysis
    • 8.5 Object-Oriented Design
    • 8.6 Object-Oriented Design Implementation
    • MCQs
      • set-1
      • set-2
      • set-3
      • set-4
      • set-5
      • set-6
      • set-7
      • set-8
      • set-9
  • 9. Artificial Intelligence and Neural Networks
    • 9.1 Introduction to AI and Intelligent Agents
    • 9.2 Problem Solving and Searching Techniques
    • 9.3 Knowledge Representation
    • 9.4 Expert System and Natural Language Processing
    • 9.5 Machine Learning
    • 9.6 Neural Networks
    • MCQs
      • set-1
      • set-2
      • set-3
      • set-4
      • set-5
      • set-6
      • set-7
      • set-8
      • set-9
  • 10. Project Planning, Design and Implementation
    • 10.1 Engineering Drawings and Its Concepts
    • 10.2 Engineering Economics
    • 10.3 Project Planning and Scheduling
    • 10.4 Project Management
    • 10.5 Engineering Professional Practice
    • 10.6 Engineering Regulatory Body
    • MCQs
      • MCQs On Engineering Drawing
        • set-1
        • set-2
      • MCQs On Engineering Economics
      • MCQs On Project Planning & Scheduling
      • MCQs On Project Mangement
      • MCQs On Engineering Professional Practice
      • MCQs On Engineering Regulatory Body
  • Questions Sets
    • Set 1 (Chaitra, 2080)
      • Short Questions (60*1=60 Marks)
      • Long Questions (20*2=40 Marks)
    • Set 2 (Aasadh, 2081)
      • Short Questions (60*1=60 Marks)
      • Long Questions (20*2=40 Marks)
    • Set 3 (Asojh, 2080)
      • Short Questions (60*1=60 Marks)
      • Long Questions (20*2=40 Marks)
    • Model Set - Computer Engineering By NEC
      • Short Questions (60*1=60 Marks)
      • Long Questions (20*2=40 Marks)
    • Model Set - Software Engineering By NEC
      • Short Questions (60*1=60 Marks)
      • Long Questions (20*2=40 Marks)
  • Tips & Tricks
Powered by GitBook
On this page
  1. 9. Artificial Intelligence and Neural Networks
  2. MCQs

set-3

134. ______ is similar to Hill climbing searching but with revising or backtracking.

  1. Depth first search

  2. Breadth first search

  3. Best first search

  4. Binary Search

Show me the answer

Answer: 3. Best first search

Explanation:

  • Best-First Search is similar to Hill Climbing but allows for revising or backtracking.

  • It uses a heuristic function to guide the search.

135. The best first search uses the concept of a ______ and heuristic search.

  1. Circular queue

  2. Linear queue

  3. Priority queue

  4. Stack

Show me the answer

Answer: 3. Priority queue

Explanation:

  • Best-First Search uses a priority queue to prioritize nodes based on a heuristic function.

  • This ensures that the most promising nodes are explored first.

136. ______ is the time and ______ is the space complexity of Best first search. Where b= branching factor and d= depth.

  1. O(bd−1)O(b^{d-1})O(bd−1), O(bd−1)O(b^{d-1})O(bd−1)

  2. O(bd+1)O(b^{d+1})O(bd+1), O(bd+1)O(b^{d+1})O(bd+1)

  3. O(bd−1)O(b^{d-1})O(bd−1), O(bd+1)O(b^{d+1})O(bd+1)

  4. O(bd2)O(bd^2)O(bd2), O(bd)O(bd)O(bd)

Show me the answer

Answer: 1. O(bd−1)O(b^{d-1})O(bd−1), O(bd−1)O(b^{d-1})O(bd−1)

Explanation:

  • The time complexity of Best-First Search is O(bd−1)O(b^{d-1})O(bd−1).

  • The space complexity is also O(bd−1)O(b^{d-1})O(bd−1) because it stores nodes in the priority queue.

137. Greedy best first search evaluates nodes by using only ______

  1. Linear function

  2. Non-linear function

  3. Friend function

  4. Heuristic function

Show me the answer

Answer: 4. Heuristic function

Explanation:

  • Greedy Best-First Search evaluates nodes using only a heuristic function.

  • This function estimates the cost to reach the goal from the current node.

138. Why greedy best first search is not complete?

  1. Because it can override the heuristic function

  2. Because it can traverse to outer loop

  3. Because it can get stuck in loop

  4. None of the above

Show me the answer

Answer: 3. Because it can get stuck in loop

Explanation:

  • Greedy Best-First Search is not complete because it can get stuck in loops.

  • It does not guarantee finding a solution if one exists.

139. ______ is the time and ______ is the space complexity of Greedy Best first search.

  1. O(bm)O(bm)O(bm), O(bm)O(b^{m})O(bm)

  2. O(bm)O(b^{m})O(bm), O(bm)O(bm)O(bm)

  3. O(bm+1)O(b^{m+1})O(bm+1), O(bm+1)O(b^{m+1})O(bm+1)

  4. O(bm)O(b^{m})O(bm), O(bm)O(b^{m})O(bm)

Show me the answer

Answer: 4. O(bm)O(b^{m})O(bm), O(bm)O(b^{m})O(bm)

Explanation:

  • The time complexity of Greedy Best-First Search is O(bm)O(b^{m})O(bm).

  • The space complexity is also O(bm)O(b^{m})O(bm) because it stores nodes in the priority queue.

140. The main idea of A* searching is to a ______

  1. Do not expand expensive path

  2. Expand expensive path

  3. All path cost are same in searching

  4. None of above

Show me the answer

Answer: 1. Do not expand expensive path

Explanation:

  • The main idea of A Search* is to avoid expanding expensive paths by using a heuristic function.

  • It combines the cost to reach the current node and the estimated cost to reach the goal.

141. Evaluation function is ______ for A* searching, where, g(n) - cost so far to reach n h(n) - estimated cost to goal from n f(n) - estimated total cost of path through n to goal.

  1. f(n)=g(n)/h(n)f(n) = g(n) / h(n)f(n)=g(n)/h(n)

  2. f(n)=g(n)−h(n)f(n) = g(n) - h(n)f(n)=g(n)−h(n)

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

  4. f(n)=g(n)×h(n)f(n) = g(n) \times h(n)f(n)=g(n)×h(n)

Show me the answer

Answer: 3. f(n)=g(n)+h(n)f(n) = g(n) + h(n)f(n)=g(n)+h(n)

Explanation:

  • The evaluation function in A* Search is f(n)=g(n)+h(n)f(n) = g(n) + h(n)f(n)=g(n)+h(n).

  • Here, g(n)g(n)g(n) is the cost to reach node nnn, and h(n)h(n)h(n) is the estimated cost to reach the goal from nnn.

142. A* search uses an ______ heuristic; that is, h(n) < h*(n) where h*(n) is the true cost from ‘n’.

  1. Non- admissible

  2. Admissible

  3. Anchoring

  4. Constant

Show me the answer

Answer: 2. Admissible

Explanation:

  • A Search* uses an admissible heuristic, meaning h(n)<h∗(n)h(n) < h^*(n)h(n)<h∗(n).

  • This ensures that the heuristic never overestimates the true cost to reach the goal.

143. When should A* searching terminate?

  1. After we enqueue a goal

  2. After we dequeue a goal

  3. No enqueue and dequeue

  4. None of above

Show me the answer

Answer: 2. After we dequeue a goal

Explanation:

  • A Search* terminates when a goal node is dequeued from the priority queue.

  • This ensures that the optimal path has been found.

144. A* search theorem states that:

  1. If h(n) is not admissible, A* using TREE-SEARCH is optimal.

  2. If h(n) is admissible, A* using TREE-SEARCH is optimal.

  3. If h(n) is admissible, A* using TREE-SEARCH is not optimal.

  4. If h(n) is not admissible, A* using TREE-SEARCH is also not optimal.

Show me the answer

Answer: 2. If h(n) is admissible, A* using TREE-SEARCH is optimal.

Explanation:

  • The A Search Theorem* states that if the heuristic h(n)h(n)h(n) is admissible, A* using TREE-SEARCH is optimal.

  • This means it will find the least-cost path to the goal.

145. ______ is the time and ______ is the space complexity of A* Search. Where b= branching factor and d= depth

  1. O(bd+1)O(b^{d+1})O(bd+1), O(bb)O(b^b)O(bb)

  2. O(bb)O(b^b)O(bb), O(bb)O(b^b)O(bb)

  3. O(bd+1)O(b^{d+1})O(bd+1), O(bd+1)O(b^{d+1})O(bd+1)

  4. O(bb)O(b^b)O(bb), O(bd+1)O(b^{d+1})O(bd+1)

Show me the answer

Answer: 2. O(bb)O(b^b)O(bb), O(bb)O(b^b)O(bb)

Explanation:

  • The time complexity of A* Search is O(bb)O(b^b)O(bb).

  • The space complexity is also O(bb)O(b^b)O(bb) because it stores nodes in the priority queue.

146. A* is an admissible algorithm that ______ optimal solution.

  1. Does not guarantee

  2. Guarantee

  3. Partially guarantee

  4. None of above

Show me the answer

Answer: 2. Guarantee

Explanation:

  • A Search* is an admissible algorithm that guarantees an optimal solution.

  • It finds the least-cost path to the goal if the heuristic is admissible.

147. The main application of A* Search Algorithm is: Path/ Routing problems can be solved by using A* Searching algorithm.

  1. True

  2. False

  3. Partially True

  4. None of above

Show me the answer

Answer: 1. True

Explanation:

  • A Search* is widely used for solving pathfinding and routing problems.

  • It is efficient and guarantees the optimal path if the heuristic is admissible.

148. A* using Tree search is optimal if heuristic is ______.

  1. Constant

  2. Admissible

  3. Anchoring

  4. Representative

Show me the answer

Answer: 2. Admissible

Explanation:

  • A Search* using Tree Search is optimal if the heuristic is admissible.

  • This means the heuristic never overestimates the true cost to reach the goal.

149. A* using Graph search is optimal if heuristic is ______.

  1. Constant

  2. Admissible

  3. Representative

  4. Anchoring

Show me the answer

Answer: 2. Admissible

Explanation:

  • A Search* using Graph Search is optimal if the heuristic is admissible.

  • This ensures that the algorithm finds the least-cost path to the goal.

150. ______ is sometimes called greedy local search because it grabs a good neighbor state without thinking ahead about where to go next.

  1. Mini Max

  2. Alpha beta pruning

  3. Hill Climbing

  4. BFS

Show me the answer

Answer: 3. Hill Climbing

Explanation:

  • Hill Climbing is sometimes called greedy local search because it selects the best neighbor state without considering future steps.

  • It focuses on immediate improvements rather than long-term planning.

Previousset-2Nextset-4

Last updated 4 months ago