Subjects
Applied Mathematics for Electrical Engineering - 3130908
Complex Variables and Partial Differential Equations - 3130005
Engineering Graphics and Design - 3110013
Basic Electronics - 3110016
Mathematics-II - 3110015
Basic Civil Engineering - 3110004
Physics Group - II - 3110018
Basic Electrical Engineering - 3110005
Basic Mechanical Engineering - 3110006
Programming for Problem Solving - 3110003
Physics Group - I - 3110011
Mathematics-I - 3110014
English - 3110002
Environmental Science - 3110007
Software Engineering - 2160701
Data Structure - 2130702
Database Management Systems - 2130703
Operating System - 2140702
Advanced Java - 2160707
Compiler Design - 2170701
Data Mining And Business Intelligence - 2170715
Information And Network Security - 2170709
Mobile Computing And Wireless Communication - 2170710
Theory Of Computation - 2160704
Semester
Semester - 1
Semester - 2
Semester - 3
Semester - 4
Semester - 5
Semester - 6
Semester - 7
Semester - 8
Programming for Problem Solving
(3110003)
PPS-3110003
Control structure in C
BE | Semester
1
Unit : Control structure in C
BE - Semester -
Winter - 2019
-
07-01-2020
Total Marks :
70
Q2
(a)
Winter-2019
Define break and continue statement with example.
3 Marks
Unit : Control structure in C
Q2
(c)
Winter-2019
Construct ‘C’ program to print the following pattern using loop statement.
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
7 Marks
Unit : Control structure in C
Q3
(c)
Winter-2019
Write a program to find sum of first N odd numbers. Ex. 1+3+5+7+………..+N .
7 Marks
Unit : Control structure in C
Q4
(c)
Winter-2019
Build a function to check number is prime or not. If number is prime then function return value 1 otherwise return 0.
7 Marks
Unit : Control structure in C
Q5
(b)
Winter-2019
Explain for loop with example.
4 Marks
Unit : Control structure in C