Font size
WorksheetsONLINE QUIZ
Total questions: 15
Worksheet time: 12mins
1)When was AI first founded as an academic discipline?
1959
1955
1957
1956
2)Evaluate the following using python?
>>>x=0
>>>while x<=18:
x=x+3
>>>print(x)
15
18
21
22
3)What is part of a database that holds only one type of information?
REPORT
FIELD
RECORD
FILE
4)Find the suitable code that prints :
*
* *
print(" * * * ")
print(" *\n * * ")
print(" * ")
print(" * * ")
Both B&C
5)Number of Squares in chess Board?
64
128
32
204
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,b
b,c
a,c,d
a,d
7)Sum of first 10 even natural numbers?
110
100
130
120
8)When a stone and a leaf is left from a top of building into vacuum chamber which of them falls first?
Leaf
Stone
Both reach at same time
9)Father Of Artificial Intelligence?
Alan Turing
Charles Babbage
John McCarthy
None of the Above
10) A couple have 12 sons and each of his sons have one sister.
How many Members are there in family ?
13
15
24
26
11)Which of the following are applications of AI?
Computer vision
Natural Language Processing
Database Management System
Digital Assistants
12)def fun():
return[i for i in range (0,3,3)]
print(fun())
[0,1,2,3]
[0,1,2]
[0]
None of above
13)Which of the following is not linear Data Structure?
Array
Stack
Trees
Linked list
14)How is the 2nd element in an array accessed based on pointer notation?
*a+2
*(a+2)
*(*a+2)
&(a+2)
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();
}
}
3 2 1
1 2 3
3
1
