Fundamentals of Computer Programming 2071

Tribhuwan University
Institute of Science and Technology
2071
Bachelor Level / First Semester / Science
Computer Science and Information Technology ( CSC-102 )
( Fundamentals of Computer Programming )
Full Marks: 60
Pass Marks: 24
Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Attempt all questions

1. Explain the structure of C-Program with example.

6 marks view

2. What do u mean by statement? Expalin the different types of statement with example.

6 marks view

3. Explain the relational operator and Increment/decrement operator with example.

6 marks view

4. What are the four types of control statement use in C programming? Explain

6 marks view

5.Explain the functions and its types use in C programming with example.

6 marks view

6.Write a program to accept 10 number and print the sum of these numbers through function.

6 marks view

7. Explain the use of pointer in c programming. How can your declare the pointer? Explain with example.

6 marks view

8. Write a program to accept 10 numbers and show them with using pointer.

6 marks view

9. Write a program to read the data file which has following details.

a. Name      b. Age      c. Test player      d. Total run.

6 marks view

10. Explain the passing structure to function with example.

OR

Write short notes on:

a. Graphics function       b. Formatted I/O

6 marks view