Total Pageviews

Tuesday, October 1, 2019

Program to check whether the given word is palindrome string or not using FUNCTION

DECLARE FUNCTION PAL$(N$)
CLS
INPUT"ENTER ANY WORD";N$
P$=PAL$(N$)
IF N$=P$ THEN
PRINT"The given word is palindrome"
ELSE
PRINT"The given word is not palindrome"
END

FUNCTION PAL$(N$)
FOR I= LEN$(N$) TO 1 STEP -1
B$= MID$(N$,I,1)
C$=C$+B$
NEXT I
PAL$=C$
END FUNCITON

Program to check whether the given no is palindrome or not using FUNCTION

DECLARE FUNCTION PAL(N)
CLS
INPUT"ENTER ANY NUMBER";N
P=PAL((N))
IF N=P THEN
PRINT"The given no is palindrome"
ELSE
PRINT"The given no is not palindrome"
END IF
END

FUNCTION PAL(N)
S=0
WHILE N<>0
R= N MOD 10
S=S*10+R
N=N\10
WEND
PAL=S
END FUNCTION

Program to calculate distance using FUNCTION

DECLARE FUNCTION DISTANCE(A,U,T)
CLS
INPUT"ENTER ACCELERATION",A
INPUT"ENTER INITIAL VELOCITY";U
INPUT"ENTER TIME";T
PRINT"DISTANCE TRAVELLED=";DISTANCE(A,U,T)
END

FUNCTION DISTANCE(A,U,T)
S=U*T+1/2*A*T^2
DISTANCE=S
END FUNCTION

Program to find factorial using FUNCTION

DECLARE FUNCTION FACT(N)
CLS
INPUT"ENTER ANY NUMBER";N
PRINT"FACTORIAL=";FACT(N)
END

FUNCTION FACT(N)
F=1
FOR I= 1 TO N
F=F*I
NEXT I
FACT=F
END FUNCTION

Program to print 9,7,5......1 using SUB

DECLARE SUB SERIES()
CLS
CALL SERIES
END

SUB SERIES()
FOR I= 9 TO 1
PRINT I
NEXT I
END SUB

Program to print only vowels from given word using SUB

DECLARE SUB DISPLAY(N)
CLS
INPUT"ENTER ANY WORD";N$
CALL DISPLAY(N$)
END

SUB DISPLAY(N$)
FOR I= 1 TO LEN(N$)
B$= MID$(N$,I,1)
C$= UCASE$(B$)
IF C$="A" OR C$="E" OR C$="I" OR C$="O" OR C$="U" THEN D$=D$+B$
NEXT I
PRINT"VOWELS="D$
END SUB

Program to find volume of box using FUNCTION

DECLARE FUNCTION VOL(L,B,H)
CLS
INPUT"ENTER LENGTH";L
INPUT"ENTER BREADTH";B
INPUT"ENTER HEIGHT";H
PRINT"VOLUME OF BOX=";VOL(L,B,H)
END

FUNCTION VOL(L,B,H)
V=L*B*H
VOL=V
END FUNCTION

Program to find whether the given no. is divisible by 13 or not using SUB

DECLARE SUB CHECK(N)
CLS 
INPUT"ENTER ANY NUMBER";N
CALL CHECK(N)
END

SUB CHECK(N)
IF N MOD 13=0 THEN 
PRINT"DIVISIBLE BY 13"
ELSE
PRINT"NOT DIVISIBLE BY 13"
END IF 
END SUB

Program to find circumference of circle using SUB

DECLARE SUB CIRCLE(R)
CLS
INPUT"ENTER RADIUS";R
CALL CIRCLE(R)
END

SUB CIRCLE(R)
C=2*22/7*R
PRINT"CIRCUMFERENCE OF CIRCLE=";C
END SUB

Program to find area if 4 walls using FUNCTION

DECLARE FUNCTION AREA(L,B,H)
CLS
INPUT"ENTER LENGTH";L
INPUT"ENTER BREADTH";B
INPUT"ENTER HEIGHT";H
AR=AREA
PRINT"Area of 4 walls=";AREA(L,B,H)
END

FUNCTION AREA(L,B,H)
AREA=2*H*(L+B)
END FUNCTION

Program to find area of box using FUNCTION

DECLARE FUNCTION AREA(L,B,H)
CLS 
INPUT"ENTER LENGTH";L
INPUT"ENTER BREADTH";B
INPUT"ENTER HEIGHT";H
PRINT"AREA OF BOX=";AREA(L,B,H)
END

FUNCTION AREA(L,B,H)
A=2*(L*B+B*H+L*H)
AREA=A
END FUNCTION

Program to find greatest among 3 numbers using SUB

DECLARE SUB GREAT(A,B,C)
CLS
INPUT"ENTER FIRST NUMBER";A
INPUT"ENTER SECOND NUMBER";B
INPUT"ENTER THIRD NUMBER";C
CALL GREAT(A,B,C)
SUB

SUB GREAT(A,B,C)
IF A>B AND A>C THEN
PRINT"GREATEST NUMBER IS";A
ELSEIF B>A AND B>C THEN
PRINT"GREATEST NUMBER IS";B
ELSE
PRINT"GREATEST NUMBER IS";C
END IF
END SUB




Program to display 1,1,2,3,5,8........upto 10th term using SUB

DECLARE SUB SERIES()
CLS
CALL SERIES()
END

SUB SERIES()
A=1
B=1
FOR I= 1 TO 5
PRINT A
PRINT B
A=A+B
B=A+B
NEXT I
END SUB

Program to print natural numbers from 1 to 15 using SUB

DECLARE SUB SERIES()
CLS
CALL SERIES
END

SUB SERIES()
FOR I=1 TO 5
PRINT I
NEXT I
END SUB

Program to print simple interest using FUNCTION

DECLARE FUNCTION SIMPLE(P,T,R)
CLS
INPUT"ENTER PRINCIPLE";P
INPUT"ENTER TIME"T
INPUT"ENTER RATE";R
PRINT"Simple Interest=";SIMPLE(P,T,R)
END

FUNCTION SIMPLE(P,T,R)
S=(P*T*R)/100
SIMPLE=S
END FUNCTION

Program to convert temperature in into fahrenheit using FUNCTION

DECLARE FUNCTION CONVERT(C)
CLS 
INPUT"ENTER TEMPERATURE IN CELCIUS";C
PRINT"Temperature in fahrenheit=";CONVERT(C)
END

FUNCTION CONVERT(C)
F=9*C/5+32
CONVERT=C
END FUNCTION

Program to print first 10 odd numbers using SUB

DECLARE SUB DISPLAY()
CLS 
CALL DISPLAY
END

SUB DISPLAY()
A=1
FOR I= 1 TO 10
PRINT A
NEXT I
END SUB

Program to print volume of cylinder using FUNCTION

DECLARE FUNCTION VOL(R,H)
CLS
INPUT"ENTER RADIUS";R
INPUT"ENTER HEIGHT"H
PRINT"VOLUME OF CYLINDER="VOL(R,H)
END

FUNCTION VOL(R,H)
V=22/7*R^2*H
VOL=V
END FUNCTION

Program to find area of triangle using FUNCTION

DECLARE FUNCTION AREA(A,B,C)
CLS
INPUT"ENTER FIRST SIDE";A
INPUT"ENTER SECOND SIDE";B
INPUT"ENTER THIRD SIDE";C
AR= AREA(A,B,C)
PRINT"Area of triangle="AR
END

FUNCTION AREA(A,B,C)
AREA=(S*(S-A)*(S-B)*(S-C))^(1/2)
END FUNCITON

Program to find reverse of input string using SUB

DECLARE SUB REV(N$)
CLS
INPUT"ENTER ANY WORD";N$
CALL REV(N$)
END

SUB REV(N$)
FOR I= LEN(N$) TO 1 STEP -1
B$=MID$(N$,I,1)
C$=C$+B$
NEXT I
PRINT"The reversed word=";C$
END SUB

Monday, September 30, 2019

Program to find total no. of vowels in a word using FUNCTION

DECLARE FUNCTION COUNT(N$)
CLS
INPUT"ENTER ANY WORD";N$
PRINT"Total no. of vowels=";COUNT(N$)
END

FUNCTION COUNT(N$)
C=0
FOR I= 1 TO LEN$(N$)
B$= MID$(N$,I,1)
C$=UCASE$(B$)
IF C$="A" OR C$="E" OR C$="I" OR C$="O" OR C$="U" THEN C=C+1
NEXT I
COUNT=C
END FUNCTION

Program to find area of 4 walls using SUB

DECLARE SUB AREA(L,B,H)
CLS
INPUT"ENTER LENGTH":L
INPUT"ENTER BREADTH";B
INPUT"ENTER HEIGHT";H
CALL AREA(L,B,H)
END

SUB AREA(L,B,H)
A=2*H*(L+B)
PRINT"Area of 4 walls=";A
END SUB

Program to find area of circle using SUB

DECLARE SUB AREA(R)
CLS
INPUT"ENTER RADIUS";R
CALL AREA(R)
END

SUB AREA(R)
A= 22/7*R^2
PRINT"Area of circle=";A
END SUB

Wednesday, September 4, 2019

My Father

My father's name is Sandip Lawati. He is 37 years old. He is a helpful, caring, hardworking and a good person. He is a businessman. He has taught me to never fall back in helping people. He works very hard to support our family. When it comes to helping people he never steps back. I really like that side of him. He suports me whenever i'm in a difficult situation and keeps on giving me advices. He believes that if you work hard and determined you can achieve any goal and become successful. He wants me to become successful in the future. Not immediately but one day i'm gonna make him proud of me.

Saturday, August 24, 2019

Visit to Election Commission

on 3rd Bhadra students of grade 10 were taken to Election Commission to learn about the election process. We were told to arrive at the school premises by 9:45 am. After the arrival of all students, we got in the school bus and left for election commission. Election Commission is located in Jamal near Ghantaghar. Election Comission is a goverment office.

After reaching there, one of the officer working there gave us a short intro about the election commission . Then we went inside to watch a short documentary and do some activities. We were divided into two groups. First students of section B watched the documentary and students of section A played  some Q&A games and listened to audio related to election process. After watching the documentary two groups exchanged. Then we were given a class where we learned about election process, what to do, what not to do in election. Then we held a demo election. We used electronic voting method. At the end, our teachers gave feedback about the class to the officers then we returned to our school.

Sunday, July 21, 2019

M O N S O O N H I K E D I A R I E S

20th July 2019

This day was awaited by almost all of the grade 10 students because our hike was postponed twice because of unfavorable weather conditions. We were told to gather on the school at 7:30 am. As told all of grade ten students except Abhisek gathered at the school. Our destination was Muhan Pokhari. We started our way towards our destination at around 8:30 am. We started to walk from Changu Narayan Temple. After 30-45 minutes walk we reached Changu Narayan temple. We visited the temple rested there for 15-20 minutes and then again started to walk.



 After walking for like 30 minutes we reached an open place. We ate some food then again started to walk. After 30-45 minutes we reached an open place there was green grass all over the ground. It was very sunny so we took rest for some time, drank water then again started to walk. We were having fun running, playing many of my classmates fell down.



 After a 1 hour 30 minutes walk we finally reached Muhan Pokhari!! We had to walk again!!  After walking uphill for 15 minutes we reached an open place. We had our lunch there. We were very tired and were enjoying our lunch when it suddenly started to rain. We started to walk faster. Then finally we reached the waterfall!! We played on the waterfall for some time. It started to rain heavily so we started to return downhill. The way was eexxttrraa slippery. No matter how much careful we were trying to be we didn't fail to fall down! I assume all of us fell down at least once on the way back. Anil and Nishan nearly fell down the hill. I slipped and fell down very badly. We reached the small waterfall anyway. Then we played at the waterfall for some time then the hike was over. This was probably the second last time going on a trip with my classmates. I really enjoyed the hike I thank the school administration for organizing this hike. And i thank all of my classmates for making this hike memorable. I hope the last picnic gets more memorable than this one...



T H A N K Y O U

Wednesday, June 19, 2019

Sericulture

Sericulture, or silk farming is the cultivation of silkworms to produce silk. Although there are several commercial species of silkworms, Bombyx moth( the caterpillar of the domesticated silk moth) is the most widely used and intensively studied silk moth. Silk was believed to have first been produced in China as early as the Neolithic period. Sericulture has become an important cottage industry in countries such as Brazil, China, France, India, Italy, Japan, Korea, and Russia. Today, China and India are the two main producers, with more than 60% of the world's annual production. Silkworms complete their life cycle in 4 different stages. The eggs, Larva, Pupa(Cocoon) and Adult.

A single cocoon yields 1000 feet of unbroken silk fiber. 454 gm silk is obtained from about 25000 cocoons. About 23 million kg of silk is produced every year in the world. For obtaining the commercial silk, the cocoon are treated with hot water or placed in hot oven to kill the pupa inside. The silk is unwounded from the cocoons and twisted into thread. Silk is used to prepare parachute, special type of tyre for cars, the outer cover of telephone wire, bulletproof vest etc.

Sunday, May 12, 2019

Experience of drama

On 26th baisakh we, students from grade 8,9and 10 of jagat mandir secondary school were taken to shilpee theatre located in Battisputali  to watch a drama based on problems of teenagers. The title of the drama was 'Aadhi Ko Manoram Nritya'. This drama was completely based on the problems of teenagers. 

The drama was presented wonderfully by all the artists with the live music. Being a teenager i got to learn many things from the drama. The drama also showed us the weak administration of our government. On this age teenagers love to hang out and spend time with friends rather than families. On this age we can get into bad company that must be understood and avoided. The drama taught us not to get involved in wrong company and activities.

Sunday, January 20, 2019

TOUR DIARIES

Excitement was banging the door of ninth graders when they were told about the tour they were eagerly waiting for since the beginning of this session. Educational tour from school, it has always been my favorite activity and I've not missed any of it. Last year's was a memorable one but this year's tour was the most memorable tour of my school life because it was our last one. When it comes to tour our school never fails to amaze me. Last year's tour was amazing but this year's was far more beyond my expectation and imagination. It's all  thanks to our school administration for planning this wonderful tour for us ninth graders. Our school planned to take us on this amazing trip after our second terminal exam. I was excited for this tour since I started grade nine. And the tour was worth waiting for. Our school planned to take us to Chitwan, Lumbini, Palpa, Pokhara and Siddha cave.

Day 1: (Kathmandu to Chitwan)

All of the students were told to reach the school at 5:45 am. I was very excited for the tour so I woke up at 4 am and i woke my friend Albert he slept at my place because his house was far from school. We ate breakfast and got ready. All of us gathered at the school at 5:45 am just as planned. There were 27 students, 7 teachers and two brothers. We started our journey after loading our bags on the bus. I was very excited at the beginning I was frequently watching out of the window. But after some time i fell asleep. After a long ride on the bus we ate our lunch at camp springwood, Dhading. Then after a 2 hour long bus ride we reached Chitwan. Chitwan was far more better than my expectations. We stayed there at a resort. The place was very nice. We went for a jeep safari which turned out to be very memorable. I was vlogging with my friends on the jeep it was an awesome experience. We saw deer, kingfisher, stork, white stork and many more. After a long ride in the chitwan national park we went to see alive crocodiles and alligators. Then we went inside a museum there were dead bodies, bones and skulls of animals found inside the chitwan national park. After observing the animals we went to animal breeding center we saw many elephants and their babies. After observing the elephant breeding center, we returned to our resort. We had our breakfast enjoying  the beautiful sunset. The view was so beautiful. It was an awesome experience. Then we went to our respective rooms. We became fresh and changed our clothes. Then we went to observe the tharu culture dance which was awesome. Then we returned to our resort enjoyed the bonfire then we ate dinner. Then we went to our rooms. I was so excited that i didn't sleep all night. We stayed till 2:00 am then we slept.

Day 2: (Chitwan to Lumbini to Butwal)

 We were told to wake up at 5:30 am. I was feeling so sleepy but my friend were shouting in my ears trying to wake me up. I woke up, washed my face, dressed and got ready for another exciting day!! We packed our clothes, loaded it in the bus, had tea and started the journey again. After some hours we reached CG temple located at Nawalparasi. The temple was very nice. It was a foggy morning, the temple was all covered in fog. Then we had breakfast and went to Lumbini, the birth place of lord Gautam Buddha. There were so many monasteries but my favourite was the Mayadevi temple. I loved everything about it. The environment was so peaceful. We had lots of fun that day. We had planned to spend our night at Butwal. So we went to a hotel at Butwal which was very nice. We had dinner and all of us went to our room. I slept at 4:30 am.

Day 3: (Butwal to Palpa to Pokhara)

I was woken up by  my friends at 5:30 am. I slept only for 1 hour. Then i Washed my face, brushed my teeth and packed my clothes. Then we loaded our things on the bus and started the journey again! We went to Palpa. It was a nice place. Palpa is very famous for dhaka materials. Then we went to a museum in Palpa. We visited the bazaar of Palpa. Had lunch in a hotel near the bus park and left for Pokhara. After a 4 5 hour long ride on the bus, we finally reached Pokhara!! I spent most of the time at the bus by sleeping because i did not sleep at night. We went in a hotel and unloaded our luggages and entered our hotel room which was very nice. Then all of us got fresh. We ate dinner and all of the boys started playing mini militia in our room. i slept at 2:30 am.

Day 4: (Pokhara)

All of us were very excited on this day. Deepak sir came to our room and woke us up. We got ready by 5:30 and left for Sarangkot to watch the sunrise. Our bus reached the base of Sarangkot at around 30 minutes and we walked for another 30-45 minutes to reached the top. We found Dorje's lost brother there!! The sunrise view was amazing. After watching the sunrise we returned to the base. Then we went to bindhyabasini temple. We had our breakfast there. Then we went to KI Singh bridge to see the seti gorge. It wasvery deep.  We returned to our hotel for lunch. After lunch we went to Fewa Lake. We did boating there, we went to taal barahi temple at first. Then the brother took us around the lake. After reaching far enough from the temple Tshering, Anil and me asked the brother if we could row the boat. He gave us the oar. Tshering rowed the boat for some time then Anil and I sat on the two end of the boat and started rowing the boat turn by turn which turned to be an amazing experience. We were  having fun. Then we played race with the other boats on which our friends were sitting we started from last and  became third!! Then we went to David's falls, mountaineering museum and finally we had a walk on lakeside on the evening. After reaching hotel we ate pizza. Music was being played there, all of the students were dancing and having fun. We had our dinner late and all of us went to our respective rooms. We started packing our clothes for tomorrow's return Albert packed mine. Then we started playing games in our phone. We had planned to celebrate Anil's birthday at 12 O'clock. We celebrated his birthday, all of us wished him then we ate some chips, noodles, drank cold drinks and went to bed at 3 am.

Day 5: (Pokhara to Kathmandu)

We woke up a bit late that day. Then we loaded our belongings on the bus and left Pokhara for Siddha cave. We  had to walk for an hour to reach the entrance. Then we went inside the cave which was beyond my expectations. The cave was entirely natural which was very hard to believe!! Then we went deeper inside the cave we had to climb down a small cliff. Some of us went down with the help of rope and some with the help of ladder. Then we went inside a room on the cave which was also known as AC room. Then we returned to the opening of the cave. We walked all the way down to our bus then left for Kathmandu. We had our lunch in the way. I slept most of the time on the bus. We stopped to have fish at Malekhu which was  tasty. Then we reached Kathmandu at around 7:30 pm.

I would like to thank our school administration for planning this wonderful trip for us and taking good care of us. I made amazing memories with my friends which I can't forget. The tour gave us beautiful memories, very unforgettable ones.

THANK YOU!!!!!