Tuesday, December 17, 2019

MODEL QUESTION PAPER 2019-20 FINAL

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 ! ~~~~~~~~~~

Thursday, December 12, 2019

IMP Q. of ‘C’ Language - DCA 2019-20


IMP Q. of ‘C’ Language - DCA 2019-20

UNIT-I
Introduction
1.   What are data-types in C language? Explain with their types.
2.   What are Identifiers & Keywords in C? Explain with example.
3.   What are Escape sequence characters (Backslash characters/Character constants)?
4.   Why header files are included in the C programs? Explain different header files with their associated functions.
5.   Short Notes on:
      (a)     User defined data-types
      (b)     Format Specifiers



UNIT-II
Operators and Expressions
1.   Explain all types of operators in C language.
2.   What do you understand by operator precedence & its associativity?
3.   Explain Unary & Binary operators.
4.   What are differences between Relational & Logical operators?
5.   What is difference between = and = = in C program?



UNIT-III
Control Structures
1.   What do you mean by control structures in C language? Explain with their types.
2.   Explain loop control structures.
3.   Explain if—else, switch and goto statements.
4.   What will happen when a break statement is occurred in switch and loop statements?
5.   Write differences between following:
      (a)     Break & Continue
      (b)    While & Do-while
      (c)     For & Do-while


Arrays
1.  Define Arrays with their uses and advantages.
2.  Write differences between 1-D array & 2-D array.
3.  Explain array of string using a program.
4.  Explain Strings in ‘C’ with a suitable example.
5.  Explain any 5 string functions.


UNIT-IV
Function
1.   What is function? Explain its advantage using in program.
2.   What are User defined functions? Explain differences between actual & formal parameter.
3.   What do you mean by Call-by-value and Call-by-reference? Explain with suitable examples.
4.   Write short note on Function Prototyping with an example. Also differentiate between function-definition & function-declaration.
5.   What do you mean by Library functions? Explain any 5 Library functions.
6.   What is Recursion? Explain with an example.


Structure and Union
1.   Explain Structure in ‘C’ with an example.
2.   Explain Union with its scope (utility) with an example.
3.   Write differences between Structure and Union.
4.   Write differences between Structure and Array.
5.   Explain Array of Structures  and Structure within Structure using examples.
6.   How to create user defined data types?





UNIT-V
Pointers
1.   What are Pointers? Explain their uses and advantages.
2.   Write differences between Array and Pointer.
3.   Explain Array of Pointers.
4.   Write short note on Pointer and String.
5.   Explain Pointer to Pointer,  Void Pointers and Pointer Arithmetic?
6.   Write short notes on Memory Address Operator (&) and Pointer Operator (*).




Frequently asking programs in ‘C’:
(1) WAP to calculate Simple & Compound Interest.
(2) WAP to check PRIME Number.
(3) WAP to calculate Factorial of a Number.
(4) WAP to check PALINDROME Number.
(5) WAP to check ARMSTRONG Number.
(6) WAP to calculate REVERSE of given Number.
(7) WAP to print FIBONACCI Series.
(8) WAP to find Largest & Smallest Number in a List.
(9) WAP to SEARCH a Number in a List.
(10) WAP to SORT (arrange) a Number List.
(11) WAP to print TRANSPOSE of given Matrix.
(12) WAP to calculate Addition & Multiplication of 2 Matrices.
(13) WAP to convert Upper to Lower Case & vice versa.
(14) WAP to check Palindrome String.
(15) WAP to copy a string from one variable to another.
(16) WAP to compare between 2 strings.
(17) WAP to sort a string list.
(18) WAP for swapping of 2 numbers using call-by-reference (UDF).
(29) WAP to find factorial of a number using recursion.
(20) WAP to explain arithmetic operations on pointers.
(21) WAP to explain Structure & Union.


~~~~~~~~ Best of Luck ! ~~~~~~~~

Important Questions of ‘C’ Language - PGDCA 2019-20


Important Questions of ‘C’ Language - PGDCA 2019-20

UNIT-I
Introduction
1.   What are data-types in C language? Explain with their types.
2.   Explain operators with their precedence & associativity.
3.   Explain Unary & Binary operators.
4.   What are differences between Relational & Logical operators?
5.   What are Identifiers & Keywords in C? Explain with example.
6.   What are Escape sequence characters (Backslash characters/Character constants)?
7.   Why header files are included in the C programs? Explain different header files with their associated functions.
8.   Short Notes on:
      (a)     User defined data-types
      (b)     Format Specifiers
      (c)     Compound Statements


UNIT-II
Control Structures
1.   What do you mean by control structures in C language? Explain with their types.
2.   Explain loop control structures.
3.   Explain if—else and switch statements.
4.   What will happen when a break statement is occurred in switch and loop statements?
5.   Write differences between following:
      (a)     Break & Continue
      (b)    While & Do-while
      (c)     For & Do-while


Function
1.   What is function? Explain its advantage using in program.
2.   What are User defined functions? Explain differences between actual & formal parameter.
3.   What do you mean by Call-by-value and Call-by-reference? Explain with suitable examples.
4.   Write short note on Function Prototyping with an example. Also differentiate between function-definition & function-declaration.
5.   What do you mean by Library functions? Explain any 5 Library functions.
6.   What is Recursion? Explain with an example.

UNIT-III
Arrays
1.  Define Arrays with their uses and advantages.
2.  Write differences between 1-D array & 2-D array.
3.  Explain array of string using a program.
4.  Explain Strings in ‘C’ with a suitable example.
5.  Explain any 5 string functions.

Pointers
1.   What are Pointers? Explain their uses and advantages.
2.   Write differences between Array and Pointer.
3.   Explain Array of Pointers.
4.   Write short note on Pointer and String.
5.   Explain Pointer to Pointer,  Void Pointers and Pointer Arithmetic?
6.   Write short notes on Memory Address Operator (&) and Pointer Operator (*).
  


UNIT-IV
Structure and Union
1.   Explain Structure in ‘C’ with an example.
2.   Explain Union with its scope (utility) with an example.
3.   Write differences between Structure and Union.
4.   Write differences between Structure and Array.
5.   Explain Array of Structures  and Structure within Structure using examples.
6.   How to create user defined data types?


UNIT-V
Dynamic Memory Allocation
1.  Explain Static Memory Allocation and Dynamic Memory Allocation.
2.  List out and explain functions used in Dynamic Memory Allocation.

File Handling
1.  Explain Input/Output operations on files.
2.  Explain functions used in File Handling in C.
3.  Differentiate between Text and Binary files.
4.  Explain error handling in files.
5.  Explain buffered and un-buffered files.
6.  Explain File Pointer in File I/O.
7. Write short notes on fputc( ) and fgetc( ).


~~~~~~~~ Best of Luck ! ~~~~~~~~




Frequently asking programs in ‘C’:
(1) WAP to calculate Simple & Compound Interest.
(2) WAP to check PRIME Number.
(3) WAP to calculate Factorial of a Number.
(4) WAP to check PALINDROME Number.
(5) WAP to check ARMSTRONG Number.
(6) WAP to calculate REVERSE of given Number.
(7) WAP to print FIBONACCI Series.
(8) WAP to find Largest & Smallest Number in a List.
(9) WAP to SEARCH a Number in a List.
(10) WAP to SORT (arrange) a Number List.
(11) WAP to print TRANSPOSE of given Matrix.
(12) WAP to calculate Addition & Multiplication of 2 Matrices.
(13) WAP to convert Upper to Lower Case & vice versa.
(14) WAP to check Palindrome String.
(15) WAP to copy a string from one variable to another.
(16) WAP to compare between 2 strings.
(17) WAP to sort a string list.
(18) WAP for swapping of 2 numbers using call-by-reference (UDF).
(29) WAP to find factorial of a number using recursion.
(20) WAP to explain arithmetic operations on pointers.
(21) WAP to explain Structure & Union.



~~~~~~~~ Best of Luck ! ~~~~~~~~