Practical Slip 25 - 2019 Pattern

Core Java:

A) Write a java program to check whether given string is palindrome or not.   [15 M]

B) Create a package named Series having three different classes to print series:

i. Fibonacci series

ii. Cube of numbers

iii. Square of numbers

Write a java program to generate ‘n’ terms of the above series.  [25 M]


Python:

A) Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters. 

Sample String : 'The quick Brow Fox' 

Expected Output : 

No. of Upper case characters : 3 

No. of Lower case Characters : 12 [15 M]


B) Write a Python script to Create a Class which Performs Basic Calculator Operations. [25 M]


Post a Comment

0 Comments