Practical Slip 8 - 2019 Pattern

Core Java:

A) Define an Interface Shape with abstract method area(). Write a java program to calculate an area of Circle and Sphere.(use final keyword)  [15 M]

B) Write a java program to display the files having extension .txt from a given directory.  [25 M]

Python:

A) Write a python script to find the repeated items of a tuple   [15 M]

B) Write a Python class which has two methods get_String and print_String. get_String accept a string from the user and print_String print the string in upper case. Further modify the program to reverse a string word by word and print it in lower case.  [25 M]


Post a Comment

0 Comments