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

Monday, September 1, 2025

Introduction to Programming (23CS01) /A.Y : 2025-2026 /IT / I Sem / A

PRE-REQUISITE: Mathematics, Basic Computer concepts

COURSE EDUCATIONAL OBJECTIVES (CEOs):
  1. To introduce students to the fundamentals of computer programming.
  2. To provide hands-on experience with coding and debugging.
  3. To foster logical thinking and problem-solving skills using programming.
  4. To familiarize students with programming concepts such as data types, control structures, functions, and arrays.
  5. To encourage collaborative learning and teamwork in coding projects.

COURSE OUTCOMES (COs): At the end of the course, the student will be able to:
CO1: Understand basics of computers, concept of algorithms and flowcharts. (Understand –Level 2)
CO2: Understand the features of C programming language. (Understand –Level 2)
CO3: Interpret the problem and develop an algorithm to solve it (Apply – Level 3)
CO4: Implement various algorithms using the C programming language. (Apply – Level 3)
CO5: Develop skills required for problem-solving and optimizing the code(Apply – Level 3)


Unit-I:
Introduction to Programming and Problem Solving
History of Computers, Basic organization of a computer: ALU, input-output units, memory, program counter, Introduction to Programming Languages, Basics of a Computer Program, Algorithms, flowcharts (Using Dia Tool), pseudo code. Introduction to Compilation and Execution, Primitive Data Types, Variables, and Constants, Basic Input and Output, Operations, Type Conversion, and Casting.

Problem solving techniques: Algorithmic approach, characteristics of algorithm, Problem solving strategies: Top-down approach, Bottom-up approach, Time and space complexities of algorithms.

Materials:



Algorithms, flowcharts, pseudo code





classroom link

https://classroom.google.com/c/ODAxMjAyMDgzNTc2?cjc=kyp5uqdk

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