C Programming (CSC115) 2078 BS Past Questions & Solutions

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

TRIBHUVAN UNIVERSITY

INSTITUTE OF SCIENCE AND TECHNOLOGY

2078 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. 1
    What do you mean by jump statement? Explain each jump statement with example. Write a program to check whether a number entered is prime or not.
  2. 2
    Explain any three string functions. Write a program to check if two matrices are identical or act.
  3. 3
    Define structure. Explain nested structure with example. Create a structure named book with name, author, and publisher as its members. Write a program using this structure to read data of 50 books and display name of those books published by “XYX” publisher.

Group B

Short Answer Questions

Attempt any Eight questions.

  1. 4
    Discuss structure of a C Program with suitable example.
  2. 5
    What is variable? How is it different from constant? How do you write comments in c?
  3. 6
    Explain formatted I/O functions in detail.
  4. 7
    Write a program using your own function to find sum of two numbers
  5. 8
    Write a program to print largest among three numbers entered by the user.
  6. 9
    Explain dynamic memory allocation with example
  7. 10
    Write a program that simply reads data from a file
  8. 11
    Write a program to draw a line using graphics function.
  9. 12
    Write short notes on: a. History of C b. Bitwise Operator