POKHARA UNIVERSITY (PU)
Level: Bachelor
Program: BE
Course: Programming In C
Semester: Spring
Full Marks: 100
Pass Marks: 45
Time: 3 hrs
| DOWNLOAD PDF | Bachelor Level | BE - Programming In C | Question Paper | 2017 | Spring Semester | Pokhara University (PU)
The figures in the margin indicate full marks.
Attempt ALL the questions.
1.
a) Why is C called a structured programming language? Compare and contrast High Level language and Low Level language. [7]
b) What do you mean by algorithm and flow chart? Write an algorithm and flow chart to find palindrome of given number. [8]
2.
a) Why it is necessary to have a knowledge of data type in programming. Explain all types of datatype available in C. [7]
b) What is an array? Write a C program using array to find largest and smallest number from a list of 100 given numbers. [8]
3.
a) Define Recursion. Write a program to find sum of a natural number using recursion. [7]
b) Differentiate between switch and nested if else statements with a suitable example. [8]
4.
a) Explain call by value and call by pointer with suitable example. [7]
b) What is DMA? Write a program to find sum of 5 numbers supplied by user using DMA. [8]
5.
a) Differentiate between call by value and call by references with code examples. [8]
b) Differentiate structure and union. How the members of structure are accessed? Show it with example. [7]
6.
a) What do you mean by selective and repetitive statement? Why do we need break and continue statement. [7]
b) Write a program to generate all prime numbers from 1 to 200. [8]
7. Write short notes on: (Any Two) [2x5]
a) SDLC
b) Storage Classes in C
c) String handling Function
View the question paper of BE Programming In C | Spring Semester | 2017 | Bachelor Level | Pokhara University (PU)
BE Programming In C Question Paper Spring Semester 2017 Pokhara University PU |
Post a Comment
We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow.
Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.