Sei sulla pagina 1di 2

Assignment-I

1.Mention the steps involved in software development method.


2.What is an algorithm? Explain with suitable example.
3.What is an operator? Explain different operators in C.
4. What is an expression? Explain different categories of expressions.
5.What are logical operators in C? Write a C program to illustrate the logical operators?
6. What is the use of flowchart? What is the general structure of a C program.
7. Explain the advantages and disadvantages of using high level languages over machine level
languages.
8. What are the shift operators? Write a program to shift the entered number by three bits left
and display the result.
9. What is a flow chart? Explain different symbols used for flow chart. Explain with example.
10.What is secondary storage? What are the reasons for having secondary storage devices? Explain
different secondary storage devices.

Assignment-II

1.Write a program to find the sum of all floating point elements in an array.
2.What is a string variable? How to declare a string variable? Explain with examples
3. Write a program to count the number of digits, alphabets, white spaces and other characters in
a sentence.
4. Write a short note on one dimensional arrays.
5.Explain about program control structures with suitable examples.
6. With examples explain different decision statements in C.
7. What is pointer to a pointer? What is a void pointer? Explain with example.
8. Write a program to add two matrices using pointers
9.Explain Different String Handling functions with examples.
10. Write a program to test a given number is prime number or not.

Assignment-III

1.How to use pointers as arguments in a function? Explain through an example


2.Write a short notes on the following storage classes:
(a) Automatic. (b) Static. (c) Register. (d) External
3.How to use pointers as arguments in a function? Explain through an example.
4.What is recursion? What are the advantages and disadvantages of recursion?
5.What is a function? What are the different types of functions? Explain function with argument
and no return type with an example
6. Write a function to convert lower case to upper case and vice-versa.
7.Explain Different Dynamic memory Allocation functions.
8.What is Scope.Explain Different Scope Rules.
9.What are the pointer operations.Explain with examples.
10.Explain different parameter passing methods.

Assignment-IV

1.Discuss below terms with examples:


Nested structures.
Array of structures.
2.Write a program in C to display the size of structure elements using size of operator?
3.Explain the different ways of defining the structure and how to access the structure members
with examples?
4. What are the differences between structure and union?
5. Define structure and write the general format for declaring and accessing members.
6. How to use arrays as structure members? Illustrate with example.
7. What is the use of period operator? Give an example.
8.Explain about type definitions with examples.
9. Explain about Enumerations with examples. Give the various advantages of bit fields.
10.Explain command Line arguments with examples.

Assignment-V

2.Write a program to display the contents of the file in reverse.


3. Write a program to read and print text file of integers.
4. . Discuss with examples the following ¯le I/O handling functions.
(a) fgets() (b) fputs() (c) getw()
5.Explain the following operations:
(a) f seek(). (b) f tell. (c) rewind(). (d) f error().
6.Explain sequential files with example:
7. Explain Random access files with example
8. Discuss the concept of searching errors in reading of files.

9.Explain Different preprocessor directives with examples.


10.Explain About Different Standard streams with examples.

Potrebbero piacerti anche