Guru Jambheshwar University 2007 Post Graduate Diploma Computer Application computer programming and problem solving - Question Paper
(First Semester)
(Re-appear)
MS-02
COMPUTER PROGAMMING AND PROBLEM SOLVING
Time : 3 Hours Maximum Marks : 100
Note : Attempt any Five questions. All questions carry equal marks.
1. (a) Write an algorithm and draw flow chart to calculate sum of digits of a number, (b) Describe about airthmetic and logical expression and their operators precedences.
2. (a) Write a program to find mean and
standard deviation with the help of functions.
(b) Differentiate between iterative and recursion functions with the help of suitable example.
3. (a) Describe conditional operator their
precedences with suitable example.
(b) Discuss difference between different control statements with the help of palindrom program. /
4. (a) Describe about Pointer. Show that pointer
are better than static storage/arrays.
(b) Explain different'operations on pointers.
5. (a) Compare structure, union and enum with
the help of suitable example.
.
(b) Describe about different operations on strings.
6. (a) Write a program to create file, open,
insert data in file and retrive data from file.
(b) Write a program to compare data of two files and give message if data are not same.
7. (a) Explain input and output functions with
suitable examples.
(b) What are different preprocessor commands ? Explain with their utilities.
8. Write short notes on any two of the following :
(a) Multi-dimensional Arrays
(b) Macro
(c) Library Functions.
J-4375-X 3 1,000
Attachment: |
Earning: Approval pending. |