a.
Write an algorithm and flowchart for retail shop billing
b. Write a python program to find the most frequent word in a file.
c. To print out all colours from color_list_1 that are not present in color_list_2.
Test Data :
color_list_1 = set(["White", "Black", "Red"])
color_list_2 = set(["Red", "Green"])
Expected Output :
{'Black', 'White'}
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Python program to find the distance between two points
b. Write a python script to find the largest number in a list using functions.
c. Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible
palindrome partitioning of s.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Python program to find swap two variables without using temporary variable
b. Write a python program to handle exceptions
c. Input a string from the user with consonents and vowels. With the python implementation a string is printed with
the vowels removed from the string.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a Python program to Count the number of Vowels in a String
b. Write Python programs to create a histogram
c. The user enters a string and a substring. You have to print the number of times that the substring occurs in the
given string. String traversal will take place from left to right, not from right to left.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Python program to find a year is leap year or not
b. Write a Python program to check whether a string is a palindrome or not
c. Given a string, find the length of the longest substring without repeating characters.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a & b. Create a dictionary of elements having words and their corresponding meanings. Develop a program that
offers user with the following options
1. Add a new word to the dictionary
2. Delete a word from the dictionary
3. Search for the meaning of word
4. Modify the meaning of word
5. Display all words in dictionary as sets
c. Given the participants' score sheet for your University Sports Day, you are required tofind the runner-up score. You
are given n scores. Store them in a list and find the scoreof the runner-up.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a python script to Calculate the GCD of two numbers using while loop
b. Write Python programs to create a line graph
c. To checks whether a specified value is contained within a group of values.
Test Data :
3 -> [1, 5, 8, 3] : True
-1 -> [1, 5, 8, 3] : False
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a Python program to sort the given List of serial number of books in a dept library in Ascending Order.
b. Python program to find swap two variables without using temporary variable
c. You are asked to ensure that the first and last names of people begin with a capital letter in their passports. For
example, alison heck should be capitalised correctly as Alison Heck.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a Python program to calculate the number of Words and Characters present in a String
b. Write an algorithm and flowchart for retail shop billing
c. Generate the following pattern as below
1
25
368
47 9 10
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write an algorithm, flowchart and pseudo code to calculate the electricity bill using the following information
b. Write a python script to find the largest number in a list using functions.
c. Write a program to input a string and return the string by moving all the occurrences of the letter ‘x’ contained in
the string to the end.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write python function to solve Towers of Hanoi problem
b. Python program to find the distance between two points
c. To find the heights of the top three buildings in descending order from eight given
buildings.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write an algorithm and flowchart for retail shop billing
b. Write a python program to copy a file
c. To find the indices of three numbers that sum to 0 in a given list of numbers.
Input: [12, -7, 3, -89, 14, 4, -78, -1, 2, 7]
Output:
[1, 2, 5]
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Python program to find a year is leap year or not
b. Write a Python program to check whether a string is a palindrome or not
c. Alice likes numbers which are even, and are a multiple of [Link] likes numbers which are odd, and are a multiple
of [Link], Bob, and Charlie find a number A. If Alice likes A, Alice takes home the number. If Bob likes A, Bob
takes home the number. If both Alice and Bob don't like the number, Charlie takes it home. Given A, find who
takes it home
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a & b. Create a dictionary of elements having words and their corresponding meanings. Develop a program that
offers user with the following options
1. Add a new word to the dictionary
2. Delete a word from the dictionary
3. Search for the meaning of word
4. Modify the meaning of word
5. Display all words in dictionary as sets
c. Check Whether or Not the Number is a Strong Number in Python Language. A Number that is equal to the sum
of the factorial of it's individual digits is known asStrong Number.
Input : 145
Output : It's a Strong Number.
Explanation : Number = 145
145 = 1! + 4! + 5!
145 1 + 24 + 120
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a python script to print the given below pattern
1
12
123
1234
1 2345
b. Python program to find the distance between two points
c. Write a Python program to create a new dictionary by extracting the mentioned keysfrom the below dictionary.
Given dictionary:
sample_dict = {“name": "Kelly","age": 25,"salary": 8000,"city": "New york"}
# Keys to extract
keys = ["name", "salary"]
Expected output:
{'name': 'Kelly', 'salary': 8000}
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a Python program to calculate the number of Words and Characters present in a String
b. Write an algorithm and flowchart for retail shop billing
c. Generate the following pattern as below
1
23
456
78 9 10
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a python script to Calculate the GCD of two numbers using while loop
b. Write Python programs to create a line graph
c. To print the following string in a specific format (see the output).
Sample String : "Twinkle, twinkle, little star, How I wonder what you are! Up above theworld so high, Like a
diamond in the sky. Twinkle, twinkle, little star, How I wonderwhat you are"
Output :
Twinkle, twinkle, little star,
How I wonder what you are!
Up above the world so high,
Like a diamond in the sky.
Twinkle, twinkle, little star,
How I wonder what you are
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a Python program to check whether a string is a palindrome or not
b. Write a Python program to check if the given List of serial number of books in a dept library is in Ascending
Order or Not.
c. To check whether three given lengths (integers) of three sides form a right triangle. Print"Yes" if the given
sides form a right triangle otherwise print "No".
Input:
Integers separated by a single space.
1 <= length of the side <= 1,000
Input three integers(sides of a triangle)
8 67
No
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a Python program to Count the number of Vowels in a String
b. Python program to find swap two variables without using temporary variable
c. Given the participants' score sheet for your University Sports Day, you are required to find the runner-up
score. You are given scores. Store them in a list and find the score of the runner-up.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write an algorithm, flowchart and pseudo code to calculate the electricity bill using the following information
b. Write a python program to handle exceptions
c. To find a substring in a given string that contains a vowel between two consonants.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write python function to solve Towers of Hanoi problem
b. Write an algorithm and flowchart for retail shop billing
c. You are given a string. Split the string on a "" (space) delimiter and join using a - hyphen.
Sample Input
this is a string
Sample Output
this-is-a-string
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a python script to Calculate the GCD of two numbers using while loop
b. Write Python programs to create a histogram
c. Anirudh is attending an astronomy lecture. His professor who is very strict asks students to write a program to
print the trapezium pattern using stars and dots as shown below . Since Anirudh is not good in astronomy can
you help him?
Sample Input:
N=3
Output:
**.**
*...*
.....
*...*
**.**
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Python program to find a year is leap year or not
b. Write a Python program to check whether a string is a palindrome or not
c. Given an unsorted integer array, find the smallest missing positive integer
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a & b. Create a dictionary of elements having words and their corresponding meanings. Develop a program that
offers user with the following options
1. Add a new word to the dictionary
2. Delete a word from the dictionary
3. Search for the meaning of word
4. Modify the meaning of word
5. Display all words in dictionary as sets
c. To check whether the given strings are palindromes or not. Return True otherwise False.
Input:['palindrome', 'madamimadam', '', 'foo', 'eyes']
Output:[False, True, True, False, False]
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a python script to Calculate the GCD of two numbers using while loop
b. Write Python programs to create a line graph
c. To checks whether a specified value is contained within a group of values.
Test Data :
3 -> [1, 5, 8, 3] : True
-1 -> [1, 5, 8, 3] : False
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Python program to find swap two variables without using temporary variable
b. Write a python program to handle exceptions
c. Input a string from the user with consonants and vowels. With the python implementation a string is printed with
the vowels removed from the string.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a Python program to Count the number of Vowels in a String
b. Write Python programs to create a histogram
c. The user enters a string and a substring. You have to print the number of times that the substring occurs in the
given string. String traversal will take place from left to right, not from right to left.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write a Python program to calculate the number of Words and Characters present in a String
b. Write an algorithm and flowchart for retail shop billing
c. You are asked to ensure that the first and last names of people begin with a capital letter in their passports. For
example, alison heck should be capitalised correctly as Alison Heck.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write python function to solve Towers of Hanoi problem
b. Python program to find the distance between two points
c. To find the heights of the top three buildings in descending order from eight given
buildings.
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)
a. Write Python programs to create a line graph
b. Python program to find swap two variables without using temporary variable
c. Kevin and Stuart want to play the ‘The Minion Game’. Both players have to make substrings using the
letters of the string S. Stuart has to make words starting with consonants. Kevin has to make words
starting with vowels. The game ends when both players have made all possible substrings
Questions a & b Question C
Aim Algorithm/ Program Output Viva Problem Technical Output & Total
(5) Flowchart (20) (15) (10) Understanding & Competency Result (100)
(10) Solving skills (15) (15) (10)