0% found this document useful (0 votes)
30 views2 pages

TMP 3260d2dd

Uploaded by

vansh
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)
30 views2 pages

TMP 3260d2dd

Uploaded by

vansh
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/ 2

B.

Tech – II Sem
B3 DEPARTMENT OF
ASSIGNMENT-1 APPLIED SCIENCES
PPS
AGCS-21101

Question Sets

Set 1: Question Number 3,4,11,13,21,23,31,37,43


Set 2: Question Number 6,7,15,16,24,27,33,38,44
Set 3: Question Number 9,10,18,19,28,30,36,39,45

Allocation of Question Sets to students

Set Uni. Roll No.


2333268, 2333316, 2333360, 2333389, 2333392, 2333396, , 2333409, 2333410, 2333411,
2333412, 2333414, 2333415, 2333419, 2333420, 2333421, 2333422, 2333423, 2333425,
1
2333426, 2333448, 2333450, 2333453, 2333454, 2333456, 2333458, 2334177, 2334183,
2334225, 2334226, 2334228, 2334232, 2334233, 2334234, 2334249, 2334253
2333306, 2333387, 2333403, 2333405, 2333413, 2333427, 2333432, 2333437, 2333438,
2 2333452, 2333455, 2333460, 23334227, 2334230, 2334236, 2334237, 2334247, 2334251,
2333441, 2333444, 2333445, 2342013
2333287, 2333312, 2333408, 2333416, 2333417, 2333424, 2333431, 2333435, 2333439,
3 2333443, 2333451, 2333457, 2334238, 2334256, 2334213, 2334224, 2333434, 2333436,
2333446, 2333428, 2333429, 2333430, 2333433

Section – A (2 Marks each)

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.

Section – B (4 Marks each)


Q.No Question CO
31. Explain a Computer System along with its various characteristics and applications.
32. Explain in detail the various Computer generations. CO-1
33. What are the various components of computer? Explain with the help of a block diagram.
34. Explain the various primary storage devices with its types.
35. Explain the various secondary storage devices.
36. Design an algorithm and flowchart to enter the marks of student in 5 subjects and calculate
the percentage. Categorize the student if the percentage is less than 40 as fail otherwise
pass.
37. Explain the increment and decrement operators and the conditional operator in C language.
Give suitable examples.
38. Write a C program to calculate the reverse of a given number. Write output for your CO-2
program.
39. Write a C program to print n terms of the fibbonacci series: 0,1,1,2,3,5, 8,….Write output
for your program.
40. Explain the conditional statements with suitable example.
41. Explain the repetitive statements with suitable example.
42. Explain the various breaking control statements with suitable example.
43. Write a C program to input a string and count the number of vowels, digits, white spaces and
consonant in it. Write output for your program.
44. Write a C program to input n elements of an array and sort them in ascending order using the CO-3
Bubble sort technique. Write output for your program.
45. Write a C program to input two matrices and print their product. Write output for your
program.
46. Explain the various string functions and write a program to demonstrate the usage of string
functions.
47. Explain arrays and its type. Write a C program to find the sum of elements of an array.
48. Write a C program to search an element by using linear search technique in an array.

You might also like