TMP 3260d2dd
TMP 3260d2dd
Tech – II Sem
B3 DEPARTMENT OF
ASSIGNMENT-1 APPLIED SCIENCES
PPS
AGCS-21101
Question Sets
Q.No Question CO
1. What do you understand by booting?
2. Explain the necessity of an Operating system. List two operating system being used in
today’s world.
3. Explain an algorithm along with its characteristics. Give a suitable example.
4. List out the differences between RAM and ROM. Also explain different types of ROM. CO-1
5. Draw and explain various flowchart symbols.
6. List out the differences between compiler and interpreter. List any two compiler-based and
any two interpreter-based computer languages.
7. Differentiate between primary memory and secondary memory.
8. Write the various advantages of computer.
9. Write the various disadvantages of using a computer system.
10. Explain the functionality of operating system.
11. Differentiate between syntax and logical errors in C programming.
12. Write the rules to name a variable in C language.
13. Explain the working and hierarchy of arithmetic operators in C language. Give examples to
illustrate.
14. Explain the getchar() function and putchar() function in C language along with the help of CO-2
suitable examples.
15. Write a C program to calculate the addition of two character values.
16. Given int a = 9876. Find the outputs for the following printf statements:
(i) printf(“%09d”,a);
(ii) printf(“%+8d”,a);
17. Differentiate between while and do while loop by giving suitable example.
18. What will be the output of the given statements:
(i) for(i=0;i<=5;i++);
(ii) for( ; ; )
19. Differentiate between getch() and getche() input function by giving suitable example.
20. Describe the purpose of size of() operator. Also write a program to calculate the size of int,
char, float and double datatype.
21. Explain an array in C language. Write its syntax along with an example.
22. How can an array be initialized? Write its syntax along with an example.
23. Explain a string in C language. Write its syntax along with an example.
24. Explain the string functions: strlen() and strcmpi(). Write its syntax along with an example. CO-3
25. Write the advantages of using arrays.
26. Write a C program to enter elements in one dimensional array.
27. Write a C program to enter elements in two-dimensional array.
28. Write a C program to input an array of n elements and count and print the odd elements in
it.
29. Write a C program to input a string and print it in reverse order without using strrev().
30. Write a program in C to find the sum of all elements of the array.