Answer:
B is the answer.. pls mark me as brainliest
ctrl+shift+down arrow
Explanation:
Answer:
Bits
Explanation:
The protocol data unit is the representative unit of data in the OSI layer of a network. The OSI system has seven layers.
The physical layer is the first layer of the system and the protocol data unit is represented as bits of data.
Note that the term packet is the PDU for data in the network layer of the OSI network system.
Answer:
Following are the method to the given question:
def copy(s, n):#defining a method copy that takes two parameters
if n <= 0:#definig if to compare n value is less than equal to 0
return ''#return space
else:#definig else block
return s + copy(s, n-1)#use recursive method that return value
print(copy("by",2))#calling method and print value
print(copy("ta",2))#calling method and print value
print(copy("good by ",2))#calling method and print value
Output:
byby
tata
good by good by
Explanation:
In this code, a method "copy" is declared that takes two parameters that are "s and n" inside the method a conditional statement is used which can be defined as follows.
In the if block is used "n" variable that checks n value which is less than equal to 0 if it is true it will return a space value.
In the else block it use the recursive method that returns a value which is a copy of s that is concatenated together.
Answer:
#include<ios>// HEADER FILe
#include<iomanip> // HEADER FILE
using namespace std;// namespace
int main() // main function
{
double tem=103.45632; // variable declaration
cout<<" The outside Temperature is:";
cout<<fixed<<setprecision(2)<<tem; // display
return 0;
}
Explanation:
<u>The following are the description of the program</u>.
- set the required header files and namespaces, then declare the main method and inside the main function.
- Set the double data type variable 'tem' and initialize the value '103.45632'.
- Finally, print the following message and print the output through the cout that is predefined function.