L LL
L LL
L LL
Credit: 02
Teaching Scheme:
Theory:
01 hr/week
Practical: 02 hrs/week
Examination Scheme:
Online: 50 marks
Unit I
(02 Hrs)
(03 Hrs)
Programming language 'C': Types of programming languages-machine-level, assembly, highlevel languages. Features of C, basic concepts, structure of a C program, declarations, constants,
variables, data types, Operators and expressions, conditional expressions. Operators- assignment,
arithmetic, relational, logical, increment and decrement, precedence and associativity of operators,
type conversions, Input and Output functions- scanf and printf.
Unit III
(03 Hrs)
Decision Control Structures in 'C': if, if-else, nested if-else, cascaded if-else and switch
statement, loop control structures: for, while, do-while loops, break and continue. Pointers in 'C':
Concept, address operators, pointer variable declaration, pointer assignment, pointer initialization,
1/5
Faculty of Engineering
Unit IV
(04 Hrs)
2/5
Faculty of Engineering
4.
5.
6.
Write a C program to compute the roots of given quadratic equation for non-zero
coefficients.
Write a C program to calculate the sum of all positive even numbers and the sum of all
negative odd numbers from the set of input numbers
A customer is offered 15% discount on the printed price of a laptop. The customer has to
pay 7% sales tax on the remaining amount. Write a program in C to calculate the amount
to be paid by the customer,
Write a C program to accept the length of three sides of a triangle and to test and print the
type of triangle as equilateral, isosceles or right angled or none
Write a C program to accept cost price and sales price of an item and calculate the profit
percentage or loss percentage.
Write a C program to find out if the number is a Pythagoras triplet. Ex a2=b2+c2
7.
Write a C program to implement Euclids algorithm to find the GCD and LCM of the
given two integers.
8. Write a C program to check whether input number is Prime or not.
3/5
Faculty of Engineering
4/5
Faculty of Engineering
25. Write a C program to accept a string with complete name of the employee and display the
string eliminating the middle word. Example Mayur Kumar Kulkarni would be displayed
as Mayur Kulkarni
26. Write a C program that will check whether given string is palindrome or not.
27. Write a C program that will check whether one string is substring of other string or not.
28. Write a C program to enter a string. Frame a word by joining all the first characters of the
words in the string. Example- input Just Allow Me will give output as JAM
29. Write a C program to accept a string and replace all the vowels in the string with *.
Group D
30. A class teacher wants to keep record of 10 students in the class along with the names and
marks obtained in 5 subjects. Write a C program with function that displaysa)
Name of the student with highest marks in a particular subject
b)
Overall percentage result of the class
c)
Total number of passing students in the class
d)
Total number of students failing in one subject
e)
Total number of distinctions in the class
30 Write a C program to carry out following operations on strings using library functionsa) To concatenate a string S2 to string S1
b) To find the length of a given string
c) To compare two strings S1 and S2
d) To copy a string S2 to another string S1
31 Write a C program to compute the factorial of the given positive integer using function
32 Write a C program with functions to compute addition and subtraction of two matrices
33 Write a C program that stores 12 city names in a single dimensional array. Write function
to display only those words that begin with a consonant and end with a vowel exampleBegaluru, Mumbai
34 A mall has 5 stores and 3 departments. Write a C program with function to find the
monthly sale of a particular store or department and the total monthly sale of each store
and each department.
35 Write a C program that declares and initializes a double, an int and a char variable and a
pointer to each of the three variables and one double pointer to store pointer address. Your
program should print the address of, and value stored in, and the memory size (in bytes) of
each of seven variables.
36
Write a C program with function to swap values of two elements ( call by reference)
5/5
Faculty of Engineering
Teaching Scheme:
Theory:
Examination Scheme:
01 hr/week
Online: 50 marks
Practical: 02 hrs/week
Prerequisites: - Fundamentals of Programming Languages-I
Course Objectives:
To develop competency for the logic, design, coding and debugging
To acquire fundamental knowledge of Object Oriented Programming
To get familiar with the fundamentals of World Wide Web and HTML
To get familiar with fundamentals of Embedded C programming
Course Outcomes:
On completion of the course, learner will be able to
Unit I
(03 Hrs)
(04 Hrs)
(02 Hrs)
Introduction to Internet, World Wide Web & Search Engine, HTML: Basic structure of an HTML
document, creating an HTML document, Introduction to elements of HTML, working with text,
lists, hyperlinks and images.
1/5
Faculty of Engineering
Unit IV
(03 Hrs)
2/5
Faculty of Engineering
3/5
Faculty of Engineering
7. The customers of the Maharashtra State Electricity Board are charged depending on the
number of units consumed. The electricity tariff is calculated as follows
Units Consumed
Up to 100 units
Charges
90 Paise per unit
In addition to above every person has to pay Rs75 as service charge per month. Write a
program in C++ using control structures to calculate the Electricity bill.
8. Diwali festival discounts are announced by a showroom. Based on the total cost of the
purchase, the following discounts are offered
Total Cost
Discount
5%
15%
Rs 2000 to Rs 5000
20%
Above Rs 5000
35%
Above Rs 10000
50%
Write a program in C++ to compute and display the amount to be paid by the customer
after availing the discounts. The total cost can be taken as input.
4/5
Faculty of Engineering
9. XYZ transport company charges the parcels from Nashik to Pune and vice versa as per
the given tariff
Total Cost
Discount
Up to 15kg
Rs. 20 per kg
For next 20 kg
Rs. 10 per kg
For next 20 kg
Rs. 8 per kg
Rs. 5 per kg
Taking the weight of the parcel as input, Write a program in C++ to calculate the charges.
Group C
10. Design webpage for personal information (personal information, photo, qualification,
experience, etc) using images, tables and hyperlinks
11. Design web page for promoting city as a tourist destination using images, tables,
hyperlinks etc.
12. Design web page for builder to showcase the various projects with various specifications
using images, tables, hyperlinks etc.
Group D (Any 2- one each for Embedded C and Android)
13. A pizza parlor accepts maximum N orders. A total current order is displayed using
LED/LCD display connected to PC. Write a embedded C program to increment or
decrement count based on order placed or order served.
14. An USB light is used to work in dark for keyboard attached to your PC/Laptop. Write a
embedded C program to switch off the light after 10 minutes of keyboard inactivity
15. Write an embedded C program to rotate stepper motor in clock wise or anti-clock wise
direction by providing the angle of rotation.
16. Write an embedded C program to generate rolling display of your institutes name using
LED/LCD display connected to PC.
17. Installation of Android SDK for Eclipse and Write a program to read user name and
display the message with user name such as Welcome dear XYZ to the world of Android
18. Write a program to implement simple calculator using Android programming
19. Write a program to develop mobile app using Android programming for collecting opinion
showing numerical calculator for particular issue such as whether Net neutrality should
be permitted or not
5/5