MODEL QUESTION PAPER 2019-20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R-241219
P. G. Diploma in Computer Application - NEW
COURSE
(First Semester) TEST EXAMINATION, 2019-20
Course-III
PROGRAMMING IN C LANGUAGE
Time
: Three Hours]
[Maximum
Mark : 100
[Minimum Mark : 40
Note
:- Attempt any two questions from each unit. All units are compulsory. All questions
carry equal marks.
UNIT-I
1.
Explain operators in C language. Write difference between Relational &
Logical Operators?
2.
Explain ‘C’ tokens with their types. Explain user defined data
types?
3.
Explain any 2 of followings:
(a) Header files
(b) Format Specifier
(c) Escape Sequences
(d) Operator Precedence & Associativity
UNIT-II
4.
What do you understand by decision making and jump statements in C language?
Explain.
5.
What do you understand by Recursion? How is it differ from a simple function?
Write a program to print Fibonacci series using recursion.
6.
Write difference between followings:
(any 2)
(a) while/for and do-while loop
(b) break and continue
(c) if-else and switch-case
(d) call-by-value and call-by-reference
(e) actual argument and formal argument
UNIT-III
7.
What are the importance of pointers? Write the advantages of pointers over
array?
8.
Write advantages of Arrays with explaining 1-D & 2-D arrays. What are
Strings in C and explain standard library functions in strings.
9.
Explain any 2 of following:
(a) pointer to pointer
(b) void pointer
(c) array of pointer
(d) pointer to string
UNIT-IV
10.
Differentiate between structure and union with suitable example.
11.
How to pass a structure in function? Explain with example.
12.
Explain any two of following:
(a) pointer to structure
(b) structure within structure
(c) array of structure
UNIT-V
13.
Describe various file handling statements in C. Also explain error handling in
file I/O.
14.
What is Dynamic Memory Allocation and explain its manipulation functions.
15. Write
a program for writing and reading student record in a sequential file, it
contains following information about student:
Roll, Name, Class, Subject, Percentage.
~~~~~~~~~~ Best of Luck ! ~~~~~~~~~~
R-241219
Diploma
in Computer Application
(First
Semester) TEST EXAMINATION, 2019-20
Course-III
PROGRAMMING
IN C LANGUAGE
Time
: Three Hours]
[Maximum
Mark : 100
[Minimum Mark : 40
Note
:- Attempt any two questions from each unit. All units are compulsory.
Each question carries 10 mark.
UNIT-I
1.
Explain ‘C’ tokens with their types. What is the mean by escape
sequences?
2.
What are header files and why they are included in C programs? List out some
header files with meanings?
3.
Explain Data-types in ‘C’ language. What are qualifiers in C language?
UNIT-II
4.
What are operators. Explain their types. What do you understand by precedence
of operators and their associativity? Explain with example.
5.
Explain Format specifiers in C with an example.
6.
Explain Bitwise and Sizeof operators in C.
UNIT-III
7.
What do you understand by conditional and looping statements? Explain.
8. What
is an array? Write a C program to find multiplication of two matrices.
9.
Write difference between TWO of followings:
(a) while/for and do-while loop
(b) break and continue
(c) if-else and switch-case
UNIT-IV
10.
Explain any 5 library functions each for Arithmetic and String.
11.
What do you understand by Recursion? How is it differ from function? Write a
program to find Factorial value using recursion.
12.
Write difference between TWO of followings:
(a) Call-by-value and Call-by-reference
(b) Actual argument and Formal argument
(c) Structure and Union
UNIT-V
13.
How can we pass a string to a function? Explain with example.
14.
Write a program that demonstrate pointer to structure. Also write advantages of
pointers over arrays.
15.
Explain any two of following:
(a) Pointer to pointer
(b) Void pointer
(c) Array of pointer
(d) Pointer to string
~~~~~~~~~~ Best of Luck ! ~~~~~~~~~~
Mobile Repairing Certification Program @Low Fees- ?? We are Best Mobile Repairing Institute in Delhi ?? 12,000+ Students Already Trained, Admission Open, Hurry!
ReplyDeleteComputer Hardware Course
Mobile Repairing Course
Laptop Repairing Course
Computer Information - Computer Mobile Information is one of the leading computer and mobile, Internet, software and hardware knowledge providing website. You will get up to date information about computer and mobile free of cost. We also provide software and hardware solutions and services online free of cost. For more visit: Computermobile.info
ReplyDelete