Thursday, 21 March 2019

ANU UG B.Sc 2nd Sem C Programming Important Questions

Advertisemtnt
ANU UG B.Sc 2nd Sem C Programming Important Questions For external exams are now available, Here you can get all anu updates like results, timetables, notifications, previous question papers, important questions, and Materials. By reading these questions your can get maximum marks. Share this with your friend!



ANU UG B.Sc 2nd Sem C Programming Important Questions

 The question paper consists of 8 questions from 9 chapters and you need to answer any five. 
OR 
the question paper comes in two sections. Section-A consists of 8 questions, you need to answer any five. each one carries 5 marks and Section-B consist of Two question from each Unit, you need to answer any one. each one carries of 10 marks.
UNIT-I
Chapter-I ( Introduction to algorithms and programming languages)
  1. Explain various programming languages (OR)
  2. Explain about Generation of programming languages in detail.
  3. Write algorithm and flowchart for finding a perfect Number.
  4. Define Algorithm. Explain the key features of algorithm.
  5. Explain about structured programming.
  6. Write algorithm and flowchart to find the roots of Quadratic equation.
  7. What is flowchart? What are the symbols used to draw flowchart? Explain.
  8. Write the steps involved in algorithm development and raw a flowchart for sum and average of two numbers.
  9. Write algorithm and flowchart to find biggest number among given number.
Chapter-II ( Introduction to C)
  1. Explain the structure of C program with an example.
  2. Explain the Data types in C with example.
  3. Define an operator. Explain various operators in C.
  4. Write about Input and Output Statements in C.
  5. Write about various Tokens in C language.
  6. Define Conditional operator? Find large number among two using Conditional operator.
  7. Explain type conversion and type casting with example.
  8. What is an identifier? Explain rules for naming an identifier.
 UNIT-II
Chapter-III ( Decision control and Looping statements)
  1. Explain Decision making statements in C. (OR) Branching statements in C.(OR) Conditional statements.
  2. Explain various looping / Iterative statements in C with example.
  3. Write break and continue.
  4. Write about nested loops.
Chapter-IV (Functions)
  1. Write about Function Prototype. (OR) Describe three categories of function prototype.
  2. Define Recursion? Write a c program to print Fibonacci number using recursion up to 50.
  3. what are the differences between call by value and call by reference? 
  4. Write a program to calculate factorial of a given number using recursion.
  5. Discuss about storage classes in detail.
  6. Write the use of Functions.
  7. What is Recursion function? Discuss about Recursion Vs Iterations.
  8. What is function? What are different types of function.
  9. Distinguish between user define and built in function with examples.
  10. Explain different categories of functions.

UNIT-III

Chapter-V (Arrays)
  1. Explain different types of Arrays.
  2. Write a c program to find the Multiplication of two matrices.
  3. How multidimensional arrays defined? Compare with the manner in which one dimensional array are defined.
  4. Write a program to find the largest and smallest of n numbers using arrays.
  5. Explain two dimensional arrays with examples.
  6. Explain sparse matrices.
  7. Write a program to sorting of given 'n' numbers by using arrays.
  8. Define two dimensional array. Write a program to transpose of a given matrix.
  9. Explain two dimensional arrays for inter function communication.
Chapter-VI (Strings)
  1. Explain string Manipulation / Handling functions with example.
  2. Write a program to check whether given string is palindrome or not.
  3. Write a c program to reverse a string.
  4. What is Suppressive Input.
  5. Explain String Taxonomy.
UNIT-IV

Chapter-VII (Pointers)
  1. Define pointer. Discuss pointer in functions with an example.
  2. Give a brief account on array pointers.
  3. Explain about pointers with example.
  4. What is pointer? Explain with call by reference example.
  5. Write about Null and Generic pointer.
  6. Discuss about pointer and strings, pointer and 2D arrays.
  7. Write about Memory allocation and dynamic memory allocation.
  8. Define pointer? Discuss about array of pointers, array of function pointers.
  9. Write a c program to find smallest and biggest numbers of the given numbers using pointers.
  10. What are the various operations performed with pointers, explain with examples.
  11. Explain the drawbacks of pointers.
Chapter-VIII (Structure, Union and Enumerated Data Types)
  1. What is structure? Explain with example program.
  2. Explain the advantages of structures over the array concept.
  3. Explain about structure and unions with small example.
  4. Differences between structure and Union.
  5. What is structure? Explain nested structure with syntax and example.
  6. Write a program to calculate the student grade by suing structures.
  7. What is structure? Explain array of structures with examples.

UNIT-V
 Chapter-IX
  1. Explain I/O Operations on Files. (OR) Explain File I/O Functions. (OR) Explain Reading data from file and writing data into file.
  2. Explain different modes of opening a file.
  3. Explain error handling during file operations with suitable example.
  4. Define File. Write a C program to copy the contents of one file to another.
  5. Discuss about various types of files.
  6. Write a C program to read the data from file. File consists of Fields Reg.No, Name, Marks in 6 subjects.
  7. Write a C program to create student data file it have roll number, student name and father name, Address etc.
  8. What are command line arguments.
  9. Explain functions for selecting a record randomly from with an example.
  10. What is File? How to detect end of a file and explain creation of temporary file.
  11. What is File? Write uses of files.
  12. Write about file processing facilities available in C. (OR) Explain file management in C.

0 comments:

Post a Comment

Advertisement

Follow Us

ANU PGCET 2019 Info

More

previous question papers

More

Results

More

important questions

More

Timetables

More

ANU Materials

More

This Blog is protected by DMCA.com

Top