Professional Documents
Culture Documents
Ge5153 Problem Solving and Python Programming English
Ge5153 Problem Solving and Python Programming English
B.E / B. Tech (Full Time) END SEMESTER EXAMINATIONS – APR/ MAY 2021
NAME OF THE BRANCH
First Semester
GE5153 & PROBLEM SOLVING AND PYTHON PROGRAMMING
(Regulation 2019)
Time:3Hours AnswerALLQuestions Max. Marks100
PART- A (10 x 2 = 20Marks)
PART- B (5 x 13 = 65Marks)
(Restrict to a maximum of 2 subdivisions)
PART- C (1 x 15 = 15 Marks)
(Q. No 16 is Compulsory)
Q.No Questions Marks
16. i) Write a python program to count the number of strings where the string length 8
is 2 or more and the first and the last character are same from a given list of
strings.
Sample list: [‘abc’, ‘xyz’, ‘aba’, ‘1221’]
Expected result: 2
ii) Write a python program to check whether a given key already exists in a 7
dictionary.