logo

Crowdly

FIT1008-FIT2085 Fundamentals of algorithms - S1 2025

Шукаєте відповіді та рішення тестів для FIT1008-FIT2085 Fundamentals of algorithms - S1 2025? Перегляньте нашу велику колекцію перевірених відповідей для FIT1008-FIT2085 Fundamentals of algorithms - S1 2025 в learning.monash.edu.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

I want to keep track of the number of conflicts and collisions I have. So far, I have observed 4 conflicts and 2 collisions. I add a single item Charlie to the hash table. The hash position for Charlie is 0. What will my updated values be?

0%
0%
0%
0%
100%
Переглянути це питання

What is one disadvantage of Linear Probing?

0%
0%
0%
50%
Переглянути це питання

I have a Hash Table with Linear Probing and lazy deletion. I am searching for an item, and notice whilst searching I skipped over multiple slots marked for deletion. What should I do?

0%
100%
0%
0%
Переглянути це питання

I want to traverse through a Dictionary implemented as a Linear Probing Hash Table, how should I do it?

0%
0%
0%
50%
Переглянути це питання

I want to keep track of the number of conflicts and collisions I have. So far, I have observed 4 conflicts and 2 collisions. I add a single item Charlie to the hash table. The hash position for Charlie is 4. What will my updated values be?

0%
100%
0%
0%
0%
Переглянути це питання

Can separate chaining conflict resolution can be implemented using Array instead of linked nodes? 

100%
0%
0%
Переглянути це питання

Why don't we use an extremely large prime (eg: around 2 million) for the table size?

100%
0%
0%
0%
Переглянути це питання

Which of the following operations is not part of the Dictionary ADT?

100%
0%
0%
0%
Переглянути це питання

1. Briefly describe List ADT giving details about [4]

  • Main property of a List ADT; [2]
  • Key operations of the List ADT. [2]

2. What is the best-case and worst-case complexity of operation insert() for a List ADT, if implemented with an array? Explain the reason for the best and worst case. No explanation no marks. [2]

3. For a sorted list of elements, what is the difference between applying linear search and binary search? Give the best-case and worst-case complexity of both. Explain. [4]

Переглянути це питання

1. Briefly describe a bit-vector, giving details about

  • How an element of a set is represented by means of a bit-vector
  • How bit-vector based sets operate

Give an example of a set and its representation as a bit-vector. [3]

2. What is the best-case and worst-case time complexity of the add() and intersection() operations for a Set ADT, if implemented with an array? (no explanation no marks). [4]

3. What are the main advantages and disadvantages of an array-based implementation of the Set ADT compared to a bitvector-based implementation? State the advantages and disadvantages as separate sections for each. [3]

Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на learning.monash.edu?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!