Wednesday, 8 March 2017

UGC Net Computer Science December 13 Paper 3 Page 2 Solved

UGC Net Computer Science December 13 Paper 3 Page 2 Solved

UGC Net Computer Science December 13 Paper 3 Page 2 Solved

11. Match the following style rules for reusability :
              List – I                                                              List – II
a. Keep methods coherent                                       i. Write a method to get the last element of a list
b. Keep methods small                                            ii. Maintain parallel structure when possible
c. Keep methods consistent                                   iii. Breaking a method into smaller parts
d. Provide uniform coverage                                 iv. Performs a single function or a group
                                                                                     of closely related  functions.

Tuesday, 7 March 2017

Check Your Mind

Sunday, 5 March 2017

Strong Number

Write a program to check strong number?

A strong number said to be if sum of factorial of each digit from n is equal to given number
i.e           145 = 1! + 4! + 5!
                       = 1 + 24 + 120

                      =145

/*   ***********************************
           Girfa : Student Help
           Strong Number Program

Perfect Number


 Program to check perfect number

A number said to perfect if sum of all its divisor is equal to given number

i.e

Image from wikipedia

/*   ***********************************
           Girfa : Student Help
           Magic Number Program