SlideShare uma empresa Scribd logo
1 de 10
PUNJAB COLLEGE OF TECHNICAL EDUCATION, LUDHIANA

                                            COURSE PLAN


Name of Teacher: Sandeepjit Kaur                       Subject Name: Programming in ‘C’
Email Id: sandeepjit@pcte.edu.in                       Subject Code: BC-104 (N2)
Assignments: 3                                         Total Lectures: 40
                     Tests: 4                                          Revision Lectures: 4



Max. Marks 100

Internal Assessment 40
External Assessment 60

Instructions for Candidates
Candidates are required to attempt four questions from section B and the entire section A.
Use of non-programmable scientific calculator is allowed.

Fundamentals: Character set, Identifiers & Keywords, Data Types, constants, set,
constants, variables, expressions, statement, symbolic constants. Operations and
expressions: Arithmetic operators, unary operators, relational and logical operators,
assignment and conditional operators, and library functions.

Data input and output: Preliminaries, single character input, single character output,
entering input data, more about the scanf() function, writing output data, more about
printf function, the gets and puts function, interactive programming.

Control statements: Preliminaries, while, do-while and for statements. Nested loops, if
else, switch, break continue statement.

Functions: Brief overview, defining accessing function, passing perimeters to function,
specifying argument data types, function prototype and recursion.

Program structure: Storage classes, automatic, external, and static variables, more
about library functions.

Array: defining and processing an array, passing pointers to a function, pointer and one
dimensional arrays, operations on pointers, passing functions multidimensional arrays of
pointers, passing functions to the other functions, more about pointer declarations.

Structure And Unions: Defining and processing a structure, user defined data types,
structure and Pointers, passing structure to function, self-referential structures, unions.
Data files: Opening, closing, creating, and processing and unformatted data field.
C-programming applications: Sorting (Bubble sort, Selection sort), Searching (Binary
                                     search, Linear Search).




REFERENCE:

1. E.Balaguruswamy           Programming in ANSI ‘C’               (Tata McGraw
Hill)

2. Byron Gottorfried         Schaum’s outline of programming with C (Tata McGraw
Hill)

3. Kerighan & Richie         The C programming language            (PHI Publication)

4. Lafore R.                 Object Oriented Programming          (Galgotia)

5. Aaron M. Tannen Baum      Data structures using C             (PHI publication)
Punjab College of Technical Education -
                                     Course Plan


Subject Name: Programming in 'C'                           Subject         BC-104(N2)
                                                           Code:
Teacher's Code: SJ                                         No. of Tests:   4
No. of     40                                              No. of          4
Lect.                                                      Assignments



Lect No   Topic                               Assignment   Test            Date
1         Fundamentals of computer
          Language, Compiler, assembler


2         Problem Solving with
          Computers, Algorithms with
          examples
3         Flow charts with examples
4         Program structure of a simple
          C Program
5         Introduction to Character set,
          Identifiers, Keywords, Data
          Types
6         Constants, variables,
          expressions.
7         Statement, symbolic constants
8         Operations and expressions:
          Arithmetic operators, unary
          operators, relational and logical
          operators
9         Assignment and conditional                       test1
          operators, and library
          functions.
10   Data input and output:
     Preliminaries (printf,
     scanf),Single character output,
     entering input data, Writing
     output data, gets and puts
     function

11   Format Specifiers /Delimiters
     and Escape Sequences

12   Interactive programming            Assignment
     (creating User Friendly            1
     Programs)
13   Control statements:
     Preliminaries
14   If statements
15                                                   Test 2
     If elseif, nested ifelse, ladder
     ifelse statements
16   While, do-while statements
17   For statements, Nested loops

18   Switch Case Statement
19   Break and Continue statement
20   function: definition, uses,
     Types of functions(Inbuilt, user
     defined)
21   Predefined Functions: string
     function, mathematical
     functions
22   user defined function: defining,
     calling and prototype of
     function
23   Passing perimeters to function, Assignment
     Specifying argument data types 2

24   Recursion
25   Storage classes, automatic,
     external, and static variables
26   User defined data types: enum,
     typedef
27   Array: Defining and                            test3
     processing an array
28   Types of Array : one and two
     dimensional arrays
29   Array and Function
30   Intro to pointers
31   Pointer and one dimensional
     arrays
32   Pointer Arithmetics
33   Structure :Defining and           Assignment
     processing structure              3

34   Structure and pointers, passing
     structure to function

35   Self-referential structures
36   Union: definition,                             test4
     uses,difference b/w union and
     structure
37   Introduction of files:Opening
     and Closing files

38   Creating, and
     processing,Unformatted data
     field
39     C-programming
       applications: Linear
       Search,Binary search
40     Bubble sort,Selection sort




     Reference:
     1 Yashwant Kanetkar “Let us C”
     2. E.Balaguruswamy Programming in ansi ‘C’ (Tata McGraw Hill)
     3. Schaum’s series for data structure (Tata McGraw Hill)
Assignment No. 1
Date of delivery:
Date of submission:


Ques 1:    Define the following terms:
           a) variable
           b) constant
           c) keywords
           d) difference between ‘+’ and ‘++’ operator
           e) difference between ‘&’ and ‘&&’ operator
           f) difference between ‘=’ and ‘==’ operator


Ques 2:    Enumerate the operators available in ‘C’ language and illustrate
           the use of conditional, unary minus, increment and && operator
           through a simple program.
Ques 3:    What is an expression? What kind of information is returned by
           an expression?
Ques 4:    What do you understand by structured language? Why ‘C’ is
           called a structured language and middle level language?
Assignment No. 2
Date of delivery:
Date of submission:


Ques 1:    Wap in ‘C’ to input 5 digits number from user and print this
           number in reverse order?
Ques 2:    Name the three different classes of statements in ‘C’. describe
           the composition of each.
Ques 3:    What the purpose of break statement? Within which statements
           can the break statement can be included?
Ques 4:    Write a recursive function to compute fibonacci series upto 20
           terms.
Ques 5:    Write a program to print the following


                              1
                        1     2       1
                    1   2     3       2     1
           1        2   3     4       3     2       1


Ques 6.    What is the difference between while and do-while statement?
Assignment No. 3
Date of delivery:
Date of submission:


Ques 1:    Assuming That The Data Consist Of 100 Positive Integers In
           The Range Of 0 To 25, Write A Program In C That Prints The
           Number Of Times Each Of The Integers Occurs In The Input?
Ques 2:    Explain the difference between structure and union?
Ques 3:    WAP to sort the elements of an array by using selection sort and
           bubble sort.
Ques 4:    WAP to search an element from an array by using binary
           search.
Ques 5:    WAP to multiply two matrices.
Presentation Topics

1.       Algorithms and Flowcharts
2. Fundamentals: Character set, Identifiers & Keywords, Data Types,
      constants, set, constants, variables, expressions, statement, symbolic
      constants
3. Operations and expressions: Arithmetic operators, unary operators,
      relational and logical operators, assignment and conditional operators,
4.       Library functions
5. Data input and output: Preliminaries, single character input, single
      character output, entering input data, more about the scanf function, writing
      output data,
6.       String functions
7.       If else statements
8. While, do-while and for statements
9.       Nested loops
10.       Switch,
11.       Break continue statement
12.       Functions
13.       Recursion.
14. Storage classes: automatic, external, and static variables
15.      Array: one, two and multi dimensional array.
16. Passing pointers to a function, pointer and one dimensional arrays
17. Passing functions multidimensional arrays of pointers, passing functions to
      the other functions
18. Structure And Unions: Defining and processing a structure, user defined
    data types, structure and Pointers, passing structure to function, self-
    referential structures, unions.
19. Data files: Opening, closing, creating, and processing and unformatted data
    field.
20. Sorting (Bubble sort, Selection sort), Searching (Binary search, Linear
    Search).

Mais conteúdo relacionado

Mais procurados

Cosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletCosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletWoodardz
 
9781111530532 ppt ch03
9781111530532 ppt ch039781111530532 ppt ch03
9781111530532 ppt ch03Terry Yoast
 
Storage classes, linkage & memory management
Storage classes, linkage & memory managementStorage classes, linkage & memory management
Storage classes, linkage & memory managementMomenMostafa
 
M.tech.(cse) (regular) part i(semester i & ii)
M.tech.(cse) (regular) part i(semester i & ii)M.tech.(cse) (regular) part i(semester i & ii)
M.tech.(cse) (regular) part i(semester i & ii)Rekha Bhatia
 
01 c++ Intro.ppt
01 c++ Intro.ppt01 c++ Intro.ppt
01 c++ Intro.pptTareq Hasan
 
SE-IT DSA LAB SYLLABUS
SE-IT DSA LAB SYLLABUSSE-IT DSA LAB SYLLABUS
SE-IT DSA LAB SYLLABUSnikshaikh786
 
Solutions manual for c++ programming from problem analysis to program design ...
Solutions manual for c++ programming from problem analysis to program design ...Solutions manual for c++ programming from problem analysis to program design ...
Solutions manual for c++ programming from problem analysis to program design ...Warren0989
 
Programming fundamentals using c++ question paper 2014 tutorialsduniya
Programming fundamentals using c++  question paper 2014   tutorialsduniyaProgramming fundamentals using c++  question paper 2014   tutorialsduniya
Programming fundamentals using c++ question paper 2014 tutorialsduniyaTutorialsDuniya.com
 
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
R05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E SR05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E S
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E Sguestd436758
 
OOP in C++
OOP in C++OOP in C++
OOP in C++ppd1961
 

Mais procurados (19)

Cosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletCosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutlet
 
Handout#03
Handout#03Handout#03
Handout#03
 
Handout#09
Handout#09Handout#09
Handout#09
 
9781111530532 ppt ch03
9781111530532 ppt ch039781111530532 ppt ch03
9781111530532 ppt ch03
 
Storage classes, linkage & memory management
Storage classes, linkage & memory managementStorage classes, linkage & memory management
Storage classes, linkage & memory management
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
M.tech.(cse) (regular) part i(semester i & ii)
M.tech.(cse) (regular) part i(semester i & ii)M.tech.(cse) (regular) part i(semester i & ii)
M.tech.(cse) (regular) part i(semester i & ii)
 
Oops
OopsOops
Oops
 
Assignment11
Assignment11Assignment11
Assignment11
 
01 c++ Intro.ppt
01 c++ Intro.ppt01 c++ Intro.ppt
01 c++ Intro.ppt
 
SE-IT DSA LAB SYLLABUS
SE-IT DSA LAB SYLLABUSSE-IT DSA LAB SYLLABUS
SE-IT DSA LAB SYLLABUS
 
Handout#11
Handout#11Handout#11
Handout#11
 
Chap02
Chap02Chap02
Chap02
 
Assignment1
Assignment1Assignment1
Assignment1
 
Solutions manual for c++ programming from problem analysis to program design ...
Solutions manual for c++ programming from problem analysis to program design ...Solutions manual for c++ programming from problem analysis to program design ...
Solutions manual for c++ programming from problem analysis to program design ...
 
Handout#08
Handout#08Handout#08
Handout#08
 
Programming fundamentals using c++ question paper 2014 tutorialsduniya
Programming fundamentals using c++  question paper 2014   tutorialsduniyaProgramming fundamentals using c++  question paper 2014   tutorialsduniya
Programming fundamentals using c++ question paper 2014 tutorialsduniya
 
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
R05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E SR05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E S
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
 
OOP in C++
OOP in C++OOP in C++
OOP in C++
 

Destaque

Using Mail Merge
Using Mail Merge Using Mail Merge
Using Mail Merge PCTE
 
Mūžu mūžos ..... MD
Mūžu mūžos ..... MDMūžu mūžos ..... MD
Mūžu mūžos ..... MDirlavasbibl1
 
101marketingquotesjune2011
101marketingquotesjune2011101marketingquotesjune2011
101marketingquotesjune2011Narendra Singh
 
Course module of DS
Course module of DSCourse module of DS
Course module of DSPCTE
 
Searching techniques
Searching techniquesSearching techniques
Searching techniquesPCTE
 
Mūžu mūžos ..... md
Mūžu mūžos ..... mdMūžu mūžos ..... md
Mūžu mūžos ..... mdirlavasbibl1
 
Power Point Tips
Power Point TipsPower Point Tips
Power Point TipsPCTE
 

Destaque (9)

Using Mail Merge
Using Mail Merge Using Mail Merge
Using Mail Merge
 
Mūžu mūžos ..... MD
Mūžu mūžos ..... MDMūžu mūžos ..... MD
Mūžu mūžos ..... MD
 
101marketingquotesjune2011
101marketingquotesjune2011101marketingquotesjune2011
101marketingquotesjune2011
 
Course module of DS
Course module of DSCourse module of DS
Course module of DS
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
 
OR IP PCTE
OR IP PCTEOR IP PCTE
OR IP PCTE
 
Mūžu mūžos ..... md
Mūžu mūžos ..... mdMūžu mūžos ..... md
Mūžu mūžos ..... md
 
Power Point Tips
Power Point TipsPower Point Tips
Power Point Tips
 
System concepts
System conceptsSystem concepts
System concepts
 

Semelhante a Punjab College 'C' Programming Course Plan

Course Break - C Language
Course Break - C LanguageCourse Break - C Language
Course Break - C Languageanilmanu2001
 
Course Breakup - C Porgramming Language
Course Breakup - C Porgramming LanguageCourse Breakup - C Porgramming Language
Course Breakup - C Porgramming Languageanilmanu2001
 
Student copybca sem1-c
Student copybca sem1-cStudent copybca sem1-c
Student copybca sem1-canilmanu2001
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016Ankit Dubey
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016Ankit Dubey
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016Ankit Dubey
 
Course Break - C++ Language
Course Break - C++ LanguageCourse Break - C++ Language
Course Break - C++ Languageanilmanu2001
 
Course Break - C++ Language
Course Break - C++ LanguageCourse Break - C++ Language
Course Break - C++ Languageanilmanu2001
 
2021 icse reducedsylabiix-computer applications
2021 icse reducedsylabiix-computer applications2021 icse reducedsylabiix-computer applications
2021 icse reducedsylabiix-computer applicationsVahabshaik Shai
 
Syllabus of BCA Second Year JAMMU University
Syllabus of BCA Second Year JAMMU UniversitySyllabus of BCA Second Year JAMMU University
Syllabus of BCA Second Year JAMMU UniversityRavi Shairaywal
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 
B sc it syit sem 3 sem 4 syllabus as per mumbai university
B sc it syit sem 3 sem 4 syllabus as per mumbai universityB sc it syit sem 3 sem 4 syllabus as per mumbai university
B sc it syit sem 3 sem 4 syllabus as per mumbai universitytanujaparihar
 
EST 102 C P.pptx
EST 102 C P.pptxEST 102 C P.pptx
EST 102 C P.pptxsreekala47
 
Programming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture NotesProgramming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture NotesSreedhar Chowdam
 

Semelhante a Punjab College 'C' Programming Course Plan (20)

Course Break - C Language
Course Break - C LanguageCourse Break - C Language
Course Break - C Language
 
Course Breakup - C Porgramming Language
Course Breakup - C Porgramming LanguageCourse Breakup - C Porgramming Language
Course Breakup - C Porgramming Language
 
Student copybca sem1-c
Student copybca sem1-cStudent copybca sem1-c
Student copybca sem1-c
 
Af7ff syllabuslablist
Af7ff syllabuslablistAf7ff syllabuslablist
Af7ff syllabuslablist
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016
 
Course File c++
Course File c++Course File c++
Course File c++
 
Course Break - C++ Language
Course Break - C++ LanguageCourse Break - C++ Language
Course Break - C++ Language
 
Course Break - C++ Language
Course Break - C++ LanguageCourse Break - C++ Language
Course Break - C++ Language
 
2021 icse reducedsylabiix-computer applications
2021 icse reducedsylabiix-computer applications2021 icse reducedsylabiix-computer applications
2021 icse reducedsylabiix-computer applications
 
17 pcds syllabus
17 pcds syllabus17 pcds syllabus
17 pcds syllabus
 
Syllabus of BCA Second Year JAMMU University
Syllabus of BCA Second Year JAMMU UniversitySyllabus of BCA Second Year JAMMU University
Syllabus of BCA Second Year JAMMU University
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 
2nd sem
2nd sem2nd sem
2nd sem
 
2nd sem
2nd sem2nd sem
2nd sem
 
IT-UG-New-Syllabus.pdf
IT-UG-New-Syllabus.pdfIT-UG-New-Syllabus.pdf
IT-UG-New-Syllabus.pdf
 
B sc it syit sem 3 sem 4 syllabus as per mumbai university
B sc it syit sem 3 sem 4 syllabus as per mumbai universityB sc it syit sem 3 sem 4 syllabus as per mumbai university
B sc it syit sem 3 sem 4 syllabus as per mumbai university
 
EST 102 C P.pptx
EST 102 C P.pptxEST 102 C P.pptx
EST 102 C P.pptx
 
Programming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture NotesProgramming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture Notes
 

Último

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 

Último (20)

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 

Punjab College 'C' Programming Course Plan

  • 1. PUNJAB COLLEGE OF TECHNICAL EDUCATION, LUDHIANA COURSE PLAN Name of Teacher: Sandeepjit Kaur Subject Name: Programming in ‘C’ Email Id: sandeepjit@pcte.edu.in Subject Code: BC-104 (N2) Assignments: 3 Total Lectures: 40 Tests: 4 Revision Lectures: 4 Max. Marks 100 Internal Assessment 40 External Assessment 60 Instructions for Candidates Candidates are required to attempt four questions from section B and the entire section A. Use of non-programmable scientific calculator is allowed. Fundamentals: Character set, Identifiers & Keywords, Data Types, constants, set, constants, variables, expressions, statement, symbolic constants. Operations and expressions: Arithmetic operators, unary operators, relational and logical operators, assignment and conditional operators, and library functions. Data input and output: Preliminaries, single character input, single character output, entering input data, more about the scanf() function, writing output data, more about printf function, the gets and puts function, interactive programming. Control statements: Preliminaries, while, do-while and for statements. Nested loops, if else, switch, break continue statement. Functions: Brief overview, defining accessing function, passing perimeters to function, specifying argument data types, function prototype and recursion. Program structure: Storage classes, automatic, external, and static variables, more about library functions. Array: defining and processing an array, passing pointers to a function, pointer and one dimensional arrays, operations on pointers, passing functions multidimensional arrays of pointers, passing functions to the other functions, more about pointer declarations. Structure And Unions: Defining and processing a structure, user defined data types, structure and Pointers, passing structure to function, self-referential structures, unions.
  • 2. Data files: Opening, closing, creating, and processing and unformatted data field. C-programming applications: Sorting (Bubble sort, Selection sort), Searching (Binary search, Linear Search). REFERENCE: 1. E.Balaguruswamy Programming in ANSI ‘C’ (Tata McGraw Hill) 2. Byron Gottorfried Schaum’s outline of programming with C (Tata McGraw Hill) 3. Kerighan & Richie The C programming language (PHI Publication) 4. Lafore R. Object Oriented Programming (Galgotia) 5. Aaron M. Tannen Baum Data structures using C (PHI publication)
  • 3. Punjab College of Technical Education - Course Plan Subject Name: Programming in 'C' Subject BC-104(N2) Code: Teacher's Code: SJ No. of Tests: 4 No. of 40 No. of 4 Lect. Assignments Lect No Topic Assignment Test Date 1 Fundamentals of computer Language, Compiler, assembler 2 Problem Solving with Computers, Algorithms with examples 3 Flow charts with examples 4 Program structure of a simple C Program 5 Introduction to Character set, Identifiers, Keywords, Data Types 6 Constants, variables, expressions. 7 Statement, symbolic constants 8 Operations and expressions: Arithmetic operators, unary operators, relational and logical operators 9 Assignment and conditional test1 operators, and library functions.
  • 4. 10 Data input and output: Preliminaries (printf, scanf),Single character output, entering input data, Writing output data, gets and puts function 11 Format Specifiers /Delimiters and Escape Sequences 12 Interactive programming Assignment (creating User Friendly 1 Programs) 13 Control statements: Preliminaries 14 If statements 15 Test 2 If elseif, nested ifelse, ladder ifelse statements 16 While, do-while statements 17 For statements, Nested loops 18 Switch Case Statement 19 Break and Continue statement 20 function: definition, uses, Types of functions(Inbuilt, user defined) 21 Predefined Functions: string function, mathematical functions 22 user defined function: defining, calling and prototype of function
  • 5. 23 Passing perimeters to function, Assignment Specifying argument data types 2 24 Recursion 25 Storage classes, automatic, external, and static variables 26 User defined data types: enum, typedef 27 Array: Defining and test3 processing an array 28 Types of Array : one and two dimensional arrays 29 Array and Function 30 Intro to pointers 31 Pointer and one dimensional arrays 32 Pointer Arithmetics 33 Structure :Defining and Assignment processing structure 3 34 Structure and pointers, passing structure to function 35 Self-referential structures 36 Union: definition, test4 uses,difference b/w union and structure 37 Introduction of files:Opening and Closing files 38 Creating, and processing,Unformatted data field
  • 6. 39 C-programming applications: Linear Search,Binary search 40 Bubble sort,Selection sort Reference: 1 Yashwant Kanetkar “Let us C” 2. E.Balaguruswamy Programming in ansi ‘C’ (Tata McGraw Hill) 3. Schaum’s series for data structure (Tata McGraw Hill)
  • 7. Assignment No. 1 Date of delivery: Date of submission: Ques 1: Define the following terms: a) variable b) constant c) keywords d) difference between ‘+’ and ‘++’ operator e) difference between ‘&’ and ‘&&’ operator f) difference between ‘=’ and ‘==’ operator Ques 2: Enumerate the operators available in ‘C’ language and illustrate the use of conditional, unary minus, increment and && operator through a simple program. Ques 3: What is an expression? What kind of information is returned by an expression? Ques 4: What do you understand by structured language? Why ‘C’ is called a structured language and middle level language?
  • 8. Assignment No. 2 Date of delivery: Date of submission: Ques 1: Wap in ‘C’ to input 5 digits number from user and print this number in reverse order? Ques 2: Name the three different classes of statements in ‘C’. describe the composition of each. Ques 3: What the purpose of break statement? Within which statements can the break statement can be included? Ques 4: Write a recursive function to compute fibonacci series upto 20 terms. Ques 5: Write a program to print the following 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 Ques 6. What is the difference between while and do-while statement?
  • 9. Assignment No. 3 Date of delivery: Date of submission: Ques 1: Assuming That The Data Consist Of 100 Positive Integers In The Range Of 0 To 25, Write A Program In C That Prints The Number Of Times Each Of The Integers Occurs In The Input? Ques 2: Explain the difference between structure and union? Ques 3: WAP to sort the elements of an array by using selection sort and bubble sort. Ques 4: WAP to search an element from an array by using binary search. Ques 5: WAP to multiply two matrices.
  • 10. Presentation Topics 1. Algorithms and Flowcharts 2. Fundamentals: Character set, Identifiers & Keywords, Data Types, constants, set, constants, variables, expressions, statement, symbolic constants 3. Operations and expressions: Arithmetic operators, unary operators, relational and logical operators, assignment and conditional operators, 4. Library functions 5. Data input and output: Preliminaries, single character input, single character output, entering input data, more about the scanf function, writing output data, 6. String functions 7. If else statements 8. While, do-while and for statements 9. Nested loops 10. Switch, 11. Break continue statement 12. Functions 13. Recursion. 14. Storage classes: automatic, external, and static variables 15. Array: one, two and multi dimensional array. 16. Passing pointers to a function, pointer and one dimensional arrays 17. Passing functions multidimensional arrays of pointers, passing functions to the other functions 18. Structure And Unions: Defining and processing a structure, user defined data types, structure and Pointers, passing structure to function, self- referential structures, unions. 19. Data files: Opening, closing, creating, and processing and unformatted data field. 20. Sorting (Bubble sort, Selection sort), Searching (Binary search, Linear Search).