Monday, November 11, 2019

QBASIC to print 1, 4, 9, 16... 10th term

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

QBASIC to print 1, 22, 333, 4444, 55555

CLS
FOR I = 1 TO 5
FOR J = 1 TO I
PRINT I;
NEXT J
PRINT
NEXT I
END

QBASIC to disply Multiplication table

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

QBASIC to display Factors

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

QBASIC to check Factorial

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

QBASIC to check 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 number is prime"
ELSE
PRINT "The number is composite"
END IF
END

QBASIc to check Armstrong or not

CLS
INPUT 'Enter any number'; N
A = N
S = 0
WHILE N <> 0
R = N MOD 10
S = S+R^3
N = N\10
WEND
IF A=S THEN
PRINT "The number is armstrong"
ELSE
PRINT "The number is not armstrong"
END IF
END

QBASIC to check 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 number is palindrome"
ELSE
PRINT "The number is not palindrome"
END IF
END

QBASIC To Reverse 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 "Reverse of digits="; S

END

QBASIC to find 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 didits="; S

END

QBASIC to find 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 didits="; S

END

QBASIC to diplay 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

QBASIC to 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

QBASIC to find Volume of Cylinder

CLS
INPUT "Enter the radisu"; R

INPUT "Enter the height"; H
V =  22/7*R^2*H
PRINT "Volume of cylinder="; V
END

QBASIC to find Volume of Cube

CLS
INPUT "Enter the length"; L

V = L^3
PRINT "Volume of cube="; V
END

QBASIC to find Volume of box

CLS
INPUT "Enter the length"; L
INPUT "Enter the breadth": B
INPUT "Enter the height"; H
V = L*B*H
PRINT "Volume of box="; V
END 

QBASIC to find Area of Square

CLS
INPUT "Ente the length"; L

A = L^2
PRINT "Area of square="; A
END

QBASIC to find Area of four walls

CLS
INPUT "Enter the length"; L

INPUT "Enter the breadth"; B
INPUT "Enter the height"; H
A = 2*H*(L+B)
PRINT "Area of four walls="; A
END

Wednesday, September 4, 2019

My Father

My father name is pemba sherpa. He is 32 years old. He is from morahang,terathum.he is very caring and loving person. He works in chocolates factory which is in saudi arabia.he is very energetic and powerful person. He is working their for our education and livelihood. I love my father very much ❤️ . He also love us very much. In last i want to say he is very nice and loving type of person.


                THANK  YOU 👏👏❤️

Monday, June 10, 2019

1 day with police

Hi I am Mingma
 and I am going to share the experience about 1 day with police.
We went to school at regular time.2076/2/16.There were two police in our school.Sir called us out of the class.Then police and sir gave us some information. The police told places where we were going.We were going to police head quater which was located in naxal then to dog training camp.We left school between 10 to 10:45.We went there in our school bus.Our sir told not to make noise and be in discipline.When we reached police head quater then went inside in line.Then we were taken to a class.Then DSP entered in class.DSP showed us many videos related to cyber crime and others in  video projector.
Picture in the class with DSP

He gave us many ideas about safety from cyber crime and other.The class was about 2 hours.Class was very information full.After class we were served with tea and biscuits.After the tea break we went to control room.In control room there were many computers.In computers there were all footages of cc camera from all over Kathmandu.
Pic of police sowing us camera footage.

Pic of moniter of control room.

ofter 30 minutes in control room we went to dog training camp in our bus again.In camp there were many dogs who were trained.A police officer gave some ideas about the types of dogs they trained there.Types are÷
1) murderer catching dogs
2) Bomb Finding dogs
3) Drugs finding dogs
4)Thives catching dogs

The dogs were trained very perfectly.They showed us practically what dogs do.Then we walked in line and saw a dogs they had.They also had horses.Then we moved for school at like 2:45 .We arrive at school at 3 o'clock.Then sir told us to post in blog that you just read thank you that was my 1 day with police hope you liked it 🙏💕

Wednesday, May 15, 2019

Adhiko Manoram Nritya

Drama is a composition in verse or porse intended to portray life or character or to tell a story. It usually involves conflicts and emotions through action and dialogue and is typically designed for theatrical performance.
We grade 8,9 and 10 were taken to observe a drama named "Adhiko Manoram Nritya" on the date 2019/5/9. This drama gave us the education about us(teens).It showed  us  the things we go through in this stage. It was based on teens love stories, the bad cultures they are following, our society and bad company. It shows how teens engage in bad thing. They involve in those things not only because of themselves but also because of peer pressure. Even their closest friend ask them to do bad things like smoking, drinking,etc. Likewise, falling in love in thier early age and destroying their whole life. It also reflects how our society is truly like. An old man sexually harassing a girl with an age of her daughter, it is the worst. This drama shows how much we teens are addicted to 
mobiles and laptops without studying. Instead of involving in good thing we are getting involved into bad things. We are having fun now not knowing about how our future will be.

Lastly,this drama has a lot of thing to teach. It is a really heart touching drama. It is a drama everyone should watch. And even the acting was fabulous.