SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
Government Polytechnic, Mumbai Information Technology
Programming in C IT16202
*Assessed by External Examiner
Rationale:
Computer applications are all pervasive in day to day life of human being. It become
compulsory to all employable to have sound knowledge of how computer works and process
data and information.
This subject covers from the basic concept of C to pointers in C. This subject will act
like OOPS, VB, Windows Programming, JAVA, OOMD, etc.
Course Outcomes:
Student should be able to
CO1 Illustrate the Flowchart and describe an algorithm for a given program.
CO2 Develop Conditional and iterative statements to write C programs.
CO3 Exercise user defined functions to solve real time problems
CO4
Describe C Programs using pointers and to allocate memory using dynamic
memory management functions
CO5 Develop programs using input and output operations
CO6 Understand the concepts of constants, variables, data types and operators.
Course Content Details:
Unit
No
Topics / Sub-topics
1
Program Logic development
1.1 Fundamentals of algorithms: Notion of an algorithm. Pseudo-code
conventions like assignment statements and basic control structures.
1.2 Algorithmic problems: Develop fundamental algorithms for (i) Exchange the
values of two variables with and without temporary variable, (ii) Counting positive
numbers from a set of integers, (iii) Summation of set of numbers, (iv) Reversing
the digits of an integer, (v) Find smallest positive divisor of an integer other then 1,
(vi) Find G.C.D. and L.C.M. of two as well as three positive integers, (vii)
Generating prime numbers.
1.3 Flow chart: flow charts for all algorithms developed
Programme : CO/IT
Course Code: IT16202 Course Title: Programming in C
Compulsory / Optional: Compulsory
Teaching Scheme and Credits Examination Scheme
TH TU PR Total TH TS PR OR TW Total
03 -- 04 07 70 (3 Hrs.) 30 50* -- -- 150
Government Polytechnic, Mumbai Information Technology
Programming in C IT16202
2
Basics of C programming
2.1 Different approaches in programming: Procedural approach, Object
Oriented approach, Event Driven approach.
2.2 Structure of C: Header and body, Use of comments, Compilation of a
program.
2.3 Data Concepts: Variables, Constants, data types like: int, float char, double
and void. Qualifiers: short and long size qualifiers, signed and unsigned qualifiers.
Declaring variables, Scope of the variables according to block, Hierarchy of data
types.
2.4 Basic Input output: C program structure, Input and output using printf() and
scanf(), character I/O.
(Programs based on I/O)
3
Control Structures
3.1Decision making: If Statement, If else statement, Nesting of if-else
3.2 branching: The switch statement
3.3 Looping: While loop, Do-while loop, For loop
3.4 Ternary operator
3.5 Go to statement
3.6 Use of break and continue statements
4 Arrays and Strings
4.1 One dimension, two dimension and multidimensional arrays
4.2 Array declaration
4.3 Array initialization
4.4 calculating the length of an array
4.5Operation on array
4.6 String input/output
4.7 String operations
4.6 Array of strings
5
Structure and Union
5.1 Basic Concept
5.2 Structure declaration, initialization
5.3 Structure within structure
5.4 Nested Structures
5.5 Array of Structure
5.5 Union
6 Functions
6.1 Concept of library functions
6.2 String functions (comparison, concatenation, length)
6.3 User-defined functions
6.3 Local & global variables
6.4 Parameter passing
6.5 Storage classes
Government Polytechnic, Mumbai Information Technology
Programming in C IT16202
7
Pointers
7.1Basic concept
7.2Pointer & arrays
7.3Pointer & functions
7.4 Pointer arithmetic
Suggested Specifications Table with Hours and Marks (Theory):
Unit
No
Topic Title
Teaching
Hours
Distribution of Theory Marks
R
Level
U
Level
A
Level
Total
Marks
1 Program Logic development 05 01 03 03 07
2 Basics of C programming 09 04 06 02 12
3 Control Structures 10 04 06 06 16
4 Arrays and Strings 08 02 04 04 10
5 Structure and Union 05 02 02 04 08
6 Functions 05 02 02 04 08
7 Pointers 06 01 04 04 09
Total 48 16 27 27 70
Legends: R- Remember; U-Understand; A-
Taxonomy).
Notes: This specification table shall be treated as a general guideline and actual distribution
of marks may slightly vary from table. But the questions from each topic should be asked as
per marks weightage. Numerical questions are to be asked only if specified.
List of experiments/Assignments:
Sr.
No.
Unit Experiment/Assignment
Approx.
Hours
1 1
Write an algorithm and draw the flow chart for following:
a) To find out number is odd or even.
b) To find out factorial value of a number.
c) To check a number is prime number or not.
04
2 1,2
Program based on Input/output statement.
a) To find out number is odd or even.
b) To find out factorial value of a number.
c) To check a number is prime number or not.
04
3 1,2,3
Program using control structures: Decision making
a) To find whether the input number is even or odd.
b) To find whether the number entered is positive or negative.
04
Government Polytechnic, Mumbai Information Technology
Programming in C IT16202
4 3
Program using control structures: Branching
a) To find the greatest number among three numbers using
nested if
b) Program that asks user an arithmetic operator ('+','-','*' or
'/') and two operands and perform the corresponding
calculation on the operands using switch case.
04
5 3
Program using control structures: Looping(using loops)
a) To find the sum of first n natural numbers where n is
entered by user.
b) To Find Number of Digits in a Number.
c) To check whether a number is palindrome or not.
d) To Generate Multiplication Table.
04
6 4
Program to perform insert and delete operation on one
dimensional array. 04
7 4
Program to accept values in 2-Dimensional 3 by 3 arrays and
displays the sum of all the elements. 04
8 4 Program using array of strings. 04
9 5
Program using structure and union
a) To store information of 3 students (Name, Roll No,
Marks)
b) To store information of 2 employees (emp_id, name,
salary) and display the details of the employee having
salary greater than Rs. 5000.
04
10 6 Program to perform different operations on string. 04
11 6
Program using function(call by value)
a) to swap to numbers
b) to find square of a given number
04
12 6
Program using function(call by reference)
a) To swap to numbers
b) To find square of a given number
04
13 7 Program using pointer. 04
14 7
Program to compute the sum of all elements stored in an array
using pointers
04
15 7 Program using pointer Arithmetic. 04
16 Mini Project 04
Total 64
Government Polytechnic, Mumbai Information Technology
Programming in C IT16202
References/ Books:
Sr. No. Name of Book Author Publisher
1
The C Programming
Language
Brian W.
Kernighan, Dennis Ritchie
Prentice Hall
2 Programming in ANSI C E. Balgurusamy The Mc-Graw Hill
3 Let us C Yashawant Kanetkar BPB Publications
Course Curriculum Development Committee:
a. Internal Faculty
i. Ms. U.C.Khake (Lecturer in Computer Engineering, Govt. Polytechnic
Mumbai)
ii. Ms. S. A. H. Shaikh (Lecturer in Information Technology, Govt.
Polytechnic Mumbai)
iii. Mrs. V. S. Lokhande (Lecturer in Computer Engineering, Govt.
Polytechnic Mumbai)
b. External Faculty
i. Ms. Nisha Vartha ( Lecturer in Information Technology, Govt.
Polytechnic Thane)
Academic Coordinator Head of Department Principal
(Information Technology) Govt. Polytechnic Mumbai
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016
Fy secondsemester2016

Weitere ähnliche Inhalte

Was ist angesagt?

exercise-week-2-core-c-progr
exercise-week-2-core-c-progrexercise-week-2-core-c-progr
exercise-week-2-core-c-progrChi Lam
 
Principles of object oriented programing
Principles of object oriented programingPrinciples of object oriented programing
Principles of object oriented programingAhammed Alamin
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqpB Bhuvanesh
 
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
 
C programming | Class 8 | III Term
C programming  | Class 8  | III TermC programming  | Class 8  | III Term
C programming | Class 8 | III TermAndrew Raj
 

Was ist angesagt? (16)

CP Handout#5
CP Handout#5CP Handout#5
CP Handout#5
 
exercise-week-2-core-c-progr
exercise-week-2-core-c-progrexercise-week-2-core-c-progr
exercise-week-2-core-c-progr
 
CP Handout#8
CP Handout#8CP Handout#8
CP Handout#8
 
Principles of object oriented programing
Principles of object oriented programingPrinciples of object oriented programing
Principles of object oriented programing
 
CP Handout#9
CP Handout#9CP Handout#9
CP Handout#9
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqp
 
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 ...
 
Chapter2
Chapter2Chapter2
Chapter2
 
Ocs752 unit 5
Ocs752   unit 5Ocs752   unit 5
Ocs752 unit 5
 
C programming part4
C programming part4C programming part4
C programming part4
 
Chapter 4 5
Chapter 4 5Chapter 4 5
Chapter 4 5
 
Ocs752 unit 4
Ocs752   unit 4Ocs752   unit 4
Ocs752 unit 4
 
C programming | Class 8 | III Term
C programming  | Class 8  | III TermC programming  | Class 8  | III Term
C programming | Class 8 | III Term
 
Ocs752 unit 2
Ocs752   unit 2Ocs752   unit 2
Ocs752 unit 2
 
Assignment5
Assignment5Assignment5
Assignment5
 

Ähnlich wie Fy secondsemester2016

Fundamentals of Data Structures Unit 1.pptx
Fundamentals of Data Structures Unit 1.pptxFundamentals of Data Structures Unit 1.pptx
Fundamentals of Data Structures Unit 1.pptxVigneshkumar Ponnusamy
 
GE3151 PSPP _Unit 1 notes and Question bank.pdf
GE3151 PSPP _Unit 1 notes and Question bank.pdfGE3151 PSPP _Unit 1 notes and Question bank.pdf
GE3151 PSPP _Unit 1 notes and Question bank.pdfAsst.prof M.Gokilavani
 
Lecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptxLecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptxravi2692kumar
 
Coursebreakup
CoursebreakupCoursebreakup
CoursebreakupPCTE
 
Coursebreakup
CoursebreakupCoursebreakup
CoursebreakupPCTE
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 
FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docFDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docjaba kumar
 
Software estimation techniques
Software estimation techniquesSoftware estimation techniques
Software estimation techniquesTan Tran
 
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
 
C Programming Lab manual 18CPL17
C Programming Lab manual 18CPL17C Programming Lab manual 18CPL17
C Programming Lab manual 18CPL17manjurkts
 
CBCS 2018 Scheme I sem Lab Manual for 18CPL17
CBCS 2018 Scheme I sem Lab Manual for 18CPL17 CBCS 2018 Scheme I sem Lab Manual for 18CPL17
CBCS 2018 Scheme I sem Lab Manual for 18CPL17 manjurkts
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 solIIUM
 
C and Data structure lab manual ECE (2).pdf
C and Data structure lab manual ECE (2).pdfC and Data structure lab manual ECE (2).pdf
C and Data structure lab manual ECE (2).pdfjanakim15
 
Duplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsDuplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsEditor IJCATR
 
Duplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsDuplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsEditor IJCATR
 
Duplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsDuplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsEditor IJCATR
 

Ähnlich wie Fy secondsemester2016 (20)

Fundamentals of Data Structures Unit 1.pptx
Fundamentals of Data Structures Unit 1.pptxFundamentals of Data Structures Unit 1.pptx
Fundamentals of Data Structures Unit 1.pptx
 
GE3151 PSPP _Unit 1 notes and Question bank.pdf
GE3151 PSPP _Unit 1 notes and Question bank.pdfGE3151 PSPP _Unit 1 notes and Question bank.pdf
GE3151 PSPP _Unit 1 notes and Question bank.pdf
 
Lecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptxLecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptx
 
Coursebreakup
CoursebreakupCoursebreakup
Coursebreakup
 
Coursebreakup
CoursebreakupCoursebreakup
Coursebreakup
 
GE3151_PSPP_All unit _Notes
GE3151_PSPP_All unit _NotesGE3151_PSPP_All unit _Notes
GE3151_PSPP_All unit _Notes
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 
Cp manual final
Cp manual finalCp manual final
Cp manual final
 
c programing
c programingc programing
c programing
 
FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docFDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.doc
 
Software estimation techniques
Software estimation techniquesSoftware estimation techniques
Software estimation techniques
 
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
 
C Programming Lab manual 18CPL17
C Programming Lab manual 18CPL17C Programming Lab manual 18CPL17
C Programming Lab manual 18CPL17
 
CBCS 2018 Scheme I sem Lab Manual for 18CPL17
CBCS 2018 Scheme I sem Lab Manual for 18CPL17 CBCS 2018 Scheme I sem Lab Manual for 18CPL17
CBCS 2018 Scheme I sem Lab Manual for 18CPL17
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 sol
 
Intro
IntroIntro
Intro
 
C and Data structure lab manual ECE (2).pdf
C and Data structure lab manual ECE (2).pdfC and Data structure lab manual ECE (2).pdf
C and Data structure lab manual ECE (2).pdf
 
Duplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsDuplicate Code Detection using Control Statements
Duplicate Code Detection using Control Statements
 
Duplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsDuplicate Code Detection using Control Statements
Duplicate Code Detection using Control Statements
 
Duplicate Code Detection using Control Statements
Duplicate Code Detection using Control StatementsDuplicate Code Detection using Control Statements
Duplicate Code Detection using Control Statements
 

Mehr von Ankit Dubey

Unit 1 android and it's tools quiz {mad cwipedia}
Unit 1 android and it's tools quiz {mad cwipedia}Unit 1 android and it's tools quiz {mad cwipedia}
Unit 1 android and it's tools quiz {mad cwipedia}Ankit Dubey
 
Ch5 cpu-scheduling
Ch5 cpu-schedulingCh5 cpu-scheduling
Ch5 cpu-schedulingAnkit Dubey
 
Ch2 system structure
Ch2 system structureCh2 system structure
Ch2 system structureAnkit Dubey
 
Ch1 introduction-to-os
Ch1 introduction-to-osCh1 introduction-to-os
Ch1 introduction-to-osAnkit Dubey
 
Mongodb mock test_ii
Mongodb mock test_iiMongodb mock test_ii
Mongodb mock test_iiAnkit Dubey
 
Android mock test_iii
Android mock test_iiiAndroid mock test_iii
Android mock test_iiiAnkit Dubey
 
Android mock test_ii
Android mock test_iiAndroid mock test_ii
Android mock test_iiAnkit Dubey
 
Ajp notes-chapter-06
Ajp notes-chapter-06Ajp notes-chapter-06
Ajp notes-chapter-06Ankit Dubey
 
Ajp notes-chapter-05
Ajp notes-chapter-05Ajp notes-chapter-05
Ajp notes-chapter-05Ankit Dubey
 
Ajp notes-chapter-04
Ajp notes-chapter-04Ajp notes-chapter-04
Ajp notes-chapter-04Ankit Dubey
 
Ajp notes-chapter-03
Ajp notes-chapter-03Ajp notes-chapter-03
Ajp notes-chapter-03Ankit Dubey
 

Mehr von Ankit Dubey (20)

Unit 1 android and it's tools quiz {mad cwipedia}
Unit 1 android and it's tools quiz {mad cwipedia}Unit 1 android and it's tools quiz {mad cwipedia}
Unit 1 android and it's tools quiz {mad cwipedia}
 
Scheduling
Scheduling Scheduling
Scheduling
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Ch5 cpu-scheduling
Ch5 cpu-schedulingCh5 cpu-scheduling
Ch5 cpu-scheduling
 
Ch4 threads
Ch4 threadsCh4 threads
Ch4 threads
 
Ch3 processes
Ch3 processesCh3 processes
Ch3 processes
 
Ch2 system structure
Ch2 system structureCh2 system structure
Ch2 system structure
 
Ch1 introduction-to-os
Ch1 introduction-to-osCh1 introduction-to-os
Ch1 introduction-to-os
 
Android i
Android iAndroid i
Android i
 
Mongodb mock test_ii
Mongodb mock test_iiMongodb mock test_ii
Mongodb mock test_ii
 
Android mock test_iii
Android mock test_iiiAndroid mock test_iii
Android mock test_iii
 
Android mock test_ii
Android mock test_iiAndroid mock test_ii
Android mock test_ii
 
Ajp notes-chapter-06
Ajp notes-chapter-06Ajp notes-chapter-06
Ajp notes-chapter-06
 
Ajp notes-chapter-05
Ajp notes-chapter-05Ajp notes-chapter-05
Ajp notes-chapter-05
 
Ajp notes-chapter-04
Ajp notes-chapter-04Ajp notes-chapter-04
Ajp notes-chapter-04
 
Ajp notes-chapter-03
Ajp notes-chapter-03Ajp notes-chapter-03
Ajp notes-chapter-03
 

Kürzlich hochgeladen

MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Kürzlich hochgeladen (20)

MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 

Fy secondsemester2016

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. Government Polytechnic, Mumbai Information Technology Programming in C IT16202 *Assessed by External Examiner Rationale: Computer applications are all pervasive in day to day life of human being. It become compulsory to all employable to have sound knowledge of how computer works and process data and information. This subject covers from the basic concept of C to pointers in C. This subject will act like OOPS, VB, Windows Programming, JAVA, OOMD, etc. Course Outcomes: Student should be able to CO1 Illustrate the Flowchart and describe an algorithm for a given program. CO2 Develop Conditional and iterative statements to write C programs. CO3 Exercise user defined functions to solve real time problems CO4 Describe C Programs using pointers and to allocate memory using dynamic memory management functions CO5 Develop programs using input and output operations CO6 Understand the concepts of constants, variables, data types and operators. Course Content Details: Unit No Topics / Sub-topics 1 Program Logic development 1.1 Fundamentals of algorithms: Notion of an algorithm. Pseudo-code conventions like assignment statements and basic control structures. 1.2 Algorithmic problems: Develop fundamental algorithms for (i) Exchange the values of two variables with and without temporary variable, (ii) Counting positive numbers from a set of integers, (iii) Summation of set of numbers, (iv) Reversing the digits of an integer, (v) Find smallest positive divisor of an integer other then 1, (vi) Find G.C.D. and L.C.M. of two as well as three positive integers, (vii) Generating prime numbers. 1.3 Flow chart: flow charts for all algorithms developed Programme : CO/IT Course Code: IT16202 Course Title: Programming in C Compulsory / Optional: Compulsory Teaching Scheme and Credits Examination Scheme TH TU PR Total TH TS PR OR TW Total 03 -- 04 07 70 (3 Hrs.) 30 50* -- -- 150
  • 16. Government Polytechnic, Mumbai Information Technology Programming in C IT16202 2 Basics of C programming 2.1 Different approaches in programming: Procedural approach, Object Oriented approach, Event Driven approach. 2.2 Structure of C: Header and body, Use of comments, Compilation of a program. 2.3 Data Concepts: Variables, Constants, data types like: int, float char, double and void. Qualifiers: short and long size qualifiers, signed and unsigned qualifiers. Declaring variables, Scope of the variables according to block, Hierarchy of data types. 2.4 Basic Input output: C program structure, Input and output using printf() and scanf(), character I/O. (Programs based on I/O) 3 Control Structures 3.1Decision making: If Statement, If else statement, Nesting of if-else 3.2 branching: The switch statement 3.3 Looping: While loop, Do-while loop, For loop 3.4 Ternary operator 3.5 Go to statement 3.6 Use of break and continue statements 4 Arrays and Strings 4.1 One dimension, two dimension and multidimensional arrays 4.2 Array declaration 4.3 Array initialization 4.4 calculating the length of an array 4.5Operation on array 4.6 String input/output 4.7 String operations 4.6 Array of strings 5 Structure and Union 5.1 Basic Concept 5.2 Structure declaration, initialization 5.3 Structure within structure 5.4 Nested Structures 5.5 Array of Structure 5.5 Union 6 Functions 6.1 Concept of library functions 6.2 String functions (comparison, concatenation, length) 6.3 User-defined functions 6.3 Local & global variables 6.4 Parameter passing 6.5 Storage classes
  • 17. Government Polytechnic, Mumbai Information Technology Programming in C IT16202 7 Pointers 7.1Basic concept 7.2Pointer & arrays 7.3Pointer & functions 7.4 Pointer arithmetic Suggested Specifications Table with Hours and Marks (Theory): Unit No Topic Title Teaching Hours Distribution of Theory Marks R Level U Level A Level Total Marks 1 Program Logic development 05 01 03 03 07 2 Basics of C programming 09 04 06 02 12 3 Control Structures 10 04 06 06 16 4 Arrays and Strings 08 02 04 04 10 5 Structure and Union 05 02 02 04 08 6 Functions 05 02 02 04 08 7 Pointers 06 01 04 04 09 Total 48 16 27 27 70 Legends: R- Remember; U-Understand; A- Taxonomy). Notes: This specification table shall be treated as a general guideline and actual distribution of marks may slightly vary from table. But the questions from each topic should be asked as per marks weightage. Numerical questions are to be asked only if specified. List of experiments/Assignments: Sr. No. Unit Experiment/Assignment Approx. Hours 1 1 Write an algorithm and draw the flow chart for following: a) To find out number is odd or even. b) To find out factorial value of a number. c) To check a number is prime number or not. 04 2 1,2 Program based on Input/output statement. a) To find out number is odd or even. b) To find out factorial value of a number. c) To check a number is prime number or not. 04 3 1,2,3 Program using control structures: Decision making a) To find whether the input number is even or odd. b) To find whether the number entered is positive or negative. 04
  • 18. Government Polytechnic, Mumbai Information Technology Programming in C IT16202 4 3 Program using control structures: Branching a) To find the greatest number among three numbers using nested if b) Program that asks user an arithmetic operator ('+','-','*' or '/') and two operands and perform the corresponding calculation on the operands using switch case. 04 5 3 Program using control structures: Looping(using loops) a) To find the sum of first n natural numbers where n is entered by user. b) To Find Number of Digits in a Number. c) To check whether a number is palindrome or not. d) To Generate Multiplication Table. 04 6 4 Program to perform insert and delete operation on one dimensional array. 04 7 4 Program to accept values in 2-Dimensional 3 by 3 arrays and displays the sum of all the elements. 04 8 4 Program using array of strings. 04 9 5 Program using structure and union a) To store information of 3 students (Name, Roll No, Marks) b) To store information of 2 employees (emp_id, name, salary) and display the details of the employee having salary greater than Rs. 5000. 04 10 6 Program to perform different operations on string. 04 11 6 Program using function(call by value) a) to swap to numbers b) to find square of a given number 04 12 6 Program using function(call by reference) a) To swap to numbers b) To find square of a given number 04 13 7 Program using pointer. 04 14 7 Program to compute the sum of all elements stored in an array using pointers 04 15 7 Program using pointer Arithmetic. 04 16 Mini Project 04 Total 64
  • 19. Government Polytechnic, Mumbai Information Technology Programming in C IT16202 References/ Books: Sr. No. Name of Book Author Publisher 1 The C Programming Language Brian W. Kernighan, Dennis Ritchie Prentice Hall 2 Programming in ANSI C E. Balgurusamy The Mc-Graw Hill 3 Let us C Yashawant Kanetkar BPB Publications Course Curriculum Development Committee: a. Internal Faculty i. Ms. U.C.Khake (Lecturer in Computer Engineering, Govt. Polytechnic Mumbai) ii. Ms. S. A. H. Shaikh (Lecturer in Information Technology, Govt. Polytechnic Mumbai) iii. Mrs. V. S. Lokhande (Lecturer in Computer Engineering, Govt. Polytechnic Mumbai) b. External Faculty i. Ms. Nisha Vartha ( Lecturer in Information Technology, Govt. Polytechnic Thane) Academic Coordinator Head of Department Principal (Information Technology) Govt. Polytechnic Mumbai