christ

CS01 – Programming in C


[admission-open-date]

  • Back to School Homepage
  • Back to Department Homepage


CS01 – Programming in C – Overview

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

Prerequisite: Knowledge about computers

Modules

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 – Balagurusamy, E. Programming in ANSI C 4th Edition. Tata McGraw-Hill

  • Reference – 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


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

  • Aim: To demonstrate the usage of scanf and printf statements
  • Write a program to convert Fahrenheit to Celsius.

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

  • Aim: To demonstrate the usage of if, if-else
  • Write a program to check whether the given number is an even or odd

  • Aim: To demonstrate the concept of while, do-while, for loops, break and continue
  • write a program to print all prime numbers between any 2 given limits
  • Write a program to print all the Armstrong numbers between any 2 given limits.

  • Aim: To demonstrate the concept of switch-case
  • Write a program to count the different vowels in a line of text.

  • Aim: To demonstrate the concept of function
  • Write a program to calculate the factorial of any given number

  • Aim: To demonstrate the concept of arrays
  • Write a program to check whether a string is a palindrome

  • Aim: To implement about pointers
  • Write a function to swap two numbers using pointers

Admission Queries

For any queries at any given time during the application and admission process, you may contact us through the following Email ID’s:

The Office of Admissions,CHRIST (Deemed to be University), Hosur Road,Bengaluru – 560 029, Karnataka, INDIA

Phone
+91 92430 80800
+91 80 4012 9400

Email IDs
Indian candidates: admissions@christuniversity.in
NRI candidates: nri.admission@christuniversity.in
International: isc.admission@christuniversity.in

CHRIST (Deemed to be University)
Kanmanike, Kumbalgodu, Mysore Road,
Bengaluru – 560 074, Karnataka, INDIA

Phone
+91 80 4012 9800,
+91 80 4012 9802
+91 80 4012 9820

Email
admissions.kengeri@christuniversity.in

CHRIST (Deemed to be University),
Mariam Nagar, Meerut Road,
Delhi NCR Ghaziabad – 201003

Phone
1800-123-3212

Email
admission.ncr@christuniversity.in

CHRIST (Deemed to be University)
Hulimavu, Bannerghatta Road,
Bengaluru – 560 076, Karnataka, INDIA

Phone
+91 080 4655 1306

Email
admissions.bgr@christuniversity.in

CHRIST (Deemed to be University)
Nagasandra, Near Tumkur Road,
Bengaluru 560 073, Karnataka, INDIA

Phone
+91 97422 44407
+91 80 6989 6666

Email
admissions.yeshwanthpur@christuniversity.in

CHRIST (Deemed to be University),
Christ University Road, 30 Valor Court, PO Dasve Lavasa, Mulshi, Pune – 412112, Maharashtra

Phone
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)

CS01 – Programming in C – Overview

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

Prerequisite: Knowledge about computers

Modules

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


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 – Balagurusamy, E. Programming in ANSI C 4th Edition. Tata McGraw-Hill

  • Reference – 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


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

  • Aim: To demonstrate the usage of scanf and printf statements
  • Write a program to convert Fahrenheit to Celsius.

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

  • Aim: To demonstrate the usage of if, if-else
  • Write a program to check whether the given number is an even or odd

  • Aim: To demonstrate the concept of while, do-while, for loops, break and continue
  • write a program to print all prime numbers between any 2 given limits
  • Write a program to print all the Armstrong numbers between any 2 given limits.

  • Aim: To demonstrate the concept of switch-case
  • Write a program to count the different vowels in a line of text.

  • Aim: To demonstrate the concept of function
  • Write a program to calculate the factorial of any given number

  • Aim: To demonstrate the concept of arrays
  • Write a program to check whether a string is a palindrome

  • Aim: To implement about pointers
  • Write a function to swap two numbers using pointers

Admission Queries

For any queries at any given time during the application and admission process, you may contact us through the following Email ID’s:

The Office of Admissions,CHRIST (Deemed to be University), Hosur Road,Bengaluru – 560 029, Karnataka, INDIA

Phone
+91 92430 80800
+91 80 4012 9400

Email IDs
Indian candidates: admissions@christuniversity.in
NRI candidates: nri.admission@christuniversity.in
International: isc.admission@christuniversity.in

CHRIST (Deemed to be University)
Kanmanike, Kumbalgodu, Mysore Road,
Bengaluru – 560 074, Karnataka, INDIA

Phone
+91 80 4012 9800,
+91 80 4012 9802
+91 80 4012 9820

Email
admissions.kengeri@christuniversity.in

CHRIST (Deemed to be University),
Mariam Nagar, Meerut Road,
Delhi NCR Ghaziabad – 201003

Phone
1800-123-3212

Email
admission.ncr@christuniversity.in

The Office of Admissions,CHRIST (Deemed to be University), Hosur Road,Bengaluru – 560 029, Karnataka, INDIA

Phone
+91 92430 80800
+91 80 4012 9400

Email IDs
Indian candidates: admissions@christuniversity.in
NRI candidates: nri.admission@christuniversity.in
International: isc.admission@christuniversity.in

CHRIST (Deemed to be University)
Kanmanike, Kumbalgodu, Mysore Road,
Bengaluru – 560 074, Karnataka, INDIA

Phone
+91 80 4012 9800,
+91 80 4012 9802
+91 80 4012 9820

Email
admissions.kengeri@christuniversity.in

CHRIST (Deemed to be University),
Mariam Nagar, Meerut Road,
Delhi NCR Ghaziabad – 201003

Phone
1800-123-3212

Email
admission.ncr@christuniversity.in

CHRIST (Deemed to be University)
Hulimavu, Bannerghatta Road,
Bengaluru – 560 076, Karnataka, INDIA

Phone
+91 080 4655 1306

Email
admissions.bgr@christuniversity.in

CHRIST (Deemed to be University)
Nagasandra, Near Tumkur Road,
Bengaluru 560 073, Karnataka, INDIA

Phone
+91 97422 44407
+91 80 6989 6666

Email
admissions.yeshwanthpur@christuniversity.in

CHRIST (Deemed to be University),
Christ University Road, 30 Valor Court, PO Dasve Lavasa, Mulshi, Pune – 412112, Maharashtra

Phone
1800-123-2009

Email
admission.lavasa@christuniversity.in

CHRIST (Deemed to be University)
Hulimavu, Bannerghatta Road,
Bengaluru – 560 076, Karnataka, INDIA

Phone
+91 080 4655 1306

Email
admissions.bgr@christuniversity.in

CHRIST (Deemed to be University)
Nagasandra, Near Tumkur Road,
Bengaluru 560 073, Karnataka, INDIA

Phone
+91 97422 44407
+91 80 6989 6666

Email
admissions.yeshwanthpur@christuniversity.in

CHRIST (Deemed to be University),
Christ University Road, 30 Valor Court, PO Dasve Lavasa, Mulshi, Pune – 412112, Maharashtra

Phone
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)