Professional Documents
Culture Documents
Computer Concepts and Programming in C 2013-14
Computer Concepts and Programming in C 2013-14
Computer Concepts and Programming in C 2013-14
Attempt any two parts of the following : (5×2=10) Printed Pages—4 NMCA113
(a) Write a program in C that checks whether a given string is
a palindrome or not. Also give flow chart for the same. (Following Paper ID and Roll No. to be filled in your Answer Book)
(b) Illustrate the following with proper example : PAPER ID : 3589 Roll No.
(i) Mixed operands in C.
(ii) Break and continue statements in C. MCA
(c) Create a two dimensional array A, of size 5×5 of integer
(SEM. I) ODD SEMESTER THEORY
numbers using pointers in C language. Then create another
EXAMINATION 2013-14
one dimensional array B, of size 5 that holds the row wise
COMPUTER CONCEPTS AND PROGRAMMING IN C
summation of all the row elements of array A, using
pointers. Time : 3 Hours Total Marks : 100
6. Attempt any two parts of the following : (5×2=10) Note :– (1) This paper is in three Sections. Section A carries
(a) A file containing the list of population of various countries 20 marks, Section B carries 30 marks and Section C
is given. Create another file in C that will contain the carries 50 marks.
population of those countries which have the population (2) Attempt all questions. Marks are indicated against
more than 50,00,000. each question/part.
(b) The following information about a Company is given : (3) Assume data wherever required.
Company_ID, Company_Name, Company_Phone, SECTION–A
Company_City, Company_Turn_Over. Create a suitable 1. You are required to answer all the parts of this question :
structure to read the above information for 100 Companies. (2×10=20)
Then list all the Companies for a given City having turn (a) What is a Data Type Modifier ? List various types of data
over 10 millions. type modifier.
(c) What do you mean by a Recursive Function ? Write a (b) Illustrate with example the entry control and exit control
loops in C programming language.
program to illustrate a recursive function in C language.
(c) What is the difference between Compiler and Interpreter ?
7. Attempt any two parts of the following : (5×2=10)
(d) What is the significance of a flow chart in programming ?
(a) Write a short note on Polymorphism in C++.
(b) What do you understand by Encapsulation ? Explain with (e) Differentiate between the logical NOT and bitwise NOT
operator in C with an example.
some example.
(f) What is a Null Pointer ? How a Null pointer is declared
(c) Write a short note on scope rules in C language with proper
in C ? Explain.
examples.