0% found this document useful (0 votes)
4K views3 pages

JNTUK B.Tech C Programming Important Questions

Uploaded by

tranikcea
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views3 pages

JNTUK B.Tech C Programming Important Questions

Uploaded by

tranikcea
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

JNTUK B.

Tech C Programming Important Questions

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:

[Link] the process of Creating, Compiling and Execution of a C Program


[Link] are negative values stored in the memory in C programming? Explain
[Link] are signed and unsigned integers stored? Explain with an example
[Link] is Constant? Explain different types of Constants available in C with
examples
[Link] Identifier? Write the Rules for C Identifiers.
[Link] Variable. Write about different types of variables in C
[Link] a note on formatted and unformatted I/O statements
[Link] Scope. Explain different types of storage classes.
[Link] the importance of precedence and associativity? Write the table for
operator precedence?
[Link] is meant by type conversion? Why is necessary? Explain about implicit and
explicit type conversion with examples
[Link] a short note on basic data types that the C language support. Illustrate
with a C program.
[Link] 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

[Link] arithmetic, logical and bitwise operators with examples


[Link] between entry- control and exit-control loops with an example.
[Link] the various control statements available in ’C’?
[Link] are bit-fields.? Explain their significance.
[Link] the concepts of multi way selection. And write a program to determine
whether an entered character is vowel or not
[Link] 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

[Link] a C program to reverse the contents of an integer array without using


another array
[Link] the memory representation of one- and two-dimensional arrays in C
programming with neat diagrams
[Link] a C program to interchange the largest and smallest elements in an array.
[Link] various String oriented I/O statements in C with an example each.
[Link] an example, How arrays of strings used in C.
[Link] about various string manipulation functions.
[Link] the utility of ‘typedef’ keyword. Write a program to illustrate it.
[Link] difference between structures and unions w.r.t memory allocation and
accessing.
[Link] the syntax to define Union? List out the advantages and disadvantages of
using Unions.
[Link] 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

[Link] is the role of L value and R Value in pointer arithmetic? Explain in


[Link] is a pointer? Explain declaration, initialization and accessing of a
pointer variable.
[Link] is the main use of function pointer in C?How do you declare a function
pointer? Explain
[Link] are generic pointers different from pointer variables and also differentiate
ptr++ and ++ptr.
[Link] a C program to convert floating point number into integer using pointers
[Link] pointers in functions write a C program to perform arithmetic operations on
two integers.
[Link] a C program that access elements of 1D array using a pointer variable.
[Link] various dynamic memory allocation functions in C with an example each.
[Link] a C program to reverse the given string using a pointer.
[Link] a C program to access the values of an array of characters using pointer
[Link] 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

[Link] Function. Write the advantages of structured programming.


[Link] perform function declaration, function call, and function definition in
C.
[Link] Call by value and Call by reference. Also write differences between them.
[Link] a program to calculate factorial of a number with recursion and without
recursion.
[Link] is recursion? Write a program to find the factorial of a given number using
recursion.
[Link] to pass an array to a function in C programming? Explain.
[Link] a C program to generate Fibonacci series using recursive functions.
[Link] the functions for character input and output in C programming.
[Link] a C program to Display contents of a text file on console.
[Link] do you mean by streams? What are the applications of it? Differentiate text
and binary streams.
[Link] are various standard library input/output functions used in C language?
Explain with simple program.

You might also like