Answer:
Option 1: May crash at runtime because it can input more elements than the array can hold
Explanation:
Given the code as follows:
- int[] a = {1, 3, 7, 0, 0, 0};
- int size = 3, capacity = 6;
- int value = cin.nextInt();
- while (value > 0)
- {
- a[size] = value;
- size++;
- value = cin.nextInt();
- }
From the code above, we know the <em>a</em> is an array with six elements (Line 1). Since the array has been initialized with six elements, the capacity of the array cannot be altered in later stage.
However, a while loop is created to keep prompting for user input an integer and overwrite the value in the array started from index 3 (Line 4- 9). In every round of loop, the index is incremented by 1 (Line 7). If the user input for variable <em>value</em> is always above zero, the while loop will persist. This may reach a point where the index value is out of bound and crash the program. Please note the maximum index value for the array is supposedly be 5.
Answer:
Cloud Broker is the correct answer of this question.
Explanation:
A cloud broker is a person or industry government entity acting as an operator between the buyer of a cloud computing service and the buyers of that software
- In a cloud broker would be someone who operates as an interpreter during negotiation involving two or more organizations.
- A cloud broker is a technology platform which utilizes function transmission between multiple third party service suppliers.
Answer:
"Social engineering" is the correct answer for the above question.
Explanation:
- Social engineering is a process, which gives the idea for the hacker or unauthorized user to get inside the system or hack the system.
- It is used to read the humans data or psychologically hack human data.
- It teaches the processor by an attacker to be the master of the authorized user. By this, an attacker can able to know the authorized term with the help of an authorized person.
- The above question asks about the term, which is used to help the hackers to hack the system. This term is known as Social Engineering.
It performs the basic arithmetical, logical, and input/output operations of a computer