CSIT 1st Semester
C Programming Board Question Paper 2074


CSC 115-2074 ✡
Tribhuvan University
Institute of Science and Technology
2074
Bachelor Level/First Year/First Semester/Science
Computer Science Information Technology (CSC 115)
(C Programming)
Full Marks:60 Pass Marks:24 Time:3 hours

Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks

Section A
Long Answer Questions
Attempt any Two question.
[2x10=20]
1.

Discuss structure of a C program with suitable example.

2.

Discuss different types of it statements with suitable example of each. Different if statement with switch statement.

3.

What is the structure? How is it different from array? Create a structure student having data members name, roll number and percentage. Complete the program to display the name of student having percentage greater than or equal to 60

Section B

Attempt any Eight questions

[8x5=40]
4.

What is algorithm? How is it different from flow chart?

5.

What is conversation? Discuss type casting with suitable example.

6.

Discuss increment and decrement operator with example

7.

Write a program that computes the sum of digits of a given integer number

8.

What is function? Discuss the benefits of using function.

9.

Write a program to find sum and average of 10 integer numbers stored in an array.

10.

Define pointer. Discuss the relationship between pointer and one-dimensional array.

11.

Write a program to read and print data stored in a file input.txt.

12.

Why do we need graphics functions? Write a program to draw a circle.