Practical Slip 27 - 2019 Pattern

Core Java:

A) Write a java program to accept a number from user, If it is greater than 1000 then throw user defined exception “Number is out of Range” otherwise display the factors of that number. (Use static keyword) [15 M]

B) Write a java program to accept directory name in TextField and display list of files and subdirectories in List Control from that directory by clicking on Button.    [25 M]


Python:

A) Write a Python program to unzip a list of tuples into individual lists. [15 M]

B) Write Python GUI program to accept a decimal number and convert and display it to binary, octal and hexadecimal number. [25 M]


Post a Comment

0 Comments