Practical Slip 16 - 2019 Pattern

Core Java:

A) Write a java program to calculate sum of digits of a given number using recursion.  [15 M]

B) Write a java program to accept n employee names from user. Sort them in ascending order and Display them.(Use array of object and Static keyword)  [25 M]


Python:

A) Write a python script to create a class Rectangle with data member’s length, width and methods area, perimeter which can compute the area and perimeter of rectangle.  [15 M]

B) Write Python GUI program to add items in listbox widget and to print and delete the selected items from listbox on button click. Provide three separate buttons to add, print and delete. [25 M]

Post a Comment

0 Comments