Starting with a queue of characters named line1 with the fol…

Starting with a queue of characters named line1 with the following values   and an empty stack named stk. What would the final contents of stk be when these operations have completed?  Mark out any empty stack nodes -do not exist- with an ‘X’ (example: if queue only contains a, b, c  then ) Note:  Front of the queue here –>  

The ‘closed’ attribute of a file object indicates whether th…

The ‘closed’ attribute of a file object indicates whether the file is open or not. If the file is closed, ‘closed’ attribute returns True. What would be the outcome of the following code? with open(‘input.txt’, ‘r’) as fp:      fp.read() print(fp.closed)

The Constitution granted the president many powers. However,…

The Constitution granted the president many powers. However, the language is vague, and therefore the powers of the president have been used in different ways and have evolved over time. Describe Emergency Presidential Powers.  Identify the Constitutional basis of the powers a president has in an emergency. Explain how it has been used by the President with a specific example.