Practical Slip 6 - 2019 Pattern

 Core Java:

A) Write a java program to accept a number from user, if it zero then throw user defined Exception “Number Is Zero”, otherwise calculate the sum of first and last digit of that number. (Use static keyword).  [15 M]

B) Write a java program to display transpose of a given matrix. [25 M]


Python:

A) Write python script using package to calculate area and volume of cube and sphere   [15 M]

B) Write a Python GUI program to create a label and change the label font style (font name, bold, size). Specify separate check button for each style.  [25 M]


Post a Comment

0 Comments