Wednesday 27 March 2013

OCT /NOV-2011 (C-05)



C-05-CM-304
237
BOARD DIPLOMA EXAMINATION, (C-05)
OCT /NOV-2011
DCME.-III SEMESTER EXAMINATION
UNIX & C

TIME: 3 Hours]                                                                     [Total Marks :100]
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.     State the importance of multiuser operating system. Give two examples.
2.     Write the use of cp and mv commands.
3.     List and explain any two types of files used in UNIX.
4.     Write about chmod command with example.
5.     List any four basic data types used in c along with their storage classes.
6.     Define flow chart and list any two advantages of flowcharts.
7.     Write about arithmetic operators in c language with examples
8.     Distinguish between local and global variables.
9.     Distinguish between structure and union
10.  Write about bitwise shift operators

Instructions :    (1) Answer any five questions and each question carries ten marks.
                  (2) The answers should be comprehensive and the criteria for valuation   is the content but not the length of the answer.

11.  (a) list any six differences between algorithm and flowchart. (b) explain egrep command with suitable example.
12.  Explain about head and tail filters in Unix with an example
13.  (a) explain the usage of a static variable using a simple program. (b) explain the concept of pointer to functions.
14.  (a) explain for loop with example in c. (b) write a program to find whether given number is palindrome or not.
15.  (a) explain recursion technique with example. (b) explain break and continue statements with example.
16.  Explain various storage classes available in c language.
17.  (a) differentiate address operator and de-referencing operator. (b) write a switch statement to find whether a given character is vowel or not.

No comments:

Post a Comment