Programme Details

CS01 - Programming in C

  • Open From :
  • Open Until :


 

CS01 Programming in C

Teaching Hours: 60 [30 hours Theory + 30 hours LAB]

Prerequisite: Knowledge about computers

Unit 1: Introduction to C    

Types of Programming Language- History of C, Features of C , C Tokens, variables and keywords and identifiers ,Types of C constants and variables, Rules for constructing variable names, Structure of C program, Input /output statements in C

(6 hours)

Unit 2: Data types                                                                             

Data Types, Type declaration, Different Operators in C - Arithmetic, Logical, Relational, Bitwise, Conditional, Expressions, Hierarchy of operations.

Control structures

Decision control statements-if, switch, go to statement, conditional operator statement. Loop control structures- while, do-while, for loop, Break statement, Continue statement.

(7 hours)

Unit 3: Function                                                                                                                   

Introduction, function definition and prototyping, Types of functions, passing values to function, recursion, passing arrays to functions. I/O functions- formatted & unformatted console I/O functions Storage classes in C- Automatic, Register, Extern and Static Variables.

(6 hours)

Unit 4: Arrays                                                                                                                          

One dimensional and multidimensional arrays, Declaration, initialization, Reading values into an array, Displaying array contents and Array Manipulations. String-Basic Concepts, Library Functions

(6 hours)

Unit 5: Pointers                                                                                            

Definition, notation, pointer and arrays, pointers and functions-call by value and call by reference.

(5 hours)

Text Book:

 1.      Balagurusamy, E. Programming in ANSI C 4th Edition. Tata McGraw-Hill

Reference:

1.      Kanetkar, Yashavant. Let Us C. 4th Edition. BPB Publications.

C Programming Lab

Guidelines:

Article  .   Follow Coding standards

Article I.   The output of the programs should be neatly formatted

Article II.   The programs should be user friendly and interactive

Article III.   Use comment wherever necessary

 

1. Aim: To demonstrate the usage of operators and data types in C

    Write a program to print the size of all the data types supported by C and its range.

2. Aim: To demonstrate the usage of scanf and printf statements

   Write a program to convert Fahrenheit to Celsius.

3. Aim: To demonstrate the usage of unformatted and formatted I/O statements in C

4. Aim: To demonstrate the usage of if, if-else

   Write a program to check whether the given number is an even or odd

5. Aim: To demonstrate the concept of while, do-while, for loops, break and  continue

   i)write a program to print all prime numbers between any 2 given limits  

   ii)Write a program to print all the Armstrong numbers between any 2 given limits.

6. Aim: To demonstrate the concept of switch-case

   a. Write a program to count the different vowels in a line of text.

7. Aim: To demonstrate the concept of function

   Write a program  to calculate the factorial of any given number

8. Aim: To demonstrate the concept of arrays

   Write  a program to check whether a string is  a palindrome

9. Aim: To implement about pointers

   Write a function to swap two numbers using pointers

For any queries at any given time during the application and admission process, you may contact us through the following Email ID’s:
 
Bangalore Central Campus
The Office of Admissions,
CHRIST (Deemed to be University), Hosur Road,
Bengaluru - 560 029, Karnataka, INDIA
Ph. No: +91 92430 80800
Ph. No:  +91 80 4012 9400
 
Email IDs
Indian candidates: admissions@christuniversity.in
Bangalore Bannerghatta Road Campus
CHRIST (Deemed to be University)
Hulimavu, Bannerghatta Road,
Bengaluru - 560 076, Karnataka, INDIA
 
Ph. No:  080 4655 1306
Email:
 admissions.bgr@christuniversity.in
Bangalore Kengeri Campus
CHRIST (Deemed to be University)
Kanmanike, Kumbalgodu, Mysore Road,
Bengaluru - 560 074, Karnataka, INDIA

Ph. No:  +91 80 4012 9800, 9802, 9820
Email:
 admissions.kengeri@christuniversity.in
Bangalore Yeshwanthpur Campus
CHRIST (Deemed to be University)
Nagasandra, Near Tumkur Road,
Bengaluru 560 073, Karnataka, INDIA

Ph. No:  +91 97422 44407
Email: 
admissions.yeshwanthpur@christuniversity.in
Delhi NCR Campus
CHRIST (Deemed to be University),
Mariam Nagar, Meerut Road,
Delhi NCR Ghaziabad - 201003
 
Ph. No: 1800-123-3212
Pune Lavasa Campus
CHRIST (Deemed to be University),
Christ University Road, 30 Valor Court,
PO Dasve Lavasa, Mulshi, Pune - 412112, Maharashtra
 
Ph. No : 1800-123-2009,
Email:
 admission.lavasa@christuniversity.in
Between: Monday to Friday: 09:00 AM to 04:00 PM, Saturday: 09:00 AM to 12:00 PM
(Office remains closed on Sundays, Government Holidays and Any special events)

CHRIST

(Deemed to be University)

Dharmaram College Post, Hosur Road, Bengaluru - 560029,
Karnataka, India

Tel: +91 804012 9100 / 9600

Fax: 40129000

Email: mail@christuniversity.in

Web: http://www. christuniversity.in

Vision

EXCELLENCE AND SERVICE

Mission

CHRIST (Deemed to be University) is a nurturing ground for an individual's holistic development to make effective contribution to the society in a dynamic environment.

Copyright © CHRIST (Deemed to be University) 2020 | Privacy Policy