Skip to main content

Posts

BIGGER NUMBER

 Q1 :  Write a C program to print "Bigger number"  out of the three?   Using nested if:  #include<conio.h>                       #include<stdio.h>                        void main()                                   {                                                   //bigger number                           int a=20,b=405,c=78;                  clrscr();                                       ...

FACTORIAL C CODE

  Q1 :  Write a C program to print Factorial of a number as an output?   Using Goto:  #include<conio.h>                                  #include<stdio.h>                                   void main()                                             {                                                             int n;                                                       ...

HELLO WORLD

Q1 :  Write a C program to print "hello world" as an output? #include<conio.h>   #include<stdio.h>    void main()              {                               clrscr();                    printf("hello world"); getch();                    }                               *********************************************************************************** Sample Output:

ABOUT US

--------------- About Us ---------------- The Blog offers information and notes on the class subjects, instructed by the teacher and written by me. I have made this blog for the students who are for any reason are unable to attend the class. This will be an easy platform for them to get their class work and do it at anytime, anywhere and at their pace.   In this era of technology with just an internet connection, you can do anything and rely on this platform for your class work. Contacts Us: Facebook ID:  bcahubsd Email-  bcahubsd@gmail.com editor@bcahubsd.com

COMPUTER APPLICATION 2ND SEMESTER

SECTION-A  1. Algorithm and Programming Development: Steps in development of a program, Flow Charts, Algorithm Development, Program Debugging, Compilation and Execution. Overview of C: History of C, Importance of C, Structure of a C Program.  Elements of C: character set, identifiers and keywords, Data types, Constants and Variables, Assignment statement, Symbolic constant. Input/output: Unformatted & formatted I/O function in C, Input functions: scanf(), getch(),getche(), getchar(), gets(); output functions: printf(), putch(), putchar(), puts().  SECTION-B  2. Operators & Expressions: Arithmetic, relational, logical, bitwise, unary, assignment, conditional operators and special operators. Arithmetic expressions, evaluation of arithmetic expression, type casting and conversion, operator hierarchy & associativity.  Decision making & branching: Decision making with IF statement, IF-ELSE statement, Nested IF statement, ...

HCP 2ND SEMESTER

  HISTORY AND CULTURE OF PUNJAB IN THE COLONIAL AND POST INDEPENDENCE TIMES  Max. Marks : 50 Theory : 45 Internal Assessment : 05 Time : 3 Hours Objectives : To introduce the students to the history of Punjab region in modern times.   Pedagogy: Lectures, library work and discussions. UNIT I 1. Introduction of Colonial Rule: administrative changes; means of communication; western education. 2. Agrarian Development: Commercialization of agriculture; canalization and colonization. 3. Social Classes: agrarian groups; new middle classes. UNIT II  4. Early Socio Religious Reform: Christian Missionaries; Namdharis; Nirankaris. 5. Socio Religious Reform Movements: activities of Arya Samaj; Singh sabhas; Ahmadiyas. 6. Development of Press & literature: growth of press; development in literature UNIT III  7. Emergence Of Political Consciousness: Agrarian uprising 1907; Ghadar. 8. Gurudwara Reform Movement: Jallianwala Bagh; foundatio...