10.6.23

JNTUK B.Tech C Programming Important Questions

Advertisemtnt

UNIT I

Introduction to Computers: Creating and running Programs, Computer Numbering System, Storing Integers, Storing Real Numbers

Introduction to the C Language: Background, C Programs, Identifiers, Types, Variable, Constants, Input/output, Programming Examples, Scope, Storage Classes and Type Qualifiers.

Structure of a C Program: Expressions Precedence and Associativity, Side Effects, Evaluating Expressions, Type Conversion Statements, Simple Programs, Command Line Arguments.

Important Questions:

  1. Explain the process of Creating, Compiling and Execution of a C Program
  2. How are negative values stored in the memory in C programming? Explain
  3. How are signed and unsigned integers stored? Explain with an example
  4. What is Constant? Explain different types of Constants available in C with examples
  5. Define Identifier? Write the Rules for C Identifiers.
  6. Define Variable. Write about different types of variables in C
  7. Write a note on formatted and unformatted I/O statements
  8. Define Scope. Explain different types of storage classes.
  9. Write the importance of precedence and associativity? Write the table for operator precedence?
  10. What is meant by type conversion? Why is necessary? Explain about implicit and explicit type conversion with examples
  11. Write a short note on basic data types that the C language support. Illustrate with a C program.
  12. With an example program, explain how command line arguments works.


UNIT II
Bitwise Operators: Exact Size Integer Types, Logical Bitwise Operators, Shift Operators.

Selection & Making Decisions: Logical Data and Operators, Two Way Selection, Multiway Selection, More Standard Functions.

Repetition: Concept of Loop, Pretest and Post-test Loops, Initialization and Updating, Event and Counter Controlled Loops, Loops in C, Other Statements Related to Looping, Looping Applications, Programming Examples

 Important Questions

  1. Explain arithmetic, logical and bitwise operators with examples
  2. Differentiate between entry- control and exit-control loops with an example.
  3. Demonstrate the various control statements available in ’C’?
  4. What are bit-fields.? Explain their significance. 
  5. Explain the concepts of multi way selection. And write a program to determine whether an entered character is vowel or not
  6. Practice examples programs on loops and control structures.

UNIT III

Arrays:
Concepts, Using Array in C, Array Application, Two Dimensional Arrays, Multidimensional Arrays, Programming Example – Calculate Averages

Strings: String Concepts, C String, String Input / Output Functions, Arrays of Strings, String Manipulation Functions String/ Data Conversion, A Programming Example – Morse Code

Enumerated, Structure, and Union: The Type Definition (Type def), Enumerated Types, Structure, Unions, and Programming Application.

 Important Questions

  1. Write a C program to reverse the contents of an integer array without using another array
  2. Explain the memory representation of one- and two-dimensional arrays in C programming with neat diagrams
  3. Write a C program to interchange the largest and smallest elements in an array.
  4. Explain various String oriented I/O statements in C with an example each.
  5. With an example, How arrays of strings used in C.
  6. Write about various string manipulation functions.
  7. Explain the utility of ‘typedef’ keyword. Write a program to illustrate it.
  8. Write difference between structures and unions w.r.t memory allocation and accessing.
  9. Write the syntax to define Union? List out the advantages and disadvantages of using Unions.
  10.  How to define new data type using Enumerated Types? Explain.

UNIT IV

Pointers: Introduction, Pointers to pointers, Compatibility, L value and R value

Pointer Applications: Arrays and Pointers, Pointer Arithmetic and Arrays, Memory Allocation Function,  Array of Pointers, Programming Application.

Processor Commands: Processor Commands

Important Questions

  1. What is the role of L value and R Value in pointer arithmetic? Explain in detail.What is a pointer? Explain declaration, initialization and accessing of a pointer variable.
  2. What is the main use of function pointer in C?How do you declare a function pointer? Explain
  3. How are generic pointers different from pointer variables and also differentiate ptr++ and ++ptr.
  4. Write a C program to convert floating point number into integer using pointers
  5. Using pointers in functions write a C program to perform arithmetic operations on two integers.
  6. Write a C program that access elements of 1D array using a pointer variable.
  7. Explain various dynamic memory allocation functions in C with an example each.
  8. Write a C program to reverse the given string using a pointer.
  9. Write a C program to access the values of an array of characters using pointer
  10. Explain in detail about the types of C preprocessor directives

UNIT V

Functions
: Designing, Structured Programs, Function in C, User Defined Functions, Inter-Function Communication, Standard Functions, Passing Array to Functions, Passing Pointers to Functions, Recursion

Text Input / Output: Files, Streams, Standard Library Input / Output Functions, Formatting Input / Output Functions, Character Input / Output Functions

Binary Input / Output: Text versus Binary Streams, Standard Library, Functions for Files, Converting File Type.

Important Questions

  1. Define Function. Write the advantages of structured programming.
  2. Explain perform function declaration, function call, and function definition in C.
  3. Explain Call by value and Call by reference. Also write differences between them.
  4. Write a program to calculate factorial of a number with recursion and without recursion.
  5. What is recursion? Write a program to find the factorial of a given number using recursion.
  6. How to pass an array to a function in C programming? Explain.
  7. Write a C program to generate Fibonacci series using recursive functions.
  8. Illustrate the functions for character input and output in C programming.
  9. Write a C program to Display contents of a text file on console.
  10. What do you mean by streams? What are the applications of it? Differentiate text and binary streams.
  11. What are various standard library input/output functions used in C language? Explain with simple program.
Advertisemtnt

0Comments:

Post a Comment

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

Advertisement

For any doubts Releated Exams Contact

Name

Email*

Message*

JNTU Exam Updates

More

previous question papers

More

E-Books

More

Advertisement

MBA-MCA

More

ANU Materials

More

This Blog is protected by DMCA.com

DMCA.com for Blogger blogs
Top