wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ONLINE QUIZ

Total questions: 15

Worksheet time: 12mins

Name
Class
Date
1.

1)When was AI first founded as an academic discipline?

a)

1959

b)

1955

c)

1957

d)

1956

2.

2)Evaluate the following using python?

>>>x=0

>>>while x<=18:

       x=x+3

>>>print(x)                 

a)

15

b)

18

c)

21

d)

22

3.

3)What is part of a database that holds only one type of information?   

a)

REPORT

b)

FIELD

c)

RECORD

d)

FILE

4.

4)Find the suitable code that prints :

*

* *

a)

print(" * * * ")

b)

print(" *\n * * ")

c)

print(" * ")

print(" * * ")

d)

Both B&C

5.

5)Number of Squares in chess Board?

a)

64

b)

128

c)

32

d)

204

6.

6)What are the numbers least required numbers to create all numbers till 15?

a-1

b-3,5

c-8

d-2,4                           

a)

a,b

b)

b,c

c)

a,c,d

d)

a,d

7.

7)Sum of first 10 even natural numbers?

a)

110

b)

100

c)

130

d)

120

8.

8)When a stone and a leaf is left from a top of building into vacuum chamber which of them falls first? 

a)

Leaf

b)

Stone

c)

Both reach at same time

9.

9)Father Of Artificial Intelligence?

a)

Alan Turing

b)

Charles Babbage

c)

John McCarthy

d)

None of the Above

10.

10) A couple have 12 sons and each of his sons have one sister.

How many Members are there in family ?

a)

13

b)

15

c)

24

d)

26

11.

11)Which of the following are applications of AI?

a)

Computer vision

b)

Natural Language Processing

c)

Database Management System

d)

Digital Assistants

12.

12)def fun():

return[i for i in range (0,3,3)]

print(fun())

a)

[0,1,2,3]

b)

[0,1,2]

c)

[0]

d)

None of above

13.

13)Which of the following is not linear Data Structure?

a)

Array

b)

Stack

c)

Trees

d)

Linked list

14.

14)How is the 2nd element in an array accessed based on pointer notation?

a)

*a+2

b)

*(a+2)

c)

*(*a+2)

d)

&(a+2)

15.

15)what is the output of the following code snippet?

void solve(){

stack<int> s;

s.push(1);

s.push(2);

s.push(3);

for (int i =1;i<=3;i++){

count << s.top() << " ";

s.pop();

}

}

a)

3 2 1

b)

1 2 3

c)

3

d)

1