PPS (3110003) Assignment
Programming for Problem Solving(PPS)
Degree Engineering
Branch= ALL ENGINEERING BRANCH OF GTU
Year = 1st Year
Subject Code: 3110003
PPS (3110003) Assignment of All Chapter
Chapter-1: Introduction to Computer and Programming
1. Draw and explain the block diagram of Computer System.
2. What is Software and Hardware? Explain different types of Software.
3. Explain the concept of machine level, assembly level and high-level programming.
4. Recall the definitions of (I) Assembler (II) Compiler (III) Interpreter
5. Define algorithm Explain flowchart with suitable example.
6. Write an algorithm and draw a flowchart to print first N Fibonacci numbers.
Chapter-2: Fundamentals of ‘C’
7. Explain basic structure of C program.
8. List and explain fundamental data types of ‘C’ language.
9. Explain different types of operators used in the C language with their precedence and associativity.
10. Describe different types of constants used in C.
11. What is difference between keywords and identifiers? Explain rules for naming an identifier.
12. What is type conversion and type casting? List and explain type conversion supported by C language with example.
13. Explain formatted input output with example.
14. Write a program to print fibonacci series of given number.
Chapter-3: Control Structures in ‘C’
15. Explain different types of loop statements with flowchart and example
16. Discuss general form of following decision – making statements. (I) BREAK (II) GOTO (III) CONTINUE (IV) SWITCH
17. Write a program to find sum of first N odd numbers. Ex. 1+3+5+7+………..+N.
18. Write a C Program to check whether the given number is prime or not.
19. Write a C Program to find factorial of given number.
20. Write a C Program to check whether the input character is vowel or not vowel.
21. Write a program to print following pattern.
Pattern-1:
1
0 1
1 0 1
0 1 0 1
Pattern-2:
#
# #
# # #
# # # #
Pattern-3:
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
Chapter-4: Array and String
22. What is array? Discuss declaration and initialization of one-dimensional and two-dimensional arrays with example.
23. What is String? How are they declared and also define the null character? In how many ways can you accept data in a string?
24. Write a program in c for multiplication of the two matrices
25. Write a program to check whether a given string is a palindrome or not.
26. Explain following string manipulation functions. strcmp( ), strlen( ), strcat( ), strstr().
27. Write a program to count total words in text.
28. Write a program to reverse the input string without using string function.
29. Write a program to accept a string and count the number of vowels present in a string.
Chapter-5 to 7: Functions, Recursion, Pointer
30. What is User defined function (UDF)? Explain pass by value and pass by reference in functions with example.
31. Explain different components (elements) of User defined function.
32. Create a function to swap the values of two variables.
33. What is recursion? Explain recursive function with example.
34. What is pointer and pointer to pointer? Write suitable example to demonstrate the concept.
Chapter-8 to 10: Structure, Dynamic memory allocation, File management
35. Explain structure declaration and initialization with proper syntax.
36. Write a difference between Structure and Union.
37. Explain dynamic memory allocation(DMA) and different functions for DMA in detail.
38. What is file and file management? Explain various file management functions used in C
39. Explain command line arguments with suitable example.
Find the study material of given subject.
PPS (3110003) GTU
PPS Assignment of All Chapter
PPS Question Bank GTU
No comments:
Post a Comment