Friday, October 4, 2019

Volume of cube

CLS
INPUT"Enter length";l
V=l^3
PRINT"Volume of cube=";V
END

Volume of cylinder

CLS
INPUT" Enter radius";r
INPUT" Enter height";h
V=22/7*r^2*h
PRINT"Volume of cylinder=";V
END

display odd or even

CLS
INPUT" Enter any number";N
IF N MOD 2 = 0 THEN
PRINT"The number is even"
ELSE
PRINT" The number is odd"
END IF 
END

sum of digits

CLS
INPUT"Enter any number";N
S = 0
WHILE N< > 0
R = N MOD 10
S = S + R
N = N/ 10
WEND
PRINT"Sum of digits=";S
END

prime or composite

CLS
INPUT"Enter any number";N
C = 0
FOR I = 1 TO N
IF N MOD I = 0 THEN C = C + 1
NEXT I
IF C = 2 THEN
PRINT" The given no is prime"
ELSE
PRINT"The given no is composite"
END IF 
END

factors

CLS
INPUT" Enter any number";N
FOR I = 1 TO N
IF N MOD I = 0 THEN PRINT I
NEXT I
END

Factorial

CLS
INPUT" Enter any number";N
F = 1
FOR I = 1 TO N
F = F* I
NEXT I
PRINT" Factorial=";F
END

Multiplaction table

CLS
INPUT" Enter any number":N
FOR I = 1 TO 10
PRINT N : "X": I "=": N* I
NEXT I
END

Reverse of digits

CLS
INPUT'Enter any number";N
S = 0
WHILE N < > 0
R = N MOD 10 
S = S * 10 + R
N = N / 10
WEND 
PRINT"Sum of reverse of digits=";S
END

Palindrome or not

CLS
 INPUT"Enter any number";N
A = N 
S = 0
WHILE N < > 0
R = N MOD 10
S = S * 10 + R
N = N/ 10
WEND
IF A = S THEN 
PRINT"The given number is palindrome"
ELSE
PRINT"The given number is not palindrome"
END IF 
END 

Greatest among three number

CLS
INPUT"Enter any number";A ,B , C
IF A > B and B > C THEN 
PRINT"The greatest number is";A 
ELSE IF B > A and B > C THEN
PRINT"The greatest number is "; B
ELSE 
PRINT"The greatest number is "; C
END IF 
END 

Comments


display positive, negative, or zero

CLS
INPUT" Enter any  number";N
IF N > 0 THEN 
PRINT" The number is positive"
ELSEIF N < 0 THEN
PRINT" The number is negative"
ELSE
PRINT"The number is zero"
END IF 
END

Armstrong or not

CLS
INPUT"Enter any  number";N
A = N
S = 0 
WHILE N < > 0 
R = N MOD 10 
S = S* 10 + R
N = N/ 10
WEND 
IF A = S THEN 
PRINT"The given no is armstrong"
ELSE 
PRINT" The given no is not armstong"
END IF 
END

1, 4 , 9 , 16... 10th term

CLS 
I = 1
WHILE I < = 10
PRINT I ^ 2 
I = I + 1

1 , 1 , 2 , 3 ,5 , 8... upto 10th terms

CLS
A = 1
B = 1
FOR I = 1 TO 10 
C = A + B 

1, 11 , 111 , 1111, 11111

CLS 
A = 1
FOR I = 1 TO 5
PRINT A
A = A* 10 + 1
NEXT I 
END

1, 22 , 333, 4444,55555

CLS 
FOR I = 1 TO 5
FOR J = 1 TO I 
PRINT I:
NEXT J 

1,12,123,1234,12345

CLS
 FOR I = 1 TO 5 
 FOR J = 1 TO 10
PRINT J:
NEXT J 

1,4,9,16.. upto 10th term

CLS
FOR I =1 TO 10
PRINT I ^ 2 
 NEXT I 
END 

5,10,15,20...10th term

CLS
A = 5 
FOR I = 1 TO 10
PRINT A 
A = A + 5 
NEXT I 
END

area of triangle

CLS
INPUT"Enter base";b
INPUT"Enter height";h
A=1/2*b*h
PRINT"Area of triangle=";A
END

Thursday, October 3, 2019

volume of box

CLS
INPUT"Enter length";l
INPUT"Enter breadth";b
INPUT"Enter height";h
V=l*b*h
PRINT"Volume of box=";V
END

Area of square

CLS
INPUT "Enter length";l
A=l^2
PRINT "Area of square=";A
END

Area of four walls

CLS
INPUT "Enter length";l
INPUT "Enter breadth";b
INPUT "Enter height";h
A=2*h*(l+b)
PRINT "Area of four walls=";A
END

Area of circle

CLS
INPUT "Enter radius";r
A=22/7*r^2
PRINT "Area of circle=";r
END

Area of rectangle

CLS
INPUT Enter length";l
INPUT "Enter breadth";b
A=l*b
PRINT "Area of rectangle=";A
END


Tuesday, September 3, 2019

My father

Image may contain: 1 person, standing and outdoorMy father is my mentor, my hero and my best friend. He has been there for me at every step in life and supported me in all my decisions. He has taught me a lot and continues to shower his words on wisdom.He has been a pillar of support for the family. My grandmother often tells us how obedient he was as a child.  He always obeyed everything his parents told him and constantly worked towards achieving his academic goals. His dedication towards his work and his helpful nature inspires us to become better human beings.

Even today, his nature hasn’t changed a bit. He is appreciated for his hard working nature. My father believes in leading a simple life. His needs are minimal and he has taught us the same values.He has taught us how to share and care. I and my sister have inculcated this value from him. Just like my father, I also love keeping it simple. My father knows his responsibilities extremely well and never tries to escape from them. He is constantly there for us fulfilling each and every responsibility of our family. He is like the backbone of our family. From fulfilling our financial needs to taking care of the emotional upheavals – he is always there standing strong besides us. I have learned a lot from this attitude of his. He has taught us how we must all take our responsibilities seriously and fulfil them happily.  If every member of the family takes his responsibilities seriously then everything will remain well-coordinated. There would be less stress and relationships would be sweeter. Unlike when people need to be reminded of their responsibilities several times and still do not fulfil them. Children in such families suffer the most. There are constant conflicts between family members which creates a tensed atmosphere. I am lucky to have born in a family where people are mature enough to understand their responsibilities and have taught us the same.


I am proud of my father. He is a noble soul who is dedicated towards helping others. His teachings and values inspire me to become a better human being.

Saturday, June 1, 2019

My Day With Police

 Students of grade 9 of Jagat Mandir School were taken to Police Office which is situated at Ranipokari, Kathmandu. All the students were very excited to go  there. We went at 10:00 from our school. When we all reached a police office all students were told to maintain silence inside the office. There were a senior police officer who gave us the introduction about the program. It was a awareness class for students about the misuse of social media.

He gave us knowledge about many things which is very important in our life and all the things were relatable.  Not only that he even gave us some solution which will help us to get out of these all problems. As being a teenagers, I strongly agreed that most of our time is spend by using social media. It harms  to be engaged so much time in social media. But for some good purpose we should not misuse it. We can use it for many educatinal and business purpose. We were taught that we should not use social media to harm other people. After short break we went to the control room. All the CCTV camera photos were recorded there. After that we were taken to another place. It was the place were all the police dogs get training. Altogether there were 82 dogs in that divison. 8 breeds and 4 types of dogs were kept there. All the dogs were trained aacording to their capability. They showed us some of the dogs training. All the dogs were very sincere towards their responsibilities. We even watched the horse. We learned many thing about cyber crime and also about the dogs.

I would thank our school and Police community partenrship for giving us this  opportunity. After visiting there I have learned many useful and important thing which I wouldn't forget ever in my life. 


Monday, May 13, 2019

Aadhi ko Manoram Nritya

Drama of ideas  or the drama of social criticism in the real sense is a modern development. A number of contemporary problems and evils are subjected to discussion and searching examinations and criticism in these plays. Our school gave us a chance to watch drama based on teenagers' psychology. We were taken to Shilpi Theatre of Battisputali to watch drama named "Andhi Ko Manoram Nritya" on date 9th May,2019.Students of grade 8, 9 & 10 with five teachers went there as audience.It is a drama based on true facts of teenagers' and Nepalese society.


The drama has sprouted what condition and what the genre is growing in between the new generations. At home, even more in the same sofa, the children are grabbing mobile games and are always in their own world. Even with coworkers in the office, the social network has created different personalized worlds. Drama advocates that the children should grow up with proper guardianship in the environment they want. The drama has also shown how normal teenage friendship moves towards the accident when not finding the appropriate environment and proper solution to their curiosity. Problems such as using mobile in schools, smoking, abusive abuse, general relations are also related to sexual intercourse, and for the reason why children should leave school is clearly seen in the drama. 


There are problems inside the house.Is the responsibility of parents fulfilled when the children are exposed to the school bus after feeding them and making them ready for school? Can parents expect the positive progress of children by paying expensive fees only? The drama raised these questions.The actors are fabulous as they gave a brilliant performance in the stage. All the music and choreography was amazing. This drama is well worth seeing. It will touch the heart of many people. Don't miss it!!!

                         
                                                 Thank you