Computer Programming and Utilization
Computer Programming and Utilization
Course code :
1.
Co-requisite Course
Type of Course
Course Difficulty level
Course offered in
Academic year
None
Foundation
2013 2014
SS
Total
Credits
(L+T+P)
C
Theory Marks
ESE
Examination Scheme
Practical Marks
Total
Marks
ESE
PA
Pr/Viva
200
2
2
70
30
50
50
L - Lecture; T - Tutorial/Teacher Guided Student Activity; P - Practical; SS Self Study;
C - Credit; ESE - End Semester Examination; PA - Progressive Assessment
1
0
Legends:
2.
Teaching Scheme
(In Hours)
L
Pre-requisite Course
PA
COURSE OVERVIEW
The course is all about
Prerequisite :
ICT-Bridge Course
3.
COURSE OBJECTIVES
4.
Course code :
COURSE OUTCOMES
The students will be able to
4.
Analyze simple engineering problems and logically build the functionality of the
problem
Formulate an algorithm for the given problem
Prepare a flowchart/Pseudo code of the problem
Write a program with proper data structure in C language
COURSE DETAILS
Unit - 1
Learning
Outcomes
Unit-2
Learning
Outcomes
Unit-3
Learning
Outcomes
Unit-4
Learning
Outcomes
5.
Course code :
Projects
(hrs)
Web
Oth
Based
ers
Learning (hrs)
(hrs)
(as part of
Laboratory)
Note: The activities given above are suggestive list. Course designer/faculty can use other
activities is required and specify before commencing of course.
6.
SUGGESTED LESSION PLAN (THEORY)
Uni
t
Unit Title
II
Fundamentals of C
Features of C language, structure of C Program, comments,
header files,data types,
constants and variables, operators,
expressions, evaluation of expressions, type conversion,
precedence and associativity, I/O functions
Control structure in c
Simple statements,
Decision making statements,
Looping statements,
Nesting of control structures,
break and continue , goto statement
Array & String
Concepts of array ,
one and two dimensional arrays,
III
IV
Teaching
Hours
03
03
03
03
Uni
t
Course code :
Unit Title
Teaching
Hours
12
A breakdown of each of the component with their weight and it will be due should be
clearly stated
Internal Break up
- It is decided by the Faculty teaching the course at the institute based on the
objectives and contents.
Final Examination Plan
Unit
Unit Title
R
I
II
III
IV
Total
5
5
5
5
10
5
5
10
5
20
25
25
00
00
00
00
8.
The practical/exercises should be properly designed and implemented with an attempt to develop
different types of skills so that students are able to acquire the competency. Following is the list
of experiments for guidance.
S. No.
Unit
No.
Practical/Exercise
Apprx.
Hrs.
Required
4 hrs
Course code :
S. No.
Unit
No.
Practical/Exercise
II
II
III
III
III
10
IV
Apprx.
Hrs.
Required
4 hrs
4 hrs
4 hours
4 hrs
S. No.
Unit
No.
11
IV
Course code :
Practical/Exercise
1.
2.
3.
4.
5.
Apprx.
Hrs.
Required
4 hrs
24 hrs
Course code :
19. Write a program to find out the solution of quadratic equation (delta = b^2 4ac) (if delta
=0 then alpha=beta =-b/2a else if delta is < 0 then imaginary roots else alpha = (b+sqrt(delta))/2a and beta = (-bsqrt(delta))/2a)
20. Make a simple calculator (ladder if)
21. Write a c program to read no 1 to 7 and print relatively day Sunday to Saturday.
22. Write a c program to find out the max. and min. no from given 10 no
23. Write a program to find out given year is a leap year or not
24. Write a c program to find out the max. and min. no from given 10 no.
25. Write a program to read any five numbers and print the average value
26. Write a c program to input an integer no check the last digit of no is even or odd.
27. Write a program to find out all the numbers divisible by 5 and 7 between 1 to 100.
28. Write a program to find out sum of digits if given number.
29. Write a C program to find the sum of digits of given number.
30. Write a C program to find factorial of a given number.
31. Write a program to reverse a number
32. Write a program to generate first 25 Fibonacci numbers.
33. Write a C program to display first 5 Armstrong nos
34. Write a program to find a greatest common factor among entered 2 number
35. Write a program to find out sum of first and last digit of a given number
36. Write a C program to find the sum and average of different nos which are accepted by
user as many as user wants
37. Write a program to calculate average and total of 5 students for 3 subjects(use 2 for
loops)
38. Read five persons height and weight and count the number of person having height
greater than 170 and weight less than 50,
39. Write a program to check whether the given number is prime or not.
40. Write a program to check whether the given number is binary or not
41. Write a program to check whether the given number is octal or not
42. Write a c program to print a no in to hexadecimal and octal no.
43. Write a program to do sum of n numbers
44. Write a program to print following patterns :
i
*
ii
*
iii
*****
**
* *
****
***
* * *
***
****
* * * *
**
*****
* * * * *
*
45. Write a program to print following patterns :
i
1
ii
12345
iii
12
1234
123
123
1234
12
12345
1
46. Write a program to print following patterns:
i
AAAAA
ii
ABCDE
BBBB
ABCD
CCC
ABC
DD
AB
E
A
55555
4444
333
22
1
iv
1
22
333
4444
55555
Course code :
Project work
Suggested projects :
1. Develop a calculator.
2. To generate the marksheet of the students using array.
3. To generate a game of spelling using arrays and strings.
4. To generate inventory of the store using arrays.
5. To develop an application that converts any measuring unit to other measuring unit.
Author
Publication
E Balagurusamy
McGraw-Hill
Brian W. Kernighan
Dennis M. Ritchie
Prentice Hall
3
4
5
6
Yashvant Kanetkar
Ashok Kamthane
Reema Thareja
Vikas Gupta
BPB
Pearson
Oxford
Dreamtech
V. Rajaraman
PHI
Let Us C
Programming in C
Introduction to C Programming
Computer Fundamentals and C
Programming
Computer Programming in C
B. Learning Websites
-
nptel.iitm.ac.in
ocw.mit.edu
www.geeksforgeeks.org
Any C compiler