Thursday, 9 January 2014

Concept of Programming and OOPS (Utu previous year question paper)

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:

  1. What is editor? Explain the main functions of vi editor.
  2. What is looping mechanism? Differentiate between while and do-while loop with a suitable example.
  3. Explain UNIX shell and its type in brief.
  4. Explain recursive function. Write a C program to find the factorial of a given integer by using recursion.
  5. What is array? Write a C program for addition of two arrays
  6. Differentiate if and if-else statement by using a C program.
Q2:- Attempt any four of the following:
  1. What do you understand by testing and debugging process? write a program in C to check the given number is even or odd.
  2. What are the variable and keyword in C language? Explain with proper example.
  3. Explain the phases of software development life cycle (SDLC) model. Draw a spiral model of a software development.
  4. Describe the various processes involved in user interface design.
  5. What is code review? Write an algorithm to check whether the given year is leap or not.
  6. "C is known as structured programming language". Why? Justify the statement.
Q3:- Attempt any two of the following:
  1. Explain the object-oriented programming and its features.
  2. Differentiate between aggregation and generalization with proper example.
  3. Write short notes on-
    a) Alice tool
    b) Polymorphism
    c) Inheritane
Q4:- Attempt any two of the following:
  1. What is DBMS? Explain its advantages and disadvantages in brief.
  2. Explain the normalization process. Differentiate between primary key and foreign key.
  3. What is the difference between DDL and DML statements? Explain the E-R diagram with proper example.
                                                    ---------XXX--------

No comments: