How To Exam?

a knowledge trading engine...


Punjab University 2005-1st Year B.C.A Computer Application COMTER PROGRAMMING AND PROBLEM SOLVING THROUGH 'C' (il ) - Question Paper

Tuesday, 07 May 2013 11:20Web

COMPUTER PROGRAMMING AND issue SOLVING THROUGH 'C'

PAPER-BCA-06

Time Allowed: 3 Hours Maximum Marks:100

Note:Attempt any 5 ques.. All ques. carry equal marks.


1. (a) elaborate the benefits of Top-Down design? How is it carried out? explain. (10)

(b) What do you mean by the high level languages? How they differ from machine

language explain. (10)


2. (a) explain the step-by-step process followed to solve any issue. (10)

(b) What is constant? How is it various from variable? How do you create and use

different kinds of constants?. (10)


3 (a) What is the purpose of 'for' loop in C? How is it used? explain with improper

example. (10)

(b) Write a C program to convert a numeric number day to a named day of

the week (1 = Sunday, two = Monday, etc) Take an integer from user and

print the relevant day or message to the standard output. Use a

switch statement. (10)


4. (a) How do you make use of command line arguments. explain. (10)

(b) explain 2 various approaches used to update a data file

Which approach is better and why? (10)


5. (a) elaborate enumerated data types? explain their usage with example. (10)

(b) What is structure? How it is created? How is it passed to a function

explain. (10)


6. (a) What is pointer? How it is related to an array name? explain

with example. (10)

(b) Write C program which accept five strings from user and stores them

in an array. Then it displays the 1st letter of every string to the standard

output. (10)


7. Write a C program to implement different operations performed on a stack.

Design necessary interface also.(20)

8. Write short note on subsequent (20)

(a) Linked List

(b) Preprocessor Device

(c) Union

(4) Local and Global Variables




( 1 Vote )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjab University 2005-1st Year B.C.A Computer Application COMTER PROGRAMMING AND PROBLEM SOLVING THROUGH 'C' (il ) - Question Paper