How To Exam?

a knowledge trading engine...


Makhanlal Chaturvedi National University of Journalism and Communication 2005 M.Sc Computer Science Programming in C - - Question Paper

Friday, 25 January 2013 09:40Web

Duration: 3 Hours
Max. Marks: 100
Minimum Passing Marks: 40

Instructions:
1. The ques. Paper is divided into 5 units. every unit carries an internal option.
2. Attempt 1 ques. from every unit. Thus attempt 5 ques. in all.
3. All ques. carry equal marks.
4. presume suitable data wherever necessary.
5. English version should be deemed to be accurate in case of any anomaly in translation.
6.Protest against ques. paper, if any, should be lodged after paper through Head of Department Study Institute. No boycott of paper should be made under any circumstances by the examinees.

Unit-I
1.a. What do you mean by Hierarchy of Operations? Evaluate the subsequent expressions and show their hierarchy: (10)
g=1.5 / two + 3.0 x four / 1.5 – 1.5 + three / 3
i = two x three / four + four / four + 8.2 + five / 8

b. explain the different single character Input-Output functions in C. (10)

2.a. Differentiate ranging from the subsequent with examples: (10)

i. While and do-while ii. Switch and if-else

b. Write a program to generate all combinations of 1, 2, three and 4. (10)

Unit-II
3.a. A number is entered through keyboard, write a function to compute sum of digits of this number: (20)

(a) by using recursion (b) by not using recursion

4.a. discuss User described function and Library function. (10)

b. discuss Arguments, Formal Argument and true Arguments. (10)

Unit-III
5.a. discuss Single dimensional and Multi dimensional array. Write a program to find the sum of 2 4x4 matrix. (10)

b. discuss with example Union and Structure. (10)

6.Explain the subsequent in detail: (20)

a. Array of Structures and Structures as Function Argument

b. String Functions.

Units-IV
7.Explain the Malloc, Calloc, Size of, Free and Realloc functions. (20)

8.Write a program to count number of vowels, consonants, digits, white space and other characters in a line of text by parsing pointer to function. (20)

Unit-V
9.A file opened in Document Mode in Word Star stores every word with its last character start stored as the ascii value of the character plus 128 as against the non-document mode. Write a program in C which converts a Document Mode file to a Non-document Mode file. (20)

10.Write short notes on the following: (20)

a. Initializing Graphics Mode

b. floodfill()

c. fseek()

d. fscanf()

e. outtextxy()




( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Makhanlal Chaturvedi National University of Journalism and Communication 2005 M.Sc Computer Science Programming in C - - Question Paper