halloween90
commited on
Commit
β’
cac1620
1
Parent(s):
291d115
Upload pps.csv
Browse files
pps.csv
ADDED
@@ -0,0 +1,585 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
subject_title,time,subject_code,maximum_marks,section,question,marks
|
2 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a variable in C?,1
|
3 |
+
,,,,,Define constant in C.,1
|
4 |
+
,,,,,What are the different data types in C?,1
|
5 |
+
,,,,,Explain the concept of pointers.,1
|
6 |
+
,,,,,What is an array?,1
|
7 |
+
,,,,,Define function in C.,1
|
8 |
+
,,,,,What is recursion?,1
|
9 |
+
,,,,,What is the purpose of the main() function?,1
|
10 |
+
,,,,,What are header files?,1
|
11 |
+
,,,,,Explain the concept of storage classes.,1
|
12 |
+
,,,,PART β B,What is the difference between a for loop and a while loop?,3
|
13 |
+
,,,,,Explain the switch statement with an example.,3
|
14 |
+
,,,,,How do you allocate memory dynamically in C?,3
|
15 |
+
,,,,,What is a structure in C?,3
|
16 |
+
,,,,,Differentiate between structure and union.,3
|
17 |
+
,,,,PART β C,Explain the process of file handling in C.,5
|
18 |
+
,,,,,Discuss the importance of pointers in C.,5
|
19 |
+
,,,,,How do you create a custom header file in C?,5
|
20 |
+
,,,,,What is the use of the 'static' keyword?,5
|
21 |
+
,,,,,Describe the concept of linked lists.,5
|
22 |
+
,,,,,Explain how to implement a stack using an array.,5
|
23 |
+
,,,,,Discuss the difference between call by value and call by reference.,5
|
24 |
+
,,,,,Explain the role of the preprocessor in C.,5
|
25 |
+
,,,,,What are the different types of operators in C?,5
|
26 |
+
,,,,,Write a program to reverse a string using pointers.,5
|
27 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a variable in C?,1
|
28 |
+
,,,,,Define constant in C.,1
|
29 |
+
,,,,,What are the different data types in C?,1
|
30 |
+
,,,,,Explain the concept of pointers.,1
|
31 |
+
,,,,,What is an array?,1
|
32 |
+
,,,,,Define function in C.,1
|
33 |
+
,,,,,What is recursion?,1
|
34 |
+
,,,,,What is the purpose of the main() function?,1
|
35 |
+
,,,,,What are header files?,1
|
36 |
+
,,,,,Explain the concept of storage classes.,1
|
37 |
+
,,,,PART β B,What is the difference between a for loop and a while loop?,3
|
38 |
+
,,,,,Explain the switch statement with an example.,3
|
39 |
+
,,,,,How do you allocate memory dynamically in C?,3
|
40 |
+
,,,,,What is a structure in C?,3
|
41 |
+
,,,,,Differentiate between structure and union.,3
|
42 |
+
,,,,PART β C,Explain the process of file handling in C.,5
|
43 |
+
,,,,,Discuss the importance of pointers in C.,5
|
44 |
+
,,,,,How do you create a custom header file in C?,5
|
45 |
+
,,,,,What is the use of the 'static' keyword?,5
|
46 |
+
,,,,,Describe the concept of linked lists.,5
|
47 |
+
,,,,,Explain how to implement a stack using an array.,5
|
48 |
+
,,,,,Discuss the difference between call by value and call by reference.,5
|
49 |
+
,,,,,Explain the role of the preprocessor in C.,5
|
50 |
+
,,,,,What are the different types of operators in C?,5
|
51 |
+
,,,,,Write a program to reverse a string using pointers.,5
|
52 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Identify the number of bytes reserved for a float variable in windows 64-bit,1
|
53 |
+
,,,,,Locate the invalid variable(s) in the following declarations.,1
|
54 |
+
,,,,,Define an Algorithm. CO2 R 1,1
|
55 |
+
,,,,,Name different types of operators that are included in C. CO2 R 1,1
|
56 |
+
,,,,,Identify the unconditional branching statement that terminates the execution,1
|
57 |
+
,,,,,State the syntax of the switch statement. CO3 R 1,1
|
58 |
+
,,,,,List the two ways a string can be declared. CO4 R 1,1
|
59 |
+
,,,,,Identify the value of num[6] from the below line of code,1
|
60 |
+
,,,,,Define recursion in C. CO5 R 1,1
|
61 |
+
,,,,,Predict the output for the following code.,1
|
62 |
+
,,,,PART β B,Describe the phases of the software development life cycle (SDLC). CO1 U 3,3
|
63 |
+
,,,,,Discuss the order of precedence in C and predict the output of the program.,3
|
64 |
+
,,,,,Write a simple program to find whether a number is positive or negative. CO3 A 3,3
|
65 |
+
,,,,,Explain the Bubble Sort algorithm with an example. CO4 U 3,3
|
66 |
+
,,,,,Describe a function prototype along with its syntax. CO5 U 3,3
|
67 |
+
,,,,,Develop an application in C programming to store 5 customer names and,3
|
68 |
+
,,,,PART β C,17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4,5
|
69 |
+
,,,,,18. a. Explain the logical operators with sample code. CO2 U 5,5
|
70 |
+
,,,,,19. a. Develop a function to count the digits of a number and use it to check,5
|
71 |
+
,,,,,20. a. Define an array and explain the declaration of multidimensional arrays,5
|
72 |
+
,,,,,21. a. Describe structures in the C program and explain how the structure,5
|
73 |
+
,,,,,22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8,5
|
74 |
+
,,,,,23. a. Develop a C program to swap two numbers using the call-by address,5
|
75 |
+
,,,,,24. a. Develop a C program to find the factorial of a given number using the,5
|
76 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,__________ is an entity whose value remains fixed.,1
|
77 |
+
,,,,,Operators having equal precedence are evaluated using __________ of operators.,1
|
78 |
+
,,,,,A ________ statement takes the execution control out of the loop.,1
|
79 |
+
,,,,,A ________ loop is used to ensure that the statements within the loop are executed at least,1
|
80 |
+
,,,,,________ are variables which hold addresses of other variables.,1
|
81 |
+
,,,,,A function can be called either by value or by _________.,1
|
82 |
+
,,,,,The array elements are always stored in __________ memory locations.,1
|
83 |
+
,,,,,A ________ constant is a one-dimensional array of characters terminated by a null.,1
|
84 |
+
,,,,,A ________ is usually used when we wish to store dissimilar data together.,1
|
85 |
+
,,,,,State True or False. All I /O in C is done using standard library functions.,1
|
86 |
+
,,,,PART β B,What are the rules for constructing variable names?,3
|
87 |
+
,,,,,Differentiate between break and continue statements.,3
|
88 |
+
,,,,,What is meant by recursion? What is its benefit?,3
|
89 |
+
,,,,,"With the syntax, explain the function of scanf( ) statement.",3
|
90 |
+
,,,,,Distinguish structure from union.,3
|
91 |
+
,,,,PART β C,16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result.,5
|
92 |
+
,,,,,17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it.,5
|
93 |
+
,,,,,19. Explain with suitable examples the while and do-while looping structure.,5
|
94 |
+
,,,,,20. Write a C program using functions to evaluate the series:,5
|
95 |
+
,,,,,21. What is a function? What are the ways by which a function can be called? Explain with a,5
|
96 |
+
,,,,,22. Write a program using pointers to find the smallest number in an array containing N integers.,5
|
97 |
+
,,,,,23. a. Write a program using strings to read a sentence and do the following:,5
|
98 |
+
,,,,,"24. Write a function that compares two given dates. To store a date, use a structure that contains",5
|
99 |
+
,,,,,1.,5
|
100 |
+
,,,,,1. List some Applications of Database.,5
|
101 |
+
,,,,,2. Define Physical Data Independence.,5
|
102 |
+
,,,,,3. What is sub query?,5
|
103 |
+
,,,,,4. A view relation v is said to be ___________if it depends on itself.,5
|
104 |
+
,,,,,5. An _________ is an object that exists and is distinguishable from other objects.,5
|
105 |
+
,,,,,6. Domain is the set of permitted values for each ____________.,5
|
106 |
+
,,,,,7. A relational schema R is in first normal form if the domains of all attributes of R are,5
|
107 |
+
,,,,,"8. A decomposition is dependency preserving, if ( F1 ο F2 ο β¦ ο Fn )+ = ____________.",5
|
108 |
+
,,,,,9. In ____________ a record can be placed anywhere in the file where there is space.,5
|
109 |
+
,,,,,10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________.,5
|
110 |
+
,,,,,11. Define Instance and Schema.,5
|
111 |
+
,,,,,12. Write short notes on Domain Types in SQL.,5
|
112 |
+
,,,,,13. List Transaction Server Processes.,5
|
113 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,State whether the following condition will evaluate to True or False.,1
|
114 |
+
,,,,,Locate the invalid variable(s) in the following declarations.,1
|
115 |
+
,,,,,Define an Algorithm. CO2 R 1,1
|
116 |
+
,,,,,The data type of the controlling statement of a switch statement,1
|
117 |
+
,,,,,Identify the unconditional branching statement that terminates the,1
|
118 |
+
,,,,,List all conditional control statements used in C CO3 R 1,1
|
119 |
+
,,,,,List the two ways a string can be declared. CO4 R 1,1
|
120 |
+
,,,,,Identify the value of arr[1] from the below line of code,1
|
121 |
+
,,,,,Define recursion in C. CO5 R 1,1
|
122 |
+
,,,,,Predict the error / output in the following program:,1
|
123 |
+
,,,,PART β B,Define any three characteristics of computer. CO1 U 3,3
|
124 |
+
,,,,,List the operator precedence rules used in C programming language. CO2 U 3,3
|
125 |
+
,,,,,Write a simple program to find whether a number is a multiple of 2 or,3
|
126 |
+
,,,,,Explain the Linear search algorithm with an example. CO4 U 3,3
|
127 |
+
,,,,,Describe a function prototype along with its syntax. CO5 U 3,3
|
128 |
+
,,,,,Develop an application in C programming to store 5 user names and CO6 A 3,3
|
129 |
+
,,,,PART β C,17. a. Explain the various parts of a C program along with its features. CO1 U 4,5
|
130 |
+
,,,,,18. a. Explain the arithmetic operators with sample code. CO2 U 5,5
|
131 |
+
,,,,,19. a. Develop a function to count the digits of a number and use it to,5
|
132 |
+
,,,,,20. a. Define an array and explain the declaration of multidimensional,5
|
133 |
+
,,,,,21. a. Discuss how the C structures are declared in detail with example. CO6 U 6,5
|
134 |
+
,,,,,22. a. Write a program in C to add two matrices of MXN order. CO4 A 8,5
|
135 |
+
,,,,,23. a. Develop an application in C using structures to maintain and,5
|
136 |
+
,,,,,24. a. Develop a C program to find the factorial of a given number using,5
|
137 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Define C Instructions.,1
|
138 |
+
,,,,,Write about Logical Operators.,1
|
139 |
+
,,,,,Write about IF STATEMENT.,1
|
140 |
+
,,,,,Define GOTO STATEMENT.,1
|
141 |
+
,,,,,Write about Function in C.,1
|
142 |
+
,,,,,Define Pointer notation.,1
|
143 |
+
,,,,,Write about Array.,1
|
144 |
+
,,,,,Define Pointers.,1
|
145 |
+
,,,,,Write in detail of Enumerated Data Type.,1
|
146 |
+
,,,,,Define Union.,1
|
147 |
+
,,,,PART β B,What is a Conditional operator with examples?,3
|
148 |
+
,,,,,Write down the Control Structure.,3
|
149 |
+
,,,,,Define Recursion in detail.,3
|
150 |
+
,,,,,Explain with example of String Functions.,3
|
151 |
+
,,,,,"Write about fclose(),args, and argv with examples.",3
|
152 |
+
,,,,PART β C,16. Explain in detail about Getting Started with C.,5
|
153 |
+
,,,,,17. Explain in detail about Data types Revisited and Types of Operators with examples.,5
|
154 |
+
,,,,,18. Write in detail about Control Instruction and Decision Control Structure.,5
|
155 |
+
,,,,,"19. Explain nested if else, if else statement and loop control structure with example in detail.",5
|
156 |
+
,,,,,"20. Explain about Case control structure, Switch and Break Statement and goto Statement with",5
|
157 |
+
,,,,,21. Write with examples of,5
|
158 |
+
,,,,,22. Explain about Advanced Features of Functions in detail.,5
|
159 |
+
,,,,,23. Explain with examples on,5
|
160 |
+
,,,,,"24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes.",5
|
161 |
+
,,,,,25. Explain with examples on Array of Structures and Union of Structures.,5
|
162 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,The ___________ header file contains mathematical functions.,1
|
163 |
+
,,,,,C is a ___________level language.,1
|
164 |
+
,,,,,What is a token?,1
|
165 |
+
,,,,,Say true or false:,1
|
166 |
+
,,,,,Multi way selection can be accomplished using an elsif statement or the _________statement.,1
|
167 |
+
,,,,,The parameters used in a function call are called __________parameters.,1
|
168 |
+
,,,,,A variable declared inside a function by default assumes _________storage class.,1
|
169 |
+
,,,,,What is a pointer?,1
|
170 |
+
,,,,,A_________is a collection of data items under the name in which the items share the same,1
|
171 |
+
,,,,,The __________ mode is used for opening a file for updating.,1
|
172 |
+
,,,,PART β B,Draw the block diagram of a computer and explain.,3
|
173 |
+
,,,,,Give the syntax and purpose of gets( ) and puts( ) functions.,3
|
174 |
+
,,,,,Differentiate between break and continue statement.,3
|
175 |
+
,,,,,What are multidimensional arrays? Give an example.,3
|
176 |
+
,,,,,What are self referential structures?,3
|
177 |
+
,,,,PART β C,16. Discuss in detail about:,5
|
178 |
+
,,,,,"17. Explain about the data types, constants and variables in C.",5
|
179 |
+
,,,,,18. Describe about the various operators in C with examples.,5
|
180 |
+
,,,,,19. Explain with syntax and example the input and output statements in C.,5
|
181 |
+
,,,,,20. a. Explain the difference between while do and do while statements with an example. (7),5
|
182 |
+
,,,,,"21. a. With an example program, explaining the difference between call by value and call by",5
|
183 |
+
,,,,,22. What is a storage class? Describe about the types of storage classes in C.,5
|
184 |
+
,,,,,23. a. Write a C program to print the numbers in ascending order using pointers. (7),5
|
185 |
+
,,,,,24. a. What is a structure? Discuss about methods for initializing values to structure variables.,5
|
186 |
+
,,,,,25. Write a C program to read name and marks of βnβ number of students from a user and store,5
|
187 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,List the character set of C.,1
|
188 |
+
,,,,,Define software.,1
|
189 |
+
,,,,,Write the syntax of scanf.,1
|
190 |
+
,,,,,Mention the different type of error.,1
|
191 |
+
,,,,,The ________ is an entry controlled loop statement.,1
|
192 |
+
,,,,,What is recursion?,1
|
193 |
+
,,,,,Define Array.,1
|
194 |
+
,,,,,What is the use of malloc function?,1
|
195 |
+
,,,,,What is union?,1
|
196 |
+
,,,,,What is self-referential structure?,1
|
197 |
+
,,,,PART β B,Write short notes on constants.,3
|
198 |
+
,,,,,Write about input statements in C.,3
|
199 |
+
,,,,,Write notes on break and continue statement.,3
|
200 |
+
,,,,,How will you pass arrays to function?,3
|
201 |
+
,,,,,Give the use of fseek() and ftell() function.,3
|
202 |
+
,,,,PART β C,16. Explain the structure of C program with a neat sketch.,5
|
203 |
+
,,,,,17. Explain various data types in C with example.,5
|
204 |
+
,,,,,18. Describe the different types of operators in C.,5
|
205 |
+
,,,,,19. Explain various input and output statements in C.,5
|
206 |
+
,,,,,20. Explain various control statements in C with example.,5
|
207 |
+
,,,,,21. a. Write a program to find the factorial of a number using recursion.,5
|
208 |
+
,,,,,22. Describe storage classes in C.,5
|
209 |
+
,,,,,23. What is pointer? Write a program to swap two numbers using pointers.,5
|
210 |
+
,,,,,24. What is array within structure? Explain with a program.,5
|
211 |
+
,,,,,25. Write a program to copy the contents of one file into another.,5
|
212 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Define algorithm. CO1 1,1
|
213 |
+
,,,,,Identify the invalid variable(s) in the following declations.,1
|
214 |
+
,,,,,Predict the output of the following program.,1
|
215 |
+
,,,,,Differentiate between = and == operator. CO1 1,1
|
216 |
+
,,,,,Show how the execut ion for do while loop is terminated. CO3 1,1
|
217 |
+
,,,,,The data type of the controlling statement of a switch statement cannot be of,1
|
218 |
+
,,,,,Predict the error / output in the following program:,1
|
219 |
+
,,,,,Predict the error / output in the following program:,1
|
220 |
+
,,,,,Predict the error (if any)/output in the following program.,1
|
221 |
+
,,,,,Give the output of following code.,1
|
222 |
+
,,,,PART β B,Draw the block diagram of computer and describe its components. CO1 3,3
|
223 |
+
,,,,,Write a C program to calculate square of a number using arithmetic operator. CO6 3,3
|
224 |
+
,,,,,"Write a C program to display the consecutive digits 0, 1, 2, β¦. 9, with one",3
|
225 |
+
,,,,,"Write a C program to copy the contents of one character array to another,",3
|
226 |
+
,,,,,Write a C program to find factorial of given number using recursion. CO4 3,3
|
227 |
+
,,,,,Illustrate dynamic memory allocation with suitable example. CO2 3,3
|
228 |
+
,,,,PART β C,23. Q.No 24 is a Compulsory Question),5
|
229 |
+
,,,,,17. a. Discuss the structure of a C program. CO1 6,5
|
230 |
+
,,,,,18. a. Develop a C program to display the memory allocated for primitive datatypes . CO2 6,5
|
231 |
+
,,,,,"19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1+3+5+",5
|
232 |
+
,,,,,20. a. Write a C program to search a substring within a given string. CO5 6,5
|
233 |
+
,,,,,21. a. Write a C program to find fib onacci of given number using function. CO4 6,5
|
234 |
+
,,,,,22. a. Explain the relational and logical operators in C with relavent examples. CO1 6,5
|
235 |
+
,,,,,23. a. Explain the various branching control statements in C with example. CO3 6,5
|
236 |
+
,,,,,"24. a. Discuss Structures. Create a structure variable for the structure Student, and",5
|
237 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,The C language was developed by _________.,1
|
238 |
+
,,,,,Write the use of assignment operator.,1
|
239 |
+
,,,,,What is the use of continue statement?,1
|
240 |
+
,,,,,Write the syntax for switch statement.,1
|
241 |
+
,,,,,What are the reasons for using functions in a C program?,1
|
242 |
+
,,,,,What is a pointer?,1
|
243 |
+
,,,,,Define array.,1
|
244 |
+
,,,,,What are strings?,1
|
245 |
+
,,,,,What is the purpose of getch( ) function?,1
|
246 |
+
,,,,,List out the categories of library functions available for I/O.,1
|
247 |
+
,,,,PART β B,Write the rules for constructing variable names.,3
|
248 |
+
,,,,,Write the use of break statement. Give an example.,3
|
249 |
+
,,,,,Differentiate call by value and call by reference.,3
|
250 |
+
,,,,,Discuss about passing array elements to a function.,3
|
251 |
+
,,,,,Differentiate structure and union.,3
|
252 |
+
,,,,PART β C,16. Explain the various logical operators and bit wise operator.,5
|
253 |
+
,,,,,17. Write short notes on:,5
|
254 |
+
,,,,,18. Explain in detail about various decision control instructions in C.,5
|
255 |
+
,,,,,19. Discuss about various looping statements with examples.,5
|
256 |
+
,,,,,20. What is a function? Explain the advanced features of functions.,5
|
257 |
+
,,,,,21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum,5
|
258 |
+
,,,,,22. Explain about standard library string functions in C.,5
|
259 |
+
,,,,,23. Write a C program to multiply two 3x3 matrices.,5
|
260 |
+
,,,,,24. Discuss about the following with an example.,5
|
261 |
+
,,,,,"25. Write a C program that will read a file and count how many characters, spaces, tabs and",5
|
262 |
+
C# PROGRAMMING,3 hours,CS255,100,PART β A,What is called Reference Type?,1
|
263 |
+
,,,,,What is the use of finally block in C#?,1
|
264 |
+
,,,,,"To override a method in a base class with the same signature, that base class method must be",1
|
265 |
+
,,,,,How to retrieve the element form the ArrayList using foreach statement?,1
|
266 |
+
,,,,,What is the default event of a Button control?,1
|
267 |
+
,,,,,What is the usage of Ad rotators control?,1
|
268 |
+
,,,,,Write any two Data Adapters.,1
|
269 |
+
,,,,,What is the use of sqlDataReader class?,1
|
270 |
+
,,,,,What are in the assembly?,1
|
271 |
+
,,,,,What is SOAP?,1
|
272 |
+
,,,,PART β B,What is the use of the string Insert method?,3
|
273 |
+
,,,,,What is called sealed class?,3
|
274 |
+
,,,,,How can you display items in multiple columns in a list box?,3
|
275 |
+
,,,,,What is called Data Binding? List out the different types.,3
|
276 |
+
,,,,,What is called shared assembly?,3
|
277 |
+
,,,,PART β C,16. What is called Custom exception? How to create Custom exception? Give an example.,5
|
278 |
+
,,,,,17. a. Explain briefly about the various access modifiers. (8),5
|
279 |
+
,,,,,18. How to create an Interface? Explain with suitable example.,5
|
280 |
+
,,,,,19. Explain briefly about the Hash table with suitable example.,5
|
281 |
+
,,,,,20. a. How to create multi window applications? Explain briefly. (8),5
|
282 |
+
,,,,,21. What are called Validation server controls? Explain briefly.,5
|
283 |
+
,,,,,22. What is Complex Data Binding? Explain with example.,5
|
284 |
+
,,,,,23. Write ADO.NET Program to connect and retrieve data from data source using the .NET,5
|
285 |
+
,,,,,24. How to synchronize threads using a monitor? Explain with example.,5
|
286 |
+
,,,,,25. Discuss the security issues in C#.net with example?,5
|
287 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Identify the number of bytes reserved for a float variable in windows 64-bit,1
|
288 |
+
,,,,,Locate the invalid variable(s) in the following declarations.,1
|
289 |
+
,,,,,State any three unary operators. CO2 R 1,1
|
290 |
+
,,,,,Name different types of operators that are included in C. CO2 R 1,1
|
291 |
+
,,,,,__________ statement skips the current iteration and initiates the next,1
|
292 |
+
,,,,,__________ loop is called as exit controlled loop. CO3 R 1,1
|
293 |
+
,,,,,List the two ways a string can be declared. CO4 R 1,1
|
294 |
+
,,,,,Identify the value of num[6] from the below line of code,1
|
295 |
+
,,,,,State the string termination character. CO5 R 1,1
|
296 |
+
,,,,,Predict the output for the following code.,1
|
297 |
+
,,,,PART β B,Draw the block diagram of computer and describe its components. CO1 U 3,3
|
298 |
+
,,,,,Compare and contrast βkeywordβ and βidentifierβ in C with examples. CO2 U 3,3
|
299 |
+
,,,,,Write a simple program to find whether a number is odd or even. CO3 A 3,3
|
300 |
+
,,,,,Write the algorithm for bubble sort program. CO4 U 3,3
|
301 |
+
,,,,,Describe a function prototype along with its syntax. CO5 U 3,3
|
302 |
+
,,,,,What is self-referential structure? Explain. CO6 A 3,3
|
303 |
+
,,,,PART β C,17. a. Explain software development life cycle. CO1 U 4,5
|
304 |
+
,,,,,18. a. Evaluate and write the results of the following expressions.,5
|
305 |
+
,,,,,19. a. Write a C program to find the sum and average of the elements in an array.,5
|
306 |
+
,,,,,20. a. Write the linear search algorithm. CO4 U 6,5
|
307 |
+
,,,,,21. a. Write a C program to determine the roots of a quadratic equation ππ₯ΰ¬Ά+,5
|
308 |
+
,,,,,22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8,5
|
309 |
+
,,,,,23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8,5
|
310 |
+
,,,,,24. a. Develop an application in C to calculate the internal marks and external,5
|
311 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,List any 4 basic data types of C.,1
|
312 |
+
,,,,,C programs are converted into machine language with the help of ___________.,1
|
313 |
+
,,,,,"An expression contains relational operators, assignment operators and arithmetic operators with",1
|
314 |
+
,,,,,___________ loop is useful when we want that the statements within the loop must be executed,1
|
315 |
+
,,,,,Can a function contain more than one return statement? Give explanation for your answer.,1
|
316 |
+
,,,,,___________ is variable which hold the address of other variable.,1
|
317 |
+
,,,,,What is the value automatically assigned to the array element that is not explicitly initialized?,1
|
318 |
+
,,,,,The array elements are always stored in ___________ memory locations.,1
|
319 |
+
,,,,,Can a structure variable be defined as member of another structure?,1
|
320 |
+
,,,,,Is it necessary that a file created in text mode must always be opened in text mode for,1
|
321 |
+
,,,,PART β B,What is the difference between a variable and a constant?,3
|
322 |
+
,,,,,When should break and continue statement be used?,3
|
323 |
+
,,,,,What is recursion? What are the advantages of recursion?,3
|
324 |
+
,,,,,How can array be passed to a function? Explain with example.,3
|
325 |
+
,,,,,Describe union with example.,3
|
326 |
+
,,,,PART β C,16. a. Explain the various conditional statements and logical operators available in c with an example,5
|
327 |
+
,,,,,17. a. Explain the associativity and precedence of operators in C with an example. (8),5
|
328 |
+
,,,,,18. a. Explain the various looping structures that are available in C with examples. (8),5
|
329 |
+
,,,,,19. a. Explain the general syntax and working of switch statement in C with an example. (8),5
|
330 |
+
,,,,,20. a. Discuss the following with suitable C program:,5
|
331 |
+
,,,,,21. How function definition is distinguished from function call? (7),5
|
332 |
+
,,,,,22. a. Write a program using pointers to read in an array of integers and print its elements in,5
|
333 |
+
,,,,,23. a. Explain the various string handling functions with example. (8),5
|
334 |
+
,,,,,24. a. Explain the various file I/O operations with neat examples. (8),5
|
335 |
+
,,,,,25. a. Write short notes on enumeration. (7),5
|
336 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,State the function of a compiler.,1
|
337 |
+
,,,,,List the short hand assignment operators.,1
|
338 |
+
,,,,,What is the use of goto statement?,1
|
339 |
+
,,,,,What is the need for implementing a function?,1
|
340 |
+
,,,,,Define array.,1
|
341 |
+
,,,,,Write the syntax to initialize a one dimensional array.,1
|
342 |
+
,,,,,What is the use of a pointer?,1
|
343 |
+
,,,,,How do you access the members of a structure?,1
|
344 |
+
,,,,,What is the significance of file pointer?,1
|
345 |
+
,,,,,What is meant by βa+β mode?,1
|
346 |
+
,,,,PART β B,Illustrate the use of conditional operator with an example.,3
|
347 |
+
,,,,,Differentiate between break and continue statement.,3
|
348 |
+
,,,,,Define an array to hold the names of 3 cities. Assume that the maximum number of characters,3
|
349 |
+
,,,,,14. Write a short note on self referential structure.,3
|
350 |
+
,,,,,List the different modes in which a file can be opened.,3
|
351 |
+
,,,,PART β C,16. With a neat block diagram explain the organization of a computer. Describe the different types,5
|
352 |
+
,,,,,17. Explain the different types of operators supported in C with an example program. List the,5
|
353 |
+
,,,,,18. Describe about any one branching and looping statement with a suitable program.,5
|
354 |
+
,,,,,19. Write a program to find the sum of N numbers. Use function concept.,5
|
355 |
+
,,,,,20. What is the significance of storage class? Give a detailed description about storage classes.,5
|
356 |
+
,,,,,21. Write a program to check a given N*N matrix for unit matrix.,5
|
357 |
+
,,,,,22. Write a short note on dynamic memory allocation. Explain the concept with an example,5
|
358 |
+
,,,,,23. A Maruti car dealer maintains a record of sales of various vehicles in the following form:,5
|
359 |
+
,,,,,24. Write a program in C language to create a text file.,5
|
360 |
+
,,,,,25. What is the use of command line arguments? Discuss its usage with an example program.,5
|
361 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Find out the value of βaβ after the execution of the statement: βa = 10 > 5 ?1 : 0;β,1
|
362 |
+
,,,,,What is the output of the following program?,1
|
363 |
+
,,,,,What is the purpose of break statement?,1
|
364 |
+
,,,,,Choose the appropriate answer: A do-while loop is useful when we want that the statements,1
|
365 |
+
,,,,,Name the storage class used when global variables are referred inside a function.,1
|
366 |
+
,,,,,What kind of value can be stored in a pointer variable?,1
|
367 |
+
,,,,,Choose the appropriate answer: Array elements are always stored in,1
|
368 |
+
,,,,,Name the string function in C to find the length of a string.,1
|
369 |
+
,,,,,What is the purpose of the escape sequences \n and \b?,1
|
370 |
+
,,,,,What operations are possible with the file opening mode βa+β?,1
|
371 |
+
,,,,PART β B,"Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify.",3
|
372 |
+
,,,,,Write a C program to find the maximum of three integer numbers.,3
|
373 |
+
,,,,,Note down the features of register storage class.,3
|
374 |
+
,,,,,Write a C program to compare whether two strings are equal or not.,3
|
375 |
+
,,,,,"Will the following program be executed without error? If error, what kind of error will it be? If",3
|
376 |
+
,,,,,35;,3
|
377 |
+
,,,,PART β C,16. a. Write down the different logical operators supported by C with their functions. (7+8),5
|
378 |
+
,,,,,17. a. Describe bitwise operators available in C. (10),5
|
379 |
+
,,,,,18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10),5
|
380 |
+
,,,,,"19. a. With syntax, write about switch..case statement. (8)",5
|
381 |
+
,,,,,"20. Explain functions. Also using the program for swapping the values of two variables,",5
|
382 |
+
,,,,,21. a. Write a detailed note on C pointers with suitable examples. (10),5
|
383 |
+
,,,,,22. a. Write a C program for the addition of two matrices. (10),5
|
384 |
+
,,,,,23. Demonstrate the following with suitable examples:,5
|
385 |
+
,,,,,24. a. Describe enumerated data type and its use with an example. (8),5
|
386 |
+
,,,,,25. a. Explain how the structure can be declared and the structure elements can be accessed. (8),5
|
387 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,List the four basic data types. CO1 R 1,1
|
388 |
+
,,,,,Name the input and output functions used in the C programs. CO1 R 1,1
|
389 |
+
,,,,,Define identifiers. CO2 R 1,1
|
390 |
+
,,,,,State some examples of the three integer constants listed below.,1
|
391 |
+
,,,,,Identify the unconditional branching statement that skips the current iteration,1
|
392 |
+
,,,,,List all conditional control statements used in C. CO3 R 1,1
|
393 |
+
,,,,,Indicate the purpose of the return statement. CO4 U 1,1
|
394 |
+
,,,,,Differentiate while and do-while control statements. CO4 U 1,1
|
395 |
+
,,,,,Relate recursion in C. CO5 U 1,1
|
396 |
+
,,,,,Predict the output for the following code.,1
|
397 |
+
,,,,PART β B,List the various types of hardware and software with examples. CO1 U 3,3
|
398 |
+
,,,,,Predict the output of the program.,3
|
399 |
+
,,,,,Write a simple program to find odd or even using a while loop. CO3 A 3,3
|
400 |
+
,,,,,Explain the Linear search algorithm with an example. CO4 U 3,3
|
401 |
+
,,,,,Describe a function. Explain the difference between user-defined and library,3
|
402 |
+
,,,,,Develop an application in C to find the mean of all elements in an array using,3
|
403 |
+
,,,,PART β C,17. a. Explain the error diagnostic and debugging techniques. CO1 U 5,5
|
404 |
+
,,,,,18. a. Explain any four relational operators with sample code. CO2 U 5,5
|
405 |
+
,,,,,19. a. Explain different aspects of function calling with an example. CO5 A 9,5
|
406 |
+
,,,,,20. a. Definean array and explain the declaration and initialization of one-,5
|
407 |
+
,,,,,21. a. Describe a pointer. Explain how the pointer variable is declared and,5
|
408 |
+
,,,,,22. a. Write a program in C to add two matrices of MXN order. CO4 A 8,5
|
409 |
+
,,,,,23. a. Develop an application in C using structures to maintain and display,5
|
410 |
+
,,,,,24. a. Write a recursive function to return the factorial of all the numbers in a,5
|
411 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Name the unit that performs the arithmetic and logical operations on the stored numbers.,1
|
412 |
+
,,,,,Differentiate a variable and a constant.,1
|
413 |
+
,,,,,How is a++ different from ++a?,1
|
414 |
+
,,,,,How is a character string terminated in C language?,1
|
415 |
+
,,,,,State the use of ?: operator.,1
|
416 |
+
,,,,,What is recursion?,1
|
417 |
+
,,,,,State the advantage of pointers.,1
|
418 |
+
,,,,,What are the storage classes available in C language?,1
|
419 |
+
,,,,,State the advantages of structures over an array.,1
|
420 |
+
,,,,,State the modes in which you can open a file.,1
|
421 |
+
,,,,PART β B,Give the data types available in C language.,3
|
422 |
+
,,,,,What are the logical operators available in C language?,3
|
423 |
+
,,,,,Differentiate break and continue.,3
|
424 |
+
,,,,,How can dynamic memory allocation save storage space?,3
|
425 |
+
,,,,,What is a self referential structure?,3
|
426 |
+
,,,,PART β C,16. a. Explain the working of a computer with its block diagram. (7),5
|
427 |
+
,,,,,17. a. Describe the various classes of data types used in C language. (7),5
|
428 |
+
,,,,,18. How are C operators classified? Explain operator precedence.,5
|
429 |
+
,,,,,19. Write notes on input output functions used in C language.,5
|
430 |
+
,,,,,20. a. Explain how multi way decision can be made in C language. (8),5
|
431 |
+
,,,,,21. Explain the different ways of parameter passing in functions,5
|
432 |
+
,,,,,22. a. Explain how pointers could be used to manipulate strings. (8),5
|
433 |
+
,,,,,23. a. Explain how dynamic memory allocation is used in C language. (7),5
|
434 |
+
,,,,,24. a. Differentiate structure and union. (7),5
|
435 |
+
,,,,,25. a. Write short notes on how reading and writing to a file is done. (7),5
|
436 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a variable in C?,1
|
437 |
+
,,,,,Define constant in C.,1
|
438 |
+
,,,,,What are the different data types in C?,1
|
439 |
+
,,,,,Explain the concept of pointers.,1
|
440 |
+
,,,,,What is an array?,1
|
441 |
+
,,,,,Define function in C.,1
|
442 |
+
,,,,,What is recursion?,1
|
443 |
+
,,,,,What is the purpose of the main() function?,1
|
444 |
+
,,,,,What are header files?,1
|
445 |
+
,,,,,Explain the concept of storage classes.,1
|
446 |
+
,,,,PART β B,What is the difference between a for loop and a while loop?,3
|
447 |
+
,,,,,Explain the switch statement with an example.,3
|
448 |
+
,,,,,How do you allocate memory dynamically in C?,3
|
449 |
+
,,,,,What is a structure in C?,3
|
450 |
+
,,,,,Differentiate between structure and union.,3
|
451 |
+
,,,,PART β C,Explain the process of file handling in C.,5
|
452 |
+
,,,,,Discuss the importance of pointers in C.,5
|
453 |
+
,,,,,How do you create a custom header file in C?,5
|
454 |
+
,,,,,What is the use of the 'static' keyword?,5
|
455 |
+
,,,,,Describe the concept of linked lists.,5
|
456 |
+
,,,,,Explain how to implement a stack using an array.,5
|
457 |
+
,,,,,Discuss the difference between call by value and call by reference.,5
|
458 |
+
,,,,,Explain the role of the preprocessor in C.,5
|
459 |
+
,,,,,What are the different types of operators in C?,5
|
460 |
+
,,,,,Write a program to reverse a string using pointers.,5
|
461 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a pointer in C?,1
|
462 |
+
,,,,,Define the term 'array'.,1
|
463 |
+
,,,,,What is a string in C?,1
|
464 |
+
,,,,,How do you declare a function?,1
|
465 |
+
,,,,,What is the purpose of the return statement?,1
|
466 |
+
,,,,,What is the size of an integer variable?,1
|
467 |
+
,,,,,What is a null pointer?,1
|
468 |
+
,,,,,How are strings stored in memory?,1
|
469 |
+
,,,,,What are comments in C?,1
|
470 |
+
,,,,,Explain the use of the sizeof operator.,1
|
471 |
+
,,,,PART β B,What is the use of the 'break' statement?,3
|
472 |
+
,,,,,How do you handle errors in C?,3
|
473 |
+
,,,,,Explain how to create a linked list.,3
|
474 |
+
,,,,,What is a dynamic array?,3
|
475 |
+
,,,,,Explain the difference between '==' and '='.,3
|
476 |
+
,,,,PART β C,Discuss the various data types in C with examples.,5
|
477 |
+
,,,,,Explain how to read from a file in C.,5
|
478 |
+
,,,,,What is the difference between a structure and a class?,5
|
479 |
+
,,,,,Describe the concept of a function pointer.,5
|
480 |
+
,,,,,How do you implement error handling in C?,5
|
481 |
+
,,,,,Explain the concept of multi-dimensional arrays.,5
|
482 |
+
,,,,,Discuss the use of the 'const' keyword.,5
|
483 |
+
,,,,,What is an enumerated type?,5
|
484 |
+
,,,,,Explain the concept of a binary tree.,5
|
485 |
+
,,,,,Write a program to find the factorial of a number using recursion.,5
|
486 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is the syntax for declaring a variable?,1
|
487 |
+
,,,,,Define a constant variable.,1
|
488 |
+
,,,,,What is the purpose of 'main' function in C?,1
|
489 |
+
,,,,,How is memory allocated in C?,1
|
490 |
+
,,,,,What is the difference between an array and a pointer?,1
|
491 |
+
,,,,,Explain the structure of a C program.,1
|
492 |
+
,,,,,What are the types of loops available in C?,1
|
493 |
+
,,,,,What is the difference between 'int' and 'float'?,1
|
494 |
+
,,,,,Define a function prototype.,1
|
495 |
+
,,,,,What is a segmentation fault?,1
|
496 |
+
,,,,PART β B,Explain the use of conditional statements.,3
|
497 |
+
,,,,,What is the difference between 'strcpy' and 'strncpy'?,3
|
498 |
+
,,,,,Describe how to pass an array to a function.,3
|
499 |
+
,,,,,Explain the significance of the 'volatile' keyword.,3
|
500 |
+
,,,,,What are the different types of memory allocation?,3
|
501 |
+
,,,,PART β C,What is the purpose of the 'typedef' keyword?,5
|
502 |
+
,,,,,Discuss the various types of sorting algorithms.,5
|
503 |
+
,,,,,Explain how to implement a queue using an array.,5
|
504 |
+
,,,,,What is the purpose of a destructor in C?,5
|
505 |
+
,,,,,How do you perform file operations in C?,5
|
506 |
+
,,,,,What are the advantages of using pointers?,5
|
507 |
+
,,,,,Discuss the concept of a dynamic stack.,5
|
508 |
+
,,,,,How is string concatenation achieved in C?,5
|
509 |
+
,,,,,What is the role of the 'break' statement in loops?,5
|
510 |
+
,,,,,Write a program to sort an array using the bubble sort algorithm.,5
|
511 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,"What is the output of printf(""%d"", 5 + 2);?",1
|
512 |
+
,,,,,How do you define a constant variable in C?,1
|
513 |
+
,,,,,What does the 'return' statement do?,1
|
514 |
+
,,,,,What is a preprocessor directive?,1
|
515 |
+
,,,,,How can you comment code in C?,1
|
516 |
+
,,,,,What is the purpose of the 'break' statement?,1
|
517 |
+
,,,,,Define a local variable.,1
|
518 |
+
,,,,,Explain the concept of dynamic memory allocation.,1
|
519 |
+
,,,,,What is an inline function?,1
|
520 |
+
,,,,,How is a multi-dimensional array declared?,1
|
521 |
+
,,,,PART β B,What is the difference between a function declaration and a function definition?,3
|
522 |
+
,,,,,Explain the concept of a linked list.,3
|
523 |
+
,,,,,How do you read data from a file in C?,3
|
524 |
+
,,,,,What are command line arguments?,3
|
525 |
+
,,,,,Explain the use of 'malloc' and 'free'.,3
|
526 |
+
,,,,PART β C,How is memory managed in C?,5
|
527 |
+
,,,,,Discuss the use of recursive functions with examples.,5
|
528 |
+
,,,,,Explain how to implement a binary search algorithm.,5
|
529 |
+
,,,,,"What is a hash table, and how is it implemented in C?",5
|
530 |
+
,,,,,What is the purpose of the 'sizeof' operator?,5
|
531 |
+
,,,,,Discuss the concepts of forward and backward declarations.,5
|
532 |
+
,,,,,Explain how to use the 'enum' keyword.,5
|
533 |
+
,,,,,What are the different types of loops in C?,5
|
534 |
+
,,,,,Explain the concept of a binary tree.,5
|
535 |
+
,,,,,Write a program to check if a number is prime.,5
|
536 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is an identifier in C?,1
|
537 |
+
,,,,,Define the term 'function' in C.,1
|
538 |
+
,,,,,What is a macro?,1
|
539 |
+
,,,,,What is the output of 'sizeof(char)'?,1
|
540 |
+
,,,,,How do you declare a constant?,1
|
541 |
+
,,,,,What is the difference between '++a' and 'a++'?,1
|
542 |
+
,,,,,Explain the significance of the 'extern' keyword.,1
|
543 |
+
,,,,,What are logical operators in C?,1
|
544 |
+
,,,,,What is the purpose of the 'continue' statement?,1
|
545 |
+
,,,,,Define a global variable.,1
|
546 |
+
,,,,PART β B,What is the purpose of the 'switch' statement?,3
|
547 |
+
,,,,,Explain how to create a file in C.,3
|
548 |
+
,,,,,What is a binary search tree?,3
|
549 |
+
,,,,,How do you handle errors using 'errno'?,3
|
550 |
+
,,,,,Discuss the importance of modular programming.,3
|
551 |
+
,,,,PART β C,What is the purpose of the 'assert' function?,5
|
552 |
+
,,,,,Explain the use of the 'volatile' keyword.,5
|
553 |
+
,,,,,How is an abstract data type defined in C?,5
|
554 |
+
,,,,,Discuss how to implement a queue using linked lists.,5
|
555 |
+
,,,,,Explain how to create a simple calculator using functions.,5
|
556 |
+
,,,,,What is the role of the 'return' statement?,5
|
557 |
+
,,,,,Describe the different types of loops in C.,5
|
558 |
+
,,,,,What is the purpose of the 'static' storage class?,5
|
559 |
+
,,,,,Explain how to perform string manipulation in C.,5
|
560 |
+
,,,,,Write a program to count vowels in a string.,5
|
561 |
+
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a function pointer?,1
|
562 |
+
,,,,,Define a dynamic array.,1
|
563 |
+
,,,,,What is a prototype in C?,1
|
564 |
+
,,,,,How do you allocate memory dynamically?,1
|
565 |
+
,,,,,What is the purpose of the 'include' directive?,1
|
566 |
+
,,,,,Explain the difference between 'struct' and 'class'.,1
|
567 |
+
,,,,,What does 'extern' mean?,1
|
568 |
+
,,,,,What is an inline function?,1
|
569 |
+
,,,,,What is the syntax for a switch case?,1
|
570 |
+
,,,,,How do you use the 'sizeof' operator?,1
|
571 |
+
,,,,PART β B,Explain how to pass an array to a function.,3
|
572 |
+
,,,,,What is the difference between 'malloc' and 'calloc'?,3
|
573 |
+
,,,,,Describe the use of the 'enum' keyword.,3
|
574 |
+
,,,,,How do you handle file I/O in C?,3
|
575 |
+
,,,,,Explain the importance of header files.,3
|
576 |
+
,,,,PART β C,What is the purpose of the 'const' keyword?,5
|
577 |
+
,,,,,Discuss the importance of memory management.,5
|
578 |
+
,,,,,Explain how to implement a circular queue.,5
|
579 |
+
,,,,,What is the difference between a shallow copy and a deep copy?,5
|
580 |
+
,,,,,What is the significance of the 'return' statement in functions?,5
|
581 |
+
,,,,,Explain how to use the 'strncpy' function.,5
|
582 |
+
,,,,,Describe how to create a linked list.,5
|
583 |
+
,,,,,What is the purpose of the 'volatile' keyword?,5
|
584 |
+
,,,,,Explain the role of the 'break' statement in loops.,5
|
585 |
+
,,,,,Write a program to swap two numbers using pointers.,5
|