Exam Details
Subject | problem solving and computer programming | |
Paper | ||
Exam / Course | mca | |
Department | ||
Organization | apj abdul kalam technological university | |
Position | ||
Exam Date | December, 2017 | |
City, State | kerala, thiruvananthapuram |
Question Paper
A A7302
Page 1 of 2
Total Pages: 2
Reg
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FIRST SEMESTER MCA DEGREE EXAMINATION, DECEMBER 2017
Course Code: RLMCA101
Course Name: PROBLEM SOLVING AND COMPUTER PROGRAMMING
Max. Marks: 60 Duration: 3 Hours
PART A
Answer all questions, each carries3 marks. Marks
1 With the help of flowchart explain the functional difference between while loop
and do..while loop.
2 Write a program in using recursive function, to find the factorial of a number.
3 What is a structure? How it is different from union?
4 Show how a user defined data type is created in C.
5 What are the advantages of using pointers in C programs?
6 How can a function return a pointer to its calling routine with an example?
7 What is the purpose of the library function feof
8 What is a macro? Give an example.
PART B
Answer six questions,one full question from each module and carries6 marks.
Module I
9 What are the three main principles of structured programming?
Summarize the rules for naming identifiers.
OR
10 What are the different data types in
What is a symbolic constant? How is a symbolic constant defined?
Module II
11 What is conditional operator? Explain with an example.
Explain unary operators with examples.
OR
12 What are the commonly used input/output functions in Explain with syntax.
What is a conversion character?
Module III
13 Write a program to test whether a number is prime or not.
Compare the use of switch statement with the use of nested if-else statements.
A A7302
Page 2 of 2
OR
14 Explain the various storage classes with relevant examples.
What are function prototypes? What is their purpose?
Module IV
15 Write a program that will read a line of text, store it in an array and then display
it backwards.
Write a program to find the product of two matrices of compatible size.
OR
16 How can structure variables be declared? How do variable declarations differ
from structure type declarations?
What is a self-referential structure?
Module V
17 What is the difference between array of pointers and pointer to an array?
What is meant by dynamic memory allocation? What library function is used to
allocate memory dynamically?
OR
18 Write a program to swap two numbers using pointers.
How can the indirection operator be used to access a multidimensional array
element?
Module VI
19 Write a program to copy the contents of a given source data file to a new
destination file.
What is an enumerated data type? Explain with an example.
OR
20 Explain in detail about bitwise operators.
What is a command line parameter? Give an example.
Page 1 of 2
Total Pages: 2
Reg
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FIRST SEMESTER MCA DEGREE EXAMINATION, DECEMBER 2017
Course Code: RLMCA101
Course Name: PROBLEM SOLVING AND COMPUTER PROGRAMMING
Max. Marks: 60 Duration: 3 Hours
PART A
Answer all questions, each carries3 marks. Marks
1 With the help of flowchart explain the functional difference between while loop
and do..while loop.
2 Write a program in using recursive function, to find the factorial of a number.
3 What is a structure? How it is different from union?
4 Show how a user defined data type is created in C.
5 What are the advantages of using pointers in C programs?
6 How can a function return a pointer to its calling routine with an example?
7 What is the purpose of the library function feof
8 What is a macro? Give an example.
PART B
Answer six questions,one full question from each module and carries6 marks.
Module I
9 What are the three main principles of structured programming?
Summarize the rules for naming identifiers.
OR
10 What are the different data types in
What is a symbolic constant? How is a symbolic constant defined?
Module II
11 What is conditional operator? Explain with an example.
Explain unary operators with examples.
OR
12 What are the commonly used input/output functions in Explain with syntax.
What is a conversion character?
Module III
13 Write a program to test whether a number is prime or not.
Compare the use of switch statement with the use of nested if-else statements.
A A7302
Page 2 of 2
OR
14 Explain the various storage classes with relevant examples.
What are function prototypes? What is their purpose?
Module IV
15 Write a program that will read a line of text, store it in an array and then display
it backwards.
Write a program to find the product of two matrices of compatible size.
OR
16 How can structure variables be declared? How do variable declarations differ
from structure type declarations?
What is a self-referential structure?
Module V
17 What is the difference between array of pointers and pointer to an array?
What is meant by dynamic memory allocation? What library function is used to
allocate memory dynamically?
OR
18 Write a program to swap two numbers using pointers.
How can the indirection operator be used to access a multidimensional array
element?
Module VI
19 Write a program to copy the contents of a given source data file to a new
destination file.
What is an enumerated data type? Explain with an example.
OR
20 Explain in detail about bitwise operators.
What is a command line parameter? Give an example.
Other Question Papers
Subjects
- advanced database systems
- advanced java programming
- application development andmaintenance
- applied probability and statistics
- applied statistics lab
- big data technologies
- business intelligence and its applications
- computational science
- computer networks
- computer organization andarchitecture
- data structures
- data structures lab
- database lab
- database managementsystems
- design and analysis of parallel algorithms
- design and analysis ofalgorithms
- digital fundamentals
- discrete mathematics
- elective i
- functional programming
- introduction to machine learning
- mobile application developmentlab
- mobile computing
- object oriented programming
- object oriented programminglab
- operating systems
- operations research
- principles of management
- problem solving and computer programming
- programming lab
- software engineering
- system design lab
- web programming
- web programming lab