SlideShare a Scribd company logo
2
Most read
3
Most read
I MCS-011 INo. of Printed Pages : 3
MCA (Revised) / BCA (Revised)
Term-End Examination
1 1 C120 June, 2017
MCS-011 : PROBLEM SOLVING AND
PROGRAMMING
Time : 3 hours Maximum Marks : 100
(Weightage 75%)
Note : Question no. 1 is compulsory. Attempt any
three questions from the rest.
1. (a) Design an algorithm and draw a
corresponding flow chart to convert a
decimal number to its binary equivalent. 10
(b) Write a C program (use a switch statement
for selection) to add or subtract 2 matrices
having order 3 x 3, depending upon the
choice made by the user. 10
(c) Write and explain the following types of
functions with the help of an example
program for each : 10
(i) Function with no arguments and no
return value.
(ii) Function with arguments and no
return value.
MCS-011 1 P.T.O.
(d) Using pointers, write a C program to swap
the values of two variables.
(e) Mention the rules for using the Big-0
notation.
2. (a) Without using the inbuilt string functions
like strcat( ) and strlen( ), write C programs
for the following : 10
(i) To concatenate 2 strings
(ii) To find the length of any given string
(b) Define the term 'variable'. What are the
rules to be followed to name a variable in
"C" ? Write the syntax to declare a variable
and also mention how to assign values to it
(initialize them). 10
3. (a) Write a program in "C", using structures, to
find the sum of the Assignment and Term
End Exam marks (for IGNOU MCA or BCA
first semester courses) for 5 students. 10
(b) Explain the concept of "file handling" in
C programming. Explain the use of fopen( )
and fclose( ) functions associated with it.
Also mention various modes in which a file
can be allowed to open with an example for
each. 10
MCS-011
4. (a) Explain different arithmetic, logical and
relational operators in C, with the help of
examples. 10
(b) Write and explain the use of the following
in C programming, with an example for
each : /0
(i) Break statement
(ii) Continue statement
malloc( )
(iv) void
5. Explain the following with the help of suitable
example for each : 4x5=20
(a) Automatic Variables
(b) Global Variables
(c) Static Variables
(d) Register Variables
MCS-01 1 10,000

More Related Content

PPTX
CAN FD Software Stack Integration
PDF
Insights into the performance and configuration of TCP in Automotive Ethernet...
PDF
5th Semester CS / IS (2013-June) Question Papers
PDF
2013-June: 5th Semester CSE / ISE Question Papers
PDF
Pcd201516
PDF
7th Semester (June; July-2015) Computer Science and Information Science Engin...
PDF
Oop suplemnertary september 2019
PDF
2013-June: 7th Semester CSE Question Papers
CAN FD Software Stack Integration
Insights into the performance and configuration of TCP in Automotive Ethernet...
5th Semester CS / IS (2013-June) Question Papers
2013-June: 5th Semester CSE / ISE Question Papers
Pcd201516
7th Semester (June; July-2015) Computer Science and Information Science Engin...
Oop suplemnertary september 2019
2013-June: 7th Semester CSE Question Papers

Similar to Mcs 011 ignou question paper c language (20)

PDF
7th Semester Computer Science (2013-June) Question Papers
DOCX
Bis 311 final examination answers
DOCX
3rd Semester Computer Science and Engineering (ACU) Question papers
PDF
17432 object oriented programming
PDF
Oop r&s may 2019 (2)
PDF
5th Semester (June; July-2015) Computer Science and Information Science Engin...
PDF
Mcs 10 104 compiler design dec 2014
PDF
5th semester Computer Science and Information Science Engg (2013 December) Qu...
PDF
Oop r&s may 2019
DOC
Sp 1418794917
DOCX
Name _______________________________ Class time __________.docx
PDF
8th Semester Computer Science (2013-June) Question Papers
PDF
Oop july 2017
PDF
Object Oriented Programming using C++ PCIT102.pdf
PDF
Oop december 2018
DOCX
Web test 1
DOCX
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
PDF
7th Semester Computer Science (2013-June) Question Papers
Bis 311 final examination answers
3rd Semester Computer Science and Engineering (ACU) Question papers
17432 object oriented programming
Oop r&s may 2019 (2)
5th Semester (June; July-2015) Computer Science and Information Science Engin...
Mcs 10 104 compiler design dec 2014
5th semester Computer Science and Information Science Engg (2013 December) Qu...
Oop r&s may 2019
Sp 1418794917
Name _______________________________ Class time __________.docx
8th Semester Computer Science (2013-June) Question Papers
Oop july 2017
Object Oriented Programming using C++ PCIT102.pdf
Oop december 2018
Web test 1
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
Ad

Recently uploaded (20)

PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Basic Mud Logging Guide for educational purpose
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Cell Structure & Organelles in detailed.
PPTX
Lesson notes of climatology university.
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Classroom Observation Tools for Teachers
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
Anesthesia in Laparoscopic Surgery in India
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Microbial diseases, their pathogenesis and prophylaxis
human mycosis Human fungal infections are called human mycosis..pptx
Basic Mud Logging Guide for educational purpose
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Abdominal Access Techniques with Prof. Dr. R K Mishra
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial disease of the cardiovascular and lymphatic systems
O7-L3 Supply Chain Operations - ICLT Program
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Cell Structure & Organelles in detailed.
Lesson notes of climatology university.
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Classroom Observation Tools for Teachers
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Ad

Mcs 011 ignou question paper c language

  • 1. I MCS-011 INo. of Printed Pages : 3 MCA (Revised) / BCA (Revised) Term-End Examination 1 1 C120 June, 2017 MCS-011 : PROBLEM SOLVING AND PROGRAMMING Time : 3 hours Maximum Marks : 100 (Weightage 75%) Note : Question no. 1 is compulsory. Attempt any three questions from the rest. 1. (a) Design an algorithm and draw a corresponding flow chart to convert a decimal number to its binary equivalent. 10 (b) Write a C program (use a switch statement for selection) to add or subtract 2 matrices having order 3 x 3, depending upon the choice made by the user. 10 (c) Write and explain the following types of functions with the help of an example program for each : 10 (i) Function with no arguments and no return value. (ii) Function with arguments and no return value. MCS-011 1 P.T.O.
  • 2. (d) Using pointers, write a C program to swap the values of two variables. (e) Mention the rules for using the Big-0 notation. 2. (a) Without using the inbuilt string functions like strcat( ) and strlen( ), write C programs for the following : 10 (i) To concatenate 2 strings (ii) To find the length of any given string (b) Define the term 'variable'. What are the rules to be followed to name a variable in "C" ? Write the syntax to declare a variable and also mention how to assign values to it (initialize them). 10 3. (a) Write a program in "C", using structures, to find the sum of the Assignment and Term End Exam marks (for IGNOU MCA or BCA first semester courses) for 5 students. 10 (b) Explain the concept of "file handling" in C programming. Explain the use of fopen( ) and fclose( ) functions associated with it. Also mention various modes in which a file can be allowed to open with an example for each. 10 MCS-011
  • 3. 4. (a) Explain different arithmetic, logical and relational operators in C, with the help of examples. 10 (b) Write and explain the use of the following in C programming, with an example for each : /0 (i) Break statement (ii) Continue statement malloc( ) (iv) void 5. Explain the following with the help of suitable example for each : 4x5=20 (a) Automatic Variables (b) Global Variables (c) Static Variables (d) Register Variables MCS-01 1 10,000