0% found this document useful (0 votes)
798 views1 page

C Programming Paper, BCA, 2nd Semester, TU

1. The document is an exam paper for a C-Programming course assessing students' knowledge in various topics related to C programming. It contains questions divided into two groups - Group B and Group C. 2. Group B contains 6 questions worth 5 marks each requiring students to write short answers related to software process models, identifiers, operators, arrays, quadratic equations, sorting algorithms, file types, and graphics functions. 3. Group C contains 3 longer answer questions worth 10 marks each related to one-dimensional arrays, structures and unions, and functions - including call by value and call by reference. Students must attempt any 2 questions from this group.

Uploaded by

bhesh chaudhary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
798 views1 page

C Programming Paper, BCA, 2nd Semester, TU

1. The document is an exam paper for a C-Programming course assessing students' knowledge in various topics related to C programming. It contains questions divided into two groups - Group B and Group C. 2. Group B contains 6 questions worth 5 marks each requiring students to write short answers related to software process models, identifiers, operators, arrays, quadratic equations, sorting algorithms, file types, and graphics functions. 3. Group C contains 3 longer answer questions worth 10 marks each related to one-dimensional arrays, structures and unions, and functions - including call by value and call by reference. Students must attempt any 2 questions from this group.

Uploaded by

bhesh chaudhary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Tribhuvan University

Faculty of Humanities and Social Sciences


OFFICE OF THE DEAN
2023
Bachelor in Computer Applications Full Marks: 60
Course Title: C-Programming Pass Marks: 24
Code No: CACS 151 Time: 3 hour
Semester: II
Candidates are required to answer the questions in their own words as far as possible.
Group B
Attempt any six questions [ 6 x 5=30]

1. What is software process model? Difference between cohesion and coupling in programming?
2. Define keywords and identifiers. Define rules for defining valid identifier.
3. List the operators used in C on the basis of utility. Explain the concept of bitwise operation.
4. Why an array is required in programming? Write a C program to input age of 30 employees into
array and find out second largest age from array.
5. Write a program in C to find all possible roots of quadratic equation ax 2 + bx + c =0.
6. What is DMA? Write a program to find the largest and smallest number in a list of n numbers
using DMA.
7. What is the difference between binary files and text file? Write a C program to write some
text. .txt "welcome to BCA program" in a file test.txt.
8. What is the use of initgraph() in C program? Write a program to draw line and circle and
rectangle using graphic function.

Group C

Attempt any two. [ 2 x 10 = 20]

1. What is one dimensional array? How it is initialized? write a C program to find the sum of two
matrix of order m X n.
2. Define structure and union. Write a C program using structure that reads the records of 35
students with student's roll, name, address and makes display the records of students who have
obtained greater than 250 marks.
3. What is function? List its advantages. Explain the concept of function call by value and call by
reference with examples.

You might also like