Answer:
Automated Reasoning
Explanation:
Automated reasoning is a type of Natural language understanding(NLP) in computer science that makes logical inferences based on information or data previously gathered. Automated reasoning allows computers make intelligent decisions and reason logically based on data gathered. For example, a system is based to scan online reviews and conclude on the ones that are negative reactions based on previous data.
Answer:
The answer is "2".
Explanation:
In the given question some information is missing, that is "The propagation time for satellite to earth" which is "270 milliseconds" so, the description to this question can be defined as follows:
Given values:
Bandwidth = 64 kbps
Data frames = 512 bytes
Propagation Time (tp ) =270 ms
Change Bandwidth kbps to bps:
1 kb= 1024 bytes
calculated bandwidth= 64 kbps = 64×1024 bps = 65536 bps
1 bytes = 8 bits
512 bytes = 512 × 8 = 4096 bits
Frame length = 4096 bits
Formula
Transmission time (Tt) = Frame length /Bandwidth
Window size = 1+2a
where a = Propagation time/Transmission time
Calculate Transmission time:
Transmission time (Tt) = 4096 / 65536
Transmission time (Tt)= 625 m.sec
Calculate Window size:
Window size = 1+2(270/625)
Window size
= 1+2(0.432)
Window size
= 1+0.864
Window size = 1.864
Window size
= 2
Answer:
I guess c no. is the answer
Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
int main(){
int qty;
float discount = 0;
cout<<"Quantity: ";
cin>>qty;
int cost = qty * 100;
{
; }
cout<<"Cost: "<<cost - discount;
return 0;
}
Explanation:
This declares the quantity as integer
int qty;
This declares and initializes discount to 0
float discount = 0;
This prompts the user for quantity
cout<<"Quantity: ";
This gets input for quantity
cin>>qty;
This calculates the cost
int cost = qty * 100;
If cost is above 1000, a discount of 10% is calculated
{
; }
This prints the cost
cout<<"Cost: "<<cost - discount;
<h2>
Answer:</h2>
i. Number of parameters
ii. Type of parameters
<h2>
Explanation:</h2>
When there are two or more constructors, definitely with the same name, in a given class, then the constructors are said to be overloaded. An overloaded constructor appears declared many times in a class but each time with different number of parameters and/or type of parameters.
For example, given a class Test, the following combination of constructors can exist;
i. public Test(int x){
}
ii. public Test(String m){
}
iii. public Test(int a, String b){
}
<em>The following should be noted;</em>
In the case of combination (i) and (ii), the constructors have the same number of parameters but different type of parameter. In other words, they both have 1 parameter but while the first one has a parameter type of <em>int</em>, the second has a parameter type of <em>String</em>.
In the case of combination (ii) and (iii), the constructors have different number of parameters and of course different type of parameters. In other words, the second constructor has 1 parameter of type <em>String</em> while the third constructor has 2 parameters of types <em>int</em> and <em>String</em>.