Answer: a) 0,19 seg. b) 3,2 seg. c) 11,5 seg. d) 192 seg.
Explanation:
a) For each pixel in the image, we use 8 bits + 1 start bit + 1 stop bit= 10 bits.
b) If the modem speed changes to 3 Mb/s, all we need to do is just use the same equality, as follows:
c) Now, if we need to transmit a colored image , at a rate of 20 f/sec, we need to calculate first how many bits we need to transmit, as follows:
d) Same as c) replacing 50 Mb/s by 3 Mb/s, as follows:
The time that's required to transmit an image of 1200x800 pixels with 8 bits for gray is 151.6 million seconds.
The time required to transmit an image of 1200x800 pixels with 8 bits for gray will be:
= (1200 × 800 × 8) / 50
= 151.6 million seconds.
The time needed to be at 3 M bits/sec, a representative of download speed of a DSL connection will be:
= 7.68/3
= 2.56 seconds.
Learn more about time on:
Answer:
The DoubleDecimalTest class is as follows:
using System;
class DoubleDecimalTest {
static void Main() {
double doubleNum = 173737388856632566321737373676D;
decimal decimalNum = 173737388856632566321737373676M;
Console.WriteLine(doubleNum);
Console.WriteLine(decimalNum); }}
Explanation:
Required
Program to test double and decimal variables in C#
This declares and initializes double variable doubleNum
double doubleNum = 173737388856632566321737373676D;
This declares and initializes double variable decimalNum (using the same value as doubleNum)
decimal decimalNum = 173737388856632566321737373676M;
This prints doubleNum
Console.WriteLine(doubleNum);
This prints decimalNum
Console.WriteLine(decimalNum);
Unless the decimal variable is commented out or the value is reduced to a reasonable range, the program will not compile without error.
million pairs per week.
Answer:
In this case, the country that produces rye will produce 24 million bushels per week, and the country that produces jeans will produce 64 million pairs per week.
Explanation:
Total labor hour = 4 million hour
Number of bushes produce in 1 hour = 6
⇒total bushes produce = 6*4 = 24 million
∴ we get
The country that produces rye will produce 24 million bushels per week
Now,
Total labor hour = 4 million hour
Number of pairs produce in 1 hour = 16
⇒total bushes produce = 16*4 = 64 million
∴ we get
The country that produces jeans will produce 64 million pairs per week.
Answer:
Earned Value Management (Even)
Explanation:
Even is the best management tool for monitoring the performance of a project by emphasizing the planning and integration of program cost.
B. Initiate a confidential data exfiltration process
C. Look for known vulnerabilities to escalate privileges
D. Create an alternate user ID to maintain persistent access
Answer:
D.
Explanation:
Based on the information provided surrounding this scenario, it can be said that the most likely next course of action would be to create an alternate user ID to maintain persistent access. This would allow the attacker to have continuous access into the network in the case that the system administrators detect that the operator's user ID and password have been compromised. Thus also giving the attacker ample time to infiltrate and find vulnerabilities in the network through an alternate hidden user ID.
Answer:
Explanation:
//C++ program to calculate the number of chocolate bars to consume in order to maintain one's weight.
#include <iostream>
#include <math.h>
using namespace std;
int main() {
float weight,height;
int age,choice;
char gender;
float bmr;
// inputs
cout<<"\n Enter weight(in pounds) : ";
cin>>weight;
cout<<"\n Enter height(in inches) : ";
cin>>height;
cout<<"\n Enter age(in years) : ";
cin>>age;
cout<<"\n Enter gender(M for male , F for female) : ";
cin>>gender;
cout<<"\n Are you :\n 1. Sedentary \n 2. Somewhat active(exercise occasionally)\n 3. Active(exercise 3-4 days per week)\n 4. Highly active(exercise everyday)? ";
cout<<"\n Choice(1-4) ";
cin>>choice;
//calculate bmr based on the gender
if(gender == 'm' || gender == 'M')
{
bmr = 66+(6.3*weight)+(12.9*height)-(6.8*age);
}else if(gender == 'f' || gender == 'F')
{
bmr = 655+(4.3*weight)+(4.7*height)-(4.7*age);
}
// update bmr based on how active the user is
if(choice ==1)
bmr = bmr + (20*bmr)/100;
else if(choice == 2)
bmr = bmr + (30*bmr)/100;
else if(choice ==3)
bmr = bmr + (40*bmr)/100;
else if(choice ==4)
bmr = bmr + (50*bmr)/100;
// output
cout<<"\n The number of chocolate bar that should be consumed = "<<ceil(bmr/230);
return 0;
}
//end of program