Csit Notes

C Programming (CSC115) 2081 BS Past Questions & Solutions

Tribhuvan University (TU) 2081 BS board exam question paper with verified step-by-step solutions for BSc CSIT First Semester.

  • CSC115
  • Core Course
  • 6 Exam Years

Tribhuvan University

Institute of Science and Technology

2081 B.S.

Bachelor Level:
B.Sc. CSIT
Semester:
First Semester
Subject:
C Programming (CSC115)
Full Marks:
60 / 80
Pass Marks:
24 / 32

Candidates are required to give their answers in their own words as far as practicable.

Group A

Long Answer Questions

Attempt any Two questions.

  1. Question 1
    List different types of operators and explain any four of them. (2+8)
  2. Question 2
    What are the characteristics of array? Write a program to input age of 500 persons and display Average age and Age between 25 to 30. (2+8)
  3. Question 3
    Differentiate between library function and user defined function. Write a program to swap two values using call by reference concept. (2+8)

Group B

Short Answer Questions

Attempt any Eight questions.

  1. Question 4
    Explain the basic structure of C Programming. (5)
  2. Question 5
    Describe different formatted input and output functions. Why do we use them? (4+1)
  3. Question 6
    Write a program to display first 50 prime numbers. (5)
  4. Question 7
    Write a program to display the series $2 \times 3, 3 \times 5, 4 \times 7, 5 \times 9 \dots$ up to 25 terms but do not print the 7th term. (5)
  5. Question 8
    Demonstrate the use of recursive function with a suitable example. (5)
  6. Question 9
    Create structure STUDENT (SID, name, address, CGPA). Display students from 'KTM' with CGPA between 3.5 to 4. (5)
  7. Question 10
    Explain different file opening modes. (5)
  8. Question 11
    Write a program to draw two shapes of your choice using graphics function. (5)
  9. Question 12
    Write short notes on: a) Global variable b) Debugging (2x2.5=5)

All C Programming past papers