HamroCSIT Logo
HAMRO CSIT
  • Course New
  • Entrance
    • Entrance Preparation
    • MCQ Questions
    • Colleges
    • Entrance Class
    • Entrance Books
    • Free Entrance Video Course
  • Semester
    • First Semester
    • Second Semester
    • Third Semester
    • Fourth Semester
    • Fifth Semester
    • Sixth Semester
    • Seventh Semester
    • Eight Semester
  • Questions
  • Subscription Automated
  • Notices
  • Articles
  • More
    • Ask Question
    • College Ambassadors
    • Financial Support Program
    • Contribute
    • Contact Us
Login Register
Hamro CSIT User Account
  • Sign In
  • Create Account


Shape | Hamro CSIT Shape | Hamro CSIT Shape | Hamro CSIT Shape | Hamro CSIT
Subject

C Programming

This course is designed to familiarize students to the techniques of programming in C

Subject Image | Hamro CSIT
  • Chapters
  • Syllabus
  • Question Banks
  • Questions
  • Text Book
  • Practical
  • Viva

Exam Year

  • C programming Question Bank 2081
  • C Question Bank 2080
  • C Question Bank 2079
  • C Question Bank 2078
  • C Question Bank 2074
  • C Question Bank 2075
  • C Question Bank 2077

Tribhuvan University

Institute of Science and Technology

2080

Bachelor Level / first-semester / Science

Computer Science and Information Technology( CSC115 )

C Programming

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 8 + 8

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.

Section A

Attempt any two questions.

1

Define structure and nested structure. Write a program to find out whether the nth term of the Fibonacci series is a prime number or not. Read the value of n from the user and display the result in the main function. Uses separate user-defined function to generate the nth Fibonacci term and to check whether that number is prime or not.

2

Explain the relation to array and pointer. Differentiate call by value and call by reference with a suitable program.

3

Differentiate between source code and object code. Create a structure named Book with members Book_Name, Price and Author_Name, then take input for 10 records of Book and print the name of authors having the price of book greater than 1000.

Section B

Attempt any eight questions.

4

Describe the different types of I/O functions used in file handling with syntax.

5

Write a program to read P*Q matrix of integers and find the largest integer of each row and display it.

6

Write a program to calculate the factorial of a given number using recursion.

7

Write a program to check whether the entered word is pallindrome or not.

8

List different types of operators and explain any three of them.

9

Trace the output

#include<conio.h>

#include<stdio.h>

void main(){

int i =0,k;

for(k=5;k>=0;k–){

i=i+k;

}

printf(“%d\t”,i);

getch();

}

10

Write a program to compute the sum of first 10 even numbers using function.

11

What is dynamic memory allocation? Explain with a suitable program.

12

Write a program to initialize an array of dimension 10 and sort the numbers within the array in ascending order.

C Programming Question Bank Solution 2080
Solution Video
Solution
Share

Share this link via

Or copy link

logoHAMROCSIT

Hamro CSIT is a comprehensive web and mobile platform that provides B.Sc. CSIT students with resources like notes, syllabi, question banks, solved past papers, practical files, and free entrance preparation materials — all in one place.

  • [email protected]
Semester
  • First Semester
  • Second Semester
  • Third Semester
  • Fourth Semester
  • Fifth Semester
  • Sixth Semester
  • Seventh Semester
  • Eighth Semester
Links
  • About Us
  • FAQs
  • Sitemap
  • Privacy Policy
  • Terms and Conditions
  • College Ambassadors
  • Financial Support Program
Hits Counter
20239898
Google Play App Store
Follow Us

Copyright 2026 | HAMROCSIT | All Right Reserved

Official Payment Partner Esewa Logo
HAMROCSIT.COM

Copyright 2024 | HAMROCSIT.COM | All Right Reserved - Nymna Technology