0% found this document useful (0 votes)
28 views1 page

IP 5 Marks Questions

Uploaded by

muppiditeja060
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)
28 views1 page

IP 5 Marks Questions

Uploaded by

muppiditeja060
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/ 1

UNIT – I

1. With the help of a block diagram, explain the basic organization of a computer system
2. Discuss about different computer languages with examples.
3. Develop the algorithm and construct a flow chart for finding given number is EVEN or
ODD.
4. Explain the Structure of C Program with an example.
5. List and explain the different types of data types in C. also differentiate between signed and
unsigned data types with reference to range of memory they occupy.
6. Explain different types of operators available in C language with examples.
7. How are the expressions evaluated in C? Explain the role of precedence and associativity in
it. Give example.
8. What is type casting? Name the inbuilt typecasting functions available in C language. What
is the difference between type casting and type conversion?

UNIT – II

1. What are selection statements? What is the necessity of selection statements? Explain.
2. Differentiate between if statement and if-else statement with suitable examples and proper
syntax
3. Write a C program to determine the character entered by user. And also explain the control
structures used in it.
4. How does a switch statement works? List the difference between switch and if else ladder
statement.
5. Explain about different repetitive statements with examples.
6. Develop a program to find the factorial of a given positive integer using a for loop.
7. Write about nested for loop statement with examples.

UNIT-III

1. What is Array? Explain different types of arrays in c with an example each.


2. Write a C program to calculate sum and average of array elements
3. With respect to 1-D arrays explain the following with examples.
a) Declaration of arrays
b) Initialization of arrays
c) Accessing elements of array
4. Devise an algorithm for linear search and explain with an illustration.
5. Develop a program to search the key element in the given list.

You might also like