当前位置:网站首页>7.14 - daily question - 408
7.14 - daily question - 408
2022-07-25 00:48:00 【yanlei233】
One sentence per day : May life be safe , cealess happiness
data structure :
- The following sequence is heap _______.( Nanjing University of Aeronautics and Astronautics 2011 year )
A.{75,65,30,15,25,45,20,10}
B.{75,65,45,10,30,25,20,15}
C.{75,45,65,30,15,25,20,10}
D.{75,45,65,10,25,30,20,15}
answer :C
analysis : First write each sequence as a complete binary tree , That is, the first element of the sequence is the root node of the complete binary tree , The second element of the sequence is the left child node of the root node , The third node of the sequence is the right child of the root node of the binary tree , In this way, a complete binary tree is formed according to this Law . Then, if each parent node of the binary tree is larger than its left and right child nodes , In this case , The sequence is the big top pile ; On the contrary, it is a small top pile .C Draw the sequence in the form of binary tree , For the big top pile , The remaining options do not match the heap definition .
expand :
Pile up (Heap) It is a special data structure in computer science , yes The most efficient priority queue . A heap is usually a tree that can be seen as a tree Perfect binary tree Array object of .
The heap always satisfies the following properties :
- The value of a node in the heap is always not greater than or less than the value of its parent node ;
- The heap is always a complete binary tree .

computer network
2. IP The packet must consider the maximum transmission unit MTU(Maximum Transfer Unit) To decide whether to slice the group , there MTU refer to ______ The largest transport unit of the layer .( University of science and technology of China 2013 year )
A. The network layer
B. Transport layer
C. The physical layer
D. The data link
answer :D
analysis :MTU Refer to IP The largest transmission unit of the data link layer below the layer , That's what's down here MAC Data field of frame , barring MAC The fields at the beginning and end of the frame . because IP Datagrams are loaded into MAC The data field in the frame , Therefore, the data link layer is very important MTU The number is IP Maximum length allowed for datagram ( It's the total length , That is, add a data field to the header ).
operating system
3.FAT File system , The external memory allocation method of the file system is :_______. ( University of science and technology of China 2012 year )
A. Continuous distribution
B. Implicit link assignment
C. Explicit link assignment
D. Index allocation
answer :C
analysis : Implicit link pointer on disk , Read the disk every time . A piece of memory used to display the chained structure of files on disk FAT Table to describe , When searching, you can locate it in memory and then read the disk . Much faster than implicit .
expand :
Introduction to external memory allocation method :https://blog.csdn.net/qq_63635872/article/details/123354817
The principle of computer organization
4. Add in complement / In the subtraction unit , Whether double sign bit or single sign bit is used , There has to be ______ circuit , It is usually realized by XOR gate .( Nanjing University of Aeronautics and Astronautics 2015 year )
A. decoding
B. code
C. Overflow judgment
D. displacement
answer :C
analysis : Memory type , Add in complement / In the subtraction unit , Whether double sign bit or single sign bit is used , There must be an overflow judgment circuit , It is usually realized by XOR gate .
All current topics are from @ The official account of King's Road online , The analysis of some topics is supplemented ,
If you have any questions or mistakes, please comment and let us know , Thank you for your support
边栏推荐
- Unity panel control
- Find the median of two numbers in the fourth question of C language deduction (three methods)
- Where is the most formal account opening for futures trading? Capital security?
- Does opengauss support using Sqlalchemy connections?
- Dynamic programming-01 knapsack rolling array optimization
- If real-time intersection with line segments in online CAD drawings is realized
- 第三章 内核开发
- Dynamic kubernetes cluster capacity expansion of airbnb
- 2022 Henan Mengxin League game 2: Henan University of technology K - Rice
- Cloud native observability tracking technology in the eyes of Baidu engineers
猜你喜欢

Detailed usage of iperf

C recursively obtains all files under the folder and binds them to the treeview control

Which automation tools can double the operation efficiency of e-commerce?

Advanced multithreading (Part 2)

Notes on topic brushing (XXII) -- Dynamic Planning: basic ideas and topics

2022 Henan Mengxin League game 2: Henan University of technology K - Rice

What is the root password of MySQL initial installation

Daily question 1 · 1260. Two dimensional network migration · simulation

Install software on kubernetes cluster using helm 3 package manager
![[leetcode weekly replay] game 83 biweekly 20220723](/img/db/c264c94ca3307d4363d3cf7f5d770b.png)
[leetcode weekly replay] game 83 biweekly 20220723
随机推荐
The leftmost prefix principle of MySQL
Usage of atomicinteger (counter)
Internal network mapping port to external network
The font changes with the change of the form
C language force buckle the eleventh question to find the maximum capacity of the bucket. (two methods)
C language force buckle the eighth question of string conversion integer. Ergodic method
Measurement and Multisim Simulation of volt ampere characteristics of circuit components (engineering documents attached)
Leetcode 0123. the best time to buy and sell stocks III: dynamic programming + simulation in constant space
第四章 驱动子系统开发
If real-time intersection with line segments in online CAD drawings is realized
unresolved external symbol [email protected] resolvent
Dpdk based basic knowledge sorting-01
Redis管道技术/分区
Kubernetes application design guide
Number of palindromes in question 5 of C language deduction (two methods)
如果实现与在线CAD图中的线段实时求交点
Leetcode 1260. two dimensional grid migration: two solutions (k simulations / one step)
[icore4 dual core core _arm] routine 22: LwIP_ UDP experiment Ethernet data transmission
Invitation letter | "people, finance, tax" digital empowerment, vigorously promote retail enterprises to achieve "doubling" of economies of scale
Install software on kubernetes cluster using helm 3 package manager