Friday, June 24, 2016


"QBASIC PROGRAMING"

1). CALCULATE AREA OF RECTANGLE.

CLS
INPUT "ENTER LENGTH";L
INPUT "ENTER BREADTH";B
A= L*B
PRINT "AREA OF RECTANGLE=";A
END


2).CALCULATE AREA OF SQUARE.

CLS
INPUT "ENTER LENGTH";L
A=L^2
PRINT "AREA OF SQUARE=";A
END




3).CALCULATE ARE OF CIRCLE.

CLS 
INPUT "ENTER RADIUS";R
A=22/7 *R^2
PRINT "AREA OF CIRCLE=";A
END


4).CALCULATE AREA OF TRIANGLE.

CLS
INPUT "ENTER BASE ";B
INPUT "ENTER HEIGHT";H
A=1/2*B*H
PRINT "AREA OF TRIANGLE= ";A
END


5).CHECK WHETHER THE GIVEN NUMBER IS ODD OR EVEN.

CLS
INPUT "ENTER ANY NUMB ER ";N
IF N MOD <=0 THEN
PRINT "THE GIVEN NUMBER IS EVEN"
ELSE
PRINT "THE GIVEN NUMBER IS ODD" 
END IF
END


6).CONVERT DOLLAR INTO NEPALESE CURRENCY.

CLS
INPUT "ENTER DOLLAR";D
N=D*100
PRINT "NEPALESE CURRENCY VALUES=";N
END


7).check whether the given number is positive ,negative or zero.

CLS
Input "enter any number ";N
IF N>o THEN
PRINT "The given number is positive"
ELSE IF N <0 THEN
PRINT "The given number is negative"
ELSE
PRINT "the given number is zero" 
END IF 
END

8).Input name and percentage and display the division along with name and percentage.

CLS
INPUT "enter name";N$
INPUT "enter percentage"P
SELECT CASE P
CASE 80 TO 100
d$= "distinction"
CASE 60 to 79.9
CASE 50 to 59.9
d$ = "second division"
CASE 40 to 49.9
d$="third division"
CASE is <40
d$= "failed" 
CASE ELSE
PRINT "wrong entry"
END SELECT 
PRINT "name","percentage","division"
PRINT N$,P,D$
END


9).convert minutes into hours and minutes.

CLS
INPUT "enter minute";M
H=M\60
MIN = M MOD 60
PRINT "Hours=";H
PRINT "Minutes=";M
END

10).check whether the given number is divisible by 3 and 7 or not.

CLS
INPUT "enter any number ";N
IF N MOD 3=0 AND N MOD 7= 0 THEN PRINT "The given number is divisible by 3 and 7"
PRINT "the given number is not divisible by 3 and 7" END IF 
END

11).convert temperature in degree centigrade into Fehrenheit

CLS 
INPUT "enter degree celsius";C
F= (9*c /5)+32
PRINT "fahrenheit =";F
END


12).input any three numbers and display the smallest one.

CLS
INPUT "enter first number";A
INPUT "enter second number";B
INPUT "enter  third number";
IF A-B <0 then
PRINT "A IS smallest =";A
ELSE IF
PRINT "B IS smallest =";B
ELSE
PRINT "C IS smallest=";C
END IF
END

13).convert Indian currency into Nepalese currency.

CLS
INPUT "enter Indian";D
D*1,6
PRINT "Nepalese currency value=";N
END

14).













Thursday, May 5, 2016

Mother's Day
 
Mother's Day is a celebration honoring the mother of the family, as well as motherhood, maternal bonds, and the influence of mothers in society. It is celebrated on various days in many parts of the world, most commonly in the months of March or May.. It complements similar celebrations honoring family members, such as Father's Day  and Siblings Day.

In the United States, celebration of Mother's Day began in the early 20th century. It is not related to the many celebrations of mothers and motherhood that have occurred throughout the world over thousands of years, such as the Greek cult to Cybele, the Roman festival of  Hilaria, or the Christian Mothering  Sundaycelebration (originally a commemoration of Mother Church, not motherhood).In some countries, Mother's Day has become synonymous with these older traditions.

The modern holiday of Mother's Day was first celebrated in 1908, when Anna Jarvis held a memorial for her mother at St Andrew's Methodist Church in Grafton, west Virginia. Today St Andrew's Methodist Church now holds the International Mother's Day Shrine. Her campaign to make "Mother's Day" a recognized holiday in the United States began in 1905, the year her mother, Ann Reeves Jarvis, died. Ann Jarvis had been a peace activist who cared for wounded soldiers on both sides of the American Civil War, and created Mother’s Day Work Clubs to address public health issues. Anna Jarvis wanted to honor her mother by continuing the work she started and to set aside a day to honor all mothers, because she believed that they were "the person who has done more for you than anyone in the world".

Monday, October 26, 2015

                                                      Dashain 2072


Dashain is the 15 day national religious festival of Nepal.It is the longest and most auspicious festival in the nepales annual calender celebrated by Nepales Hindu of all caste throughout the
globe the festival falls around september-october starting from the bright lunar fortnight and ending on the day of full moon.Dashain is also popularly referred to as Bada Dashain.
Dashain is celebrated as the victory of the god and godesses over the demons.Ghatasthapana is beginning day of Dashain.

For most of the people in our country,Dashain is the important time for gatherings.Some people put tikas or some might not according to their religious believes.Talking about me in this Dashain,i started it with doing shopping as we all normally do.Then on the day of Gatasthapana i went to my sister's house.In this Dashain i didn't go to my house because of on going strike.In my sister house i enjoyed a lot ,we played cards,played football,we played bembo swing,we visited monastery on the day of Dhashame.We put tika from our elders and they gave us bleshings.After tika we ate delicious foods.There were varities of foods and sweets,i even don't know the name of some of foods.we chatered a lot and shared our sharrow and joys with our family.In this way i celebrated Bada Dashain.

Tuesday, September 22, 2015

Question/Answer
           
             (1)     Define computer network.
     Ans:   A computer network is a group of computers that are connected together to share                                  information, data, software and hardware in high speed.

 (2)    Write any three advantages of computer network.
     Ans:   The three advantages of computer network are:-
Ø Computer network make communication between different users easier and faster.
Ø  Computer network allow users to share data and software at the same time.
Ø  Different network users can share peripheral devices such as printers.

       (3)    What are protocols?
      Ans:   A protocol is rules to send and receive data in a network environment is called protocol.

       (4)    What is repeater?
      Ans:   A repeater is a device of a network that generates a signal and converts a weak into a                           strong  signal and sends to computer.

       (5)   What is hub?
    Ans:    A hub is a small device with multiple parts that provides a physical connection to the                          different device of a network.

       (6)    What is NIC?
     Ans:    Network Interface Card (NIC) is a device that makes physical connection between two                       different computers.

       (7)    What is network operating system?
     Ans:   A network operating system is a group of programs which are used to manage the resources on the network.

         (8)   What is medium?
     Ans:    A medium is a communication channel which is used to connect different computers and                      device in a network environment
.
         (9)  What is workstation?
      Ans:  A workstation is a computer where a user can work.

        (10)  What is server?
       Ans:  A server is a powerful computer that provides services to different workstations.

        (11)  Differentiate between Client server  and peer to peer network.
Ans: 
Client server
Peer to peer network

It is one of the popular models which consist of at least one server and one or more client or workstation.
It is a group of computer which functions equally as servers and workstations.
It is suitable for large organizations.
It is suitable for small office and schools.

    (12)   Define LAN, MAN and WAN.
     Ans:  LAN-
                  Local Area Network (LAN) is a network system that covers a very small area.

          MAN-
                   Metropolitan Area Network (MAN) is a network system that covers a town or city to                            share data, information and other resources.

          WAN-
                  Wide Area Network (WAN) is a network system which connects two or more network or                      computers connected together in large geographical area.