Exam Details

Subject Problem Solving and Programming
Paper
Exam / Course Post Graduate Diploma in Computer Application (PGDCA)/ Advance Diploma inComputer Applications (ADCA) / Masters in Computer Applications (MCA)
Department School of Computer and Information Sciences (SOCIS)
Organization indira gandhi national open university
Position
Exam Date December, 2016
City, State new delhi,


Question Paper

No. of Printed Pages: 2 IMCS-Olli
MCA (Revised) I DCA (Revised) Term-End Examination 0 2016
b
MCS-011 PROBLEM SOLVING AND PROGRAMMING
Time: 3 hours Maximum Marks: 100 (Weightage
Note: Question no. 1 is compulsory. Attempt any three questions from the rest.

1. Give the structure of a C program. Develop an algorithm, a flow chart and a program to add "n" numbers and find their average. 10

Write a C program to illustrate how the marks of 10 students are read in an array and then used to find the maximum marks obtained by a student in the class. 10

Using pointers, write a C program to find out the· position and address of the first occurrence of any character given as input in a string. 10

Write a program, using files, to copy the contents of one file to another with a different file name. 10

2. Write a program to initialize 3 names in an array of strings and display them. 5

What is Call By Value? Give an example. 5

Explain function prototypes with an example for each. 10

3. Write a program to print the first 10 even numbers using "goto" statement. 10

Write a program to read two strings and append the second string to the first string, using arrays. 10

4. Write a program to swap the values using the Pass by Value and Pass by Reference methods, separately. 10

Write a program to test whether the given string is a palindrome or not. 10

5. What is a macro Write a macro to demonstrate #define, #else preprocessor commands. 10

Write a program using fread( and fwrite( to create a file of records and then read and print the same file. 10


Departments

  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • National Centre for Disability Studies (NCDS)
  • School of Agriculture (SOA)
  • School of Computer and Information Sciences (SOCIS)
  • School of Continuing Education (SOCE)
  • School of Education (SOE)
  • School of Engineering & Technology (SOET)
  • School of Extension and Development Studies (SOEDS)
  • School of Foreign Languages (SOFL)
  • School of Gender Development Studies(SOGDS)
  • School of Health Science (SOHS)
  • School of Humanities (SOH)
  • School of Interdisciplinary and Trans-Disciplinary Studies (SOITDS)
  • School of Journalism and New Media Studies (SOJNMS)
  • School of Law (SOL)
  • School of Management Studies (SOMS)
  • School of Performing Arts and Visual Arts (SOPVA)
  • School of Performing Arts and Visual Arts(SOPVA)
  • School of Sciences (SOS)
  • School of Social Sciences (SOSS)
  • School of Social Work (SOSW)
  • School of Tourism & Hospitality Service Sectoral SOMS (SOTHSM)
  • School of Tourism &Hospitality Service Sectoral SOMS (SOTHSSM)
  • School of Translation Studies and Training (SOTST)
  • School of Vocational Education and Training (SOVET)
  • Staff Training & Research in Distance Education (STRIDE)

Subjects

  • Accounting and Financial Management
  • Advanced Database Design
  • Advanced Discrete Mathematics
  • Advanced Internet Technologies
  • Artificial Intelligence and Knowledge Management
  • Communication Skills
  • Computer Graphics and Multimedia
  • Computer Organisation & Assembly Language Programming
  • Data and File Structure
  • Data Communication and Computer Networks
  • Database Management System
  • Database Management Systems
  • Design and Analysis of Algorithm
  • Discrete Mathematics
  • Elements of Systems Analysis & Design
  • Numerical and Statistical Computing
  • Object Oriented Analysis and Design
  • Object Oriented Technologies and Java Programming
  • Operating System Concepts and Networking Management
  • Operating Systems
  • Parallel Computing
  • Principles of Management and Information Systems
  • Problem Solving and Programming
  • Software Engineering
  • Systems Analysis and Design