Answer:
In the given question the correct option is missing, which can be described as follows:
"It transforms binary, null variables into the groups."
Explanation:
These variables are real variables, which could also take up a series of variables, that are either constrained or defined. This can be regarded as a listing. It is used to analyze and convert it, into binary in the following ways, and wrong choices can be described as follows:
- In option a, It can't combine, it only converts.
- Option b and Option c is wrong because, it can't convert numeric, it only convert binary number to dummy variables.
Air bags are always safe. A. True<u> B. False</u>
Answer:
Explanation:
C++ Code
#include <iostream>
#include <cstdlib>
using namespace std;
int main(){
double hour,minute;
cout<<"Enter Hours :";
cin>>hour;
cout<<"Enter Minutes :";
cin>>minute;
minute = minute+15;
if(minute >=60){
hour++;
minute = minute-60;
}
if(hour>23){
hour = 0;
}
cout<<"Hour: "<< hour<< " Minutes: "<<minute;
return 0;
}
Code Explanation
First take hours and minutes as input. Then add 15 into minutes.
If minutes exceeds from 60 then increment into hours and also remove 60 from minutes as hours already incremented.
Then check if hours are greater then 23 then it means new day is start and it should be 0.
Output
Enter Hours :9
Enter Minutes :46
Hour: 10 Minutes: 1
Answer:
Option D Use Amazon SQS to decouple the application components and keep the requests in queue until the extra Auto-Scaling instances are available.
Explanation:
Amazon SQS is a service that user to decouple the application components and keep the request in queue. This is useful to ensure the distribution of message can be done more reliably and without losing the message. Amazon SQS increase the system fault tolerance. Multiple duplicated copies of the message will be stored across several availability zones to ensure the message are always available whenever it is needed.
Answer:
In opp friend function is a function that gives the same access to private and protected data. It is declared in class that is granting access.
Explanation:
#include<iostream.h>
using namespace std;
class Sum
{
int a, b, add;
public:
void input()
{
cout << "Enter the value of l and m:";
cin >> l>>m; taking input from users
}
friend void add(sum &t);
void display()
{
cout << "The sum is :" << z;
}
};
void add(sum & p)
{
p.add = p.a + p.b;
}
int main()
{
sum p1;
p1.input();
add(p1);
p1.display();
return false;
if(display==5)
{
return true; //true is returned if sum is equal to 5
}
else //if they are not the same
{
return false;
}
}