Нашел в одной книжке список вопросов по базовым типам данных :
что такое основные типы , структуры , массивы , очереди , связные списки , хэш-таблицы , деревья , указатели
Ответы выложу попозже - а пока можете себя проверить :-)
1. What is a numbering system?
2. What is the binary numbering system?
3. What is the purpose of an abstract data type?
4. What is a variable?
5. What is the integer abstract data type group?
6. What does the term “floating-point” mean?
7. What is a character?
8. What is the difference between single and double precision?
9. What is an instance of a structure?
10. What kind of data type is a structure?
11. How do you reference an element of an instance of a structure?
12. What are three major elements of every class definition?
13. What is the difference between a class definition and a structure definition?
14. What is the hexadecimal numbering system?
15. How do you assign an address to a pointer?
16. What value is stored in a pointer variable?
17. Why do you use pointer arithmetic?
18. What is a pointer-to-pointer variable?
19. What is an array of elements?
20. What is an index?
21. What is an array of pointers?
22. What is a multidimensional array?
23. What is the purpose of using a multidimensional array?
24. What is the relationship between a pointer and an array?
25. What is the relationship between a stack and an array?
26. What is the action called that places data on a stack?
27. What is the action called that removes data from a stack?
28. Using an array, how do you determine whether the stack is empty?
29. Using an array, how do you determine whether the stack is full?
30. What is a queue?
31. Where is data organized in a queue stored?
32. What does the term “circular queue” mean?
33. What is the modulus operator used for with respect to circular queues?
34. When would you implement a queue using a linked list instead of an array?
35. What is the action called that places data on a queue?
36. What is the action called that removes data from a queue?
37. What is a linked list?
38. What is an entry in a linked list called?
39. How are nodes linked together in a linked list?
40. What is a doubly linked list?
41. What is the purpose of a doubly linked list?
42. What is used to define a node of a linked list?
43. How do you delete an element from the middle of a linked list?
44. How do you delete a node from the front of a linked list?
45. How do you append a node onto a linked list?
46. How do you put a new node onto the front of the linked list?
47. What condition tells you the linked list is currently empty?
48. What condition tells you there’s only one node on the linked list?
49. What is the size limitation on a linked list?
50. What is the destructor typically used for in a linked list?
51. What is a hashtable?
52. What is the key used for in a hashtable?
53. What is hashing?
54. What is the result of hashing?
55. What is the significance of a hash value?
56. What major problem occurs with hashing?
57. How do you overcome the major problem that occurs with hashing?
58. Ideally, how should a hash function behave with respect to the values it generates? If you feed in a list of keys, what would you expect for the output?
59. Many different hashing algorithms have been developed to provide a more even distribution of hash values. What is the essence of the hashing algorithm—in other words, what do these functions typically have in common?
60. With a hashtable, suppose your dataset gets unexpectedly large and you have an excessive number of collisions. How could you deal with this?
61. How do you insert a node into a hashtable?
62. How do you delete a node from a hashtable?
63. How do you look up a value in a hashtable?
64. How do you list out all the values in a hashtable?
65. How would you check if a hashtable is empty?
66. What is a binary tree?
67. What is the purpose of a branch node in a binary tree?
68. What is the starting node of a binary tree called?
69. What is the node in a binary tree called that spawns another node?
70. What are nodes at the end of a binary tree called?
71. If you have 1,000 nodes in a balanced binary tree, approximately how many comparisons do you need to do to find a particular node?
72. How is the maximum depth of a tree defined?
73. If a binary tree is well balanced, approximately how many nodes are in the tree given the depth of the tree?
74. What condition do you check for to see if a node in a binary tree is a leaf node?
75. How do you delete a node from a binary tree that has two child nodes?
76. How do you delete a node from the binary tree that has one child node?
77. How do you delete a leaf node from a binary tree?
78. What is the basic rule for where the nodes get placed into a binary tree?
79. How do you insert a node into a binary tree?
80. How would you check if a binary tree is empty?
81. What is a recursive function?
82. When searching for a key in a binary tree, what stops the recursive function calls?
83. What is the sequence of function calls to do an “in order” traversal of a binary tree?
84. What is a pointer?
85. What is memory allocation?
86. What does the new operator return?
87. Does Java use pointers?
88. How do you declare an array of pointers?
89. How do you declare an array of pointers to pointers?
90. If an int pointer is incremented using pointer arithmetic, how many bytes is the pointer incremented?
91. How is a binary tree’s depth defined?
92. What is a balanced binary tree?
93. Must all binary trees be balanced?
94. What is the purpose of a key in a binary tree?
95. What is metadata?
96. What is the purpose of the this operator?
97. What does a private access specifier do?
98. If next and previous are pointers to the next and previous nodes, then what does this statement do?
node->next->previous = NULL;
99. What is fifo?
100. What is the purpose of a public access specifier?

Ответ на:
комментарий
от mky

Ответ на:
комментарий
от kto_tama

Ответ на:
комментарий
от alexru

Ответ на:
комментарий
от kto_tama



Ответ на:
комментарий
от cybermafia

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум односвязный список (2015)
- Форум System programming language intended to replace C (2016)
- Форум [cl][asdf2][sbcl-1.0.49] (2011)
- Форум Американская таможня задержала и протестировала программиста :-) (2017)
- Форум RMS ответил с другой стороны солнечной системы (2012)
- Форум Песенка лисперов (2007)
- Форум Нарисовался срачик при попытке мерджа kdbus в ядро (2015)
- Форум За что выгнали Daniel Pocock из Debian? (2020)
- Форум Exim4 + спам (2015)
- Форум Ну не собираеться DRM :((((((!!!! (2007)