Utu previous year question paper
sub:- Concept of Programming and OOPS
b.tech 2013-14 (sem-5)
uttarakhand technical university
time: 2hrs
max marks: 50
Q1:- Attempt any four of the following:- What is editor? Explain the main functions of vi editor.
- What is looping mechanism? Differentiate between while and do-while loop with a suitable example.
- Explain UNIX shell and its type in brief.
- Explain recursive function. Write a C program to find the factorial of a given integer by using recursion.
- What is array? Write a C program for addition of two arrays
- Differentiate if and if-else statement by using a C program.
Q2:- Attempt any four of the following:
- What do you understand by testing and debugging process? write a program in C to check the given number is even or odd.
- What are the variable and keyword in C language? Explain with proper example.
- Explain the phases of software development life cycle (SDLC) model. Draw a spiral model of a software development.
- Describe the various processes involved in user interface design.
- What is code review? Write an algorithm to check whether the given year is leap or not.
- "C is known as structured programming language". Why? Justify the statement.