First Semester | First Year | Tribhuvan University
Old Question Collection | Question Bank
C Programming, Year: 2073
Computer Science and Information Technology (CSc 110)
Download Question Paper File
[File Type: PDF | File Size: 426 KB | Download]
OR you can read question paper online below;
Full Marks: 60 | Pass Marks: 24 | Time: 3 hours.
Candidates are required to give their answers in their own words as far as practicable.
The questions are of equal value.
Attempt all questions.
- Draw a flow chart and write an algorithm to find out whether a given number is zero, +ve or –ve.
- What are the different types of operators available in C? Explain.
- Describe the four basic data types with example.
- Differentiate between while and do while loop with example.
- Write a program to check whether the diagonal elements of a (4*4) matrix are all Zero.
- What is the function of a pointer variable? Explain the declaring and initializing pointers with example.
- Write a program using pointers to read in an array of integers and print its elements in reverse order.
- Differentiate between call by value and call by reference with example.
- What is structure? How is it different from array and Union? Discuss
- Define the graphics function. Write a program to draw a circle using graphics function.
(Visited 1,149 times, 1 visits today)