Programming in C question paper 2014 Uttarakhand polytechnic in Hindi
Subject: programming in c
Year/Sem. : III Semester
नोट : किन्ही 5 प्रश्नों को हल कीजिए ।
- (a) Discuss the different steps used for development of a program.
एक प्रोग्राम विकास के लिए प्रयुक्त होने वाले विभिन्न स्टेप्स का वर्णन कीजिए
(b) Define the flowchart. What are the different symbols used in flowchart? Draw a flowchart to find smallest number between three numbers.
फ्लो चार्ट को परिभाषित कीजिए । फ्लो चार्ट में प्रयुक्त होने वाली विभिन्न सिंबल्स कौन से हैं ? तीन नंबरों में से सबसे छोटे नंबर ढूंढने के लिए एक फ्लो चार्ट बनाइए ।
- (a) What do you mean by algorithm? Write an algorithm to check to check whether input number even or odd.
एल्गोरिथ्म से आप क्या समझते हैं ? किसी इनपुट नंबर के सम और विषम होने के लिए एक एल्गोरिथ्म लिखिए ।
(b) Explain the different I/O statement used in C language.
C भाषा में प्रयुक्त होने वाले विभिन्न I/O स्टेटमेंट की व्याख्या कीजिए ।
- (a) Discuss the data type used in C.
C में प्रयुक्त होने वाले डाटा टाइप्स का वर्णन कीजिए ।
(b) Write a program in C to print the table of input number.
एक इनपुट नंबर की टेबल प्रदर्शित करने के लिए C मे प्रोग्राम लिखिए ।
- 4. (a) Explain the different control statements used in C language with suitable example.
C भाषा में प्रयुक्त होने वाले विभिन्न कंट्रोल स्टेटमेंट्स के उदाहरण सहित व्याख्या कीजिए
(b) Write a program in C to calculate the factorial of a given number.
दिए गए नंबर के factorial की गणना करने के लिए C मैं प्रोग्राम लिखिए ।
- (a) Describe the different operator used in C.
C में प्रयुक्त होने वाले विभिन्न ऑपरेटरों का वर्णन कीजिए ।
(b) Define an array. Explain the different types of error with suitable example.
Array को परिभाषित कीजिए । विभिन्न प्रकार की Array को उदाहरण सहित व्याख्या कीजिए ।
- (a) What do you mean by string? Discuss the any five string handling function with example.
String से आप क्या समझते हैं ? कोई पांच string handling function की उदाहरण सहित व्याख्या कीजिए ।
(b) Write a program in C to sort 10 numbers in acceding order.
दस नंबरों को बढ़ते क्रम में लिखने के लिए C मैं एक प्रोग्राम लिखिए ।
- Write short note on following – ( any four )
(a) Header file & library functions
(b) Break & continue statement
(c) pointer
(d) Recursion
(e) Global & local variable