Thursday, 8 October 2026
Wednesday, 7 October 2026
Assignment 1
Algorithm Writing – Logic BuildingC PROGRAMMING – ASSIGNMENT 1
Submission: Write the algorithms neatly in your Assignment Book.
Last Date: 07/10/2026
before 4:30 PM
Submission Place: Staff Room
Instructions
For each problem:
Write the Problem Statement.
Write the Algorithm using clear, numbered steps.
Do not write the C program at this stage.
Write the algorithm in your own words and logic.
Keep the same assignment book safely. The C program for these problems will be written in the same book later.
Assignment 1
1. Largest and Smallest
Write an algorithm to read n numbers from the user and find the largest and smallest numbers.
2. Largest Even and Largest Odd
Write an algorithm to read n numbers from the user and find the largest even number and the largest odd number.
3. Student Result and Grade
Write an algorithm to read the marks obtained in a subject and display the result according to the following criteria:
Marks | Grade / Result |
90 and above | A |
80 to 89 | B |
70 to 79 | C |
60 to 69 | D |
35 to 59 | E |
Below 35 | F – Fail |
Note: Assume that the marks are between 0 and 100.
4. Numbers Divisible by 3 and 7
Write an algorithm to generate and display the first n positive numbers that are divisible by both 3 and 7.
5. Fibonacci Series
Write an algorithm to generate and display the first n Fibonacci numbers.
6. Electricity Bill Calculation
Write an algorithm to calculate the electricity bill using two slab-wise rates.
Use the following slabs:
First 100 units → ₹5 per unit
Above 100 units → ₹7 per unit
The algorithm should read the number of units consumed and calculate the total bill.
Thursday, 3 September 2026
Syllabus Introduction to C programming 2026-27
26UESC144 Introduction to C Programming (42-0-0-48)
3
Total Hours: 90
Course Learning Objectives (CLOs): The
course focuses on developing the problem solving skills that can be applied to
problems in different areas which enable students to take-up subsequent IT
related courses and professional career.
|
Description of the Course Outcome: At
the end of the course the student will be able to: |
Mapping to POs(1-11) |
|||
|
Substantial Level(3) |
Moderate Level(2) |
Slight Level(1) |
||
|
CO-1 |
Explain the basic structure
and Working principles of computer. |
- |
|
1 |
|
CO-2 |
Write a C program using C Programming constructs to solve
given problems. |
- |
1,2,3 |
- |
|
CO-3 |
Explain and apply the features of data structures
like arrays to solve given problems. |
- |
1,2,3 |
- |
|
CO-4 |
Explain the usage
and the need for writing modular programs and in writing programs. |
- |
1,2,3 |
- |
|
CO-5 |
Illustrate string
manipulations, and various building blocks of data structures like structures, pointers in solving real-life
problems. |
- |
1,2,3 |
- |
|
POs |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
|
Mapping Level |
1.8 |
2.0 |
2.0 |
- |
- |
|
- |
- |
- |
- |
- |
Pre-requisites: NIL
Contents:
|
Unit-I |
|
Introduction to C: Introduction to
computers, input and output devices, Algorithms and Flow charts, Introduction
to C, Structure of C program, Files used in a C program, Compilers, Compiling
and executing C programs, variables, constants, Input/output statements in C. 08 Hrs |
|
Unit-II |
|
Operators
in C, Type conversion and typecasting. Decision control and Looping
statements: Introduction to decision control, Conditional branching
statements, iterative statements, nested loops, break and continue
statements, go to statement. 08 Hrs |
|
Unit-III |
|
Arrays: Declaration of arrays, accessing
the elements of an array, Operations on arrays, operations on two-dimensional
arrays, introduction to multidimensional arrays. Applications of
arrays: case study with sorting and searching techniques: Bubble sort, Linear
Search. 09Hrs |
|
|
|
Unit-IV |
|
Functions:
Introduction to user defined functions, Function definition, function
declaration, function call, return statement, passing parameters to
functions, recursive functions. 09
Hrs |
|
Unit-V |
|
Strings: String taxonomy, string
operations Pointers: Introduction to Pointers,
Declaring Pointer Variables. Structures: Introduction to structures. 08 Hrs |
Reference Books:
|
1) |
E Balagurusamy, “Programming in ANSI
C”, 6th Edition, Tata McGraw Hill, 2012. |
|
2) |
Reema Thareja, “Computer
fundamentals and Programming in C”, Oxford
University, 2/E, 2017. |
|
3) |
Brian W. Kernighan and Dennis M.
Ritchie, The ‘C’ Programming Language, Prentice Hall of India. |
Friday, 21 November 2025
Assignment 2
All the students are here by informed to execute the programs allotted to them.
The progress as of now is
Friday, 26 September 2025
Assignment 1
All the students are here by informed to join to this google class room click
All the students are here by informed to write the Assignment 1 in assignment book and submit it on or before 06/10/2025 before 5PM.
Assignment 1
Write the algorithm for the following:
1. Read
'n' numbers from user and find the biggest number.
2. Read
'n' numbers from user and find sum and average of n numbers.
3. Read
'n' numbers from user and find the number of even and odd numbers.
4. Read
'n' numbers from user and find the average of even and odd numbers.
5. Read
a and b find ab and display result.
6. Read
number and find its factorial.
7. Read
two numbers (x,y) and find the sum of all numbers in between both numbers including
both numbers. (Ex sum=x+(x+1)+(x+2)… +y)
8. Read
two numbers x and y and find and print the numbers which are divisible by k in between x
and y.
9. Read
'n' numbers from user and find the even biggest and odd biggest.
10. Read the number and find it is prime
or not.
11. Read a length and find the algorithm
for generating Fibonacci numbers.
12. Read x and write algorithm to
evaluate y=1/(1-x)=1+x+x2+x3+…+xn
Best Wishes to My First-Semester Students for Your Exams
Wishing all my first-semester students the very best for your third Internal Assessment and Semester-End Examinations. I’m...
-
C PROGRAMMING – ASSIGNMENT 2 Online execution and submission deadline: 24/10/2026 before 2:00 PM ...
-
8 slides Per page click https://drive.google.com/file/d/109pdwczttkP7fW9hGp0cbN3HyHS0ig86/view?pli=1 16 slides per page click https://dri...
-
Good evening to all of you. Name of the subject: Principles of Programming Using C First File Notes C Programming First file PPTs PDF in ...

