F.Y.M.Sc. (CS) Sem-I AI Pract Slip
F.Y.M.Sc. (CS) Sem-I AI Pract Slip
Q1) Create a class circle having members radius. Use operator overloading to
add the radius of two circle objects. Also display the area of circle. [15
marks]
Slip 1
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q2) Define class Rectangle which can be constructed by length and width.
The Rectangle class has method which can compute the area and perimeter..
[15 marks]
Slip 2
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q1 Define class circle which has method to can compute the area and
perimeter(use parameterized constructor). [15 marks]
. [15 marks]
Slip 3
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q2) Write a Python function to calculate the sum of digits of a number. Use
this function in main to accept a number and print sum of its digits. [15
marks]
Slip 4
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q2) Write a Python program to accept real number x and integer n and
calculate the sum of first n terms of the series x+ x/3!+ x/5!+ x/7!+… [15
marks]
Slip 5
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q2) Write Python program to find the maximum number from an array of n
integers. [15 marks]
Slip 6
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q1 Write a Python program to add two matrices of order mXn [15 marks]
2. Check if it is prime
3. Exit
Slip 7
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
[15 marks]
Q2) Accept two numbers and perform the following operations till the user
selects Exit. [15 marks]
i. Maximum
ii. Display all numbers between the two
iii. Sum and average
iv EXIT
Slip 8
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q1) Write Python program to subtract two matrices of order mXn [15
marks]
Q2) Write a Python program to accept n integers in an array and search for a
specific number [15 marks]
Slip 9
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q2) Write a Python program to accept n integers in an array and count the
frequency of each element of an array. [15 marks]
Slip
10
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q1) Write a Python function to check if a number is prime. Use this function
to display all prime numbers between 100 and 500. [15 marks]
Q2) Write a Python program to copy one matrix to another. Display the
copied matrix. [15
marks]
Slip
11
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Slip
12
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Slip
13
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Slip
14
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q1) Write a Python program to accept n integers in an array and display the
array in reverse order. [15 marks]
Q2) Define class Rectangle which can be constructed by length and width.
The Rectangle class has method which can compute the area and perimeter..
[15 marks]
Slip
15
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q1) Write a Python program to accept an array of n integers and find the
maximum and minimum [15 marks]
Q2) Write a Python program to accept real number x and integer n and
calculate the sum of first n terms of the series x+ x/3!+ x/5!+ x/7!+…
[15 marks]
Slip
16
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q2) Write a Python program to add two matrices of order mXn [15 marks]
Slip
17
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Slip
18
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
[15 marks]
1
23
456
Q2) Create a class circle having members radius. Use operator overloading to
add the radius of two circle objects. Also display the area of circle.
[15 marks]
Slip
19
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
Q2) Write a Python program to accept n integers in an array and count the
frequency of each element of an array. [15 marks]
Slip
20
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
[15 marks]
Slip
21
Savitribai Phule Pune University
M.Sc. Computer Science Practical Examination FEB. - 2022
Course Code CSDP114 Artificial Intelligence
(Practical Course based on CSDP114 Artificial Intelligence)
Duration: 3 Hours Maximum Marks: 35
2. Check if it is prime
3. Exit
Slip
22