SlideShare a Scribd company logo
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).

More Related Content

What's hot

Cosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletCosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutlet
Woodardz
 
Handout#03
Handout#03Handout#03
Handout#03
Sunita Milind Dol
 
Handout#09
Handout#09Handout#09
Handout#09
Sunita Milind Dol
 
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 management
MomenMostafa
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
Soran University
 
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
 
Oops
OopsOops
Assignment11
Assignment11Assignment11
Assignment11
Sunita Milind Dol
 
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 SYLLABUS
nikshaikh786
 
Handout#11
Handout#11Handout#11
Handout#11
Sunita Milind Dol
 
Assignment1
Assignment1Assignment1
Assignment1
Sunita Milind Dol
 
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
 
Handout#08
Handout#08Handout#08
Handout#08
Sunita Milind Dol
 
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
TutorialsDuniya.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 S
guestd436758
 
OOP in C++
OOP in C++OOP in C++
OOP in C++
ppd1961
 

What's hot (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++
 

Viewers also liked

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 DS
PCTE
 
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
 

Viewers also liked (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
 

Similar to Coursebreakup

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 secondsemester2016
Ankit Dubey
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016
Ankit Dubey
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016
Ankit Dubey
 
Course File c++
Course File c++Course File c++
Course File c++
emailharmeet
 
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 applications
Vahabshaik Shai
 
17 pcds syllabus
17 pcds syllabus17 pcds syllabus
17 pcds syllabus
anandgudnavar
 
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 SYLLABUS
nikshaikh786
 
IT-UG-New-Syllabus.pdf
IT-UG-New-Syllabus.pdfIT-UG-New-Syllabus.pdf
IT-UG-New-Syllabus.pdf
SONUKUMAR325592
 
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
tanujaparihar
 
EST 102 C P.pptx
EST 102 C P.pptxEST 102 C P.pptx
EST 102 C P.pptx
sreekala47
 
Programming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture NotesProgramming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture Notes
Sreedhar Chowdam
 

Similar to Coursebreakup (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
 

Recently uploaded

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 

Recently uploaded (20)

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 

Coursebreakup

  • 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).