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.
Answer:B
Explanation:Showing parts of a whole.
Answer:
Sharon's company has written a new computer program, and she has been asked to find a way to prevent people from copying the software they purchase and giving it to others who have not purchased the software. What can Sharon's company do to make sure a customer who p…
A:
Use DRM.
Explanation:
Use DRM.

Convert
0.625 to binary

Translate 0.625 into a fraction. We all know that 0.5 is ½. We know that the remainder, 0.125, is ⅛. Add them together, and you get ½ + ⅛ = ⅝.
Now, in binary, the positions to the right of the point are , which is ½, ¼, and ⅛ respectively.
⅝ is 5 × ⅛. 5 in binary is 101. So, ⅝ is
= 0.101