Saturday, 17 April 2021

ANU UG B.Sc 1st Sem Problem solving in C(New syllabus) Important Questions

Advertisemtnt

Acharya nagarjuna university B.Sc 1st sem C programming important questions for external exams is now available. The candidates who are looking for Degree bsc s1t sem important questions can check here.

Here you can get all ANU updates like notifications, important questions, syllabus, previous year question papers, guess papers, timetables, results ext.

For all latest updates bookmark this website and follow us on Facebook at www.facebook.com/anuupdates

 All of the following questions are prepared according to new revised syllabus.


 

UNIT-I

Short Answer Questions

  1. Discuss key features of algorithm.
  2. Explain characteristics and limitations of computers.
  3. Write about different applications of computer.
  4. What is the difference between algorithm and flowchart.

Long Answer Questions

  1. Discuss different generations of programming languages.
  2. Explain the block diagram of computer.
  3. Explain different types of computer.
  4. What is flowchart? How it is useful in the context of program development.

Examples:

  1. Write an algorithm and draw flow chart to find biggest of three numbers.
  2. Draw the flowchart to calculate the sum of the first 10 numbers.
  3. Write an algorithm to find a given number is prime number or not.
  4. Write an algorithm and draw flowchart for finding a perfect number.
  5. Draw flowchart to find the roots of quadratic equation.
  6. Draw flowchart for sum and average of two numbers.

UNIT-II

Chapter-I( Introduction to C)

Short Answer Questions

  1. Write structure of C program.
  2. Explain about type conversion and typecasting.
  3. What are bitwise operators.
  4. What are input statements in C?
  5. Explain about constant in C.
  6. What is the use of C language?
  7. What is the difference between assembler and interpreter.
  8. Write about ternary operator.
  9. Write the steps involved in executing a C program.
  10. Explain about Unary operators in C.
  11. What is an identifier in C? Explain rules for naming an identifier.
  12. What is variable? Explain different types of variables in C.
  13. Explain operators precedence and associativity. 

Long Answer Questions

  1. What is an Operator? List out various types of operators used in C.
  2. Explain about different types of data types that the C language support. 
  3. Write about various C Tokens.

 Chapter-II( Decision control and looping statements)

Short Answer Questions

  1. Write about break and continue statements in C.
  2. Describe jump statements available in C.
  3. What is nested loop?
  4. Write the syntax and example for goto statement in C.

 Long Answer Questions

  1. Explain different types of conditional branching statements in C.
  2. Discuss about various looping statements with flow diagrams and examples.

Examples:

  1. Write a C program to check weather given number is Armstrong number or not.
  2. Write a C program to check weather given number is palindrome number or not.
  3. Write a C program ton find large number among two using conditional operator.
  4. Write a C program to find the quadratic equation. 
  5. Write a C program for finding biggest of 3 numbers.
  6. Write a C program for finding perfect number.
  7. Write a C program to find the sum of individual digits of positive integer.
  8. Write a C program to generate the first 'n' terms of the sequence.
  9. Write a C program to generate all the prime numbers between 1 and N. Where N is the value enter by the user.

UNIT-III

Chapter-I (Arrays)

Short Answer Questions

  1. Explain initialization of arrays with examples.
  2. Define array. How do you store values in the array.
  3. Define array. Write deceleration and accessing elements of array.
  4. Write about multi-dimensional arrays in C.

 Long Answer Questions

  1. Explain One, Two, and Multi dimensional arrays in C.
  2. Explain two dimensional arrays with examples.
  3. Define array. How to pass 1D array to functions.
  4. Explain various operations performed on 1D array.
  5. Explain various operations performed on 2D array.

Chapter-II ( Charter and string handling)

Short Answer Questions

  1. Define string. How to you declare and initialize a character array in C. 
  2. Explain different types of string input and output functions.
  3. Explain array of strings in C.

 Long Answer Questions

  1. List and explain various string functions in C.
  2. List and explain various character handling functions in C.

Examples:

  1. Write a C program to sort the given set of 'n' numbers by using arrays.
  2. Write a C program to find largest of 'n' numbers using arrays.
  3. Write a C program for searching a given element in an array.
  4. Write C program for i) Transpose of matrix ii) addition of two matrices iii) subtraction of two matrices iii) Multiplication of two matrices.
  5. Write a C program to reverse a given string.
  6. Write a C program to find the length of string.
  7. Write a C program to check weather a given number is palindrome or not.
  8. Write a C program to sort list names.

UNIT-IV

Chapter-I(Functions)

 Short Answer Questions

  1. What is function? What are the advantages of using functions in C?
  2. Explain user defined and pre defined functions in C.
  3. Explain about function prototype.
  4. Explain different types of parameters.
  5. Explain recursion Vs Iteration.

 Long Answer Questions

  1. Explain parameter passing techniques in C.
  2. Explain various scope rules in C.
  3. Explain various storage classes in C.
  4. What recursion? With an example and program explain how it works.

Examples:

  1. Write a C program to find sum of two numbers using functions.
  2. Write a C program to find biggest of two numbers using functions.
  3. Write a C program to find factorial of a given number using recursion.
  4. Write a C program to find GCD of two numbers using recursion.
  5. Write a C program to print Fibonacci series using recursion.

Chapter-II( Structure, Union and Enumerated data types)

 Short Answer Questions

  1. Write about self referential structures in C.
  2. Write about nested structures in C.
  3. Write the difference between array and structures in C.
  4. What are the advantages of structure type variable over array type variable.
  5. Explain typedef in C.
  6. Explain enumeration data type in C 
  7. Write the differences between structures and unions in C.

 Long Answer Questions

  1. What is structure? How to declare, initialize and access structure members?
  2. Write about structure and pointers.
  3. Write about structures and arrays.
  4. Write about structures and functions.

Examples:

  1. Write  a C program to find grade of student using structures.
  2. Write a C program to read 'N' student details and print them.

UNIT-V

Chapter-I(Pointers)

Short Answer Questions

  1.  What is pointer? How to declare and initialize it? Write uses of pointers.
  2. Explain address and indirection operators in C.
  3. Explain null and generic pointers.
  4. Explain pointers arithmetic and expressions in C.
  5. Explain drawbacks of pointers.

Long Answer Questions

  1. Explain pointers and arrays.
  2. What DMA? Explain different types of function that support DMA in C.

Examples:

  1. Write a C program for various pointers arithmetic and expressions.
  2. Write a C program to swap two numbers using Pointers.
  3. Write a C program to reverse a given array elements.

Chapter-II(Files)

Short Answer Questions

  1. What is file? Write the uses of files in C.
  2. Explain different file modes
  3. Explain different types of files.

 Long Answer Questions

  1. Explain various file input and output functions in C.
  2. Explain file processing facilities in C
  3. How to detect end of file(EOF)? Explain.
  4. Write about error handling during file operations.

Examples:

  1. Write a C program to open an existing file and append some text to it.
  2. Write a C program to read details of a student file and write into another file.
  3. Write a C program to copy the content of one file into another file.
  4. Write a C program to read data from file consisting of fields register number, name, marks in six subject.
  5. Write a  simple program to read the content pf any fie and then print it on the output screen.
  6. Write a C program to create student data file it have roll number, student name, father name, address.
  7. Write a C program to create an employee file with the data employee name, employee number, salary. Read data into file and print them.
Advertisemtnt

0comments:

Post a Comment

Note: only a member of this blog may post a comment.

Advertisement

syllabus

More

previous question papers

More

Results

More

Advertisement

Timetables

More

ANU Materials

More
Top