FY Pratical
FY Pratical
Q. 1) Create a program that asks the user to enter their name and their age. 10 M
Q. 2) Enter the number from the user and depending on whether the number is even 10 M
or odd,
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 1) Make a list and find out their max,min and insert one values 10 M
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 1) Take a dictionary and find out the value from their Keyword 10 M
Q. 2) Define a class and also define a function to find number in the list or not 10 M
Q. 3) Viva 6M
Q. 4) Journal 4M
FY BSC IT/PYTHON PROGRAMMING/PRACTICAL EXAM/SEM I/2024
SEAT NO. ______________ 30 MARKS
Q. 1) Take two list ,in list1 take five elements and in list2 take six elements and merge two list 10 M
and find out max,min value
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2) Take a if and else statement and find out number is divisible by 2 or with 3 20 M
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 1) write a program in python take a user defined function and find that element are present in 10 M
the list or not
Q. 2) Create a list of Car objects and write a function that takes this list and prints the details of 10 M
all cars.
Q. 3) Viva 6M
Q. 4) Journal 4M
FY BSC IT/PYTHON PROGRAMMING/PRACTICAL EXAM/SEM I/2024
SEAT NO. ______________ 30 MARKS
Q. 1) Define a function that takes two parameters and returns their sum. If only one parameter is 10 M
provided, return the value of that parameter doubled.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 1) Write a function called BSCIT that takes a name as a parameter and prints "Hello, 10 M
[name]!".
Q. 2) Create a function called add that takes two numbers as arguments and returns their sum. 10 M
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2)Write a function to compute the dot product of two vectors. Ensure the vectors are of the 10 M
same size.
Q. 3) Viva 6M
Q. 4) Journal 4M
FY BSC CS/PYTHON PROGRAMMING/SEM I/2024
SEAT NO. ______________ 30 MARKS
Q. 1) Write a Python function reverse_string(s) that takes a string as input and returns the 10 M
reversed string.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2) Write a Python function that takes a list of numbers as input and returns the 10 M
maximum and minimum numbers from the list.
Q. 3) Viva 6M
Q. 4) Journal 4M
FY BSC CS/PYTHON PROGRAMMING/PRACTICAL EXAM/SEM I/2024
SEAT NO. ______________ 30 MARKS
Q. 1) Write a Python program that contains a list of tuples. Each tuple contains a name and age 10 M
(e.g., [('John', 25), ('Jane', 22)]). Write a function to return the names of people
who are above the age of 23.
Q. 2) Write a Python function that takes a list of numbers as input and returns the 10 M
maximum and minimum numbers from the list.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2)Write a Python program to concatenate two tuples (1, 2, 3) and (4, 5, 6) and 10 M
repeat the resulting tuple twice.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2)Write a Python class Car with the following attributes: make, model, and year. Add a 10 M
method display_info() that prints the car's details.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 3) Viva 6M
Q. 4) Journal 4M
FY BSC DS/PYTHON PROGRAMMING/PRACTICAL EXAM/SEM I/2024
SEAT NO. ______________ 30 MARKS
Q.1)Write a class Book with a class method book_count() that returns the number of books 10 M
created. Each time a new book is created, the method should increment the count.
Q. 2)Given the variables name = "John" and age = 25, write a Python program that prints 10 M
the sentence: "My name is John and I am 25 years old" using string formatting.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2)Write a Python function called multiply that takes two numbers as input and returns their 10 M
product.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2).Write a Python program to slice the list list = [10, 20, 30, 40, 50] to get the sublist [20, 30, 10 M
40].
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2).Write a Python function called multiply that takes two numbers as input and returns 10 M
their product.
Q. 3) Viva 6M
Q. 4) Journal 4M
FY BSC DS/PYTHON PROGRAMMING/PRACTICAL EXAM/SEM I/2024
SEAT NO. ______________ 30 MARKS
Q.1)Write a class Book with a class method book_count() that returns the number of books 10 M
created. Each time a new book is created, the method should increment the count.
Q. 2)Given the variables name = "John" and age = 25, write a Python program that prints 10 M
the sentence: "My name is John and I am 25 years old" using string formatting.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2)Write a Python function called multiply that takes two numbers as input and returns their 10 M
product.
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2).Write a Python program to slice the list list = [10, 20, 30, 40, 50] to get the sublist [20, 30, 10 M
40].
Q. 3) Viva 6M
Q. 4) Journal 4M
Q. 2).Write a Python function called multiply that takes two numbers as input and returns 10 M
their product.
Q. 3) Viva 6M
Q. 4) Journal 4M