Practical Slip 17 - 2019 Pattern

Core Java:

A) Write a java Program to accept ‘n’ no’s through command line and store only Armstrong no’s into the array and display that array.  [15 M]

B) Define a class Product (pid, pname, price, qty). Write a function to accept the product details, display it and calculate total amount. (use array of Objects)  [25 M]


Python:

A) Write Python GUI program that takes input string and change letter to upper case when a button is pressed.  [15 M]

B) Define a class Date (Day, Month, Year) with functions to accept and display it. Accept date from user. Throw user defined exception “invalid Date Exception” if the date is invalid. [25 M]

Post a Comment

0 Comments