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
Winter-2019
BE | Semester
1
Winter - 2019
|
07-01-2020
Total Marks
70
Q1
(a)
List out types of software with example.
3 Marks
Unit : Introduction to computer and programming
|
Topic : Types of software
Q1
(b)
Distinguish the data types provided by C programming language.
4 Marks
Unit : Fundamentals of C
|
Topic : Data types
Q1
(c)
Implement a C Program to convert temperature from Fahrenheit to Celsius and vice versa.
7 Marks
Unit : Fundamentals of C
|
Topic : Evaluation of expressions
Q2
(a)
Define break and continue statement with example.
3 Marks
Unit : Control structure in C
|
Topic : Break and continue
Q2
(b)
Categorize the major components of computer system and give their function.
4 Marks
Unit : Introduction to computer and programming
|
Topic : Basic block diagram and functions of various components of computer
Q2
(c)
List all symbols used in flowchart and draw flowchart to find factorial number.
7 Marks
Unit : Introduction to computer and programming
|
Topic : Flowcharts and Algorithms
OR
Q2
(c)
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
|
Topic : Nesting of control structures
Q3
(a)
Explain different types of constants.
3 Marks
Unit : Fundamentals of C
|
Topic : Constants and Variables
Q3
(b)
Define algorithm and explain different symbols used in flowchart.
4 Marks
Unit : Introduction to computer and programming
|
Topic : Flowcharts and Algorithms
Q3
(c)
Demonstrate a C program to input an integer number and check last digit of number is even or odd.
7 Marks
Unit : Fundamentals of C
|
Topic : Evaluation of expressions
OR
Q3
(a)
Explain getch(), getchar(), gets().
3 Marks
Unit : Fundamentals of C
|
Topic : I/O Functions
Q3
(b)
List out the operators used in C language and explain any three with example.
4 Marks
Unit : Fundamentals of C
|
Topic : Operators
Q3
(c)
Write a program to find sum of first N odd numbers. Ex. 1+3+5+7+………..+N .
7 Marks
Unit : Control structure in C
|
Topic : Looping statements
Q4
(a)
Show the important of stdio.h header file.
3 Marks
Unit : Fundamentals of C
|
Topic : Header files
Q4
(b)
Describe file management. And List the various file management functions.
4 Marks
Unit : File management
|
Topic : Introduction to file management and its functions
Q4
(c)
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
|
Topic : Looping statements
OR
Q4
(a)
Distinguish between Structure and Union.
3 Marks
Unit : Structure
|
Topic : Basics of structure
Q4
(b)
Develop an algorithm to print first N Fibonacci numbers.
4 Marks
Unit : Introduction to computer and programming
|
Topic : Flowcharts and Algorithms
Q4
(c)
Write a C program to read 10 numbers from user and store them in an array. Display Sum, Minimum and Average of the numbers.
7 Marks
Unit : Array & String
|
Topic : Concepts of array
Q5
(a)
Write a program to illustrate the use of fputc ( ) and fputs( ).
3 Marks
Unit : File management
|
Topic : Introduction to file management and its functions
Q5
(b)
Categorize User defined function’s components (elements).
4 Marks
Unit : Functions
|
Topic : Parameters
Q5
(c)
Explain the function definition, function prototype and function call with relative example.
7 Marks
Unit : Functions
|
Topic : Concepts of user defined functions
OR
Q5
(a)
List the advantages of recursion.
3 Marks
Unit : Recursion
|
Topic : Recursion as a different way of solving problems. Example programs
Q5
(b)
Explain for loop with example.
4 Marks
Unit : Control structure in C
|
Topic : Looping statements
Q5
(c)
Explain call by value (pass by value) and call by reference (pass by reference) with examples in brief.
7 Marks
Unit : Functions
|
Topic : Parameter passing