Company: Tavant_.MCQ_
Difficulty: medium
What will be the output of the following pseudocode? 1. Declare a List of integers called "numberList". 2. Spawn three threads, each adding a different number to "numberList": 3. - Thread 1 adds 5 4. - Thread 2 adds 10 5. - Thread 3 adds 15 6. Iterate through "numberList" and print each number. The output is unpredictable due to concurrent execution. 5, 5, 5 5, 10, 15 15, 10, 5 What is the output of the following pseudocode? 1. Declare a linked list of strings called "stringList". 2. Add the values "apple", "banana", "cherry" in the order given, to the end of the list. 3. Remove the element from the beginning of the list. 4. Add the value "date" in place of the removed element. 5. Add the value "elderberry" after the existing elements, at the end of the list. 6. Remove an element from the beginning of the list. 7. Print the remaining elements in the linked list in the order they appear. "banana", "apple", "elderberry" "banana", "cherry", "elderberry" "elderberry", "date", "banana" "che