Search Header Logo

ARTIFICIAL INTELLIGENCE

Authored by Divya B_7698

Computers

University

Used 1+ times

ARTIFICIAL INTELLIGENCE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Prolog query?

?- append([1, 2], [3, 4], X).

X = [[1, 2], [3, 4]]

X = [1, 2, 3, 4]

X = [[1, 2, 3, 4]]

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations is used to find the length of a list in Prolog?

append/3

length/2

member/2

reverse/2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Prolog operation checks if an element is present in a list?

find/2

search/2

member/2

exists/2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Lisp, which function is used to join two lists together?

join

append

combine

merge

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the map function in AI?

To store key-value pairs

To apply a function to each element in a list

To find the shortest path between nodes

To remove duplicates from a dataset

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In AI, semantic mapping is used in

Machine Learning

Robotics and Navigation

Natural Language Processing

Computer Vision

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of an accumulator in AI algorithms?

To store intermediate results during recursion

To delete elements from a list

To reverse a list without recursion

To compare two lists

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers