Section 11A
meet.google.com/edcdmynkjh
Section 11 B
meet.google.com/tapmhdtkfj
Section 11C
meet.google.com/sxajjevufp
Section !!D
meet.google.com/jpwjniturp
Section 11A
meet.google.com/edcdmynkjh
Section 11 B
meet.google.com/tapmhdtkfj
Section 11C
meet.google.com/sxajjevufp
Section !!D
meet.google.com/jpwjniturp
// To arrange entered numbers in ascending order
#include <stdio.h>
void swapper(int*,int*);
void ascender(int,int[]);
int main()
{ int i,values[6];
printf("Enter 5 numbers");
for(i=1;i<=5;i++){ scanf("%d",&values[i]);}
ascender(i,&values[0]);
printf("The ascending order of the numbers is");
for(i=1;i<=5;i++){ printf("%d ",values[i]);}}
void ascender(int i, int* values){
int j=0;
for (i=1;i<=4;i++){
for(j=1;j<=4;j++){
if (values[j+1]< values[j]){ swapper( &values[j],&values[j+1]); }}}}
void swapper(int *a,int *b){
int temp; temp=*b; *b=*a ; *a=temp;}
#include <stdio.h>
#include <conio.h>
int main()
{
int i;
int a,b;
int m,n;
int p,q;
int x,y;
printf("Program to calculate circumcentre of a triangle(Press Enter)");
getch();
printf("\nEnter the three vertices of the triangle");
scanf("%d%d",&a,&b);
scanf("%d%d",&m,&n);
scanf("%d%d",&p,&q);
for(x=0;x<=100;x++)
{
for(y=0;y<=100;y++)
{
if( ( (x-a)*(x-a)+(y-b)*(y-b)== (x-m)*(x-m)+(y-n)*(y-n) ) && ( (x-a)*(x-a)+(y-b)*(y-b)== (x-p)*(x-p)+(y-q)*(y-q) ) )
{
printf("(%d,%d) is the circumcentre",x,y);
goto a;
}
}
continue;
a:
break;
}
}
//Modular programming with names of bones
//Learning names of 206 bones with Prakash
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
/*80AxialBones,126AppendicularBones=206Bones*/
// Axial Skeleton //22skull,7other,51trunk=80
//skull //8cranium,14facial=22
void cranium(); //1Frontal,2Parietal,2Temporal,1Occipital,1Sphenoid,1Ethmoid=8
void facial(); //2Maxilla,1Mandible,2Zygomatic,2Lacrimal,2Palantine,2Nasal,1Vomer,2Inferior Nasal Conchae=14
//other //6earossicles,1=7
void earossicles(); //2*(1Malleus(Hammer),1Incus(Anvil),1Stapes(Stirrup))=6
void hyoid(); //1
//trunk //26veretebrae,25thoracicbone=51
void vertebrae(); //7Cervical vertebrae,12Thoracic vertebrae,5Lumbar vertebrae,1Sacrum,1Coccyx=26
void thoracicbone(); //12pairs of ribs,1sternum=25
//Appendicular Bone //64upperextremities,62lowerextremities=126
//Upper Extremities //4pectoral,60upperlimb=64
void pectoral(); //2*(1clavical,1scapula)=2
void upperlimb(); //2*(1Humerus,1radius,1ulna,8carpal,5metacarpal,14phalanges)=60
//Lower Extremities //2pelvic,60lowerlimb=62
void pelvic(); //1sacrum,1coccyx=2
void lowerlimb(); //2*(1Femur,1Patella,1Tibia,1Fibula,7Tarsal,5metatarsal,14phalanges)=60
void all();
int main()
{
int selecter;
char more[10];
printf("Hey, How are you? All fine?(Give an enter if you are)");
getch();
printf("\nToday I am going to help you with learning the skeletal system");
getch();
printf("\nWe have 206 bones in our body. So to make a systematic study we have to divide it into different types! Okay?");
getch();
a:
printf("\n\nHere are a lot of Sections and those sections are numbered. Which of the category do you want to study. Press the number associated with it.");
printf("\n1.Cranium\n2.Facial Bones \n3.Ear Ossicles\n4.Hyoid Bone\n5.Vertebrae\n6.ThoracicBone\n7.Pectoral Girdle\n8.UpperLimb\n9.PelvicGirdle\n10.LowerLimb\n11.AllBonesCounted");
scanf("%d",&selecter);
switch (selecter)
{
case 1:
cranium();
break;
case 2:
facial();
break;
case 3:
earossicles();
break;
case 4:
hyoid();
break;
case 5:
vertebrae();
break;
case 6:
thoracicbone();
break;
case 7:
pectoral();
break;
case 8:
upperlimb();
break;
case 9:
pelvic();
break;
case 10:
lowerlimb();
break;
case 11:
all();
break;
default:
printf("Error\n");
break;
}
printf("\n Do you want to learn more?(Write \"Y\" for Yes and \"N\"for No");
scanf("%s",more);
if (strcmp(strupr(more),"Y")==0)
{goto a;}
return 0;}
void cranium(){printf("\n1Frontal,2Parietal,2Temporal,1Occipital,1Sphenoid,1Ethmoid=8");}
void facial(){printf("\n2Maxilla,1Mandible,2Zygomatic,2Lacrimal,2Palantine,2Nasal,1Vomer,2Inferior Nasal Conchae=14");}
void earossicles(){printf("\n2*(1Malleus(Hammer),1Incus(Anvil),1Stapes(Stirrup))=6");}
void hyoid(){printf("\n1");}
void vertebrae(){printf("\n7Cervical vertebrae,12Thoracic vertebrae,5Lumbar vertebrae,1Sacrum,1Coccyx=26");}
void thoracicbone(){printf("\n12pairs of ribs,1sternum=25");}
void pectoral(){printf("\n2*(1clavical,1scapula)=4");}
void upperlimb(){printf("\n2*(1Humerus,1radius,1ulna,8carpal,5metacarpal,14phalanges)=60");}
void pelvic(){printf("\n1sacrum,1coccyx=2");}
void lowerlimb(){printf("\n2*(1Femur,1Patella,1Tibia,1Fibula,7Tarsal,5metatarsal,14phalanges)=60");}
void all(){printf("\n\t\t80Axial Bones,126AppendicularBones=206Bones");
printf("\n Axial Skeleton 22skull,7other,51trunk=80");
printf(" \nskull 8cranium,14facial=22");
printf("\n cranium 1Frontal,2Parietal,2Temporal,1Occipital,1Sphenoid,1Ethmoid=8");
printf("\n facial 2Maxilla,1Mandible,2Zygomatic,2Lacrimal,2Palantine,2Nasal,1Vomer,2Inferior Nasal Conchae=14");
printf(" \nother 6earossicles,1=7");
printf("\n earossicles 2*(1Malleus(Hammer),1Incus(Anvil),1Stapes(Stirrup))=6");
printf("\nhyoid 1");
printf(" \ntrunk 26veretebrae,25thoracicbone=51");
printf("\n vertebrae 7Cervical vertebrae,12Thoracic vertebrae,5Lumbar vertebrae,1Sacrum,1Coccyx=26");
printf("\n thoracicbone 12pairs of ribs,1sternum=25");
printf("\n");
printf("\n\n\n\t\tAppendicular Bone64upperextremities,62lowerextremities=126");
printf(" \nUpper Extremities \n4pectoral,60upperlimb=64");
printf("\n pectoral \n2clavical,2scapula=4");
printf("\n upperlimb \n2*(1Humerus,1radius,1ulna,8carpal,5metacarpal,14phalanges)=60");
printf(" \nLower Extremities \n2pelvic,60lowerlimb=62");
printf("\n pelvic \n1sacrum,1coccyx=2");
printf("\n lowerlimb \n2*(1Femur,1Patella,1Tibia,1Fibula,7Tarsal,5metatarsal,14phalanges)=60");
}
#Bird's Eye View:
1. Largest Cell : Cell 2. Small Cell : PPLO (Pleuro Pneumonia Like Organism) also called Mycoplasm 3. Longest animal cell : Neurone (90-110 cm long) 4. Longest plant cell : Fiber of Boechmeria Nivea (55 cm) 5. Powerhouse of cell : Mitochondrion (plural of Mitochondria) 6. Suicidal bag of Cell : Lysosome 7. Protein Factory of Cell : Ribosome 8. Kitchen cell : Chloroplast 9. Bird only found in Nepal : Spiny Babbler 10. National Bird of Nepal : Lophoporous 11. National Flower of Nepal : Rhododendron 12. Chemical Messenger : Hormone 13. Biological Catalyst : Enzyme 14. Energy currency of a cell : ATP (Adenosine Tri Posphate) 15. Heredity vehicle : DNA (Dioxy ribonucleic Acid) 16. Largest Cell structure : Nucleus 17. Largest Cell organelles : Chloroplast (in plants) and Mitochondrion (in Animals) 18. Smallest Cell organelle : Ribosome 19. Universal Cell Organelle : Nucleus 20. Largest Animal Phylum : Arthropoda 21. Largest Animal Class : Insecta (Hexapoda) 22. Largest Plant Group : Angiosperm 23. Amphibian Plant : Bryophytes 24. Botanical Snake : Pteridophytes 25. Vascular Cryptogams : Pteridophytes 26. Bones and Muscles are connected by :Tendon 27. Bone and Bone are connected by : Ligaments 28. Heat insulating animal tissue : Adipose 29. Hardest part of vertebrates :Enamel on Teeth 30. Largest Gland in Body : Liver 31. Largest endocrine gland : Thyroid gland 32. Largest Bone : Femur 33. Smallest Bone : Stapes (in ear) 34. Largest Cartilage : Pinna 35. Largest Organ : Skin 36. Largest body Cavity : Abdominal Cavity 37. Largest blood Cell : Leukocytes (LUBC) 38. Universal receiver Blood group : AB 39. Universal donor Blood Group : O 40. Transfer of pollen grain from anther to stigma is called Pollination. 41. Some cold blooded animals (Poikilothermic animal) undergoes in inactive period at very low and high temperature sleep is called hibernation while summer sleep is called aestivation. 42. Warm blooded animals (Homoiothermic animals); Body temperature remains constant. They include aves and mammals. 43. RBCs of mammals like camel and llama have nucleus. 44. Excessive formation of WBC causes Blood Cancer. 45. Oviparous Mammals: Duck billed, Platypus and Spiny ant cater 46. Food Chain is start with producers. 47. Source of energy in ecosystem is Sun. 48. Global warming is caused by CO2 gas. 49. Ozone layer depletion is caused by CFC (Chloro-Fluro-Carbon). 50. Vermiform appendix is functional in herbivorous animals like cow and Buffalo. It helps to digest cellulose. 51. Some vestigial organs of man: Wisdom teeth (canine teeth, pinna etc). 52. Virus is considered as a biological puzzle. 53. Connecting link between plant and animal are euglena. 54. Water canal system is well developed in Porifera. 55. Water vascular system is well developed in Echinoderms. 56. Homologus organs: Organs having similar structure and origin but mostly having dissimilar function. For example hands of man, fore limbs of horse, wings of bat etc. 57. Analogous organs : Organs having similar function of dissimilar structure. For example: wings of birds, wings of insects. 58. Blood of earthworm is red, molluscans blue and Arthopodas white in color. 59. First established national park is Chitwan National Park. 60. Smallest National Park is Rara National Park. 61. Sagarmatha National Park is World Heritage National Park#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;
}
//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;
}
Section 11A meet.google.com/edcdmynkjh Section 11 B meet.google.com/tapmhdtkfj Section 11C meet.google.com/sxajjevufp Section !!D meet.goog...