Tuesday 20 November 2012

OCTOBER - 2005(C-00)



           

                                                                285
   BOARD   DIPLOMA   EXAMINATION,   (C-00)
                      OCTOBER   -   2005
D.C.M.E   -   THIRD   YEAR   EXAMINATION
                       UNIX   &   OOPS
                                PART   -  A
INSTRUCTION :  (1)  ANSWER ALL QUESTION AND EACH QUESTION
                                           CARRIES FOUR MARKS
                    (2)  ANSWER SHOULD BE BRIEF AND   STRAIGHT TO  THE POINT AND SHALL NOT EXEED FIVE SIMPLE SENTENCES

1.  list   the  types  of  files  in  unix.
2.  write  about  sort, unique  commands  in  unix.
3.  define  system  call  and  write  any  two  system  calls.
4.  list  DOS  interface  to  unix  commands.
5.  define  virtual  function  and  give  its  application.
6.  explain  friend  function  with  syntax.
7.  differentiate  array,  pointer,  reference.
8.  list  inheritance  types.
9.  write  any  four  I/O  manipulator  in  c++.
10. list  the  various  types  of   display   monitors.

                                      PART   -  B
INSTRUCTION :  (1)  ANSWER ALL QUESTION AND EACH QUESTION
                                           CARRIES TWELVE MARKS
(2)          ANSWER SHOULD BE COMPERHENSIVE AND   THE CRITERIA FOR VALUATION IS THE CONTENT BUT NOT THE LENTH OF THE ANSWER .


11   (a)   explain  in  detail  about  the  three methods  of  vi editor.
        (b)   give  the syntax and working of the following  file  commands :
                (1)  cat    (2)  cp    (3)mv

12    (a)   explain  the  conditional  tests  available  in  shell  programming.
         (b)   write a shell  script to opt  for  a  choice  and  depending  on  choice:
                 (1) Ls    (2) Who   (3) Date    (4)Cat  xyz..

13    (a)   explain  about  grep,  egrep, fgrep  with syntax.
         (b)  explain  about  file  structure  releted  system calls  open  , read, write.

14     (a)  write  in  detail about  debugging  techniques  in  unix..
    (b)  write  about  the commands
                    PS, KILL, WAIT.

15       (a) explain  the  objects  oriented  approach  of programming .                                                                
          (b)   write  a c++  program  to  illustrate  the use  of  inline  functions.

16     (a) explain the purpose of using constructor  and  destructor  with a  simple     
            Program.
         (b) write  a  program  to illustrate  function  overloading.

17     (a)  explain  the  advantages  and  limitations  of  references.
         (b) define  inheritance  and  write  a c++  program to illustrate inheritance              
              with a suitable example  
18     (a) list  the application  of graphics  in animation. (b) explain translation, rotation, scaling.



C++ PREVIOUS QUESTION PAPER FOR POLYTECHNIC
                                       
·                     OCT/NOV-2012
·                     APRIL/MAY 2012
·                     OCT/NOV-2011                   
·                     APRIL/MAY 2011
·                     APRIL/MAY 2011(C-05)
·                      
·                     OCT/NOV-2011(C-05)
·                      
·                     APRIL/MAY-2011(C00)
·                     Oct/Nov2010
·                     OCT-2005
·                     OCTOBER   -   2005(C-00)
·                      


HOME                                     

Oct/Nov2010






D.C.M. E – V SEMESTER EXAMINATION
Oct/Nov2010
OOPS THROUGH C++
Time :3 Hours                                                                                       (Total Marks :100
Instructions:    (1)        Answer all questions and each question carries four marks.
(2)        Answer should be brief and straight to the point and shall not exceed five simple sentences.

1.  What is a class?
2.  List the advantages of C++
3.  What is friend function?
4.  List the advantages of new operator when compared to malloc ( ).
5.  What do you mean by array of objects give example ?
6.  What is a base class and a derived class?
7.  Write the syntax for single inheritance.
8.  List the C++ I/O operators and dive their meaning.
9.  What is a pure virtual function?
10.Write the advantages of template.



Instructions:    (1)        Answer five questions and each question carries twelve  marks.
(2)        Answer should be comprehensive and the criteria for valuation should be the content but not he length of the answer.
11. Explain the OOPs properties.                                                                                              12
12. (a) What is a constructor? Write the characteristics of constructors.                        6
     (b) Write a C++ program to generate the Fibonacci series using constructors.  6
13. (a) Write the advantages of inline functions.                                                 4
     (b) Write a program in C++ to overload the unary operator ++                               6
14. (a)  What is a reference?                                                                                         4
     (b) Write a C++ program using this pointer.                                                            8
15. Write a program in C++ to illustrate array of pointers to objects                                    12
16. (a) What is a virtual base class?                                                                              4
            (b)        Write a C++ program to illustrate the virtual base class.                         8
17. Explain the virtual function in C++ with the help of a program                             12
18. Explain the creation of class based template.                                                                  12


C++ PREVIOUS QUESTION PAPER FOR POLYTECHNIC
        C-09                                        C-05
·                     OCT-2005                              OCT/NOV-2011
·                     APRIL/MAY 2012
·                     OCT/NOV-2011                    APRIL/MAY 2011(C-05)
·                     APRIL/MAY 2011
·                     APRIL/MAY-2011(C00)
·                     Oct/Nov2010
·                     OCTOBER   -   2005(C-00)


HOME                                     

APRIL/MAY 2010 (C-00)



                                                                                                   434
                                                        BOARD   DIPLOMA   EXAMINATION,   (C-00)
                                                                        APRIL/MAY 2010
                                                 D.C.M.E   -   V SEMISTER EXAMINATION
   OOPS THROUGH C++
                                                                         PART   -  A
            INSTRUCTION :  (1)  ANSWER ALL QUESTION AND EACH QUESTION
                                           CARRIES FOUR MARKS                                                                            (2)  ANSWER SHOULD BE BRIEF AND   STRAIGHT      TO  THE POINT AND SHALL NOT EXCEED FIVE SIMPLE SENTENCES
1) Differentiate c and c++
2) Explain the comments statements in c++
3) Define an Inline function and list advantages
4) Explain the usage of ‘this pointer’.
5) List the uses of references.
6) Explain the need for inheritance.
7) List various types of inheritance.
8) List cpp I/O operators and give their meaning.
9) List the file opening modes.
10) List the advantages of templates.
Section- B
11)  Explain the input and output statements of cpp.
12)  Explain the class specification concept with an example in c++.
13)  (a) explain returning objects concept with an example in c++.                          (b) explain function overloading with an example in cpp
14)  (a) differentiate Array, Pointer and Reference variagbles.                                  (b) explain dynamic memory allocation operators, with a suitable example in cpp.
15)  Explain the declaration and accessing of array of objects with an example in cpp.
16)  (a) explain visibility modes in c++.                                                                  (b)wap to implement multi level inheritance in cpp.
17)  Define a virtual function and explain its application with the help of a program in cpp.
What is class template and write program in cpp for creation of class template for Stack Data Structure.


C++ PREVIOUS QUESTION PAPER FOR POLYTECHNIC
        C-09                                        C-05
·                     OCT-2005                              OCT/NOV-2011
·                     APRIL/MAY 2012
·                     OCT/NOV-2011                    APRIL/MAY 2011(C-05)
·                     APRIL/MAY 2011
·                     APRIL/MAY-2011(C00)
·                     Oct/Nov2010
·                     OCTOBER   -   2005(C-00)


HOME