Sunday, October 19, 2014

Happy dashain 2071


Happy Dashain and Depawali









A new weather,

New clean climate,Here comes

a sweet environment,

 flying kite in the 

sky Beautiful nature and 

Beautiful You 

I want to wish You 

Happy Dashain 2071



Tuesday, October 7, 2014

Programming Concept


definition



(1)program:

                        Program is a set of instructions written in programming language to perform a specified task.


(2)PROGRAMMIng:

                                   Programming is the process to give instructions to the computer.


(3)programmers: 

                                      The person who is involved to  prepare a computer program is called programmer.


(4)system programmers:

                                                                       The person who writes program to boot the computer,to control the hardware components , etc are called system programmers.


(5)application  programmers:

                                                                                   Appication programmer are used to design a application program to fulfill a specified task.


(6)PROGRAMMING  LANGUAGE:

                                                                                    The language which is used to write programs for the computer is called programming language.


(7)machine language:

                                              The first language of computer was binary language, which is also known as machine language.                                                                                                                          (8)Assembly language:

                                           Due to the complexities of machine language in the early 1950’s IBM company with contribution of computer scientists developed another language, which is known as assembly language.


(9)High level language:

                                            In the early 1960’s different languages were developed and used in the third generation of computers which are known as High level language.


(10) Compiler:

                         Compiler is a language translator that translates the program written in high level language to machine language at once.

(11)Interpreter:

                             Interpreter is a language translator that translates the program written in high level language to machine language statement by statement.

(12)Assembler:

                            Assembler is a language translator, which translates an assembly language program into its equivalent machine language program.  

 (13)Fourth generation language:                                                                                            Fourth generation languages are closer to human languages than typical high level programming language.


(14)Advantages of machine language:


Ø Machine language is directly understood by the computer so the program written in machine language does not need to be converted.


 Ø The program developed using machine  language becomes extremely fast since   no conversion is required.

                                                                                                                        
Disadvantage of machine language:

Ø Programming using machine language is difficult to write and remember.


Ø  A machine language is machine dependent. Machine codes depend upon the architecture of the computer.


Ø  Since, Machine codes depend upon the architecture of the computer.Programmers must know the knowledge of hardware.


Ø  It is time consuming and tedious task to modify the program written in machine language.



(15)Advantages of Assembly language:
                    

Ø   since the assembly language uses symbols and mnemonic codes it is easy  to understand write and modify program  in assembly language.


Ø The program written in assembly language executes faster because it is closer to the machine.


Ø It is easy to find out errors in the programs written in assembly language.             


 Disadvantage of Assembly language:


Ø   A assembly language  is also machine dependent language.The  program  written for one type of  computer has to be modified to use in another type of computer.


Ø The program written in assembly language is less efficient.The assembly  program takes more time to execute  than the machine codes program.


Ø  Since assembly language is machine   dependent,the programmer must have   knowledge of hardware.






(16)Advantages of High level language:


Ø Since high level language are closer to English language, they are easy to  learn and use.



Ø High level language are machine independent.so,It is easy to write and  modify programs written in high  level   language.



 Ø The program written  in high level   language  for one type of machine can be used in  another type  with simple modifications or with no modification.



 Ø It is faster to write programs in the high level language.


Ø It is easy to do documentation of high level program.




Disadvantage of High level language:

 Ø  Programs written in high level language  must need language processors   to convert  into  machine  language.


Ø  High level programs takes more time to execute in computer.


Ø  Programs written in high level  language cannot completely control hardware.






Monday, September 1, 2014

Happy mother's day

MOTHERS DAY AND ITS IMPORTANCE

A sweet poem

my mother

my friend so dear

Throughout my life

you are always near

A tender smile to guide my way

you are the sunshine to light my way.


The above poem states the importance of mother. The word
 mother composed of just six letter seemed to be very simple 
but has a great hidden importance in it.A mother who is always
 there,A mother who is always near..A mother who is like my 
friend.A mother who always stays with us when time is tough things get rough.she always remains with us throughout our life.she always helps her children no matter what difficulties she has to face. Today we are small we may only know that mother has given us birth and has shown us this beautiful world but gradually grow up begin live apart from her than we feel her importance.When you have committed a  crime and no one believes in you a mother does.A mother becomes happy on her children's success because that is only one intention of her.


Mothers day is celebrated to honour to all the mother in this earth for all the things she has done for all her children.She has not done a single mistake on the rearing of her children.Mother's day falls on the middle of Baisakh. This time it is on 16th.For this day many children are extited because they also love their mother as she does.after becoming big they want to fulfill the dreams dreamed by her mother about her.Moreover a Mother and child relation  should be like a friend where both of them share sad and sweet sorrows and happiness with each other.After marrige a girl come to her mother's home very often and mother's day is one when she can come with sweets things and other gifts.




Now if I have to share my views about my mother than  I have a lot to say. Her name is Bimala Mainali.She is Beautiful and loving.If my mother was not there in my life than i would not have reach to the position where I am today so I regard my mother as a god who came to my life and made my life fruitfull.My describing about my mother will never end.Sometimes I think if there was a machine from which we can go to past than i would go to it and see how I spended my childhood with my mother.My mother is always there for me.she is like a friend for me.She has always helped me when I was in difficulties or sorrows.There is no other like her in this whole world. I always celebrate mother's day by giving gifts to my mother and by spending time with her.My mother is good at singing songs and poems.She has a sweet voice.So celebrate mother's mother's day as you have a single mother and it comes once a year.Tell her thankyou for all the contribution she made for you.My mother is my pride.

TOUR TO KAKANI

TOUR TO KAKANI



scene of kakani

  Date : 2070 6th, 7th falgun

  Duration : 2 days 1 night

  Participants :

                           Sabita Rai, Sangita Mahato, Janaki  Joshi,        Brinda limbu,Dristi Dhungana, Helina Shrestha, Aabisha Rai,suzana tamang, suzata karki, Sushmita kc,Archana Sapkota,Amisha Dahal,Christina Rana,Swastika Khadka,Sital Budhathoki, Sudha Nakarmi,Tejesh Bharati,Surendra Tamang,Saugat Rai,RupenTulachan,Rajnish Mahat,Bishal Kc,Samir Thapa, Diwash Pokhrel,Susahant Manandhar,Sunil Shakya,Sandesh Acharya,Ayush Shrestha,Sunil Shakya and Sugen Thapa.


  Teachers: Kd Bista,Deepak Shrestha,Mahendra Limbu.

 Kakani Memorial park one of the finding in Kakani.

  We should keep habit of visiting new new places at list  once  a month because travelling helps us to know about new  new places, it creates refreshment  in our life from our busy life and shedule.nowadays allmost every school takes their children to educational tour so what students can learn about new places.A couple of week ago our school had organized a educational tour for class eight students in which all the class eight students participated.We had a very good time.It was the remarkable day for me.Kakni is a very beautiful place located in Nuwakot districtwhich is 23 km away from Kathmandu valley.I went there with my friends and teachers.The memories of kakani will always remain in my heart in a special corner.I want to share my experience with all of  you.


Day 1

   I  was very excited  for this day from the very begining and finally the day came.On 6th falgun we all were called to school at 9:00am.I reachedBut all did not .So we waited for them.At this time we clicked many photographs with our friends. We started our journey to kakani at 12:00pm.We went upto panchmane by bus then we went by foot.We walked for 3 to 4 hours.

We  were  tired by walking but  we made it interesing  by singing telling jokes listening to chripping of the bird,etc.In this way we reach to kakani. We were tired but we were  also very excited to see the facts found there. so we rested for a while.Then at night we did camp fire.In which we sang danced and enjoyed.We spended our half night by chatting and discussing about kakani and half night we slept.In this way my day 1 completed.

 

Day 2

   I started my journey by waking up at 6:00am.Then we all went for morning walk.The  view of kakani is seen more beautiful in the morning.We played football with our friends and teachers.Then we went to see Kakani Memorial Park which is one of the beautiful place of kakani.I found many things in kakani like Kakani memorial park,shivapuri wildlife reserve,etc.I also did interview with local people in Kakani from which I got a lot of information about the place.The people of kakani were kind hearted.Tourist from all over the world were also seen in the Kakani.Moreover I got a beautiful chance to enjoy with my friends and teachers in an open environment.

   Lasty I want to Thank all my teachers for organizing sucha a wondulful programme in which I participated with full interest.


Saturday, August 9, 2014

QBASIC PROGRAMMING

project 

                              of computer

                                      on

                        Qbasic programming




(1)WAP to input any number and check whether the given number is divisible by 5 or not.



REM
CLS
INPUT"Enter any number";N
IF N MOD 5 =0 THEN
PRINT"The number s divisible by 5"
ELSE
PRINT "The number is not divisible by 5"
END


(2)WAP to input any number and check whether the given number is divisible by 3 and 7 or not.


REM
CLS
INPUT"Enter any number";N
IF N MOD 3=0  AND N MOD 7=0 THEN 
PRINT"The number is completely divisible by 3 and 7"
ELSE 
PRINT"The number is completely not divisible by 3 and 7"
END


(3)WAP to check whether the number is odd or even.



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


(4)WAP to check whether the number is positive negative or zero.



REM
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



(5)WAP to input marks of a student in a subject and check whether he is pass or not.


REM
CLS
INPUT"Enter marks in a subject";M
IF M>=40 THEN 
PRINT"You are pass"
ELSE
PRINT"You are fail"
END IF
END



(6)WAP to enter any two number and display the greater one.



REM

CLS
INPUT"Enter first number";A
INPUT"Enter second number";B
If A>B THEN 
PRINT A;"is greater"
ELSE
PRINT B;"is greater"
END IF
END


(7)WAP  to enter any three number and display the greater one.


REM
CLS
INPUT"Enter first number";A
INPUT"Enter second number";B
INPUT"Enter third number";C
If  A>B AND A>C THEN
PRINT A;"IS GREATEST"
ELSEIF B>A AND B>C THEN
PRINT B;"IS GREATEST"
ELSE
PRINT C;"IS GREATEST"
END IF 
END


(8)WAP to display all natural numbers from 1 to 100.(use for.....next, while........wend, do while......loop,do ......loop while, do until......loop,do.........loop until)




(FOR...... NEXT)                          

REM    
CLS         
 FOR I=1 TO 100                           
PRINT I,   
NEXT I                                          
END                                                           
    

           

(WHILE.........WEND)                                                      


REM                                                        
CLS                                                      
I=1
WHILE I<=100
PRINT I,
I=I+1                                                                     
WEND
END


(DO WHILE........LOOP)
                
REM     
CLS                                                
I=1           
DO WHILE I<=100  
PRINT I,                                        
I=I+1                                            
LOOP      
END       
                                  
                                         
(DO.........LOOP WHILE)

REMCLS
I=1
DO
PRINT I,
I=I+1
LOOP WHILE I<=100
END



(DO UNTIL.........LOOP)

REM
CLS
I=1
DO UNTIL I>100
PRINT I,
I=I+1
LOOP
END



(DO......LOOP UNTIL)

REM
C LS
I=1
DO
PRINT I,
I=I+1
LOOP UNTIL I>100
END



(9)WAP to display 10,20,30,........100(use for.....next, while........wend, do while......loop,do ......loop while, do until......loop,do.........loop until)


(FOR.......NEXT)       
                       
REM        
CLS
FOR I=10 TO 100 STEP 10               
PRINT I,                                             
NEXT I                                              
END   

                                 
                                                 
 (WHILE.......WEND) 

 REM  
 CLS
 I=10                                                  
WHILE I<=100
PRINT I,
I=I+10
WEND                                                          
END


(DO WHILE.....LOOP) 

REM

CLS
I=10
DO WHILE I<=100
PRINT I,
I=I+10
LOOP 
END




(DO.......LOOP WHILE)

REM
CLS
I=10
DO 
PRINT I,
I=I+10
LOOP WHILE I<=100
END




(DO UNTIL......LOOP)

REM
CLS
I=10
DO UNTIL I>100
PRINT I,
I=I+10
LOOP
END




(DO........LOOP UNTIL)

REM
CLS
I=10
DO 
PRINT I,
I=I+10
LOOP UNTIL I>100
END


(10)WAP TO DISPLAY ALL EVEN NUMBERS FROM 50 TO 1.



(FOR.....NEXT)


REM
CLS
FOR I=50 TO 1 STEP -2
PRINT I,
NEXT I
END




(WHILE........WEND)

REM
CLS
I=50
WHILE I>=1
PRINT I,
I=I-2
WEND
END



(DO WHILE.......LOOP)

REM
CLS
I=50
DO WHILE I>=1
PRINT I,
I=I-2
LOOP
END



(DO......LOOP WHILE)

REM
CLS
I=50
DO
PRINT I,
I=I-2
LOOP WHILE I>=1
END



(DO UNTIL......LOOP)

REM
CLS
I=50
DO UNTIL I<1
PRINT I,
I=I-2
LOOP
END

(DO.......LOOP UNTIL)


REM
CLS
I=50
DO
PRINT I,
I=I-2
LOOP UNTIL I<1
END