0% found this document useful (0 votes)
468 views22 pages

F.Y.M.Sc. (CS) Sem-I AI Pract Slip

This document outlines the questions and structure for a 3-hour M.Sc. Computer Science practical examination on Artificial Intelligence. It consists of 13 slip sheets, each with 3 questions related to programming concepts like classes, operators, lists, matrices, and more. Students are asked to write Python code to complete the tasks like adding circles based on radius, removing duplicates from lists, checking if matrices are symmetric, and other problems involving conditionals, loops and functions. The examination is worth a total of 35 marks.

Uploaded by

satishkokane.ydp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
468 views22 pages

F.Y.M.Sc. (CS) Sem-I AI Pract Slip

This document outlines the questions and structure for a 3-hour M.Sc. Computer Science practical examination on Artificial Intelligence. It consists of 13 slip sheets, each with 3 questions related to programming concepts like classes, operators, lists, matrices, and more. Students are asked to write Python code to complete the tasks like adding circles based on radius, removing duplicates from lists, checking if matrices are symmetric, and other problems involving conditionals, loops and functions. The examination is worth a total of 35 marks.

Uploaded by

satishkokane.ydp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 22

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) 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]

Q2) Write a Python program to accept n numbers in list and remove


duplicates from a list. [15 marks]

Q3) Viva [05 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

Q1 Write a python program to convert tuple of string values to tuple of


integer values. Original tuple values : ((‘333’,’33’),(‘1234’,’55’)) New tuple
value (333,33), (1234,55)) [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]

Q3) Viva [05 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]

Q2 Write a Python program to check if a nXn matrix is symmetric.

. [15 marks]

Q3) Viva [05 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

Q1) Program to check the number is Armstrong or not. [15 marks]

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]

Q3) Viva [05 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

Q1) Write a Python program to multiply two matrices. Write separate


functions to accept, display and multiply the matrices. [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]

Q3) Viva [05 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

Q1) Write a Python program to accept a matrix of size m x n and display


transpose of a given matrix. [15 marks]

Q2) Write Python program to find the maximum number from an array of n
integers. [15 marks]

Q3) Viva [05 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]

Q2 Write a menu driven program to perform the following operations on an


integer. Write separate functions. [15 marks]

1. Check if is even or odd

2. Check if it is prime

3. Exit

Q3) Viva [05 marks]

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

Q1) Write a Python program to check if a matrix is upper triangular.

[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

Q3) Viva [05 marks]

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]

Q3) Viva [05 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

Q1) Write a function in Python to reverse an integer. Use this in main.


[15 marks]

Q2) Write a Python program to accept n integers in an array and count the
frequency of each element of an array. [15 marks]

Q3) Viva [05 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]

Q3) Viva [05 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

Q1) Write a Python program to accept two matrices of size m x n and


calculate Addition of Matrices [15
marks]

Q2) Write a Python program to perform the following operations on an


integer till user chooses EXIT. 1. Check if it is even or odd. 2. Display its last
digit 3. Display all positive numbers below the number 4. EXIT [15
marks]

Q3) Viva [05 marks]

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

Q1) Write a Python program to calculate occurrences of a number in an array


of n integers. [15 marks]

Q2) Write a function in Python to calculate factorial of a number. Use this


function in main [15 marks]

Q3) Viva [05 marks]

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]

Q3) Viva [05 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]

Q3) Viva [05 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

Q1) Write a function in Python to check if a number is prime. Use this


function to display the first 20 prime numbers. [15
marks]

Q2) Write a Python program to add two matrices of order mXn [15 marks]

Q3) Viva [05 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

Q1) Write a Python program to display n lines of the following pattern.

[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]

Q3) Viva [05 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

Q1) Write a function in Python to calculate sum of digits of an integer. Use


this function in main [15 marks]

Q2) Write a Python program to accept n integers in an array and count the
frequency of each element of an array. [15 marks]

Q3) Viva [05 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

Q1 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]

Q2) Write a function in Python to reverse an integer. Use this in main


[15 marks]

Q3) Viva [05 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

Q1) Write a Python program to accept two matrices of size m x n and


calculate Addition of Matrices. [15
marks]

Q2) Write a menu driven program to perform the following operations on an


integer. Write separate functions. [15 marks]

1. Check if is even or odd

2. Check if it is prime

3. Exit

Q3) Viva [05 marks]

Slip
22

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy