C Programming
C Programming
C Programming
[email protected] Switch account
Not shared
1 bit
2 bits
1 Bytes
2 Bytes
Preprocessor directive
Inclusion directive
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 1/16
11/20/23, 1:55 PM C Programming
27. Which of the following points is/are not true about Linked List data * 1 point
structure when it is compared with an array?
Access of elements in linked list takes less time than compared to arrays
Arrays have better cache locality that can make them better in terms of performance
stdlib. h
ctype. h
stdio. h
stdarg. h
True or False
0 or 1
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 2/16
11/20/23, 1:55 PM C Programming
for
while
do-while
Passed by value
Passed by reference
Non-pointer variables are passed by value and pointers are passed by reference
33. Which of the following is the simplest data structure that supports range * 1 point
searching?
AA-trees
K-d trees
Heaps
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 3/16
11/20/23, 1:55 PM C Programming
31. The optimal data structure used to solve Tower of Hanoi is _________ * 1 point
Tree
Heap
Priority queue
Stack
int number;
float rate;
int variable_count;
int $main;
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 4/16
11/20/23, 1:55 PM C Programming
37. Which of the following is the correct way of declaring an array? * 1 point
int javatpoint[10];
int javatpoint;
javatpoint{20};
array javatpoint[10];
LowerCase letters
UpperCase letters
CamelCase letters
18. Which one of the following is a loop construct that will always be * 1 point
executed once?
for
while
switch
do while
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 5/16
11/20/23, 1:55 PM C Programming
Input data
Output data
30. Which of the following data structure can provide efficient searching of * 1 point
the elements?
unordered lists
2-3 tree
treap
32. Which is the most appropriate data structure for reversing a word? * 1 point
stack
queue
graph
tree
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 6/16
11/20/23, 1:55 PM C Programming
Internal
External
Stack
Queue
List
Array
26. The data structure required for Breadth First Traversal on a graph is? * 1 point
Array
Stack
Tree
Queue
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 7/16
11/20/23, 1:55 PM C Programming
128
-128
Hash
Array
Priority Stack
Priority Queue
2 or 4
10
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 8/16
11/20/23, 1:55 PM C Programming
sizeof()
A programming language
A collection of algorithms
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 9/16
11/20/23, 1:55 PM C Programming
Steve Jobs
James Gosling
Dennis Ritchie
Rasmus Lerdorf
28. Which of the following tree data structures is not a balanced binary * 1 point
tree?
Splay tree
B-tree
AVL tree
Red-black tree
29.Which of the following is the most widely used external memory data * 1 point
structure?
B-tree
Red-black tree
AVL tree
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 10/16
11/20/23, 1:55 PM C Programming
40. Which of the following is not the correct statement for a stack data * 1 point
structure?
74
18
22
40
easy to implement
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 11/16
11/20/23, 1:55 PM C Programming
36. How can we describe an array in the best possible way? * 1 point
true
false
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 12/16
11/20/23, 1:55 PM C Programming
24. Which data structure is needed to convert infix notation to postfix * 1 point
notation?
Tree
Branch
Stack
Queue
38. Which of the following is the advantage of the array data structure? * 1 point
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 13/16
11/20/23, 1:55 PM C Programming
Hello World! 34
39. Which one of the following is the process of inserting an element in the * 1 point
stack?
Insert
Add
Push
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 14/16
11/20/23, 1:55 PM C Programming
The value of (a + 1)
Error message
Garbage
This form was created inside of SNS College of Technology. Report Abuse
Forms
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 15/16
11/20/23, 1:55 PM C Programming
https://docs.google.com/forms/d/e/1FAIpQLScZc9BcUAHgLmlb3Jcu5a7nMcdeUnn62EdCAs9EYPiMQpPSVg/viewform 16/16