Save as PDF
Opens your browser print dialog — select "Save as PDF" to download.
Second Semester
Computer Science and Engineering/Information Technology
Scheme OCBC 2019
PROGRAMMING IN 'C'
Note :
i) All 7 Questions are Compulsory.
सभी 7 प्रश्न अनिवार्य हैं।
ii) In case of any doubt or dispute, the English version question should be treated as final.
किसी भी प्रकार के संदेह अथवा विवाद की स्थिति में अंग्रेजी भाषा के प्रश्न को अंतिम माना जायेगा।
a) What is a Flow Chart?
फ्लो चार्ट क्या है?
b) Differentiate between procedural and non procedural language.
प्रोसीजरल और नॉन प्रोसीजरल लैंग्वेज के बीच अन्तर बताइए।
c) Explain Different Language Processor.
विभिन्न लैंग्वेज प्रोसेसर को समझाइए।
a) What are the basic data types in C? And explain enumerated data type.
C में मूल डाटा प्रकार क्या है? और enumerated डाटा प्रकार की व्याख्या करें।
b) What will the preprocessor do for a program?
किसी प्रोग्राम के लिए प्रीप्रोसेसर क्या करेगा?
a) What is C Global declaration section?
C में Global declaration अनुभाग क्या है?
b) How do you declare a function in main function? Explain with example.
आप किसी फंक्शन को मुख्य फंक्शन में कैसे घोषित करते है? उदाहरण सहित समझाइए।
c) Differentiate between Primary and Derived Data type and why C is called structured programming language?
Primary और Derived डाटा टाइप के बीच अंतर बताइए। एवं C को संरचित प्रोग्रामिंग भाषा क्यों कहा जाता है?
a) What is the ## operator in C?
C में ## ऑपरेटर क्या है?
b) Write a program in C to print the odd numbers between 0 and 50 using a for loop.
0 और 50 के बीच की विषम संख्याओं को प्रिंट करने के लिए C में एक प्रोग्राम लिखिए।
c) What do you mean by format control string? And explain the following function:
फार्मेट कन्ट्रोल स्ट्रिंग से आपका क्या तात्पर्य है? और निम्नलिखित फंक्शन समझाइए।
- i) getchar()
- ii) putchar()
- iii) getch()
- iv) putch()
a) Using function write a program in C to add two numbers.
फंक्शन का उपयोग करते हुए दो नम्बर को जोड़ने हेतु C में प्रोग्राम लिखिए।
OR/अथवा
How to declare a function in C?
b) Write a C program to print the day of week using switch case (Input : Any number, Output : Day name)
स्विच केस (इनपुट : कोई पूर्णांक संख्या, आउटपुट दिन का नाम) का उपयोग करके सप्ताह के दिन को प्रिंट करने के लिए एक C प्रोग्राम लिखें।
a) Write a C program to print the factorial of a given number.
किसी दिए हुए नम्बर का फेक्टोरियल प्रिंट करने हेतु C में प्रोग्राम लिखिए।
b) Differentiate between library function and user defined function.
C में फंक्शन क्या है? लाइब्रेरी फंक्शन और यूजर डिफाइंड फंक्शन में अन्तर बताइए।
a) What is Array in C? How you declare array?
C में ऐरे क्या है? आप ऐरे को कै���े डिक्लेयर करेंगे?
b) What is the primary purpose of a function prototype in C?
C में फंक्शन प्रोटोोटाइप का प्राथमिक उद्देश्य क्या है?
c) Write a program in C to create one dimensional array and to display the elements of array.
एक आयामी ऐरे बनाने और ऐरे के एलीमेन्टस को प्रदर्शित करने के लिए C में प्रोग्राम लिखिए।