Monday, December 22, 2014

Panjab University Chandigarh
Computer Programming And Problem Solving Through "C"

Paper : BCA 1st YearTime : 3 Hrs.M.Marks : 90

Note : Attempt five questions in all. select one question each from Sections A-D. section E is compulsory.

Section - A

1. Explain the various symbols used for making flowcharts. Write a flowchart to find the largest of three numbers. 18

2. (a) Explain the bitwise operators with the help of suitable examples. 9
(b) Describe the different format specifier to scanf() with the help of suitable example. 9

Section - B

3. Discuss the various control statements available in C with the help of suitable example. 18

4. (a) Differentiate between function prototype, function definition and function call with the help of suitable example. 9
(b) Write a program in C to compute the factorial of a given number. 9

Section - C

5. (a) Explain the concept of pre-processor directives in detail. 9
(b) Write a program in C to check whether a matrix is singular or not. 9

6. (a) What is meant by a pointer ? Discuss the various advantages of using pointers through suitable examples. 9
(b) Explain the following operations on pointers:
(i) Subtraction of two pointers
(ii) Addition of a number to pointer variable
(iii) Subtraction of a number from a pointer variable 9

Section - D

7. (a) Mention the difference between the operator of fwrite() and fprint() in C. 9
(b) What are the three steps that are followed while accessing a file ? 6
(c) Differentiate between a binary file and a text file. 3

8. Explain the following with the help of suitable example:
(i) Array of structure
(ii) Union
(iii) Streat 3*6=18

Note : Attempt five questions in all. select one question each from Sections A-D. section E is compulsory.

Section - A

1. (a) Discuss the characteristics of computers.
(b) What are the functions of an Operating System ?

2. What is the difference between internal and external Dos Commands ? Discuss any five internal commands.

Section - B

3. (a) What is a batch file ? What is the purpose of an Autoexe.bat file ? Discuss the commands that can v=be used in a batch file.
(b) What is the use of Config.sys file ? What are the entries in a Config.sys file ?

5. Discuss in detail the various formatting features available in MS Word.

6. Explain the steps in creating a Power Point presentation.

Section - D

7. What are the various types of formulas used in Excel ? Briefly discuss each. How conditional calculations are carried out ? How we can used AND and OR in conditional calculations ? Explain giving examples.

8. (a) Briefly discuss the evolution of Internet and WWW.
(b) What are the components of FrontPage ?

Note : Attempt five questions in all. select one question each from each unit I-IV

1. Attempt any nine questions in 25-30 words each :
(i) What were the divisions of Hindu Society of the medieval Punjab ?
(ii) What do you understand by Ulema ?
(iii) When and where Akbar was coronated ?
(iv) Name the Mughal Emperor who died in Punjab and where he was buried ?
(v) Name two reformers of Bhakti movement.
(vi) What do you mean by 'Sangat' and 'Pangat' ?
(vii) Who was the founder of 'Udasi' sect ?
(viii) What do you mean by 'Miri-Piri' ?
(ix) What was the significance of adoption of Gurmukhi script ?
(x) Name the 'Panj Piaras' appointed by Guru Gobind Singh.
(xi) When and where Banda Bahadur was executed ?
(xii) What do you mean by 'Singh Sahib' ?
(xiii) What was the position of women in medieval Punjab ?
(xiv) Name the four centres of higher learning in Punjab during the medieval period.
(xv) Name the two folk tales of medieval Punjab. 9*2=18

Unit - I

2. Discuss the social, cultural and religious condition of the Punjab under the Afghan's. 18

3. Describe the salient features of Bhakti movement. 18

Unit - II

4. Describe the main teaching of Guru Nanak Dev. 18

5. Discuss the causes and consequences of the martyrdom of Guru Arjun Dev. 18

Unit - III

6. Briefly describe the creation of Khalsa ? What was its significance ? 18

7. Describe the civil admnistration of Maharaja Ranjit Singh. 18

Unit - IV

8. Assess the position of women during the medieval period. 18

9. Describe the development of Art and Literature during the medieval period. 18