Go Back   StudyChaCha 2024 2025 > StudyChaCha Discussion Forum > General Topics

  #1  
Old June 12th, 2014, 04:05 PM
Unregistered
Guest
 
Default Past year question papers of PTU MCA 1st Sem-Programming in C (MCA-102)

Can you please give me the past year question papers of PTU MCA 1st Sem-Programming in C (MCA-102) as it is very urgent for me?
Reply With Quote
Other Discussions related to this topic
Thread
Past year question papers for NMIMS distance learning
GATE past year question papers of Metallurgical Engineering
EEE Branch Past year Question papers
SBI Probationary Officers Past year model question papers
Hexaware past year placement question papers
Past year Verbal question papers of Infosys
Past year question papers of Talathi post for Nashik District
PTU BCA 3rd Sem-Object Oriented Programming using C++ Exam past Papers
Infosys Past Year Question papers
BPUT MCA 1st Sem-Programming in C Exam Previous Year’s Question Papers
Past year question papers of PTU-B.Pharmacy 1st Semester-Pharmaceutical Analysis-I Ex
ICSE Board Hindi past year question papers in PDF format
Past year question papers of Gujarat University, LLB, First Year, Environmental Law E
Past year question papers of ICSE Class X Chemistry Exam
GATE past year question papers of Production and Industrial Engineering
Hindustan Petroleum Corporation Ltd past year question papers of EEE
Past year placement question papers of ITC paper products
Past year aptitude test question papers of Tech Mahindra
Past year question papers of Mumbai University of B.Com 2nd year in PDF format
Past year question papers of B.Com University of Madras in PDF format






  #2  
Old June 12th, 2014, 05:18 PM
Sashwat's Avatar
Super Moderator
 
Join Date: Jun 2011
Default Re: Past year question papers of PTU MCA 1st Sem-Programming in C (MCA-102)

As you want to get the past year question papers of PTU MCA 1st Sem-Programming in C (MCA-102) so here is the information of the same for you:

Section - A
QI) Discuss the gener alized,methodology involved in the proble-tfi;i .:
10)
Q2) What is the range of various data types? Discuss the primary data types in
detail.

Section - B
(IxI0=10)
Q3) (a) Write a program in C to sort integer elements of one dimensional array I
in ascending order.
(b) List few conditional compilation directives and their functionality.
Q4) (a) Write a function that interchange and prints the value oftwo integersA
and B without using any extra variable.
(b) Define recursion.

Section - C
'
A, (a) What are the two common ways of selecting array elements for
processing.
(b) Differentiate between dynamic and non dynamic data structures.
Q6) (a) Explain with example the relationship of one dimensional array with
pointers.
(b) Define enumeration.

Section - D
(1 x I0: l0)
Q7) What is meant by random file access? How C implements the concept of
random file access"
QS) (u) Write the algorithmic steps for searching a binary search tree.
(b) Differentiate between exchange selection sorting and selection sorting.

Section - E

a) Compiler.
b) Recursivealgorithm.
c) Bitwise operators"
d) Difference between a string and a character.
e) Function prototype.
0 The functions related to the.header file time-h.
g) Pointerarithmetic.
h) Example offunctionreturningpointer'
D Need of structure initialization.
) Difference between fseekQ and ftellQ.

Section - A
(1 x 10: 10)
QI) What do you mean by the terms algorithm and flowchart? Illustrate their use
with the help of suitable examples?
Q2) List and explain different types of data types in C?Also differentiate between
signed and unsigned data types with reference to range of memory they
occupy?
(1 x 10: 10)

Section - B
Q3) What are functions? Differentiate between call by value and call by reference
with the help of suitable examples?
a4), Write a C program to read the element of two 3 x 3 matrices and multiply
two matnces.

Section - C
(1x10-10)
Q5) Write a function (using pointer parameters) that compares two integer arrays
to see whether they are identical. The function returns I if they are identical,
0 otherwise?
Q6) Differentiate and compare the working of an array, structure and a union with
the help of suitable examples?

Section - D
(I x I0: l0)
Q7) Write a program that compares two files and returns 0 if they are equal and I
if they are not.
Q8) What do you mean by dynamic memory allocation? Explain the working of
following functions with the help of suitable examples :
. Malloc ( )
. Calloc ( )
. Free o
. Realloc ( )

Section - E
Differentiate between reserve words and identifiers?
What are enumerated data types?
What is sorting?
What is the role of header files?
Explain global variable and local variable.
What do you mean by conditional statements.
What do you mean by prototype?
List the various string operations?
What is the role of return statement?
What do you mean by recursion?


Section - A
(1x10-10)
QI) (a) What are the four classes of data types supported by ANSI C.
(b) Explain stepwise the automatic type conversion for the following.
int i, x;
float f;
double d:
long int l;
x = l/i + i * f - d;
Q2) (a) How can enum be used to create user defined data type?
(b) Write a program that reads a string including blank spaces until '\n' is
encountered.

Section - B
(1x10=10)
Q3) (a) What are the differences between while & do while construct.
(b) Write a program that accepts a string, reverses the string and prints it.
QQ @) Write a program that finds the largest of three numbers using nested'if
statement. Also give its flowchart
(b) Write a program that uses a recursive function to print fibonacci
sequence. (Fibonaaci sequence is 0, t, L,2,3, 5, 8 and so on)

Section - C
(1x10=10)
QS) (a) What is the difference between a structure and a union.
(b) Write a program that defines a structure book having members name,
author and price and compares two variables of type book.

Q6) (a) Write a program using pointers to compute the sum of all elements
stored in an array.
(b) Explain the difference between Call by Value & Call by Reference.

Section - D
er) (a) Explain fseek( ) function
(1 x 10 = 10)
(b) Write a program that sorts an array using bubble sort method.
Q8) (a) Write a program that writes all reads ten numbers and writes all odd
numbers to a file ODD & all even numbers to a file EVEN.
(b) Explain malloc( ) function using an example.

Section - E.
(10x2=20)
Q9) a) What will be the output of the following
inta=5,b,c;
b = **a:
c = a**i
Printf("Vod %od %odV", a,b,c);
b) What will be the output of the following
(i) Prtntf("Vo11.4e", -98.7654);
(ii) Printf("Vo-20.10s", "NEW DELHI 1 10001");
c) What is the difference between a character 'A' & string "A".
d) What is the difference between a static and auto variable?
e) Define register. variable.
0 Explain strcmp function.
g) What is a preprocessor directive?
h) What is type casting?
i) What will be output of the following
float y;
int fem = 995, mal = 1000, x;
x = fem/mal;
y - (floatXem/mal;
Printf(" Vo d Voy", x,y);
j) What is scale factor in pointer variables.

Contact Details:
Punjab Technical University
Near Pushpa Gujral Science City,
Jalandhar- Kapurthala Highway,
Kapurthala,
Punjab 144601 ‎
0182 266 2521
India

Map Location:
__________________
Answered By StudyChaCha Member
Reply With Quote
Reply




All times are GMT +6. The time now is 01:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8