0% found this document useful (0 votes)
39 views2 pages

QUESTIONS

The document contains a list of 42 questions related to algorithms, data structures, C programming concepts like loops, functions, arrays, pointers, structures, file handling etc. grouped under different units for a course on IP or information processing.

Uploaded by

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

QUESTIONS

The document contains a list of 42 questions related to algorithms, data structures, C programming concepts like loops, functions, arrays, pointers, structures, file handling etc. grouped under different units for a course on IP or information processing.

Uploaded by

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

IP IMPORTANT QUESTIONS

S.No Question

Explain the process of designing an algorithm. Give characteristics of UNIT 1


1
an algorithm
Describe how to improve efficiency of an algorithm, space complexity UNIT 1
2
and time complexity.
3 Explain asymptotic notations. UNIT 1
4 Write short notes on Top-down approach. UNIT 1
5 Discuss various phases of problem solving. UNIT 1
Explain what is Algorithm Analysis and what do you analyse in an UNIT 1
6
algorithm
7 Write an algorithm to find the factorial of given number. UNIT 1
8 Write an algorithm to find whether a year entered is leap year or not. UNIT 1
9 Write an algorithm to check whether a number entered is prime or not UNIT 1
10 List and explain basic data types with their sizes and ranges? UNIT 2

11 Explain switch statement with syntax and example. UNIT 2

Write a short note on Precedence and Associativity of operators with UNIT 2


12
examples?
What are the Control statements used in C? Explain control UNIT 2
13
statements with syntax
Compare for loop, while loop, and do…while loop with suitable UNIT 2
14
examples
15 Explain bitwise operators in detail. UNIT 2
Write a program in C to print the numbers from 1 to10 and their UNIT 2
16
squares?
17 Write a C program to convert Decimal to Binary number UNIT 2
18 Write a C program to print all upper case and lower case alphabets. UNIT 2
19 Explain 2D array with an example. UNIT 3
What is dynamic memory allocation and explain the Difference UNIT 3
20
between malloc() and calloc().
21 Define string? Explain any 3 string operations with examples. UNIT 3
22 What is an array? Explain 1D with an example. UNIT 3
What is a pointer? Explain different arithmetic operations that can be UNIT 3
23
performed on pointers.
Develop a C program to find the length of the Given string without UNIT 3
24
using predefined functions
25 What is a pointer? Explain declaration, initialization and accessing of UNIT 3
a pointer variable.

Differentiate the call by value and call by reference mechanism with UNIT 3
26
examples.
27 Develop a C program to count sum of even numbers in a given array. UNIT 3

llustrate the various storage classes used in C program. Explain each UNIT 4
28
with a simple program.
Explain the following with respect to functions: (i) Function prototype UNIT 4
29
(ii) Function call (iii) Returning from function
30 Explain any 2 categories of a function. UNIT 4

How to pass an array to a function in C programming? Explain with UNIT 4


31
an example.
Write a C program to generate Fibonacci series using recursive UNIT 4
32
functions.
What is recursion? Write a program to find the factorial of a given UNIT 4
33
number using recursion.
34 Explain the difference between array and structures UNIT 5

35 What are self-referential structures in C? Explain with an example. UNIT 5

Explain the differences between Structures and Unions in C language. UNIT 5


36 And demonstrate the memory allocation strategy for Unions and
Structures in C programming.
Define Structure? Explain how to declare a structure and access UNIT 5
37
structure members with an example program.
Describe how file handling is performed in C, including reading from UNIT 5
38
and writing to text files and the concept of random file access.
Discuss how the typedef keyword simplifies code in C. Provide UNIT 5
39
examples of its usage.
40 Explain the difference between array and structures. UNIT 5

Define a struct in C to represent a student, including fields like name, UNIT 5


41
ID, and GPA. Write a function to display the student's details.
Describe how file handling is performed in C, including reading from UNIT 5
42
and writing to text files and the concept of random file access

You might also like