Search This Blog

Tuesday, September 9, 2025

Computer Programming Lab (23CS51) / A.Y : 2025-2026 /IT / I Sem / A

 

PRE-REQUISITE: Mathematics, Basic Computer Terminology


COURSE EDUCATIONAL OBJECTIVE (CEO): The course aims to give students hands–on experience and train them on the concepts of the C-Programming language.


COURSE OUTCOMES (COs): At the end of the course, the student will be able to:

CO1:

Read, understand, and trace the execution of programs written in C language

(Understand-L2)

CO2:

Apply the right control structure for solving the problem

(Apply-L3)

CO3:

Develop, Debug and Execute programs to demonstrate the applications of arrays, functions, pointers and files in C

(Apply-L3)

CO4:

Improve individual / teamwork skills, communication and report writing skills with ethical values.

 


WEEK 1

Objective: Getting familiar with the programming environment on the computer and writing the first program.

Lab1: Familiarization with programming environment

i) Basic Linux environment and its editors like Vi, Vim & Emacs etc.

ii) Exposure to Turbo C, gcc

iii) Writing simple programs using printf(), scanf()


WEEK 2

Objective: Getting familiar with how to formally describe a solution to a problem in a series of finite steps both using textual notation and graphic notation.

Lab 2: Converting algorithms/flow charts into C Source code.

Developing the algorithms/flowcharts for the following sample programs

i) Sum and average of 3 numbers

ii) Conversion of Fahrenheit to Celsius and vice versa

iii) Simple interest calculation


WEEK 3

Objective: Learn how to define variables with the desired data-type, initialize them with appropriate values and how arithmetic operators can be used with variables and constants. Suggested Experiments/Activities:

Lab 3: Simple computational problems using arithmetic expressions.

i) Finding the square root of a given number

ii) Finding compound interest

iii) Area of a triangle using heron’s formulae

iv) Distance travelled by an object

No comments:

Computer Programming Lab (23CS51) / A.Y : 2025-2026 /IT / I Sem / A

  PRE-REQUISITE: Mathematics, Basic Computer Terminology COURSE EDUCATIONAL OBJECTIVE (CEO): The course aims to give students hands–on exp...