Cse It
Cse It
I Year I Semester
Course Hours/Week
S. No. Course
Code L T P/D C
1 HS English I 2 - - 2
2 HS Finance for Engineers 3 - - 3
3 BS Mathematics I 3 1 - 4
4 BS Engineering Physics I 3 1 - 4
5 BS Engineering Chemistry 3 1 - 4
6 HS English Language Communication Skills Lab - - 2 1
7 BS Engineering Physics I Lab - - 2 1
8 BS Engineering Chemistry Lab - - 2 1
9 ES Introduction to Programming Lab - - 2 1
Total 21
I Year II Semester
Course Hours/Week
S. No. Course
Code L T P/D C
1 HS English II 3 - - 3
2 BS Mathematics II 3 1 - 4
3 BS Engineering Physics II 3 1 - 4
4 OE Open Elective I 3 - - 3
5 ES Problem Solving with Programming 3 - - 3
6 BS Engineering Physics II Lab - - 2 1
7 ES Problem Solving with Programming Lab - - 2 1
Total 19
ENGLISH I
COURSE OUTCOMES
At the end of the course, the students will develop ability to
1) Compile effective paragraphs and essays.
2) Compile technical and non -technical terminology.
3) Sketch flawless grammar usage.
4) Identify purpose and audience of a given text.
5) Restate scanning and skimming and build critical thinking.
UNIT I
History
Museum brochures, Should we teach History? Working out meaning from content, Academic
vocabulary, Grammar for writing: stating opinions, linking contrasting sentences, critical
thinking: analyze different opinions, write an introduction and write a balanced opinion
essay, parts of speech, verb and verb forms
UNIT II
Environment
Our changing planet, what are the causes of deforestation and what are its effects on the
natural environment? (Natural science journal-reading for main ideas), Scanning to find
information, topic vocabulary, cause-effect paragraphs, linking word or phrase, topic
sentences, tenses, phrasal verbs.
UNIT III
Health and Fitness
Skim a leaflet-keep fit! It’s easier than you might think, read the essay –tackling obesity,
understand key vocabulary, verbs and nouns, collocations, giving reasons, organization of an
essay, write supporting sentences to a problem-solution essay, articles, punctuation, simple,
compound, complex sentences, and concord.
UNIT IV
Discovery and Invention
Read the magazine article-the magic of mimicry, making inferences from the text, scanning
to predict content-the world of tomorrow, understanding prefixes, making predictions,
understand an issue by finding reasons and evidence to support ideas, common errors,
advantage-disadvantage essay, speech and voice.
UNIT V
Economics
Skimming and scanning, synonyms, describing graphs-noun phrases and verb phrases,
understand and interpret visual information, writing an explanatory paragraph describing a
graph and explaining the data, information transfer techniques.
UNIT VI
The Brain
Tricks played by the brain, mind control, previewing, medical language, understanding
technical vocabulary, critical thinking, write a process paragraph, one word substitution,
writing e-mail, note making
TEXT BOOK
1. Carolyn Westbrook, “Unlock Reading and Writing Skills 3 - B1 English Profile”,
Cambridge University Press.
REFERENCE BOOKS
1. Raymond Murphy, “Murphy’s Essential English Grammar” with CD, Cambridge
University Press.
2. V R Narayanaswami, “Strengthen your English”, Orient Longman.
3. “A Hand Book of English for Engineers”, BSP.
4. M. Ashraf Rizvi, “Effective Technical Communication”, Tata McGraw Hill.
COURSE OUTCOMES
At the end of the course, the student will develop ability to
1. Estimate the cash flows in a business process.
2. Create value maps using price-benefit to customers.
3. Construct Break even chart and calculate the BEP.
4. Apply various techniques in estimating the time value of money.
5. Analyze the income and profit & loss statement of various organizations.
UNIT I
Cash Flow
The Life Line of Business - Estimate Revenue - Cost of Goods - Operating Expenses - Gross
Profit and Net Profit - Revenue and Profit - Cost and Profit.
Increasing Profit
Black-Box Model - Strategies for Increasing Revenue -Strategies for Manufacturing Cost -
Strategies for Decreasing Operating Expenses.
UNIT II
Value-Price-Cost
Terminology, Key Drivers, Economic Value to Customer, Value Maps-Construction of Value
Maps - Price and Benefit to Customer - Price and Cost of Goods Sold - Value Maps and
Profit Maximization.
UNIT III
Break-Even Analysis
Break-Even Point, Cost Volume Profit Analysis-Construction of Break Even Point-
Assumptions of Break Event Point, Calculation of Break Even Point.
UNIT IV
Life Cycle Costing
Different Life Cycle Cost Contributors. Time Value of Money-Need of Time Value of
Money-Techniques of TVM: Discounting Technique and Compounding Technique, Selecting
an Appropriate Product.
UNIT V
Balance Sheet and Income Statement
Basic Principles, The Balance Sheet, The Income Statement, Construction of the Balance
Sheet and Income Statement, Key Ratios.
UNIT VI
Cash Flow Statement and Connections
Cash Flow Statement, Balance Sheet Connections. Sales Cycle, Expense Cycle, Investment
Cycle, Asset Purchase & Depreciation Cycle.
TEXT BOOKS
1. Robert N. Anthony, David F. Hawkins and Kenneth A.Mechant: Accounting-Text and
Cases, 12/e TMH, 2008.
2. Narayanaswamy, R., Financial Accounting: A Managerial Perspective, PHI 2008.
REFERENCE BOOKS
1. Gokul Sinha: Financial Statement Analysis, PHI, 2009.
2. Ambrish Gupta: Financial Accounting Management an Analytical Perspective, Pearson
Education.
3. Jawaharlal: Accounting for Management, HPH, 2008.
4. Stice & Stice: Financial Accounting Reporting & Analysis. Cengage, 7/e, 2008.
5. Horngren: Financial Accounting, Pearson, 2009.
MATHEMATICS I
COURSE OUTCOMES
At the end of the course the student should be able to:
1. Understand the concepts of limit and continuity of a function.
2. Recognize the importance of differentiability of a function and also understand the
applications of differentiation.
3. Interpret the definite integral geometrically as the area under a curve
4. Apply the techniques of integration to solve improper integrals and also evaluate the
integration numerically.
5. Solve the differential equations of first order and first degree with suitable methods and
apply these methods to various real world problems.
UNIT I
Functions, Limits and Continuity
Functions and Their Graphs - Combining Functions; Shifting and Scaling Graphs -
Trigonometric Functions - Exponential Functions - Inverse Functions and Logarithms. Limit
of a function and limit laws – one sided limits – Continuity - Limits Involving Infinity;
Asymptotes of Graphs
UNIT II
Derivatives and Applications
The Derivative as a Function - Differentiation Rules - Derivatives of Trigonometric
Functions - The Chain Rule - Implicit Differentiation - Derivatives of Inverse Functions and
Logarithms - Inverse Trigonometric Functions - Related Rates - Linearization and
Differentials - Extreme Values of Functions - Monotonic Functions and the First Derivative
Test - L’Hôpital’s Rule - Applied Optimization - The Mean Value Theorems – Graphical
representation – Newton Raphson Method – Antiderivatives.
UNIT III
Integrals
Integration - Estimating with Finite Sums - Sigma Notation and Limits of Finite Sums - The
Definite Integral – Integrals of Transcendental Functions - The Fundamental Theorem of
Calculus - Indefinite Integrals and the Substitution Method - Definite Integral Substitutions
and the Area between Curves.
UNIT IV
Techniques of Integration and Applications
Integration by Parts - Trigonometric Integrals - Trigonometric Substitutions - Integration of
Rational Functions by Partial Fractions - Numerical Integration - Improper Integrals.
UNIT V
First Order Differential Equations
First Order Differential Equations - Integrals as General and Particular Solutions - Slope
Fields and Solution Curves - Separable Equations and Applications: Newton’s law of cooling
– Laws of Natural Growth and Decay - Linear Equations – Bernoulli Equation - Exact
Equations.
UNIT VI
Mathematical Models and Numerical Methods
Population Models - Acceleration-Velocity Models - Numerical Approximation: Euler's
Method - Modified Euler Method - Runge-Kutta Method
TEXT BOOKS
1. Thomas' Calculus: Early Transcendentals, Joel R. Hass, Davis, Christopher E. Heil,
Maurice D. Weir, Pearson publications.
2. B.S.Grewal, "Higher Engineering Mathematics", Khanna publishers, Delhi.
REFERENCES
1. Elementary Differential Equations, C. Henry Edwards, David E. Penney, Prentice Hall.
2. Peter V. O'Neil, "Advanced Engineering Mathematics", Cl-Engineering.
3. Erwin kreyszig, "Advanced Engineering Mathematics", John wiley & sons, 605 Third
Evenue, New York.
ENGINEERING PHYSICS I
COURSE OUTCOMES
At the end of the course, the students will develop ability to
1. Acquire conceptual understanding of fundamentals related to mechanics.
2. Interpret the important concepts and phenomena linked to waves and oscillations.
3. Analyze the intensity variation of light due to interference and diffraction and its
significance.
4. Formulate and solve the engineering problems in mechanics and optics.
5. Examine the physical significance of Maxwell’s equations as well as explore them.
UNIT I
Motion of Particle
Elements of vectors, Equations of motion-freely falling body and body projected upwards,
Projectile motion-horizontal and oblique projection, Force, Newton’s laws of motion, Work
done-constant and varying force, Kinetic and potential energy, Work-energy principle,
Conservative and non-conservative forces, Conservation of mechanical energy
UNIT II
System of Particles and Rotational Motion
Equilibrium of rigid body, Center of mass, Moment of inertia, Parallel and Perpendicular
axes theorems, Angular quantities, Types of motion–translational, rotational and rolling
motion, Rotational kinetic energy, Conservation of linear and angular momentum, Universal
law of gravitation
UNIT III
Waves and Oscillations
Introduction, Free oscillations, Simple harmonic oscillator-equation of motion and its
solution, Characteristics and energy of simple oscillator, Torsional pendulum-rigidity
modulus of wire, Damped and Forced oscillations-equations of motion and their solutions,
Sharpness of resonance, Quality factor, Electrical analogy of forced oscillator
UNIT IV
Interference and Diffraction
Interference: Conditions for sustained interference of light, Young’s double slit experiment,
Interference in thin films, Newton’s rings by reflected light.
Diffraction: Distinction between Fresnel and Fraunhoffer diffraction, Fraunhoffer diffraction
at a single slit and double slit (qualitative), N-slits-diffraction grating, Resolving power and
Dispersive power of grating
UNIT V
Laser
Characteristics of laser, Absorption and emission of radiation, Einstein’s coefficients and
relation between them, Lasing action, Types of lasers - He-Ne laser and semiconductor laser,
Applications of lasers
UNIT VI
Electrodynamics
Introduction to electrostatics, Coulomb’s law, Gauss law of electrostatics, Introduction to
magnetostatics, Gauss law of magnetostatics, Biot-Savart law, Time varying electric and
TEXT BOOKS
1. D. Halliday, R. Resnick and J. Walker, “Fundamentals of Physics”, John Wiley & Sons
(P) Ltd., Tenth Edition – 2013.
2. R.K. Gaur & S.L. Gupta, “Engineering Physics”, Dhanpat Rai Publications (P) Ltd.,
Eighth Edition – 2001 (Reprint – 2008).
REFERENCE BOOKS
1. Douglas C. Giancoli, “Physics – Principles with Applications”, Prentice Hall, Sixth
Edition – 2005.
2. Matthew N.O. Sadiku, “Principles of Electromagnetics”, Oxford University Press, Fifth
Edition – 2010.
3. M.N. Avadhanulu and P.G. Kshirsagar, “A Text book of Engineering Physics”, S. Chand
& Company Ltd., Tenth Revised Edition – 2013.
ENGINEERING CHEMISTRY
COURSE OUTCOMES
At the end of the course, the students will develop ability to
1. Predict atomic structure, chemical bonding or molecular geometry based on accepted
models
2. Illustrate the concept of chirality, stereochemical and compare various types of
chromatography-spectroscopic methods
3. Explain the basics of electrochemistry and different types of electro chemical cells
4. Utilize the softening techniques of hard water
5. Identify the importance of various engineering materials
UNIT I
Periodic properties and Chemical bonding
Properties of elements, electronic configurations, atomic and ionic sizes, ionization energies,
electronegativity, oxidation states, polarisability.
Chemical bonding-VBT-Definition, principle, overlapping of orbitals, molecular shapes.
Crystal field theory-Energy level splitting of d-orbitals for tetrahedral and octahedral
complexes.
Molecular orbital theory- Molecular diagrams of homo and hetero diatomic molecules,
bond order and magnetic properties.
UNIT II
Organic Reactions and Stereochemistry
Introduction to organic chemical reactions, types of reactions-addition, substitution, and
elimination reactions.
Stereochemistry
Introduction to stereoisomers, configurations and chirality, enantiomers and diastereomers.
UNIT III
Free Energy in chemical equilibria: Concept of Gibbs free energy, electrode potentials,
electrochemical series, EMF of cell, Nernst equation, numerical problems, types of
electrodes, metal–metal ion electrode, gas electrode and ion selective electrode-glass
electrode and fluoride ion electrode. Applications of electrode potential - Energy storage
cells-Lithium ion and Ni-Cd Cells, fuel cells-H2-O2 and CH3OH-O2 fuel cell.
Corrosion - Definition, control methods-electroplating and anodizing
UNIT IV
Spectroscopic techniques and applications
Introduction, Principles of spectroscopy and selection rules, Beer-Lambert’s law, and
vibrational electronic spectroscopy (Fluorescence) and their applications in medicine.
Chromatography-Introduction, principles and applications of thin layer chromatography and
gas chromatography.
UNIT V
Water Chemistry
Drinking water quality parameters-WHO guidelines, BIS guidelines, alkalinity, dissolved
oxygen and hardness of water- representation, types and units of hardness, determination of
hardness by EDTA method, problems. boiler troubles- caustic embrittlement, boiler
corrosion, scale and sludge formation, methods of softening of water - Zeolite process and
problems, Ion-exchange process, brackish water - Electro dialysis and Reverse osmosis.
UNIT VI
Material Chemistry: Bio Polymers-Synthesis and applications of PHA, PLA
Lubricants-Definition, criteria for good lubricants, Properties-viscosity, surface tension,
flash point and fire point.
Refractories-Characteristics of Refractories, Concept of Refractoriness (RUL & Segar cone
test).
Fuels - Types and Characteristics of fuels (Liquid and gaseous fuels), Knocking-Octane
number, anti-knocking agents and Cetane number. Gaseous fuels- CNG, LPG, Calorific
values (Units), Dulong’s formulae for NCV and GCV, numerical problems
TEXT BOOKS
1. Gurudeep Raj, “Advance Physical Chemistry”, Krishna Prakasham Media, GOEL
Publishing House.
2. K.Mukkanti and SS Dara,“A Text book of Engineering Chemistry”,S Chand
Publications.
3. C. Parameswara Murthy, CV Agarwal and Andra Naidu, “Text book of Engineering
Chemistry”, BS Publications, Hyderabad (2008).
4. Shashi Chawla, “A Text Book of Engineering Chemistry”, Tata McGraw Hill
Education Private Limited, New Delhi-2012.
REFERENCE BOOKS
1. Oleg Roussak and H.D. Gesser, “Applied Chemistry: A Textbook for Engineers and
Technologists”, Springer, 2nd Edition 2013.
2. P.C. Jain and Jain, “Engineering Chemistry”-Sixteenth Edition, Dhanpat Rai Publishing
Company, New Delhi-2014.
COURSE OUTCOMES
At the end of the course the student will develop ability to
1. Reproduce the sounds of language as per the rule of pronunciation
2. Build speaking abilities with proper body language.
3. Paraphrase the description of people, objects and place.
4. Evaluate the effectiveness in improving in speaking levels.
5. Build Telephone Etiquette by using language for assent and dissent and recall essentials
of communication methods.
The Language Lab focuses on the production and practice of sounds of language and
familiarises the students with the use of English in everyday situations and contexts.
Exercise I
History
Watch and understand a video about archaeology, watch the video and list the main ideas,
using visuals to predict content.
Ice-Breaking activity and JAM session, word formation, speech sounds – speech mechanism
diagram.
Exercise II
Environment
Watch and understand a video about global warming- Alaskan glaciers, watch the video and
complete the diagram, using knowledge to predict content.
Situational English – Role-Play- Social etiquette: Expressions in Various Situations – Self-
introduction and Introducing others – Greetings – Apologies – Requests –– Consonantal
sounds.
Exercise III
Health and Fitness
Watch and understand a video about professional cyclists, watch the video and complete the
notes, understand key vocabulary.
Descriptions- Narrations- Giving Directions and guidelines – Vowel sounds.
Exercise IV
Discovery and Invention
Watch and understand a video about the ASIMO robot, watch the video and number the main
ideas, watch again and complete the sentences with a word or a number.
Oral Presentation – Non verbal communication – gestures – proxemics – facial expressions –
Making power point presentation – advantages of PPT – dos and don’ts – using bullets – font
size – colour contrast.
Exercise V
Economics
Watch and understand a video about an emerging economy, watch the video and use
knowledge to predict content, watch again and complete the lecture notes.
Group Discussion – concept – types of group discussion – dos and don’ts – advantages.
Exercise VI
The Brain
Watch and understand a video about the brain, watch the video and complete the notes using
one word for each gap, watch again and choose the correct word in the sentences below.
Reading Comprehension -Resume writing - cover letter.
TEXT BOOKS
1. Carolyn Westbrook, “Unlock Reading and Writing Skills 3 - B1 English Profile”,
Cambridge University Press.
REFERENCE BOOKS
1. Laxminarayana K, “English for Technical Communication”, SciTech.
2. Sudha Rani D, “A Manual for English Language Laboratory”, Pearson.
3. Sudha Rani D, “Advanced Communication Skills Laboratory”, Pearson.
SUGGESTED SOFTWARE:
1. Cambridge Advanced Learners’ English Dictionary with CD.
2. Grammar Made Easy by Darling Kindersley.
3. Punctuation Made Easy by Darling Kindersley.
4. Oxford Advanced Learner’s Compass, 8th Edition.
5. DELTA’s key to the Next Generation TOEFL Test: Advanced Skill Practice.
6. English in Mind (Series 1-4), Herbert Puchta and Jeff Stranks with Meredith Levy,
Cambridge.
COURSE OUTCOMES
At the end of the course, the students will develop ability to
1. Estimate the frequency of tuning fork and AC supply with the help of stretched strings
2. Analyze as well as compare the intensity distribution of interference and diffraction
patterns
3. Draw the characteristics of electrical circuits and evaluate the dependent parameters
4. Explore and understand the applications of semiconducting devices
5. Develop skills in observation, interpretation, reasoning, predicting and questioning in
order to realize new knowledge
TEXT BOOKS
1. Y.Aparna and K.Venkateswara Rao, “Laboratory Manual of Engineering Physics”,
VGS Publishers.
COURSE OUTCOMES
At the end of the course, the students will develop ability to
1. Explain about the determination of alkalinity and hardness of water.
2. Examine the PH, conductance and absorbance of copper in brass by using instrumental
methods.
3. Make use of bleaching power to determine the amount of chlorine.
4. Utilize the viscometer, stalagnometer to find out the viscocity and surface tension of
liquids.
5. Apply the TLC technique for the separation of mixture of compounds.
LIST OF EXPERIMENTS
1. Determination of alkalinity of water sample.
2. Estimation of hardness of water by EDTA method.
3. Determination of available chlorine in bleaching powder.
4. Determination of surface tension
5. Determination of viscosity
6. Determination of cell constant by Conductometry.
7. Determination of strength of acid by Conductometry
8. Potentiometry - Redox titration
9. Determination of strength of acid by pH metry
10. Determination of amount of Cu+2 in Brass sample by Colorimetry
11. Determination of Rf factor by Thin layer chromatography
12. Synthesis of Polymer (Urea – Formaldehyde resin) / Drug (Asprin)
COURSE OUTCOMES
At the end of the course, the students will develop ability to
1. Design algorithms to solve simple problems
2. Sketch flow charts to the algorithms.
3. Acquire syntactic familiarity with C programming language.
4. Write programs with decision-making and iterative control structures.
5. Develop programs using arrays, strings and string manipulations.
Week: 1
Problem solving Techniques: Algorithm, Properties of Algorithm, Algorithm
development approaches, Flow chat development.
a) Creating a new flow charts for solving scientific problems
Assignment:
Creating a new flow charts for solving scientific problems.
Week: 2
Programming environment of C in Linux
a) Basic Commands of Linux
b) vi Editor Usage
c) Compiling and Executing a C Program
Assignment:
1. Create a new subdirectory called CSE2018.
2. Change your current working directory to CSE201811.
3. Display a listing of all the files in the working directory.
Week: 3.
a) Introduction to C Programming: Identifiers, Basic datatypes, I/O
functions.
Programs
a) Write a C program to convert a string to an unsigned long integer
Test Data and Expected Output :
Input an unsigned number: 25
Output: 25
Expected Output :
Input your firstname: Tom
Input your lastname: Davis
Input your year of birth: 1982
Tom Davis 1982
d) Demonstration on I/O functions and variations.
Assignment:
1. Write a C program to print a block F using hash (#), where the F has a height of seven
characters and width of six and five characters.
Expected Output:
######
#
#
#####
#
#
#
Week: 4
a) Operators:
Programs
a) Write a C program to integral quotient and remainder of a division.
b) Write a C program that accepts two item’s weight (floating points' values) and
number of purchase (floating points' values) and calculate the average value of the
items.
Test Data :
Weight - Item1: 15
No. of item1: 5
Weight - Item2: 25
No. of item2: 4
Expected Output:
Average Value = 19.444444
c) Write a C program to check Least Significant Bit (LSB) of a number is set or not.
d) Write a C program to convert decimal to binary number system using bitwise
operator.
e) Demonstration on special operator.
Assignment
1. Write a C program to convert specified days into years, weeks and days.
Note: Ignore leap year.
Test Data :
Number of days : 1329
Expected Output :
Years: 3
Weeks: 33
Days: 3
2. Write a C program to read an amount (integer value) and break the amount into smallest
possible number of bank notes.
Test Data :
Input the amount: 375
Expected Output:
There are:
3 Note(s) of 100.00
1 Note(s) of 30.00
1 Note(s) of 20.00
0 Note(s) of 10.00
1 Note(s) of 5.00
0 Note(s) of 2.00
0 Note(s) of 1.00
3. Write a C program that accepts 4 integers p, q, r, s from the user where r and s are
positive and p is even. If q is greater than r and s is greater than p and if the sum of r
and s is greater than the sum of p and q print "Correct values", otherwise print "Wrong
values".
Test Data :
Input the first integer: 25
Input the second integer: 35
Input the third integer: 15
Input the fourth integer: 46
Wrong values
Week: 5
Expressions, Type conversion, precedence & associatively
Programs
a) Demonstration on expression evaluation.
b) Demonstration on type conversion.
c) Demonstration on precedence & associatively rules.
Assignment
Week: 6.
Decision making and branching statements simple if, if else.
Programs
a) Write a C program to check a given integer is positive even, negative even, positive
odd or negative odd. Print even if the number is 0.
Test Data :
Input an integer: 13
Expected Output:
Positive Odd
Assignment
1. If cost price and selling price of an item is input through the keyboard, write a
program to determine whether the seller has made profit or incurred loss. Also
determine how much profit he made or loss he incurred.
2. Write a program to calculate overtime pay of 10 employees. Overtime is paid at the
rate of Rs. 12.00 per hour for every hour worked above 40 hours. Assume that
employees do not work for fractional part of an hour.
Week: 7
If else ladder, nested if, switch-case statement
Programs
a) Write a C program that reads an integer between 1 and 12 and print the month of the
year in English.
Test Data :
Input a number between 1 to 12 to get the month name: 8
Expected Output:
August
a) Write a C program to find the largest of three numbers.
Test Data : 12 25 52
Expected Output :
1st Number = 12, 2nd Number = 25, 3rd Number = 52
The 3rd Number is the greatest among three
b) Write a C program to check whether a character is an alphabet, digit or special
character.
Test Data :
@
Expected Output :
This is a special character
c) Write a program in C which is a Menu-Driven Program to compute the area of the
various geometrical shape.
Test Data :
1
5
Expected Output :
The area is : 78.300000
d) Write a C program to create Simple Calculator using switch case.
Assignment
1. Write a C program to read the value of an integer m and display the value of n is 1
when m is larger than 0, 0 when m is 0 and -1 when m is less than 0.
Test Data : -5
Expected Output :
The value of n = -1
2. Write a C program to find the eligibility of admission for a professional course based on
the following criteria:
Marks in Maths >=65
Marks in Phy >=55
Marks in Chem>=30
Total in all three subject >=180
or
Total in Math and Subjects >=140
Test Data :
Input the marks obtained in Physics :65
Input the marks obtained in Chemistry :51
Input the marks obtained in Mathematics :72
Expected Output :
The candidate is eligible for admission.
Week: 8
a) Decision making and looping statements while, do... while
Programs
a) Write a C program to print 3 numbers in a line, starting from 1 and print n lines.
Accept number of lines (n, integer) from the user.
Test Data :
Input number of lines: 5
Expected Output:
123
456
789
10 11 12
13 14 15
b) Write a C program to print a number, it’s square and cube in a line, starting from 1
and print n lines. Accept number of lines (n, integer) from the user.
Test Data :
Input number of lines: 5
Expected Output:
111
248
3 9 27
4 16 64
5 25 125
c) Write a program in C to display the first n terms of Fibonacci series.
Fibonacci series 0 1 1 2 3 5 8 13 .....
Test Data :
Input number of terms to display : 10
Expected Output :
Here is the Fibonacci series upto to 10 terms :
0 1 1 2 3 5 8 13 21 34
d) Write a program in C to check whether a number is a palindrome or not.
Test Data :
Input a number: 121
Expected Output :
121 is a palindrome number.
e) Programs on special operator
Assignment
1. Write a c program to find the perfect numbers within a given number of range.
Test Data :
Input the starting range or number : 1
Input the ending range of number : 30
Expected Output :
The Perfect numbers within the given range : 6 28
2. Write a program to print out all Armstrong numbers between 1 and 300. If sum of
cubes of each digit of the number is equal to the number itself, then the number is
called an Armstrong number. For example, 153 = ( 1 * 1 * 1 ) + ( 5 * 5 * 5 ) + ( 3 * 3 *
3 ).
3. Write a program in C to make such a pattern like a pyramid with an asterisk.
*
**
***
****
Week: 9
For loops, unconditional statements – go to break and continue.
Programs
a) Write a program in C to find the number and sum of all integer between 100 and
200 which are divisible by 9.
Expected Output :
Numbers between 100 and 200, divisible by 9 :
108 117 126 135 144 153 162 171 180 189 198
The sum : 1683
b) Write a C program to check whether a number is a Strong Number or not.
Test Data :
Input a number to check whether it is Strong number: 15
Expected Output :
15 is not a Strong number.
c) Write a program in C to convert decimal number to binary number.
d) Demonstration on unconditional statements.
Assignment:
1. Write a C program to print all numbers between 1 to 100 which divided by a specified
number and the remainder will be 3.
TestData :
Inputan integer: 25
Expected Output:
3
28
53
78
2. Write a C program to check whether a number is a Strong Number or not.
Test Data :
Input a number to check whether it is Strong number: 15
Expected Output :
15 is not a Strong number.
Week: 10
Arrays: single dimensional array
Programs
a) Write a program which performs the following tasks:
− initialize an integer array of 10 elements in main( )
− multiply each element of array by 3
b) Write a C program to put even and odd elements of array in two separate array.
c) Write a C program to search an element in an array.
d) Write a C program to delete an element from an array at specified position.
e) Write a C program to count total number of duplicate elements in an array
Assignment
1. Write a C program to read and print the elements of an array of length 5, before print,
put the triple of the previous position starting from the second position of the array.
For example, if the first number is 2, the array numbers must be 2, 6, 18, 54 and 162
Test Data:
Input the first number of the array: 5
Expected Output:
n[0] = 5
n[1] = 15
n[2] = 45
n[3] = 135
n[4] = 405
Week: 11
a) Two-dimensional Arrey
Programs
a) Write a program to pick up the largest number from any 5 row by 5 column matrix.
b) Write a C program that uses functions to perform the following:
i) Addition & Multiplication of 2 matrices
Assignment
1 2 3 4 5
2 4 6 8 10
20 10 5 3 1
3 6 9 12 15
Week: 12
String Handling
Programs:
Programs
a) Write a C program to demonstrate the visibility level of auto variables.
b) Write a C program to demonstrate the visibility level of static variables.
c) Write a C program to demonstrate the visibility level of register variables.
Assignment
1. Output of following programs?
#include <stdio.h>
int main()
{
static int i=5;
if(--i){
main();
printf("%d ",i);
}
}
#include <stdio.h>
int main()
{
int x = 10;
static int y = x;
if(x == y)
printf("Equal");
else if(x > y)
printf("Greater");
else
printf("Less");
return 0;
}
#include <stdio.h>
int main()
{
static int i=5;
if (--i){
printf("%d ",i);
main();
}
}