Answer:lock
Explanation:its a sicuraty thing
Answer:
Following are the program to this question:
#include <iostream>//defining header file
using namespace std;
void OR_gate()//defining a method OR_gate
{
bool a,b;//defining bool vaiable
cin>>a>>b;//input value
if(a or b)//use if block to check condition
{
cout<<"1";//print message
}
}
int main()//defining main method
{
OR_gate();//calling method OR_gate
return 0;
}
Output:
0
1
1
Explanation:
In the above program, a method "OR_gate" is declared, and inside the method two bool variable "a and b" is defined, which input the value from the user end.
In the next step, an if block is defined, that uses the or gate to check input value and print the value that is equal to 1, and inside the main method, it call the "OR_gate" method.
The answer is D, the standard course of action adopted by a business.
Answer:
a. Compile code
Explanation:
In programming process, the following are important in defining what a program is to do;
i. Purpose: The first step in writing a program is describing the purpose of the program. This includes the aim, objective and the scope of the program. The purpose of a program should be defined in the program.
ii. Input: It is also important to specify inputs for your program. Inputs are basically data supplied to the program in order to perform a task. Valid inputs are defined in the program.
iii. Output: Many times, when inputs are supplied to a program the resulting effects are shown in the outputs. The way the output will be is defined in the program.
iv. Process: This involves the method by which inputs are being mapped into outputs. The process implements the functionality of the program by converting inputs into their corresponding outputs. The process is defined in the program.
Compile code is not a requirement in defining what a program is to do. It just allows the source code of the program to be converted into a language that the machine understands.
Answer:
The answer is "Option C".
Explanation:
It is a way of saving data for additional protection, and it provides an efficiency to connect the lots of hard discs. It uses the optimization techniques, named stages, which is used in unique counts, that will be considered from 0 to 9, and other were incorrect, that can be described as follows:
- The RAID 3 offers synchronization rotation to all discs.
- The RAID 5 uses parallel disc patterning.
- The RAID 0 divides data into the blocks.