You are here: Home > Competitive Exams
All posts from

NIELIT Question Paper : O Level Course Programming & Problem Solving Through C Language

Name of the Institute : National Institute of Electronics and Information Technology (nielit.gov.in)
Name of the Course : O Level Course
Subject Code/Name : M2R4/Internet Technology And Web Design
Document Type : Old Question Paper
Location : India
Website : nielit.gov.in

Download Model/Sample Question Paper :
January 2012 : https://www.pdfquestion.in/uploads/nielit.in/7073-JAN12M3-R4.pdf
JULY 2012 : https://www.pdfquestion.in/uploads/nielit.in/7073-JUL12M3-R4.pdf
January 2013 : https://www.pdfquestion.in/uploads/nielit.in/7073-JAN13M3-R4.pdf
JULY 2013 : https://www.pdfquestion.in/uploads/nielit.in/7073-JUL13M3-R4.pdf
January 2014 : https://www.pdfquestion.in/uploads/nielit.in/7073-JAN14M3-R4.pdf
July 2014 : https://www.pdfquestion.in/uploads/nielit.in/7073-JUL14M3-R4.pdf

NIELIT Problem Solving C Language Sample Paper

TOTAL TIME: 3 HOURS
TOTAL MARKS: 100

Related / Similar Posts :
NIELIT O Level Course Programming & C Language Question Paper 2017

(PART ONE – 40; PART TWO – 60)
M3-R4:

PART ONE

(Answer all the questions)
1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1×10)

1.1 What would be value of j after the following is executed?
k=17;
j=6;
if (k < 10)
j=8;
j=j+1;
j=j+2;
A) 8
B) 9
C) 7
D) 10

1.2 What will be output after compilation and execution of the following code?
#include<stdio.h>
int main(){ int array[3]={5}; int i;
for (i=0;i<=2;i++)
printf(“%d “,array[i]); return 0;}
A) 5 garbage garbage
B) 5 0 0
C) 0 0 0
D) 5 5 5

1.3 In an assignment statement a=b; which of the following statement is true?
A) The variable a and the variable b are same.
B) The value of b is assigned to variable a but if b changes later, it will not effect the value of variable a.
C) The value of b is assigned to variable a but if b changes later, it will effect the value of variable a.
D) The value of variable a is assigned to variable b, and the value of variable b is assigned to variable a.
M3-R4 Page 2 of 5 January, 2012

 

1.4 Which code will print k 20 times?
A) for (i=1; i < 20; i++)
printf (“k”);
B) for (i=1; i = 20; i++)
printf (“k”);
C) for (i=0; i < 20; i++)
printf (“k”);
D) for (i=0; i <= 20; i++)
printf (“k”);

1.5 When the following piece of code is executed, what happens?
b = 3; a = b++;
A) a contains 3 and b contains 4
B) a contains 4 and b contains 4
C) a contains 4 and b contains 3
D) a contains 3 and b contains 3

1.6 What is the value of r after this code is executed?
r=2;
k=8;
if (r>3 || k>6 && r<5 ||k>10)
r=9;
else
r=6
A) 9
B) 2
C) 6
D) 8

1.7 Which of the following is not a valid relational operator?
A) <
B) =
C) >=
D) <=

1.8 What is the final value of x when the code int x; for(x=0; x<10; x++) {} is executed?
A) 10
B) 9
C) 0
D) 1

1.9 For the function
int operation (int A[], int n)
{


}
Which is the appropriate calling statement from main program?
A) s=operation(A[], 6)
B) operation(A, 6)
C) k=operation(A, 6)
D) d=operation(int A, 6)

1.10 Which is an incorrect variable name?
A) Id_No
B) ID_NO
C) IdNo
D) Id No

2. Each statement below is either TRUE or FALSE. Choose the most appropriate one and ENTER in the “tear-off” sheet attached to the question paper, following instructions therein. (1×10)
2.1 The index of an array starts from 1.
2.2 Task of continue keyword is to transfer the control of program at the next step of the loop.
2.3 Every variable in c have three most fundamental attributes: Name, Value, Address.
2.4 It is guaranteed that the while loop will be executed at least once.
2.5 All of the following are valid expressions in C.
If a( = 6) b = 5;
a = b = c = 5;
a = 11 % 3
2.6 In ‘C’, parameters to a function can be passed by value but not by reference.
2.7 Changes made to an array inside a function are automatically reflected in calling program.
2.8 The operating system converts the ‘C’ program into machine language.
2.9 Every function in ‘C’ must have a “return” statement.
2.10 C is an object oriented programming language.

4.1 Ultimately, all data items processed by a computer are reduced to combinations of ________.
4.2 ________ are used when we want to test more than one condition and make a decision.
4.3 If a function return type is declared as ________ it cannot return a value.
4.4 Function ________ writes a character to a specified file.
4.5 Function ________ writes a line to a specified file.
4.6 A group of related characters that conveys meaning is called a ________.
4.7 Most information stored in computer systems is stored in ________ files.
4.8 The smallest data item a computer can process is called a ________.
4.9 The ________ is a program that is executed before the source code is compiled.
4.10 If the pointer variable ptr holds the address of a char, the data type of *ptr will be ________.

PART TWO

(Answer any FOUR questions)
5. a) Write a function which accepts an array of size n containing integer values and returns the average of all values. Call the function from main program.
b) Write a function that takes time in seconds as input and prints it in terms of hours, minutes and seconds.
c) Write a function which accepts an integer array of size n and prints every third value of the array. (5+5+5)

6. a) What is difference between pass by value and pass by reference?
b) Write a C program which calls a function to swap values of two variables. (7+8)
b) Write and explain the action of WHILE statement. Develop a program in ‘C’ language to compute the average of every third integer number lying between 1 and 100. Include appropriate documentation.
c) Write a function which receives two integer arrays and creates a third array by multiplying corresponding elements (elements with same index) and returns it to main program. (5+5+5)

8. a) Write a c program to find out factorial of given number using function recursion.
b) Write a program which asks the user a number between 1 and 7 and prints the corresponding day of the week. (1: Sunday, 2: Monday, …)
c) Write a program in ‘C’ which asks a user to input integers in an array of size 20. It then arranges the elements in decreasing order and prints the array. (5+5+5)

9. a) Write a program which asks the user to enter the name and age of persons in his group. The number of persons is not known to the user in the beginning of the program. The user keeps on entering the data till the user enters the age as zero. The program finally prints the average age.
b) Write a program which asks for a integer from the user. It reverses the integer and prints “same” if after reversal the number is same as old number otherwise it prints “not same”. (8+7)

51 Comments
Add a Comment
  1. I need important topic in c programming for January 2020 exam please send me.

  2. Please share the solution for these question papers.

  3. Please provide the solution for long type questions.

  4. PLEASE SHARE SOLUTIONS OF THIS QUESTION PAPER.

  5. Final value is 10.

  6. The final value of x will be 10..

    1. No, the final of x=9.

  7. Please show me all syllabus after structure in C.

  8. Please send me the solution of internet paper of m2-r4 of July 2017.

  9. I need important C programming questions. Please send me.

  10. I want the solution of NIELT 0 level C language solved question papers with explanation. Please provide me.

  11. Islamuddin Ansari Sitapur

    This exam gives a wide knowledge in C programing.

  12. Where are the answers? Please provide the answers for this question paper.

  13. Father of C language is Dennis Ritchie.

  14. I want to practice in C language. If u can please give me the question paper of C programming.

  15. Please upload the recent question paper such as 2015, 2016 and 2017.

  16. I want more practice question papers for C programming. Please help me.

  17. I need some Practical papers of O level.

    1. I need practical questions.

    2. Old Question Papers are available in the below link.
      beta.nielit.gov.in/content/old-question-papers-0

  18. Today is C language exam. Please provide me answer key.

  19. Write program to generate multiplication table for first ‘n’ number, where ‘n’ is a user input.

  20. I want old question paper for C language Jan 2015, July 2015, Jan 2016 and July 2016.

  21. I want NIELIT’s o level solved question paper of C language.

  22. WHO IS THE FATHER OF C PROGRAMMING?

  23. I want to o level only c language question paper Solution on July 2014 & January 2015.

  24. Please post the answer key of c language paper of o level July 2016.

  25. I want all practical assignment programs for problem solving through c for 2016.

  26. I want c program optional question solutions of 2015 January.

  27. I want C language important questions for O level exam preparation.

    1. I have same paper for C language.

    2. This exam gives a wide knowledge in C programing.

  28. When can we execute this loop, the fina value will be “10” and after then it will break from the loop.

  29. Mahesh Kumar Maurya

    I want o level question paper with solutions to all subjects. Please help me.

  30. PLEASE PROVIDE ICT RESOURCES PREVIOUS PAPERS.

  31. Where are the answers?

  32. I want solutions of previous o level exam.

    1. Niranjan Shah Modi

      I want to match the column question of O level.

  33. I want the answers for these questions.

  34. I want to o level only c language Previous year question paper Solution.

  35. Give me the solutions please.

  36. I need important C programming questions for July 2016.

  37. I WANT TO KNOW ANSWER KEY OF C LANGUAGE & ICT PAPER OF EXAM JAN 2016.

  38. FINEL VALUE OF X IS 10

  39. I want ‘o ‘ level c programming question papers with solutions

  40. I need solution for July 2015 c programming languages paper.

  41. PRAVEEN KUMAR VERMA

    I WANT C PROGRAMING PAPER FOR O LEVEL EXAM WITH SOLUTION

  42. I want to o level only c language question paper Solution on July 2014 & January 2015

  43. I want o level question paper with solutions to all subjects. Please help.

  44. There is last updated question paper in july 2014 but I need Jan 2015 question paper
    Please update this

    1. 1.8 What is the final value of x when the code int x; for(x=0; x<10; x++) {} is executed?
      A) 10
      B) 9
      C) 0
      D) 1

Leave a Reply

How to add comment : 1) Type your comment below. 2) Type your name. 3) Post comment.

www.pdfquestion.in © 2021

Contact Us   Privacy Policy   SiteMap