Friday, June 11, 2021

C Program to extract the kingdom of an organism

 #include <conio.h>

#include <stdio.h>

#include <stdlib.h>

#include <math.h>

#include <string.h>

int main()

{

char organism[25],ans[10], result[10]="Y";

  printf("This is a program to know the kingdom of an organism. (Press Enter)");

getch();

printf("\nBut I need some hints from you while classifying them.(Press Enter)");

getch();

printf("\nI will ask you some Yes/No questions and you need to write \"Y\" for Yes and \"N\"for No.(Press Enter)");

getch();

printf("\nPress Space if you are okay with it.");

getch(); 

printf("\nEnter the name of an organism ");

scanf("%s",organism);

//Round 1

printf("Is %s Prokaryote?",organism);

scanf("%s",ans);

    if(strcmp(strupr(ans),result)==0)

{

printf("\nOur AI is pondering over the informations you supplied (Press Enter) ");

getch();

printf(" \n*********************************************************\n* Name:\t\t%s\n*Kingdom:\tMonera\n* Character:\tNon memberane bound cell organelles\n*********************************************************\n\n",organism);

}

else 

{//Round 2

printf("\nIs %s Unicellular?",organism);

scanf("%s",ans);

      if(strcmp(strupr(ans),result)==0)

{

printf("\nOur AI is pondering over the informations you supplied (Press Enter) ");

getch();

printf(" \n*********************************************************\n* Name:\t\t%s\n* Kingdom:\tProtista\n* Character:\tMicroscopic & membrane bound cell organelles\n*********************************************************\n\n",organism);

}

else

{//Round 3 

printf("\nIs %s Autotroph?",organism);

scanf("%s",ans);

    if(strcmp(strupr(ans),result)==0)

{

printf("\nOur AI is pondering over the informations you supplied (Press Enter) ");

getch();

printf(" \n*********************************************************\n* Name:\t\t%s\n* Kingdom:\tPlantae\n* Character:\tUsually Non motile and Photosynthetic\n*********************************************************\n\n",organism);

}

else 

{//Round 4

printf("\nIs %s Decomposer?",organism);

scanf("%s",ans);

    if(strcmp(strupr(ans),result)==0)

{

printf("\nOur AI is pondering over the informations you supplied (Press Enter) ");

getch();

printf(" \n*********************************************************\n* Name:\t\t%s\n* Kingdom:\tFungi\n* Character:\tConsumes dead organic matter\n*********************************************************\n\n",organism);

}

else 

{//Round 5

printf("\nIs %s consumer?",organism);

scanf("%s",ans);

    if(strcmp(strupr(ans),result)==0)

{

printf("\nOur AI is pondering over the informations you supplied (Press Enter) ");

getch();

printf(" \n*********************************************************\n* Name:\t\t%s\n* Kingdom:\tAnimalia\n* Character:\tMotile and most developed organism \n*********************************************************\n\n",organism);

}

else 

{printf("\nSorry!! The organism can't be classified as per the present rules and regulations of classification.\n\n\n\n\n\n\n\nReport Bug (Click here)");

}

}

}

}

}

printf("\nPress Enter to Close Program\n");

getch();

return 0;

}

Thursday, June 3, 2021

 //C program to factorize an algebraic expression with coefficient of leading term 1 and degree 2

#include <stdio.h>

#include <conio.h>

#include <string.h>

#include <math.h>

#include <stdlib.h>

int main()

{

    

    int i,c[3],m[2],d=0,x,y,z;

    printf("Compare your equation with ax^2+bx+c and input the values for a, b and c\n");

    printf("input a"); scanf("%d",&c[1]);

    printf("input b"); scanf("%d",&c[2]);

    printf("input c"); scanf("%d",&c[3]);

    printf("The factors of (%d)x^2+(%d)x+(%d) are",c[1],c[2],c[3]);

    

    

    

    d=c[2]*c[2]-4*c[1]*c[3];

    x=pow(d,0.5);

    y=2*c[1];

    z= -1*c[2];

    m[1]=(z+x)/y;

    m[2]=(z-x)/y;

    

   for (i=1;i<=2;i++)

   {printf("(x");

     if(m[i]<0)

         {printf("+%d)",abs(m[i]));

         }

         else

         {    if (m[i]==0 )

                  { printf(")");

                  }

                  else

                  {printf("-%d)",m[i]);

                  }

         }

   }

   

    

    

    getch();

    return 0;

}

Saturday, July 11, 2020

Advantages of wired and wireless media

Wireless media
  1. Transmitting data over geographically diverse area
  2. Far away places connection
  3. For Many users
Wired media
  1. Data security
  2. Better network connection
  3. No electromagnetic interference
  4. Dedicated line syatem

Services of Network

Services of network
  1. File service : upload and download file
  2. Printing services : printing documents
  3. Message services : sending and receiving emails and messages
  4. Application services: software as service like esewa, khali, Google docs
  5. Data base services: database sharing
  6. Telnet service : remote login and team viewer
  7. Web services: information sharing in web page and websites as if between two apps in a network

Types of Computer Network

Here we will discuss about types of computer network on the basis of their sizes. And the types are as follows:
  1. LAN (LOCAL AREA NETWORK)
  2. WAN (WIDE AREA NETWORK)
  3. MAN (METROPOLITAN AREA NETWORK)
  4. CAN (CAMPUS AREA NETWORK)
  5. HAN ( HOME AREA NETWORK)
LAN 
LOCAL AREA NETORK
  • Covers small area
  • Mainly used for sharing  resource in offices or organizations
  • Features
  1. Limited for a short distance
  2. Owned by a single organization
  3. Data transmission rate is faster
  4. It generally uses wired transmission media.
 MAN
METROPOLITAN AREA NETWORK
  • Covers a district or a whole country
  • Can be made by connecting LANs of different locations
  • Uses both wired and wireless transmission media
  • Features
  1. Larger than LANs
  2. Wired or wireless or both
  3. Owned by a single or multiple organization
  4. Data transmission rate slower than LAN
  5. E.g.. telecom, traffic CCTV
WAN
WIDE AREA NETWORK
  • largest computer network
  • Not limited to a geographical location
  • Interconnection of Network through out the world
  • E.g.. internet
  • Features
  1. Large area 
  2. Data transmission rate is slowest
  3. Owned by multiple public organizations
  4. Wireless communication 
  5. Cheaper and easier

Saturday, July 4, 2020

जुनेली रातमा जब म जुन हेर्छु

( गुरुहरू प्रति समर्पित )

जुनेली रातमा जब म जुन हेर्छु
तब मेरो मनमा तरह तरहका भावनाहरू उत्पन्न हुन थाल्छन् 
अनि सोच्छु,
"आहा, जुन त कति राम्रो है,
यस्तो अन्धकारमा पनि सारा पृथ्वीमा उज्यालो छरी रहेछ,
एक्लै यो सारा संसारमा प्रकाश पारी रहेछ
आहा, जुन त कति राम्रो है"
मन यस्तै सोची रहन्छ
अनि फेरी सोच्न थाल्छु
"जुन भन्दा पनि बढी प्रकाश छर्ने केही छ होला र?"
अनि दिन पार्ने सूर्यलाई सम्झन्छु
"एँ, अ त सूर्य त झनै चम्किलो हुन्छ नि है "
अनि फेरी विज्ञान सरले पढाएको सम्झन्छु 
"सूर्यभन्दा पनि धेरै ठुला र चम्किला ताराहरू हुन्छन् रे
तिनले धेरै प्रकाश गर्छन् रे "
अनि फेरी तिनैलाई मान्छु धेरै प्रकाश छर्ने चिज 
तर मन अझैँ सोचिरहन्छ अरू नै केही छ कि भनेर 
आखिर मन त हो रोक्न नै कहाँ सकिन्छ र?
अनि बल्ल मेरा मनमा आउनुहुन्छ सबै भन्दा बढी प्रकाश गर्नेवाला
मेरा गुरू
अनि उहाँलाई एकचोटी कोटी कोटी नमन व्यक्त गर्छु
मनैभरी उहाँप्रति श्रद्धाको भावना भरिएर आउँछ
अनुहारमा मुस्ककान छरिएर आउँछ
भित्रैबाट सम्मानको भावना जागेर आउँछ
मेरा गुरू प्रति
जब म जुनेली रातमा जुन हेर्छु
जुनेली रातमा जब म जुन हेर्छु

जुनेली रातमा जब म जुन हेर्छु
मेरा आँखा अगाडी झलझली मेरा गुरू आउनुहुन्छ
अनि म जुन हेर्छु
फेरी गुरू सम्झिन्छु
फेरी म जुन हेर्छु
फेरी गुरू सम्झिन्छु
अनि मनमनै गुरूलाई भन्छु
"गुरू,
हुन सक्छ यो जुन नभए,
अहिलेको यो जुनेली रात निष्पट्ट 
अन्धकार हुन्थ्यो होला,
तर हजुर नभए त दिन र रात दुवै अन्धकार हुन्थे नि गुरू,
गुरू,
यो जुन त अहिलेको समय रमाइलो बनाएर भोली बिहान लुकेर गईहाल्छ गुरू,
तर हजुरले दिएको ज्ञान त सधैँ उपयोगी रहिरहन्छ गुरू,
गुरुका बारेमा यस्तै भावनाहरू मनमा उत्पन्न भई रहन्छन्
जब म जुनेली रातमा जुन हेर्छु
जुनेली रातमा जब म जुन हेर्छु

जुनेली रातमा जब म जुन हेर्छु
गुरुलाई सेतो चक र कालो डस्टर लिई 
एउटा काखिमा किताब च्यापी
कक्षामा प्रवेश गर्दै गरेको सम्झन्छु
फेरी जुन हेर्छु
गुरू सम्झिन्छु
जुन हेर्छु
फेरी गुरू सम्झिन्छु
गुरू,
हामीले त हजुरलाई कहिल्यै राम्ररी हेरेनौँ
जहिल्यै गाली गर्नुहुन्छ भनेर मात्र सम्झियौँ
तर हजुरले हामीलाई कहिल्यै ज्ञान दिन छाड्नुभएन गुरु
आफू जलेर भएपनि हामीलाई उज्यालोमा राखिरहनु भयो
नयाँ कुरा सिकाइरहनु भयो
ज्ञानको प्रकाश छरीरहनु भयो
तपाईलाई कोटी कोटी नमन छ गुरू
अनि अनायासै मेरा हात जोडिन्छन्,
शिर झुक्छ,
अनि गुरुलाई मनैदेखि नमस्कार गर्छु
जब म जुनेली रातमा जुन हेर्छु
जुनेली रातमा जब म जुन हेर्छु

जुनेली रातमा जब म जुन हेर्छु
अनि गुरू देख्छु
फेरी जुन हेर्छु
फेरी गुरू देख्छु
जूनमा गुरूको अनुहार मुसुक्क मुस्कुराएको देख्छु
अनि देख्छु,
 "ओहो, सर हजुरका गाला त कुप्रिसकेको रहेछन्"
तर हजुरले हामीलाई कहिल्यै नकुप्रिने ज्ञानको
मल र जलले गोडमेल गर्नुभयो,
हुर्काउनुभयो, बढाउनुभयो
तब त म आज यसरी आफ्नै खुट्टामा उभिन सफल भए नि गुरू
गुरू,
हजुरले त म जस्ता हजारौँ विद्यार्थीको जीवनमा
उज्यालो छर्कनुभयो नि गुरू,
अनि जुन चम्किलो कि हजुर नि गुरू,
गुरू,
सूर्यको प्रकाश समेतले त उर्वर भूमिमा मात्र बिरुवा हुर्काउँछ
तर हजुरले त
हजारौँ सुक्खा जमिनलाई बगैँचा
बनाइदिनु भएको छ गुरू
अनि सुर्य चम्किलो कि हजुर नि गुरू

फेरी त्यो जुनमा गुरुको तस्वीर झल्झल्ती
आँखा अगाडी आईरहन्छ
अनि फेरी आँखा चिम्लेर गुरुलाई एकचोटी
ढोग गर्छु ।
त्यस पछि मनै त्यसै त्यसै हर्षित भईरहन्छ
ओठ त्यसै त्यसै मुस्कुराइरहन्छन्
चन्द्रमामा गुरुको मुस्कुराहटसँगै
मन रमाइरहन्छ
जब म जुनेली रातमा जुन हेर्छु
जुनेली रातमा जब म जुन हेर्छु
जुनेली रातमा जब म जुन हेर्छु




Natural Cause of Climate Change

Most climate changes are caused by very small changes in earth's orbit. A change in orbit can change the amount of energy our planet receives from the sun. 

Meet links

 Section 11A meet.google.com/edcdmynkjh Section 11 B meet.google.com/tapmhdtkfj Section 11C meet.google.com/sxajjevufp Section !!D meet.goog...