0% found this document useful (0 votes)
15 views

Prog in C

The document outlines a course on programming in C for BCA students. It includes the course introduction, objectives, expected outcomes, syllabus, reference material, and session plan. The course objectives are to teach students various programming concepts in C like control flow, arrays, functions, structures, pointers, and file handling. The syllabus is divided into 4 units covering these topics. The session plan details the topics to be covered each week along with assessments including assignments, projects, tests, and activities like guest lectures and industry visits.

Uploaded by

Mohit Saini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Prog in C

The document outlines a course on programming in C for BCA students. It includes the course introduction, objectives, expected outcomes, syllabus, reference material, and session plan. The course objectives are to teach students various programming concepts in C like control flow, arrays, functions, structures, pointers, and file handling. The syllabus is divided into 4 units covering these topics. The session plan details the topics to be covered each week along with assessments including assignments, projects, tests, and activities like guest lectures and industry visits.

Uploaded by

Mohit Saini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26

Program Name:BCA

Subject Name:Prog in C
Course Pack
Faculty Name: Mohit Saini
BCA-I-Programing of C

Table of Contents
BCA-I-Programing In C...................................................................................................3

Course Introduction..........................................................................................................3
Course Objectives:......................................................................................................................3

Syllabus.............................................................................................................................3

Session Plan.......................................................................................................................5
Course Objectives:......................................................................................................................8
Investigate techniques for tuning your C code Expected Course Outcomes:............................8
Mapping of Course Outcomes and Programme Outcomes........................................................9
Evaluation Scheme....................................................................................................................10

Details of External Learning Activities Conducted for the Course.................................11

Record of Tutorials and Quality Improvement Sessions................................................12


Record of Identification of Weak Students, Efforts Put Forward for Their Improvement
and the Outcome.............................................................................................................13

Course Assessment..........................................................................................................14
Evaluation.................................................................................................................................14
Continuous Evaluation and Grading:.......................................................................................14

Assignment – 1................................................................................................................17

Assignment - 2.................................................................................................................18
About Contact Management System in C:.........................................................................19

Project-2..........................................................................................................................20
About Library Management System Project in C:...................................................................20

Mid-Term Examination Paper........................................................................................21

End-Term Examination Paper........................................................................................22

Reference Material..........................................................................................................24

2
BCA-I-Programing in C

BCA-I-Programing In C
Course Introduction
This is a course in programming in C. No prior programming experience is assumed;
however, mathematical maturity at the level of a second year science or engineering
undergraduate is assumed.We emphasize solving problems using the language, and introduce
standard programming techniques like alternation, iteration and recursion. We will briefly
glimpse the basics of software engineering practices like modularization, commenting, and
naming conventions which help in collaborating and programming in teams.Given a problem,
we pay attention to the following questions:

What is an algorithmic solution to the problem?


How do we translate the algorithm into C code?
How efficient is the code?
How maintainable is the code?
Course Objectives:
 Enumerate the significant aspects of software development and problem solving
techniques 
 Exhibit the various types of control flow in C language
 Illustrate the effective usage of arrays, functions and structures in C.
 Demonstrate the implementation of pointers in arrays, structures and functions.
 Analyze file access methods and the features of preprocessor directives
 Develop a greater understanding of the issues involved in programming language
design and implementation
 Understand design/implementation issues involved with variable allocation and
binding, control flow, types, subroutines, parameter passing

Expected Course Outcomes:


After Completion of the course, the students will be able to:
CO2: Given a computational problem, identify and abstractthe programming task
involved (Individual assignments quiz and exercise).

CO3: Approach the programming tasks using techniques learned and write pseudo-code.
(Individual assignments quiz and exercise).

CO4: Write the program on a computer, edit, compile, debug, correct, recompile and run
it. (Individual assignments quiz and exercise).

CO5: Identify tasks in which the numerical techniques learned are applicable and apply
them to write programs, and hence use computers effectively to solve the task(Individual
assignments quiz and exercise).

3
BCA-I-Programing of C

CO6: Write the program on a computer, edit, compile, debug, correct, recompile and run it.
(team assignment).

Syllabus
UNIT-I: Programming in C: History, Introduction to C Programming
Languages, Structure of C programs, compilation and execution of C
programms. Debugging Techniques, Data Types and Sizes, Declaration of
variables, Modifiers, Identifiers and keywords, Symbolic constants, Storage
classes (automatic, external, register and static), Enumerations, command line
parameters, Macros, The C Preprocessor
UNIT-II: Operators: Unary operators, Arithmetic & logical operators, Bit wise
operators, Assignment operators and expressions, Conditional expressions,
precedence and order of evaluation. Control Statements: if-else, switch, break,
continue, the comma operator, go to statement..
UNIT-III: Loops: for, while, do-while. Functions: built-in and user-defined,
function declaration, definition and function call, parameter passing: call by
value, call by reference, recursive functions, multifile programs.
UNIT-IVArrays: Linear arrays, multidimensional arrays, Passing arrays to
functions, Arrays and strings. Structure and Union: Definition and differences,
self-referential structure. And address of (&) operator, pointer to pointer,
Dynamic Momory Allocation, calloc and malloc functions, array of pointers,
function of pointers, structures and pointers.
UNIT-IV: File: File Handling in C)

Suggested Readings
Text Books:
1. Let us C by Yashavant Kanetkar
2. C: The complete reference by Herbert Schildt
3. Programming in ANSI C by E. Balaguruswamy.
4. 21st Century C by Ben Kiemens.
Reference books:
1. V. Rajaraman, "Fundamentals of Computers", PHI
4
BCA-I-Programing in C

2. Pater Norton's "Introduction to Computer", TMH

3. Hahn, "The Internet complete reference", TMH

4. Peter Nortton's, "DOS Guide", Prentice Hall of India

5. Gottfried, "Programming in C, Schaum's Series Tata McGraw Hill

Reference Material:
Practical Exercise:
1.  Attach in separate file

Videos:
Introduction of C
https://www.youtube.com/watch?v=pw0uGPmGNl8
Loop in C
https://www.youtube.com/watch?v=BpeIfof3VBk
Arrays & Pointers in C
https://www.youtube.com/watch?v=55l-
aZ7_F24&list=PLBlnK6fEyqRjoG6aJ4FvFU1tlXbjLBiOP
Structures in C
https://www.youtube.com/watch?v=Ranc3VvjI88

Reading the contents of a file In C | File Handling

https://www.youtube.com/watch?
v=CDqKxr4TnLc&list=PL9FuOtXibFjVzB2Bm8WalF_SZcIhpZB6X

Others: Students are also expected to take note of all the latest developments relating to the
course contents covered above

5
BCA-I-Programing of C

Supplement to Course Syllabus/ Session Plan


C103: Data Structure and file Organization

1] Semester I
2] Year 2022
3] Name of Faculty Mr. Mohit kumar saini
4] E-mail [email protected]
5] Mobile 9759581657
6] Time of meeting 1240 – 1440 hrs
students (by Appointment)
7] Class Schedule
a) No of lectures 48
b)No of Tests 2
c) No of Projects & 2
Assignments
e) No of Workshops 1
f) No of guest lectures 1
g) No of Industry visits 1
8] Pedagogy: Lectures, Assignments, Video based discussions, Project -
Discussions, Written tests, Surprise Quiz
9] Out bound student Minor Project
activities

6
BCA-I-Programing in C

Session Plan
Cla Date Topic Planned To Be Covered Date Class room &
ss Delivery when external
Sec Planned planned activities
tion topic including
No. actually case/case
covered lets,PBLexercis
es, role plays,
debates, guest No. of
lectures, CO
students
industry visits, present Mapping
industry
immersion
exercises,
assignments/
tests, etc.
planned/
actuallyconduct
ed
1 16/9/20 Introduction of Computer PPT & White Board CO1
22
2 17/9/20 Introduction to C Programming PPT & White Board CO1
22 Languages
3 19/9/20 Structure of C programs PPT & White Board CO1
22
4 20/9/20 compilation and execution of C PPT & White Board CO1
22 programs.DebuggingTechniques

5 21/9/20 Data Types and Sizes PPT & White Board CO1
22
6 22/2022 Declaration of variables, PPT & White Board CO1
Modifiers, Identifiers and
keywords
7 23/9/20 Basic C Programs LAB Work CO1
22
8 24/9/20 Basic C Programs PPT & White Board CO1
22
9 3/9/202 Symbolic constants, Storage PPT & White Board CO1
2 classes (automatic, external,
register and static)
10 1/10/20 Enumerations, command line LAB Work CO1
22 parameters

7
BCA-I-Programing of C

11 3/10/20 Macros, The C Preprocessor PPT & White Board CO1


22
12 4/10/20 Operators: Unary operators, PPT & White Board CO1
22 Arithmetic & logical operators,
Bit wise operators
13 8/10/20 Assignment operators and PPT & White Board CO1
22 expressions, Conditional https://
www.coursera.org/
expressions, precedence and programs/dbs-
order of evaluation faculty-learning-
program-zzkmq/
skills/c-
programming-
language-family?
collectionId=skill~c-
programming-
language-
family&productId=2
mb84fnoEealcA6o8
60tEA&productType
=s12n&query=prgra
mming+C&showMi
niModal=true&sourc
e=search
14 9/10/20 Control Statements: if-else, - LAB Work CO2
22 Programs of Contraol statement
15 10/10/2 Programs of Contraol statement LAB Work CO2
022
16 11/10/2 switch, break, continue, the PPT & White Board CO2
022 comma operator, goto
statement.
17 12/10/2 Programs of Switch,continuse PPT & White Board CO2
022 statement
18 22/10/2 Loops: while-programs PPT & White Board CO2
022
19 23/10/2 while-programs programs LAB Work CO2
022
20 24/10/2 Loops: do-while.,Programs PPT & White Board CO2
022
21 25/10/2 Loops: for, programs LAB Work CO2
022
22 26/10/2 Functions: built-in and user- PPT & White Board CO3
022 defined
23 29/10/2 function declaration, definition PPT & White Board CO3

8
BCA-I-Programing in C

022 and function call


24 30/10/2 Programs of Function PPT & White Board CO3
022
25 31/10/2 parameter passing: call by https:// CO3
022 value, call by reference www.youtube.com/
watch?v=55l-
26 1/11/20 Resurtion::recursive functions, PPT & White Board CO3
22 multifile programs
27 12/11/2 Programs of recurtion PPT & White Board CO3
022
28 13/11/2 Arrays: Linear arrays, programs PPT & White Board CO3
022 of linear array
29 12/11/2 Programs of linear array LAB Work CO3
022
30 16/11/2022 multidimensional arrays https:// CO3
Programs www.coursera.org/
programs/dbs-
faculty-learning-
program-zzkmq/
browse?
collectionId=&produ
ctId=2mb84fnoEealc
A6o860tEA&produc
tType=s12n&query=
C+programming&sh
owMiniModal=true
&source=search
31 19/11/2022 passing arrays to functions, PPT & White Board CO3
programs
32 20/11/2022 Arrays and strings PPT & White Board CO4

33 21/11/2022 String,programs of string PPT & White Board CO4

34 23/11/2022 programs of string PPT & White Board CO4

35 26/11/2022 Introduction of pointers PPT & White Board CO4

36 27/11/2022 Pointers programs LAB Work CO4

37 28/11/2022 Structure Definition and PPT & White Board CO4


differences
38 30/11/2022 self-referential structure https:// CO4
www.youtube.com
/watch?

9
BCA-I-Programing of C

v=Ranc3VvjI88

39 2/12/2022 And address of (&) operator PPT & White Board CO4

40 3/12/2022 pointer to pointer PPT & White Board CO4

41 4/12/2022 Dynamic Momory Allocation, PPT & White Board CO5


calloc and malloc functions
42 6/12/2022 Programs of dynamic memory PPT & White Board CO5
allocation programs
43 10/12/2022 array of pointers PPT & White Board CO5

44 12/12/2022 function of pointers, structures PPT & White Board CO5


and pointers
45 13/12/2022 File Handling in C PPT & White Board CO5

46 14/12/2022 programs of File Handling PPT & White Board CO5

47 15/11/2022 programs of File Handling PPT & White Board CO5

48 16/11/2022 programs of File Handling PPT & White Board CO5

10
BCA-I-Programing in C

Course Assessment

Evaluation Scheme
S.No Component Dates/After Evaluation Total Marks Weight age
of Evaluation lecture No. Methodology on 100
points scale
1 Quiz- 1& 2 MCQ 3 10%
2 Mid-Term Knowledge of 9 30%
the Subject
3 Assignment Hardcopy 6 20%
/Softcopy
submission
4 Class Content 3 10%
Participation Presentation &
case Study
Presentations
5 End Term Knowledge of 9 30%
the Subject
Total 30 100%

Continuous Evaluation and Grading:


Course
Threshold Value
Presentation &
Midterm &End

Presentations
outcomes Continuous
Assignment

case Study
Tests/Quiz
Projects &

Content

for evaluation
term

tools

✔ - ✔ ✔ 60%
CO 1
✔ ✔ ✔ ✔ 60%
CO 2
✔ ✔ - ✔ 60%
CO 3

CO 4 ✔ ✔ ✔ - 60%

CO 5 ✔ ✔ ✔ ✔ 60%

Grade Points 60% 20% 10% 10%

 Internal Evaluation Range:


More than 65% students: 3 (Completely attained)

11
BCA-I-Programing of C

55-64%: 2 (Moderately Attained)


45-54%: 1 (Low attainment)
Less than 45%: No attainment

 External (University Marks) Evaluation Range:


More than 65% students: 3 (Completely attained)
55-64%: 2 (Moderately Attained)
45-54%: 1 (Low attainment)
Less than 45%: No attainment
Note:
i. Each faculty member is requested to complete this format, in consultation and with
support of the concerned HOD/Domain Head, keep in the course file, just after the
course plan and distribute to all of the students in the class, at the beginning of the
semester/trimester/year, as the case may be.
ii. Regular slip test shall be conducted after each unit, evaluation & discussion of the
answer script shall be done without bias.

Signatures with date of HOD Signatures with date of the Faculty

12
of
PO
CO5
CO4
CO3
CO2
CO1

13
Strength
Mapping
COs/POs

each
Provide a strong foundation in fundamentals of
computers. Prepare the students with exceptional skills

3
3
3
3
2

2.8
PO1

of problem solving, communication and leadership


skills.

3 = Strongly Mapped
To provide the imperatives knowledge of science and
BCA-I-Programing in C

1= Weakly Mapped
2= Moderately Mapped
engineering concepts fundamental for a computer

2
3
3
3
3

2.8
PO2

professional, development, testing and networking.

To inculcate ability and creativity design of computer


support systems and impart knowledge to become a

2
3
3
3
3

2.8
PO3

successful software developers.

Designed to bridge the gap between IT industries and

3
3
3
3
3
3
institutes by incorporating the latest developments into
PO4

the curriculum.

The main focus of the Department is Up-scaling the under


graduates in disruptive technologies like Data science,

2
2
2
2
2

2
Mapping of Course Outcomes and Programme Outcomes
PO5

Cyber Security, Cloud Computing, Big Data Analytics,


etc.
Attain the ability to design and develop computer

3
3
3
3
2
applications, evaluate and recognize potential risks and

2.8
PO6

provide innovative solutions.

3 Apply ethical principles and commit to professional


3
3
3
2

ethics and responsibilities and norms of the


2.8
PO7

engineering practice.
BCA-I-Programing of C

Continuous Evaluation and Grading:


Course

Threshold Value
Presentation &
Midterm &End

Presentations
outcomes Continuous

Assignment

case Study
Tests/Quiz
Projects &

Content
for evaluation

term
tools

✔ - ✔ ✔ 60%
CO 1
✔ ✔ ✔ ✔ 60%
CO 2
✔ ✔ - ✔ 60%
CO 3

CO 4 ✔ ✔ ✔ - 60%

CO 5 ✔ ✔ ✔ ✔ 60%

Grade Points 60% 20% 10% 10%

 Internal Evaluation Range:


More than 65% students: 3 (Completely attained)
55-64%: 2 (Moderately Attained)
45-54%: 1 (Low attainment)
Less than 45%: No attainment

 External (University Marks) Evaluation Range:


More than 65% students: 3 (Completely attained)
55-64%: 2 (Moderately Attained)
45-54%: 1 (Low attainment)
Less than 45%: No attainment
Note:
iii. Each faculty member is requested to complete this format, in consultation and with
support of the concerned HOD/Domain Head, keep in the course file, just after the
course plan and distribute to all of the students in the class, at the beginning of the
semester/trimester/year, as the case may be.
iv. Regular slip test shall be conducted after each unit, evaluation & discussion of the
answer script shall be done without bias.

Signatures with date of HOD Signatures with date of the Faculty

14
BCA-I-Programing in C

Class Quiz-1

15
BCA-I-Programing of C

Individual Assignment
Individual Assignment: To understand the concept of data structures.

Objective: Logical & Practical Ability.

(i) Assignment Details:


Number of Questions: 07

(ii) Assignment Questions

Assignment – 1

1. Write algorithm for the following :


a) to check whether an entered number is odd / even.
b) to calculate sum of three numbers.

2 Draw a flowchart for the following :


a) to find greater and smaller number from given two numbers.
b) to calculate sum of first 10 odd numbers.
3 Write short notes on the following :
a) C Variables b) C data types

4 Accept principal amount, rate of interest, and duration from the user. Display
Interest Amount and Total Amount (Principal + Interest).

5 Accept the salary of an employee from the user. Calculate the gross salary on the
following basis:
Basic HRA DA .
1 - 4000 10% 50%
4001 – 8000 20% 60%
8001 - 12000 25% 70%
12000 and above 30% 80%

6 Accept any number from the user. Display whether the number is divisible by 100
or not.

16
BCA-I-Programing in C

(iii) Mapping of Assignment questions with COs

Solutions obtained

Recommendations
dispute, its causes
and implication of
Course

Identification of

and feasibility
outcomes Assignmen

Intensity of
for t Questions

disputes

analysis
Issues
✔ - - -
CO 2

CO 3 - ✔ ✔ ✔

(IV) Rubrics for Assignment


Criterion Excellent (2.5) Very Good (2) Good (1.5) Competent (1)
Understanding of Truly Exceptional Strong and direct Satisfactory: Barely Adequate and
the Assignment understanding understanding Somewhat very Little information
(2.5) informative
Analysing and Exceptional analysis Strong and clear analysis Satisfactory, some Not adequately
evaluating the across domain and with all variable variables analysed and analysed and
situation (2.5) Evaluated above and considered and Satisfactory evaluated, only one
beyond given Evaluated well within evaluation, though variable is focused
circumstances the given circumstances could have done
better
Proposing the Futuristic and truly Compelling solution Fragments of solutions Solution was not very
solution (2.5) workable solution present much associated to
the situation
Devising and Truly Exceptional: Well Prepared, clear, Prepared, relatively Barely Adequate
recommending drafted strategy structured, useful clear, fair structured strategy
solution (2.5) strategy strategy

Plagiarism Policy:
 Up to 25 % plagiarism – excluded
 More than 25% - Rewrite and submit within 2 days

17
BCA-I-Programing of C

Individual Assignment 2
Individual Assignment: To understand the concept of Class, Constructor, Destructor.

Objective: Logical & Practical Ability.

(i) Assignment Details:


Number of Questions: 13

(ii) Assignment Questions


2. Write a program in C to find the square of any number using the
function
3. Write a program in C to swap two numbers using function.
4. Write a program in C to check a given number is even or odd using the
function.
5. Write a program in C to find the sum of the series
1!/1+2!/2+3!/3+4!/4+5!/5 using the function.
6. Write a program in C to convert decimal number to binary number using
the function.
7. Write a program in C to check whether a number is a prime number or
not using the function.
8. Write a program in C to get the largest element of an array using the
function.
9. Write a program in C to check armstrong and perfect numbers using the
function.
10.Write a program in C to print all perfect numbers in given range using
the function.

18
BCA-I-Programing in C

(iii) Mapping of Project questions with COs

conduct of assessment and

Style
English
grammar and usage
Overall Quality of the

Expression of project
Course
outcomes Project

its findings
for Questions

Project

Team Effort
including
Writing
CO 4 ✔ ✔ ✔ ✔

CO 5 ✔ ✔ ✔ ✔

Rubrics for Project Assessment


Criterion Excellent (2.5) Very Good (2) Good (1.5) Competent (1) Inadequate
(0.5)
Overall Quality of the Exceptionally clear Very clear and Generally Display unclear or No clarity, little
Project (2.5) and coherent, coherent, very clear and incoherent or no original
highly original, original, coherent, development at arguments, lack
very compelling, compelling, well original, times, support
well supported supported interesting, unsupported
arguments arguments supported arguments at
arguments times
Expression of project Exceptionally clear Very clear and Clear, Expression of Nonexistent
conduct of and elegant succinct readable business problem, expression of
assessment and its expression of expression of expressions of assessment and business
findings (2.5) business problem, business business findings is barely problem,
assessment and problem, problem, adequate assessment and
findings assessment and assessment findings
findings and findings
Writing Style including Exceptionally well Very well Readable Barely acceptable Poorly written
English grammar and written, flawless written paper style, many paper exhibiting
usage (2.5) grammar exhibiting exhibiting mistakes in weak English
facility with good English English grammar Grammar
English Grammar
Grammar
Team Effort (2.5) Exceptionally Very Good Acceptable No coordination Many Disputes
Good collaboration team spirit

Plagiarism Policy:
 Up to 25 % plagiarism – excluded
 More than 25% - Rewrite and submit within 2 days

19
BCA-I-Programing of C

20
BCA-I-Programing in C

Project-1

Mini Project in C Contact Management System: Mini Project in C Contact


Management System is a simple console application without graphics. It is similar to the contact
manager in cell phones. In this  project, you can add, view, edit, search and delete contacts. All added
and edited records are saved in a file.

You can list contacts by name, phone no., address and email. File handling has been used to record all
data. I have used data structure to store the user name, email and contact. Overall, understanding the
simple source code of this project will teach you how to add, edit, search, list and remove data using
file.

The source code for contact management system project in C is complete and totally error-free. It is
short and simple – just over 200 lines. You can download the source code and application file from
the link below and compile it in Code::Blocks IDE.

About Contact Management System in C:


File handling, data structure, functions, and pointers are the main things which make up this simple C mini
project. The key features of contact management system are listed below:

 Add new contacts: with information such as name, phone number, address, and email
 List all contacts: lists all the contacts stored in file with their respective contact details
 Search contacts: based on name and phone number
 Edit contacts: edit information given while adding the contacts – name, phone number, address,
and email
 Delete contacts: deletes contacts from file

This project is somewhat similar to the Phonebook application mini project we published earlier. Both of these
mini projects use file handling and data structures. They are built just as a console application suitable for
beginners to learn and make simple mini projects.

21
BCA-I-Programing of C

Mid-Term Examination Paper

Name: _________________________

Enrolment No. _________________

Course: BCA-I-Programming of C

Programme: BCA Semester: I

Time: 02 hrs. Max. Marks:50

Note: Attempt any four questions from section A and any three questions from section B.

S. Question Statements Marks COs

No

SECTION A

1 5 CO1
Draw a flowchart to find the sum of first 20
natural numbers?
2 5 CO2
What is data type? Write about C data type with
example
3 5 CO1
What is the meaning of compiling the source
code?
4 5 CO1
What is the header file in C? Explain with
example CO3

5 5 CO1
What is data type? Write about C data type with
example CO2

6 5 CO1
What is the difference between DELETE and TRUNCATE
statements?

Section B

22
BCA-I-Programing in C

1 Write a ‘C’ program which accepts integer 10 CO2


number and prints the sum of the digits (for CO3
example, for 467 as input the output should be CO4
4 + 6 + 7 = 17).
CO6

2 What is recursion? Write a program to calculate 10 CO1


factorial of a number using recursion CO2

CO6

3 (a) Write C program to find reverse of five digit 10 CO2


numbers. CO4
(b) What difference between while & do-while CO5
loop?

4 Write short notes any of four 10 C02

C04
I. Keyword
II. Identifiers
III. Array
IV. Function
V. Switch Statements

23
BCA-I-Programing of C

End-Term Examination Paper

Name: _________________________

Enrolment No. _________________

Course: BCA-I-Programming of C

Programme: BCA Semester: I

Time: 02 hrs. Max. Marks:50

Note-Attempt any four question from section A and any three question from section B

S. Question Statements Marks COs

No

SECTION A

1 Explain the basic structure of C Program with Diagrams 5 CO1

2 Explains the user define and built in faction in C- 5 CO1


Programming with example

3 Write a C Program c Reverse a given number 5 CO1

CO2

4 Differentiate between call by value and call by 5 CO2


function with example CO3

5 Explain the 1-D array with example 5 CO1

CO3

6 Write a C Program to calculate the factorial of given number 5 CO2

C03

24
BCA-I-Programing in C

7 Write a C Program to swapping of two number in c 5 CO1


Programming
CO4

SECTION B

1 What are the various type of operators in c Programming. 10 CO4


Explain with example
CO5

2 Explain the various type of loops used in c Programming 10 CO3


with example
CO2

3 What do you mean by string ?write a C program to 10 CO4


combining two string without string function
CO3

4 Define structure with example? what are the difference 10 C03


between structure and union
C04

5 Explain the various data type used in C Programming with 10 C03


example
C05

25
BCA-I-Programing of C

Reference Material

26

You might also like