O Level C Programming January 2020 Question Paper With solution, o level C programming Notes In hindi,
Sample Question Paper: Programming and Problem Solving Through C (M3-R4)
In this post you find C programming model paper jan 2020.These question also ask on january 2020 examination conduct by NIELIT.
if you solve this paper carefully , you can check your preparation for upcoming NIELIT o level upcoming exam.
1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions.
2. PART ONE is to be answered in the TEAR-OFF ANSWER SHEET only, attached to the question paper, as per the instructions contained therein. PART ONE is NOT to be answered in the answer book.
3. Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be supplied at the table when the answer sheet for PART ONE is returned. However, candidates, who complete PART ONE earlier than one hour, can collect the answer book for PART TWO immediately after handing over the answer sheet for PART ONE.
TOTAL TIME: 3 HOURS TOTAL MARKS: 100 PART ONE (PART ONE: 40; PART TWO: 60)
(Answer all the questions; each question carries ONE mark)
1. Each question below gives a multiple choices of answers. Choose the most appropriate one. (1×10)
1.1 What is the following invalid header file in C
A) math.h
B) mathio.h
C) string.h4
D) ctype.h
1.2 which of the following is not a keyword of C ?
A) auto
B) case
C) break
D) function
1.3 Strings are character Arrays it always ends with...........
A) \n
B) \1
C) \t
D) \0
1.4 find an integer constant...
A) 3.145
B) 34
C) "125"
D) none of the above
1.5 Standard ANSI C recognization_________number of keywords.
A) 16
B) 32
C) 64
D) 128
1.6 Which is the only function that all C program must contain ?
A) start( )
B) system( )
C) main( )
D) scanf( )
1.7 Find output of the folllowing program.
#include<stdio.h>
#include<conio.h>
void main()
{
char a[]={'A','B','C','D'};
char *ppp=&a[0];
*ppp++;
printf("%c %c", *++ppp,--*ppp);
}
A) C A
B) C B
C) B C
D) B A
1.8 Find output of the folllowing program.
#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
int i;
ch='G';
i=ch-'A';
printf("%d",i);
}
A) 5
B) 6
C) 7
D) 8
1.9 how many times is a do while loop guarnteed to loop
A) 0
B) infinite
C) 1
D) variable
1.10 Which of the following is not a proper storage class.
A) auto
B) dec
C) static
D) extern
2. Each statement below is either TRUE or FALSE. Identify and mark them accordingly in the answer book. (1×10)
2.1 In C , Upper and lower cases letter are same. ( False )
2.2 Equal is used for comparison, where as , == is used for assignment of two quantities. ( False )
2.3 A function can be defined inside another function. ( False )
2.4 In switch statement The default case is optional. ( True )
2.5 strlen( ) counts the number of charcters in given string and returns the integer value. ( True )
2.6 The continue statement can not be used with switch statement. ( True )
2.7 The basic meaning of the C keywords can be changed. ( False )
2.8 Functions can be called either by value or reference. ( True )
2.9 The ++ operator increments the oprend by 1 where as the - - operator decrements by 1. ( True )
2.10 #define lines should end with a semicolon ( ; ). ( False )
3. Match the words and phrases in column X with the nearest in meaning in column Y. (1×10)
X | Y | ||
1 | unconditional jump Statement ( I ) | A | exit control loop |
2 | Function that concatenate string ( H) | B | left shift |
3 | It is used to join related expressions together. ( G) | C | sizeof |
4 | symbol = ( F ) | D | character test function |
5 | getw() ( J ) | E | pointer declaration |
6 | int *p ( E ) | F | assignment operetor |
7 | while (M ) | G | comma |
8 | isalpha() ( D ) | H | strcat() |
9 | do.....while ( A ) | I | goto |
10 | << ( B ) | J | read an integer from a file |
K | declaration of an arrary | ||
L | strlen( ) | ||
M | Entry control loop |
4. Fill in the blanks in 4.1 to 4.10 below, by choosing appropriate words and phrases given in the list below: (1×10)
A) New line | B) Increment | C) sizeof | D) Overlooking |
E) Bell | F) math.h | G) Dot | H) Structured |
I) islower() | J) And | K) Union | L) Link |
M) && |
4.1 C language was implimented at the Bell laboratories.
4.2 C language is well suited for Structured programming.
4.3 The operator ++ is known as Increment operetor.
4.4 The sizeof operator used to detremine the length of Array and structures.
4.5 The standard mathmetical function are included in the math.h header file.
4.6 The Link section provides instruction to the compiler to link function from system library.
4.7 The && operator is true only when the both oprends are true .
4.8 Dot Operetor is used to connect strutcure name to its member name.
4.9
islower() function checks whether the entered alphabets are lowercase later are not.
4.10 New line is a character used to represent the end of a line of text and the beginning of a new line.
PART TWO
(Answer any FOUR Questions)
5.(A) What is flowchart ? List The symbols that are used to draw a flowchart. Develope aflowchart to find out the minimum of the given three numbers.
(B) What do you mean by decison making in C ? Which are the statement in C that provide the facilities of Decision making and branching ? Explain Nested if-else statement with suitable example. (7+8)
5. (ए) फ्लोचार्ट क्या है? सूची एक फ़्लोचार्ट खींचने के लिए उपयोग किए जाने वाले प्रतीकों को। दिए गए तीन नंबरों में से न्यूनतम का पता लगाने के लिए विकसित करें।
(ख) सी में मेक-अप करने से क्या मतलब है? C में कौन से कथन हैं जो निर्णय लेने और शाखा देने की सुविधाएं प्रदान करते हैं? उपयुक्त उदाहरण के साथ अगर-और कथन समझा तो समझाइए। (7 + 8)
6.(A) What do you mean by user define function ? Explain the function defination , function declaration, and function call with syntax and suitable example .
(B) What do you mean by an Array ? How to declare And initialize one D Array in C ?What is limitaion of an Array ? Write a program to perform the addition of 3*3 matrics using an Array. (7+8)
6. (ए) उपयोगकर्ता परिभाषित फ़ंक्शन से आपका क्या मतलब है? फ़ंक्शन डिफ्लेक्शन, फ़ंक्शन डिक्लेरेशन और फ़ंक्शन कॉल को सिंटैक्स और उपयुक्त उदाहरण के साथ समझाएँ।
(ख) एक ऐरे से क्या मतलब है? सी में 1D एरे को कैसे घोषित करें और शुरू करें? एक एरे की सीमा क्या है? एक सारणी का उपयोग करके 3 * 3 मैट्रिक्स के अलावा प्रदर्शन करने के लिए एक कार्यक्रम लिखें । (7 + 8)
7.(A) Define a structure named "student" with roll_no, name and percentage as members read the data of three students from user and display them in proper format.
(B) List the various types of loop avilable in C and explain any one with the syntax and suitable example .
(C) What is a string ? How to declare and initialize a String ? explain the use of strcpy( ) , strcat( ) function (5+5+5)
7. (ए) रोल_न•, नाम और प्रतिशत के साथ "छात्र" नामक एक संरचना को परिभाषित करें । सदस्य उपयोगकर्ता से तीन छात्रों के डेटा को पढ़ते हैं और उन्हें उचित प्रारूप में प्रदर्शित करते हैं।
(बी) सी में उपलब्ध विभिन्न प्रकार के लूप को सूचीबद्ध करें और किसी को वाक्यविन्यास और उपयुक्त उदाहरण के साथ समझाएं।
(ग) एक string क्या है? कैसे घोषित करें और एक स्ट्रिंग को इनिशियलाइज़ करें?फ़ंक्शन के उपयोग की व्याख्या करें strcpy (), strcat ()
(5 + 5 + 5)
8.(A) What do you mean by Recursion ? Write a program to find factorial of given number using recursive function .
(B) Write a program using pointer to find greatest number in a Array.
(C) What is type conversion ? Explain implicit and explicit Type conversion with suitable example .
(5 + 5 + 5)
8. (A) रिकर्सन से आपका क्या अभिप्राय है? पुनरावर्ती फ़ंक्शन का उपयोग करके दिए गए संख्या के Factorial को खोजने के लिए एक Program लिखें।
(B) एक ऐरे में सबसे बड़ी संख्या खोजने के लिए पॉइंटर का उपयोग करके एक प्रोग्राम लिखें।
(C) type Conversion क्या है? Implict और Explict type Conversion उपयुक्त उदाहरण के साथ समझाइए।
(5 + 5 + 5)
9. Explain brifly any three from the following ;
A. Explain the use of malloc( ) and calloc( ) in dynamic memory allocation .
B. Define pointer. how to declare and initialize pointer ? narrate any two advantage of pointer.
C. What are the uses of following file handling function : fopen( ) , fclose( ) , fseek( ) , ftell( ) rewind( ) ?
D. Write a program to swap two numbers without using third variable .(5 + 5 + 5)
9. निम्नलिखित में से किसी भी तीन को पूरी तरह से समझें;
A. डायनामिक मेमोरी एलोकेशन में malloc() और calloc() के उपयोग की व्याख्या करें।
B. पॉइंटर को कैसे परिभाषित करें और पॉइंटर को कैसे शुरू करें? Pointer के किसी भी दो लाभ बताएं।
C. निम्नलिखित फ़ाइल हैंडलिंग फ़ंक्शन के उपयोग क्या हैं: fopen (), fclose (), fseek (), ftell () ,rewind()?
D. तीसरे चर का उपयोग किए बिना दो नंबर स्वैप करने के लिए एक कार्यक्रम लिखें।
(5 + 5 + 5)
यह भी पढ़ो
Tags
C programming answer key O level January 2020 ,
C programming paper solution january 2020 in Hindi,O level c language January 2020 answer key,
c programming answer key,
m3 r4 answer key o level,
o level Programming and problem solving through c answer key,
c Jan 2020 answer key o level,
O level c programming paper solution,
Old paper solution O level,
O level M3 C programming in hindi,
old paper solution c programming o level
0 Comments
Hey, What do you think about this post