JNTUH B.Tech - R25 - Programming For Problem Solving - Important Questions

Rahul

Moderator
JNTUH B.Tech - R25 - Programming For Problem Solving - Important Questions
Download Link - 1 | Download Link - 2 | Instagram

JNTUH B.Tech - R25 - Programming For Problem Solving - Important Questions

Unit 1 :
  • Explain the features and applications of the C Programming Language.
  • Write the general structure of a C program and explain each section.
  • Define Variable Declaration with suitable examples.
  • Explain different Data Types in C.
  • What are executable statements in C? Explain with examples.
  • Explain arithmetic expressions and operator precedence in C.
  • Write a program to perform basic arithmetic operations.
  • Explain formatted output using printf.
  • What are Control Structures in C?
  • Explain the syntax and working of the if Statement.
  • Explain if statements with compound statements and nested if statements.
  • Discuss the role of conditions in algorithm design and decision making.
  • Explain the concept of repetition in programs.
  • Describe the while Loop with syntax and examples.
  • Explain how to compute sums and products using loops.
  • Describe the for Loop with examples.
  • Explain Conditional Loops and loop design principles.
  • What are Nested Loops? Explain with examples.
  • Explain the do-while Loop and compare it with while loop.
  • Compare while, for, and do-while loops with suitable examples.

Unit 2 :
  • Explain the concept of Top-Down Design in program development.
  • Discuss how programs are built using existing information and reusable modules.
  • What are Library Functions in C? Explain with examples.
  • Define Structure Chart and explain its role in software design.
  • Write the syntax and examples of functions without arguments.
  • Explain functions with input arguments and their advantages.
  • Differentiate between actual arguments and formal arguments.
  • Explain the concept of Pointers in C.
  • Describe the Indirection Operator (*) with examples.
  • Explain functions with output parameters using pointers.
  • Discuss multiple calls to a function with input and output parameters.
  • What is Scope of Names? Explain local and global scope.
  • Explain how formal output parameters can be used as actual arguments.
  • Write a program to swap two numbers using pointers and functions.
  • Discuss the importance of modular programming and code reusability in C.

Unit 3 :
  • Explain the concept of Array in the C Programming Language.
  • How do you declare and initialize one-dimensional arrays in C?
  • What are Array Subscripts? Explain with examples.
  • Explain how for Loop is used to traverse arrays.
  • How are array elements passed as function arguments?
  • Explain Array Arguments with suitable examples.
  • Write and explain Linear Search and Binary Search.
  • Write and explain common sorting techniques such as Bubble Sort and Selection Sort.
  • What are Parallel Arrays?
  • Explain Enumerated Types in C.
  • How do you declare and access Multidimensional Arrays?
  • Explain the basics of String in C.
  • Discuss important string library functions such as strcpy, strcat, and strcmp.
  • Explain string concatenation and whole-line input functions such as fgets.
  • What are Arrays of Pointers? Explain with examples.
Unit 4 :
  • Explain the concept of Recursion in the C Programming Language.
  • Discuss the nature of recursion with suitable examples.
  • Explain how to trace the execution of a recursive function.
  • Write recursive programs for mathematical functions such as factorial and Fibonacci series.
  • Explain recursive functions with Array Parameters.
  • Explain recursive functions with String Parameters.
  • Define Structure and explain its syntax.
  • How do you declare, initialize, and access structure members in C?
  • Explain how structure variables are passed as input and output parameters to functions.
  • Discuss functions that return Structured Result Values.
  • Write a program to store and display student information using structures.
  • Define Union and explain its syntax.
  • Differentiate between structures and unions with suitable examples.
  • Explain the memory allocation behavior of structures and unions.

Unit 5 :
  • Explain the concept of File Handling in C in the C Programming Language.
  • What are Text Files and Binary Files? Compare them.
  • Explain input and output file operations using fopen, fclose, fprintf, and fscanf.
  • Discuss the use of fread and fwrite.
  • Explain the role of File Pointer in file handling.
  • Write a program to create, write, and read a text file.
  • Write a program to store and retrieve structure data using binary files.
  • Explain how to search a database stored in a file.
  • Define Linear Search and write its algorithm.
  • Define Binary Search and explain its advantages.
  • Compare linear search and binary search.
  • Explain the Bubble Sort with an example.
  • Explain the Insertion Sort with an example.
  • Explain the Selection Sort with an example.
  • Compare bubble sort, insertion sort, and selection sort in terms of time complexity and performance.
 

Attachments

Back
Top