This document outlines an assignment on computer fundamentals and programming concepts using C for a BCA AI & DS semester 1 class. It provides 14 questions to answer, covering topics like software development methods, algorithms, pointers, strings, recursion, dynamic memory allocation, structures, files, and pre-processor directives. Students are asked to explain concepts and provide examples for questions about pointers to pointers, void pointers, string functions, pointers as function arguments, recursion, dynamic memory functions, pointer operations, nested/array of/self-referential structures, command line arguments, file operations like fseek(), ftell(), rewind(), fgets(), fread(), fwrite(), displaying a file in reverse order, and pre-processor directives.
This document outlines an assignment on computer fundamentals and programming concepts using C for a BCA AI & DS semester 1 class. It provides 14 questions to answer, covering topics like software development methods, algorithms, pointers, strings, recursion, dynamic memory allocation, structures, files, and pre-processor directives. Students are asked to explain concepts and provide examples for questions about pointers to pointers, void pointers, string functions, pointers as function arguments, recursion, dynamic memory functions, pointer operations, nested/array of/self-referential structures, command line arguments, file operations like fseek(), ftell(), rewind(), fgets(), fread(), fwrite(), displaying a file in reverse order, and pre-processor directives.
This document outlines an assignment on computer fundamentals and programming concepts using C for a BCA AI & DS semester 1 class. It provides 14 questions to answer, covering topics like software development methods, algorithms, pointers, strings, recursion, dynamic memory allocation, structures, files, and pre-processor directives. Students are asked to explain concepts and provide examples for questions about pointers to pointers, void pointers, string functions, pointers as function arguments, recursion, dynamic memory functions, pointer operations, nested/array of/self-referential structures, command line arguments, file operations like fseek(), ftell(), rewind(), fgets(), fread(), fwrite(), displaying a file in reverse order, and pre-processor directives.
This document outlines an assignment on computer fundamentals and programming concepts using C for a BCA AI & DS semester 1 class. It provides 14 questions to answer, covering topics like software development methods, algorithms, pointers, strings, recursion, dynamic memory allocation, structures, files, and pre-processor directives. Students are asked to explain concepts and provide examples for questions about pointers to pointers, void pointers, string functions, pointers as function arguments, recursion, dynamic memory functions, pointer operations, nested/array of/self-referential structures, command line arguments, file operations like fseek(), ftell(), rewind(), fgets(), fread(), fwrite(), displaying a file in reverse order, and pre-processor directives.
1. Mention the steps involved in software development method.
2. What is an algorithm? Explain with suitable example. 3. What is pointer to a pointer? What is a void pointer? Explain with example. 4. Explain Different String Handling functions with examples. 5. How to use pointers as arguments in a function? Explain through an example. 6. What is recursion? What are the advantages and disadvantages of recursion? 7. Explain Different Dynamic Memory Allocation functions. 8. What are the pointer operations. Explain with examples. 9. Discuss following terms with examples: a. Nested structures. b. Array of structures. c. Self-referential structure.
10. Explain command Line arguments with examples.
11.Explain the following file operations: 12.fseek(). (b) ftell(). (c) rewind(). (d) fgets() (e) fread(). (f) fwrite() 13.Write a program to display the contents of the file in reverse. 14.Explain Different pre-processor directives with examples.