Skip to main content

Posts

Showing posts from April, 2016

HISTORY AND CULTURE OF PUNJAB ( BCA 1st SEMESTER )

HISTORY AND CULTURE OF PUNJAB FROM THE EARLIEST TIMES TO 1849 UNIT I  1. Harappan Civilization: extent and town planning; socio-economic life.   2. Vedic    Age: socio-economic life; development of caste; position of women.   3. Religion: Vedic religion; impact of Buddhism and Jainism on the region.    UNIT II 4. Society and Culture c. 1000 A.D.: Socio-economic life; religious life; education 5. Cultural Reorientation: main features of Bhakti; origin and development of    Sufism  6.Society and Culture c. 1500A.D: socio-economic life under the Lodhis; religious  beliefs and practices- Vaisnavism, Shaivism, Shaktism, Islam.    UNIT III  7. Sikhism: New ideology of Guru Nanak; evolution of Sikh community guruship,manji,Masand; new institutions-gurdwara, Sangat-Pangat. 8. Transformation of Sikhism: martyrdom of Guru Arjan; martyrdom of Guru Tegh Bahadur; impact.  9. Institution of Khalsa: new baptism; significance 

BUBBLESORT

Q1 :  Write a C program for BubbleSort ? #include<conio.h>                                         #include<stdio.h>                                          void main()                                                     {                                                                      int i,j,n,tmp,a[20];                                            clrscr();                                                           //Intialising Array  printf("\nEnter the number of elements--\t");   scanf("%d",&n);                                               printf("\nThe Elements are----\n");                   for(i=0;i<n;i++){                                                scanf("%d",&a[i]);}                                           //Bubble Sort Algorithm