Posts

Showing posts from June, 2020

PHP Basic Programs

Image
PHP Basic Programs PHP Basic Programs These are some of the Basic Programs written in PHP 1.Sum of elements of an array  2.Average of elements of array  3.Largest element in array  4.Smallest element in array  5.To convert digit to word  6.Function to swap two numbers  using call by reference  7.Function to return sum of digits  8.Function to print arrays in reverse order  9.Function to return reverse of digits entered by parameter  10.Function to check number is even or odd 11.Function to check number is prime or not 12.Function to find power of a number entered by parameter. 13.Function to check whether the given number is palindrome or not  14.Function to convert decimal number to binary number  1. Program to find sum of elements of an array <?php $a = array (1,2,3,4,5); $sum=0; $i=0; for($i=0;$i<(count($a));$i++) { $sum=$sum + $a[$i]; } echo ("Sum of elements is:" . $sum); ?> Output: Sum of elements is:15 2. P

CSAB Refund (CSAB Refund)

Image
CSAB Refund (CSAB Refund) After the Jossa counselling for IITs and NITs , students get one more chance to participate in the counselling for NIT s. This is CSAB counselling . With the help of CSAB counselling you become eligible to get a seat in NIT.  CSAB Refund (CSAB Refund)     CSAB Refund (CSAB Refund) Why is CSAB held ? This question arises a lot of times . So, actually after the Jossa counselling some of the NIT s have seats left . These seats are not filled at the time of counselling so they are left and hence need to be filled .  Making it more clear as the doubt always arises is : Can one get admissions to IIT s through CSAB ? No, you can not get admissions to IITs . But you can get admissions to NIT s , IIIT s , GFTI s . But, here we are going to discuss the most important question which arises in every students' mind before taking part in CSAB . This is : What about CSAB Refund? Does one actually get it ? Before starting to answer this question I would like to tell you t

Programs to Print Patterns in C or CPP ( Printing Patterns )

Image

Atomic Structure : Jee Mains Questions

Image
Atomic Structure : Jee Mains Questions with Answers Atomic Structure : Jee Mains Questions with Answers These are JEE Mains questions for chapter Atomic Structure from previous year papers . Atomic Structure : Jee Mains Questions   The de Broglie wavelength of a tennis ball of mass 60 g moving with a velocity of 10 metres per  second is approximately (Planck's constant, h = 6.63 x 10 -34 Js) (1) 10 -31 metre(2) 10 -16 metres (3) 10 -25 metres(4) 10 -33  metres                            (MAINS-2003) Ans :-- (4) In Bohr series of lines of hydrogen spectrum, the third line from the red end corresponds to which one of the following inter-orbit jumps of the electron for Bohr orbits in an atom of hydrogen 1.)      5→2               2.)  4→1                 3.)  2→5                        4.)  3→2                  (MAINS-2003) Ans :-- (1) The orbital angular momentum for an electron revolving in an orbit is given by √l(l+1) h/2π .This momentum for an s-electron will be given by 1.)