CACS151 C Programming

C Programming TU Board 2023 question paper

10 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Computer Application

Semester 2 · TU Board 2023

Course Title: C Programming (CACS151)

Full Marks: 60Pass Marks: 24Time: 3 hours

Candidates are required to answer the question in their own words as far as possible.

Group A

    Group B

    Attempt any SIX question.(6 × 5 = 30)

    1. 2.

      Define programming technique. Differentiate between top-down and bottom-up approach with suitable example.

      5
    2. 3.

      Define Data Types. Explain different data types available in C Programming.

      5
    3. 4.

      Explain bitwise and conditional operator with example.

      5
    4. 5.

      Write a program to print the following pattern using loop. U UN UNI UNIV UNIVE UNIVER UNIVERS UNIVERSI UNIVERSIT UNIVERSITY

      5
    5. 6.

      Define Array. Write a program to search an element from an array of 10 numbers.

      5
    6. 7.

      Define function. Write a program that find xy using function.

      5
    7. 8.

      Define pointer. Write a program to find sum of 10 numbers using pointer.

      5

    Group C

    Attempt any TWO questions(2 × 10 = 20)

    1. 9.

      What are the characteristics of a good program? Explain types of languages processor. Explain any two system design tools.

      10
    2. 10.

      Define file opening modes. Write a program to delete specific record from a file.

      10
    3. 11.

      Differentiate between structure and Union. Locate a structure named student with members roll no, name, address. Write a program that displays name of only those students whose addressing is Kathmandu

      10

    — The End —