7 votes 7 votes A symbol table of length $152$ is processing $25$ entries at any instant. What is occupation density? $0.164$ $127$ $8.06$ $6.08$ Compiler Design isro2011 compiler-design symbol-table + – go_editor asked Jun 24, 2016 • recategorized Jun 20, 2022 by Lakshman Bhaiya go_editor 6.2k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 14 votes 14 votes Occupation density = Number of entries / length of symbol table = 25/ 152 = 0.164 (A) Kapil answered Jun 24, 2016 • selected Mar 12, 2017 by Kapil Kapil comment Share Follow See all 0 reply Please log in or register to add a comment.
5 votes 5 votes Occupation density of symbol table is just like load factor of hash table = number of entries / total length of symbol table = 25/152 = 0.16447 Kapil answered Jun 18, 2016 Kapil comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Answer is D n : number of entries in the table f : number of occupied entries in the table P : Occupation density in table, i.e f/n = 25/152 = 0.164 https://bhg2.files.wordpress.com/2012/09/ss_ch2.pdf naga praveen answered Jun 23, 2016 naga praveen comment Share Follow See all 0 reply Please log in or register to add a comment.