Answer:
First_Number =input("Enter your first number")
Last_Number =input("Enter your last number")
tup1=(First_Number, Last_Number)
print(tup1)
Explanation:
The above Python program asks the user to input two numbers, and then it creates a tuple out of it, and finally prints the tuple. Remember tuple uses () and the tuple items are mentioned inside it and are separated by a comma. And we can print tuple fully through the print statement mentioned above in the program. Remember that tuples are immutable, and this means you cannot update or change the values of the tuple. However, you can concatenate two tuples.
Answer 1 :
if Iris had approached Henry, it might had become a personal matter rather than professional. Following the proper protocol is the best way to report in any organization.
Answer 2 :
Yes, Gladys should call the legal authorities. Federal Trade Commission (FTC) is the best agency to file a complaint prevention of corruption within a company.
Answer 3 :
Yes, she should have followed her chain of command because that is one of the many questions that an investigator will ask is if she reported it to her supervisor and human resources. Somehow in companies they use that term when it is somewhat of a legal issue. Internally if she knew the IT director and the security office she could have gone to them along with human resources. Outside I would say start with her local police department and they may have directed her to the proper channel.
Answer 4 :
What Henry did was not ethical even in the slightest. He used the flash drive without permission from the company, he knew he shouldn’t have, but he did it anyway. It is acted in a complete ethical way. If Iris had left this in a coffee station and forgot about it, then it would have been unethical behavior because she knew about it but didn’t whistle blow. There are security laws that get violated in this issue which is why it is unethical and troublesome.
Answer:
See explaination
Explanation:
#include<iostream>
#include<stack>
#include <algorithm> // std::make_heap, std::pop_heap, std::push_heap, std::sort_heap
#include <vector> // std::vector
using namespace std;
void StaticArray()
{
unsigned int array[64536];
for(unsigned int i=0;i<64536;i++)
array[i]=i;
}
void Stack()
{
stack<unsigned int> mystack;
for(unsigned int i=0;i<64536;i++)
mystack.push(i);
}
void Heap()
{
unsigned int myints[64536];
for(unsigned int i=0;i<64536;i++)
myints[i]=i;
vector<unsigned int> v(myints,myints+64535);
make_heap (v.begin(),v.end());
push_heap (v.begin(),v.end());
}
int main()
{
StaticArray();
Stack();
Heap();
return 0;
}
Answer:
Explained below
Explanation:
After the compiling the program it prints "Going to infinite loop" after that i started the timer till 4.5 sec. The program prints more than 4 beeps nearly 6-7 beep messages were printed.
The number "Beep" would always be strictly greater than 4.
Hence, if the above program is run for 7.5 seconds after it prints "Going in an infinite loop", it will print Beep for about 9-10 times. Hence, the number will always be greater than 7