Practical Slip 24 - 2019 Pattern

Core Java:

A) Write a java program to count number of digits, spaces and characters from a file.   [15 M]

B) Create a package TYBBACA with two classes as class Student (Rno, SName, Per) with a method disp() to display details of N Students and class Teacher (TID, TName, Subject) with a method disp() to display the details of teacher who is teaching Java subject. (Make use of finalize() method and array of Object) [25 M]


Python:

A) Write a Python Program to Check if given number is prime or not. Also find factorial of the given no using user defined function. [15 M]

B) Write Python GUI program which accepts a number n to displays each digit of number in words. [25 M]


Post a Comment

0 Comments