Practical Slip 22 - 2019 Pattern

Core Java:

A) Write a Java program to calculate factorial of a number using recursion.   [15 M]

B) Write a java program for the following: 

1. To create a file.

2. To rename a file.

3. To delete a file.

4. To display path of a file.. [25 M]


Python:

A) Write a python class to accept a string and number n from user and display n repetition of strings by overloading * operator.  [15 M]

B) Write a python script to implement bubble sort using list [25 M]

Post a Comment

0 Comments