Friday, January 30, 2015

Programming using array

(a)WAP to Enter 15 numbers and display it.

REM

CLS

DIM N(15)

FOR I=1 to 15

INPUT"Enter the numbers";N(I)

NEXT I

PRINT"The entered numbers are"

FOR J= 1 TO 15

PRINT N(J);

NEXT J

END


(b)Enter 15 numbers and display it in opposite form.

REM

CLS

DIM N(15)

FOR I= 1 to 15I

NPUT"Enter the numbers";N(I)

NEXT I

PRINT"The entered numbers in opposite form are"

FOR J= 15 to 1 STEP -1

PRINT N(J);

NEXT J

END


(c)Enter 20 numbers and display the even numbers.

REM

CLS

DIM N(20)

FOR I=1 to 20

INPUT"Enter the numbers";N(I)

NEXT I

PRINT"The even numbers are"

FOR J= 1 TO 20

IF N(J) MOD 2=0 THEN

PRINT N(J)

END IF

NEXT J

END


(d)Enter 20 numbers and display the odd numbers.

REM

CLS

DIM N(20)

FOR I=1 to 20

INPUT"Enter the numbers";N(I)

NEXT I

PRINT"The odd numbers are"

FOR J= 1 TO 20

IF N(J) MOD 2<>0 THEN

PRINT N(J)

END IF

NEXT J

END


(e)Enter 25 numbers and display sum of numbers.

REM

CLS

DIM N(25)

FOR I=1 TO 25

INPUT"Enter the numbers";N(I)

S=S+N(I)

NEXT I

PRINT"The Sum of 25 numbers are";s

END


(f)Enter 25 numbers and display sum of even numbers.

REM

CLS

DIM N(25)

FOR I=1 TO 25

INPUT"Enter the numbers";N(I)

IF N(I) MOD 2=0 THEN S=S+N(I)

NEXT I

PRINT"The Sum of even numbers are";s

END IF

END


(g)Enter 25 numbers and display sum of odd numbers.

REM

CLS

DIM N(25)

FOR I=1 TO 25I

NPUT"Enter the numbers";N(I)I

F N(I) MOD 2<>0 THEN S=S+N(I)

NEXT I

PRINT"The Sum of odd numbers are";s

END IF

END


(h)Enter 30 numbers and display all the numbers as well as it's sum.

REM

CLS

DIM N(30)

FOR I=1 TO 30

INPUT"Enter the numbers";N(I)

NEXT I

PRINT"the entered numbers are"

FOR J=1 TO 30

PRINT N(J)

S=S+N(J)

NEXT J

PRINT"Sum of 30 numbers =";s

END


(i)Enter 30 numbers and display all the odd numbers as well as it's sum.

REM

CLS

DIM N(30)

FOR I=1 TO 30

INPUT"Enter the numbers";N(I)

NEXT I

PRINT"the odd numbers are"

FOR J=1 TO 30I

F N(J) MOD 2<>0 THENPRINT N(J),

S=S+N(J)

END IF

NEXT J

PRINT"Sum of odd numbers =";s

END


(j)Enter 30 numbers and display all the even numbers as well as it's sum.

REM

CLS

DIM N(30)

FOR I=1 TO 30

INPUT"Enter the numbers";N(I)

NEXT I

PRINT"the even numbers are"

FOR J=1 TO 30

IF N(J) MOD 2=0 THENPRINT N(J),

S=S+N(J)

END IF

NEXT J

PRINT"Sum of even numbers =";s

END

       *  *  *

Tuesday, January 20, 2015

educational tour of class 9

   Educational Tour to Chitwan,  Pokhara and Gorkha


a group click

Importance of tour
Travelling is regarded one of the important thing needed to the persons in present world."travelling boardens our mind".To prove it practically we have to keep on visiting new new places.

nowadays educational tour is organised in almost all schools and students are given golden oppurtunity to visit new and interesting places.It is regarded as important part of education and if possible we should never miss such nice chance.tour is very important because firstly it refreshes our mind.we go out new places from our busy shedule of everyday.we go there and enjoy the natural beauty of the places.

The things which we learned in the book becomes practical.we can explore new new historical places.we can see and learn abot the culture,language and tradition of the people living there and know about the climatic geographical and land or soil condition of the place.we get more knowledge also and it will be long lasting also because the things that we see with our eyes remains for long time tan tat we hear only.




Day 1
on 27th  poush 2071 we arrived at 7:00 am on the school.all of  we were were excited.at 7:30 we left the school and went towards our first destination i.e. chitwan.after a long journey of 8 hours we finally reached chjitwan a beautiful place inhabitated by tharus. 

we were very happy to see many beautiful and amazing thigs.we saw different types elephants along with their small babies.

we also learned many interesting facts about elelephants from the guide.Then we went to museum to see different                         types of animals. 

In the museum many interesting animals were seen and even the skin of tiger were kept safely.after that we came near resort to see many senery.

At night at 6:30 pm we went to tharu cultural show to see different types of tharu dance.tharu people showed us different types dance including step dance , clap dance,harvesting dance,peacock dance,and fire dance.My first day experience was very good.

Day 2


 second day  too was interesting because early in the morning in the cold weather we went for jungle safari.We sat in the jeep and travelled through the dense forest observing various species of animals and birds.we saw different animals and birds like deer,badel,kingfisher,and chakhewa.Then we went to our second destination which was Pokhara.

In the way to Pokhara we went to visit Devghat,we travelled through long pool and also did boating in the Narayani river.
then we finally reached Pokhara.It was already night but also we did a evening walk by going to the phewa lake side at night time.After dinner we all teachers and students gathered in one room to have some fun and enjoyment.We talked and also did caricature of the teachers.In this way second day of the tour ended with wonderful experience.


Day 3
 third day  we woke up early in the morning at 4:30am and at 5:00we left the hotel and and went to see sunrise at sarangkot.It really was like a morning walk.At nearly 7:00am the sun rose and it was really seen amazing.the view of Machapuchre from sarangkot was also too beautiful.After that we went to Mahendra cave and Chamero cave to have some adventorous feeling.Now it was the turn of another boating at phewa lake.We did boating for nearly one hour.we made it interesting by clicking photos and taking videos.





we also went to see Barahi temple.After that we went to see david fall.It was such a nice view.The water falling seemed to be very pure and white.Then we went to see Gupteshowr Mahadev cave.Jt was the last destination of the pokhara.Then we went to our last destination of the tour which was Gorkha.

Day 4
on fourth  day we went to visijt Gorkha Durbar.After walking through stairs for
long time we reached to durbar.We all had the recall of the things about Prithivi Narayan Shah that we read in the book.The durbar was really good.We also saw big big trisul and chimta.

salik of king prithivi narayan shah

then we went to see Gorkha museum.It seemed to be like a old historical building

 where all the old events were preserved.There we saw and learned about all Shah kings and their contribution.we also saw mana,pathi and other old musical instruments.Lastly after the shopping of half an hour we returned back.Finally at 7:30 i was at my home recalling all good moments of the tour.