0% found this document useful (0 votes)
86 views3 pages

Roll No. ...................... Total Pages: 3: BT-I/D-20

This document contains an exam paper for the subject "Programming for Problem Solving" with the following details: 1) The exam is divided into 4 units with 2 questions in each unit and contains a total of 8 questions. 2) Each question is allotted a certain number of marks and students are instructed to attempt 5 questions total, selecting at least one from each unit. 3) The questions cover a range of programming concepts like solving equations, algorithms, control statements, functions, arrays, pointers, file handling and more. Programs or explanations are required for each part. 4) Details provided for each question include the concept being tested, number of marks allotted and sometimes additional instructions.

Uploaded by

Abhishek Thakral
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views3 pages

Roll No. ...................... Total Pages: 3: BT-I/D-20

This document contains an exam paper for the subject "Programming for Problem Solving" with the following details: 1) The exam is divided into 4 units with 2 questions in each unit and contains a total of 8 questions. 2) Each question is allotted a certain number of marks and students are instructed to attempt 5 questions total, selecting at least one from each unit. 3) The questions cover a range of programming concepts like solving equations, algorithms, control statements, functions, arrays, pointers, file handling and more. Programs or explanations are required for each part. 4) Details provided for each question include the concept being tested, number of marks allotted and sometimes additional instructions.

Uploaded by

Abhishek Thakral
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Roll No. ......................

Total Pages : 3

BT-I/D-20 41038
PROGRAMMING FOR PROBLEM SOLVING
Paper–ES 105A

Time : Three Hours] [Maximum Marks : 75

Note : Attempt five questions in all, selecting at least one question


from each Unit. All questions carry equal marks.

UNIT–I

1. (a) Solve the following :


(i) (543)6–(535)6.
(ii) (FCDA.CD)16 + (6EF5.BE)16.
(iii) (4537.524)8 = (?)10. 9

(b) Explain the working principle of laser printer with block


diagram. 6

2. (a) Solve the following :


(i) (593E.03D)16 = (?)r where r = 8 and 10.
(ii) (5FCD)16 – (30D8)16 using r¢ complement. 9

(b) What do you understand by algorithm? Write algorithm


for search an element from the array. 6

41038/PDF/KD/782 [P.T.O.
UNIT–II

3. (a) Write a program to roots of a quadratic equation using


switch statement. 8
(b) Write the use of break, continue, go to statements with
examples. 7

4. (a) Write a program to construct a pyramid of * in C. 7


(b) Explain the storages classes in C with examples. 8

UNIT–III

5. (a) Write a program to check whether sting is palindrome


or not without using string function. 8
(b) How user defined function with argument but no return
can be created, explain with suitable example ? 7

6. (a) What is recursion? Write a program to find the


Fibonacci series using recursion. 7
(b) What are the parameter passing techniques to function
with example? 8

UNIT–IV

7. (a) How the array can be handled by the pointers in C


language ? Explain. 8
(b) Explain the use of array within union with suitable
example. 7

41038//KD/782 2
8. (a) Explain the following with syntax :
(i) fread.
(ii) fwrite.
(iii) fgetc.
(iv) fopen.
(v) fputs. 8
(b) Write a program to concatenate two strings without
using string functions. 7

41038//KD/782 3

You might also like