Manny has drafted an email message and configured a delivery option "Do not deliver before: 5:00 P.M. and today's date." He shuts down his computer and leaves for the day at 4:30 p.m. What will happen at 5 p.m.?

Answers

Answer 1

Answer:

The Email will send.

Explanation:

The email will send as long as there is internet connection.

Answer 2

Answer: this isnt an answer but i really need ur help.. did u pass the microsoft unit test? I cant pass it if my life depended on it

Explanation:

Its on edge


Related Questions

A decimal number is called a float.
True
False

Answers

Answer: True

Explanation:

The term floating point is derived from the fact that there is no fixed number of digits before and after the decimal point; that is, the decimal point can float. There are also representations in which the number of digits before and after the decimal point is set, called fixed-pointrepresentations.

Answer:

It's true

Explanation:

Rick is a fan of logic-based games. However, he is bored of the classic ones, like Sudoku and Mastermind, since he has solved so many of them. Recently he found a new game in which one is given a string with some question marks in it. The objective is to replace all of the question marks with letters (one letter per question mark) in such a way that no letter appears next to another letter of the same kind.
Write a function:
def solution(riddle)
that, given a string riddle, returns a copy of the string with all of the question marks replaced by lowercase letters (a-z) in such a way that the same letters do not occur next to each other. The result can be any of the possible answers as long as it fulfils the above requirements.
Examples:
1. Given riddle = "ab?ac?", your function might return "abcaca". Some other possible results are 'abzacd", "abfacf".
2. Given riddle = "rd?e?wg??", your function might return "rdveawgab".
3. Given riddle = "????????", your function might return "codility".
Write an efficient algorithm for the following assumptions:
• the length of the string is within the range [1..100,000);
• string riddle consists only of lowercases letters (a - z) or '?';
• it is always possible to turn string 'riddle' into a string without two identical consecutive letters.
1 # you can write to stdout for debugging purposes, e.g.
2 # print("this is a debug message")
3
4 def solution (riddle):
5
6 # write your code in Python 3.6
7 pass

Answers

Answer:

The function is as follows:

import random

import string

def solution(riddle):

   s = list(riddle)

   for i in range(len(riddle)):

       alpha = "".join(random.choice(string.ascii_letters) for x in range(1))

       alpha = alpha.lower()

       if s[i] == '?':

           if i > 0 and i < len(s)-1:

               if s[i+1] != alpha:

                   s[i] = alpha

               elif s[i-1] != alpha:

                   s[i] = alpha

               else:

                   i=i

           else:

               if i == 0:

                   if s[1] != alpha:

                       s[i] = alpha

                   else:

                       i = i

               else:

                   if s[i-1] != alpha:

                       s[i] = alpha

                   else:

                       i = i

   riddle = ""

   for ele in s:

       riddle+=ele

   

   return riddle

Explanation:

See attachment for explanation where comments are used to explain some lines

In this exercise we have to use the knowledge of the python language to write the code, so we have to:

The code is in the attached photo.

So to make it easier the code can be found at:

import random

import string

def solution(riddle):

  s = list(riddle)

  for i in range(len(riddle)):

      alpha = "".join(random.choice(string.ascii_letters) for x in range(1))

      alpha = alpha.lower()

      if s[i] == '?':

          if i > 0 and i < len(s)-1:

              if s[i+1] != alpha:

                  s[i] = alpha

              elif s[i-1] != alpha:

                  s[i] = alpha

              else:

                  i=i

          else:

              if i == 0:

                  if s[1] != alpha:

                      s[i] = alpha

                  else:

                      i = i

              else:

                  if s[i-1] != alpha:

                      s[i] = alpha

                  else:

                      i = i

  riddle = ""

  for ele in s:

      riddle+=ele

  return riddle

See more about python at brainly.com/question/26104476

what does this mean on a tamagotchi lol (this is the hello kitty one)

Answers

I not sure but I think it’s an apple.

I don't have that tamagotchi

But I do have 2 tamagotchi's

I think it's a cherry on your tamagotchi

Hoped this helped!

Have a wonderful day-

how do engineers communicate their design ideas?

Answers

Answer:

Explanation:

Mechanical engineers give Presentations when they work on projects and Proposals. Often, professional Presentations require you to verbally and graphically present preliminary designs to colleagues.

Hope this helped!!!

3.4 code practice question 2 edhesive

Answers

???????????????????
Is there more to this question??

Which XXX completes the definition of the generic method, avgNum?
public class FindAverage { XXX { long tripleSum; tripleSum = item1.longValue() + item2.longValue() + item3.longValue(); return tripleSum / 3; } }
a. public static long avgNum(long item1, long item2, long item3)
b. public static long avgNum(TheType item1, TheType item2, TheType item3)
c. public static long avgNum(TheType item1, TheType item2, TheType item3)
d. public static avgNum(TheType item1, TheType item2, TheType item3)

Answers

Answer:

Explanation:

The correct piece of code for the generic method in the question would be the following...

public static <TheType extends Number> long avgNum(TheType item1, TheType item2, TheType item3)

This declaration of the avgNum method declares this method as a Generic TheType method that is a subclass of the Number class. It also takes in generic parameters which are the same as the Generic class that was declared. Finally, outputting a long value which would be tripleSum / 3

You work at the headquarters of an international restaurant chain. The launch of your mobile ordering app has been well received in your home country, increasing sales and customer satisfaction while decreasing order wait time and operating expenses. Your team is now ready to expand the mobile app into a handful of international markets. However, you first need to strategize what kinds of adjustments and adaptations will be needed to help ensure the app's success in these various cultural environments. Marketing director: Frankly, I'm a little surprised at the success we've seen with this app here at home. But it makes sense to keep buiding on that momentum You Yes, I think today's customers are indigenously comfortable with internet based technologies, an________ is a natural extension of that phenomenon. The challenge is to figure out how easily the app can be adapted to markets
a. e-business
b. global purchasing
c. language diversity
d. model networking

Answers

Answer: E-business

Explanation:

Based on the information given, a natural extension of that phenomenon is the E-business. E-business which means electronic business is when business is done through the internet.

It should be noted that e-business processes consist of the purchase and sale of goods and services, the processing of payments, servicing customers, sharing information regarding products, managing production control, etc.

What is the main circuit board inside the computer called?CD-ROMY
Video card
ROM
Motherboard

Answers

Hey the motherboard is the main circuit think about it as  a base that all other parts like the ram and video card aka graphics card connect to

Hope this helps

Define a structure Triangle that contains three Point members. Write a function that computes the perimeter of a Triangle . Write a program that reads the coordinates of the points, calls your function, and displays the result

Answers

Answer:

The program in C++ is as follows:

#include <iostream>    

using namespace std;

int perimeter(int side1, int side2, int side3){

return side1+side2+side3;

}

struct Triangle  {

int side1;  int side2;   int side3;

};

int main(void) {

int side1, side2, side3;

cout<<"Sides of the triangle: ";

cin>>side1>>side2>>side3;

struct Triangle T;

T.side1 = side1;

T.side2 = side2;

T.side3 = side3;  

cout << "Perimeter: " << perimeter(T.side1,T.side2,T.side3) << endl;

return 0;

}

Explanation:

See attachment for complete code where comments are as explanation

You have been given an encrypted copy of the Final exam study guide here, but how do you decrypt and read it???

Along with the encrypted copy, some mysterious person has also given you the following documents:

helloworld.txt -- Maybe this file decrypts to say "Hello world!". Hmmm.

hints.txt -- Seems important.

In a file called pa11.py write a method called decode(inputfile,outputfile). Decode should take two parameters - both of which are strings. The first should be the name of an encoded file (either helloworld.txt or superdupertopsecretstudyguide.txt or yet another file that I might use to test your code). The second should be the name of a file that you will use as an output file. For example:

decode("superDuperTopSecretStudyGuide.txt" , "translatedguide.txt")

Your method should read in the contents of the inputfile and, using the scheme described in the hints.txt file above, decode the hidden message, writing to the outputfile as it goes (or all at once when it is done depending on what you decide to use).

Hint: The penny math lecture is here.

Another hint: Don't forget about while loops...

Answers

Answer:

                                               

Explanation:

               

short note about micro miniaturzation​

Answers

Answer:

the manufacture of extremely small versions of electronic devices.

Explanation:

asks

mxskssssksskwlwslskamzmzmsmsmz

Python program
You are given the following text file called Mytext.txt. Write a Python function called search_file that accepts the name of the file (i.e. filename) and a string to look for in the file (i.e. mystring) as parameters. The function then looks for mystring in the file. Whenever it finds the string in a line, it saves the line number and the text for that line in a dictionary. Finally, it returns the dictionary after reading all the lines in the file and populating the dictionary with all matching line numbers and line text. If an empty string or a blank string is passed as mystring then an empty dictionary is returned.
Sample Input: search_file("Mytext.txt","python")
Sample Input: search_file("Mytext.txt","")
Contents of Mytext.txt
Python is an interpreted, high-level, programming language.
Python is dynamically typed and garbage-collected.
Python was conceived in the late 1980s.
Python 2.0, was released in 2000.
Python 3.0, was released in 2008.
The interpreters are available for many operating systems.

Answers

Answer:

The function in Python is as follows:

def search_file(filename,mystring):

my_dict = {}

count = 0

file = open(filename)

lines = file.readlines()

for line in lines:

 count+=1

 if mystring.lower() in line.lower():

  my_dict[count] = line.rstrip('\n')

return my_dict

Explanation:

This defines the function

def search_file(filename,mystring):

This initializes an empty dictionary

my_dict = {}

This initializes the number of lines to 0

count = 0

This opens the file

file = open(filename)

This reads the lines of the file

lines = file.readlines()

This iterates through the lines

for line in lines:

This increments the number line

 count+=1

This checks if the string exists in the line

 if mystring.lower() in line.lower():

If yes, the line number and the string are added to the dictionary

  my_dict[count] = line.rstrip('\n')

This returns the dictionary

return my_dict

Write a method maxMagnitude() with two integer input parameters that returns the largest magnitude value. Use the method in a program that takes two integer inputs, and outputs the largest magnitude value.

Ex: If the inputs are: 5 7 the method returns: 7
Ex: If the inputs are: -8 -2 the method returns: -8

Answers

Answer:

The program in Java is as follows:

import java.util.*;

import java.lang.Math;

public class Main{

public static int maxMagnitude(int num1, int num2){

    int mag = num2;

    if(Math.abs(num1) > Math.abs(num2)){

        mag = num1;

    }

    return mag;

}

public static void main(String[] args) {

 int num1, num2;

 Scanner input = new Scanner(System.in);

 System.out.print("Enter two integers: ");

 num1 = input.nextInt();

 num2 = input.nextInt();

 System.out.println(maxMagnitude(num1,num2));

}

}

Explanation:

The method begins here

public static int maxMagnitude(int num1, int num2){

This initializes the highest magnitude to num2

    int mag = num2;

If the magnitude of num1 is greater than that of num2

    if(Math.abs(num1) > Math.abs(num2)){

mag is set to num1

        mag = num1;

    }

This returns mag

    return mag;

}

The main  method begins here

public static void main(String[] args) {

This declares num1 and num2 as integer

 int num1, num2;

 Scanner input = new Scanner(System.in);

This prompts the user for two integers

 System.out.print("Enter two integers: ");

This gets input for the first integer

 num1 = input.nextInt();

This gets input for the second integer

 num2 = input.nextInt();

This calls the maxMagnitude method and prints the number with the highest magnitude

 System.out.println(maxMagnitude(num1,num2));

}

Mark is six years younger than his sister Teri. Their combined ages equals 86. How old are Mark and Teri?
Mark's age = x
Teri's age = y​

Answers

Answer:

x = 40

y = 46

Explanation is in the image above.

is the minimum level of security mechanism in a
system.
Select one:
O Baseline
O Security model
O Security policy
O Reconnaissance​

Answers

Answer:

Security policy is the minimum

Explanation:

script code written in many languages of the best known: ( C#_PHP_HTML)​

Answers

Answer:

PHP

Explanation:

The best way to answer this question is to interpret it as, which of the three is a scripting language.

Analyzing each of the languages

1. C#

C# is not a scripting language, but instead it is an object-oriented programming language. Also, c# is a compiled language and one of the features of scripting language is that, they are interpreted.

2. PHP

Basically, PHP are used for server side scripting language because it uses scripts and its programs are not for general purpose runtime environment (but instead for special runtime environments).

3. HTML

HTML is neither a programming language, nor a scripting language because its design pattern does not follow that or programming and scripting languages, and it can not perform what an actual programming and scripting language do.

Which of the following best explains how an analog audio signal is typically represented by a computer?
a. An analog audio signal is measured at regular intervals. Each measurement is stored as a sample, which is represented at the lowest level as a sequence of bits.
b. An analog audio signal is measured as a sequence of operations that describe how the sound can be reproduced. The operations are represented at the lowest level as programming instructions.
c. An analog audio signal is measured as input parameters to a program or procedure. The inputs are represented at the lowest level as a collection of variables.
d. An analog audio signal is measured as text that describes the attributes of the sound. The text is represented at the lowest level as a string.

Answers

Answer:

A. An analog audio signal is measured at regular intervals. Each measurement is stored as a sample, which is represented at the lowest level as a sequence of bits.

Explanation:

I took the test

Design a class named Complex for representing complex numbers and the methods add, subtract, multiply, divide, abs for performing complex-number operations, and override toString method for returning a string representation for a complex number. The toString method returns a + bi as a string. If b is 0, it simply returns a.
Provide three constructors Complex(a, b), Complex(a), and
Complex(). Complex() creates a Complex object for number 0 and
Complex(a) creates a Complex object with 0 for b. Also provide
the getRealPart() and getImaginaryPart() methods for returning
the real and imaginary part of the complex number, respectively.
Your Complex class should also implement the Cloneable
interface.
Write a test program that prompts the user to enter two complex numbers and display the result of their addition, subtraction, multiplication, and division.
Here is the main class. It cannot be changed.
import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Enter the first complex number: ");
double a = input.nextDouble();
double b = input.nextDouble();
Complex c1 = new Complex(a, b);
System.out.print("Enter the second complex number: ");
double c = input.nextDouble();
double d = input.nextDouble();
Complex c2 = new Complex(c, d);
System.out.println("(" + c1 + ")" + " + " + "(" + c2 + ")" + " = " + c1.add(c2));
System.out.println("(" + c1 + ")" + " - " + "(" + c2 + ")" + " = " + c1.subtract(c2));
System.out.println("(" + c1 + ")" + " * " + "(" + c2 + ")" + " = " + c1.multiply(c2));
System.out.println("(" + c1 + ")" + " / " + "(" + c2 + ")" + " = " + c1.divide(c2));
System.out.println("|" + c1 + "| = " + c1.abs());
Complex c3 = (Complex)c1.clone();
System.out.println(c1 == c3);
System.out.println(c3.getRealPart());
System.out.println(c3.getImaginaryPart());
}
}

Answers

Answer:

Explanation:

The following code is written in Java, it creates the entire complex class as requested so that it works with the main method that has been provided in the question without having to change anything in the main method. Proof of output can be seen in the attached picture below

import java.util.Scanner;

class Test implements Cloneable{

   public static void main(String[] args) {

       Scanner input = new Scanner(System.in);

       System.out.print("Enter the first complex number: ");

       double a = input.nextDouble();

       double b = input.nextDouble();

       Complex c1 = new Complex(a, b);

       System.out.print("Enter the second complex number: ");

       double c = input.nextDouble();

       double d = input.nextDouble();

       Complex c2 = new Complex(c, d);

       System.out.println("(" + c1 + ")" + " + " + "(" + c2 + ")" + " = " + c1.add(c2));

       System.out.println("(" + c1 + ")" + " - " + "(" + c2 + ")" + " = " + c1.subtract(c2));

       System.out.println("(" + c1 + ")" + " * " + "(" + c2 + ")" + " = " + c1.multiply(c2));

       System.out.println("(" + c1 + ")" + " / " + "(" + c2 + ")" + " = " + c1.divide(c2));

       System.out.println("|" + c1 + "| = " + c1.abs());

       Complex c3 = c1;

       System.out.println(c1 == c3);

       System.out.println(c3.getRealPart());

       System.out.println(c3.getImaginaryPart());

   }

}

class Complex implements Cloneable {

   public interface Cloneable { }

   private double realPart;

   public double getRealPart() {

       return realPart;

   }

   public void setReal(double real) {

       this.realPart = real;

   }

   private double imaginaryPart;

   public double getImaginaryPart() {

       return imaginaryPart;

   }

   public void setImaginary(double imaginary) {

       this.imaginaryPart = imaginary;

   }

   public Complex(double a, double b) {

       realPart = a;

       imaginaryPart = b;

   }

   public Complex(double a) {

       realPart = a;

       imaginaryPart = 0;

   }

   public Complex() { }

   public Complex add(Complex comp2) {

       double real1 = this.getRealPart();

       double real2 = comp2.getRealPart();

       double imaginary1 = this.getImaginaryPart();

       double imaginary2 = comp2.getImaginaryPart();

       return new Complex(real1 + real2, imaginary1 + imaginary2);

   }

   public Complex abs() {

       double real1 = Math.abs(this.getRealPart());

       double imaginary1 = Math.abs(this.getImaginaryPart());

       return new Complex(real1, imaginary1);

   }

   public Complex subtract(Complex comp2) {

       double real1 = this.getRealPart();

       double real2 = comp2.getRealPart();

       double imaginary1 = this.getRealPart();

       double imaginary2 = comp2.getRealPart();

       return new Complex(real1 - real2, imaginary1 - imaginary2);

   }

   public Complex multiply(Complex comp2) {

       double real1 = this.getRealPart();

       double real2 = comp2.getRealPart();

       double imaginary1 = this.getRealPart();

       double imaginary2 = comp2.getRealPart();

       return new Complex(real1 * real2, imaginary1 * imaginary2);

   }

   public Complex divide(Complex comp2) {

       double real1 = this.getRealPart();

       double real2 = comp2.getRealPart();

       double imaginary1 = this.getRealPart();

       double imaginary2 = comp2.getRealPart();

       return new Complex(real1 / real2, imaginary1 / imaginary2);

   }

   public String toString() {

       String result;

       result = realPart + " + " + imaginaryPart + "i";

       return result;

   }

}

For the recursive method below, list the base case and the recursive statement, then show your work for solving a call to the recur() method using any parameter value 10 or greater.

public static int recur(int n)
{
if(n < 1)
{
return 3;
}
else
{
return recur(n / 5) + 2;
}
}

Answers

Answer:

(a): The base case: if(n<1)

(b): The recursive statement: recur(n / 5)

(c): Parameter 10 returns 7

Explanation:

Given

The above code segment

Solving (a): The base case:

The base case is that, which is used to stop the recursion. i.e. when the condition of the base case is true, the function is stopped.

In the given code, the base case is:

if(n<1)

Solving (b): The recursive statement:

The recursive statement is the statement within the function which calls the function.

In the given code, the recursive statement is:

recur(n / 5)

Solving (c): A call to recur() using 10

The base case is first tested

if (n < 1); This is false because 10 > 1

So, the recursive statement is executed

recur(n/5) +2=> recur(10/5)+2 => recur(2)+2

2 is passed to the function, and it returns 2

if (n < 1); This is false because 2 > 1

So, the recursive statement is executed

recur(n/5) +2=> recur(2/5)+2 => recur(0)+2

2 is passed to the function, and it returns 2

if (n < 1); This is true because 0 < 1

This returns 3

So, the following sum is returned

Returned values = 2 + 2 + 3

Returned values = 7

write a complete program for the following situation related to the setting the speed of a car preset values before starting journey. . if speed is less than lower_set_speed, display the message "accelerate" to the screen, increases the cars speed to the lower set speed and output the new speed to screen .if speeds greater than upper_set_ speed, print the message "apply brake" to the new speed to the screen .Give all necessary documentation in the comments, including the file name. .allow the program to exit at the end. .output the speed to the screen. . how many different initial speeds will you need to test this code?

please help me it means a lot​

Answers

Answer:

Explanation:

Please specify which programming language this is supposed to be written in.

Without knowing that, only the last part can be answered "how many different initial speeds will you need to test this code?"

You will need to test at least 3 initial speeds: one below the lower-set-speed, one between the lower- and upper-set-speed and last one which is above the upper-set-speed.

To specify the data sets you want to see for your particular user, you create or select a
d
Select one:
a. Filter
b. View
c. Switch
d. Scope

Answers

Answer:

B

Explanation:

One advantage of animal photography in zoos is that you can often get closer to the animal for your photograph than you would be able to in the wild.

True
False

Answers

Answer:

true

Explanation:

because its live

the answer would be true

A function checkZeros accepts three double parameters. It checks to see if the sum of all three parameters is equal to zero. If this sum is equal zero, the function returns true, otherwise the function returns false. 1. Give an example CALL from main: 2. Write the prototype for the function: 3. Write down the definition (header and body) for the function.

Answers

Answer:

Explanation:

The following code is written in Java. It creates the interface/prototype, the function, and the main method call. The function takes in the three int parameters, adds them, and then checks if the sum equals zero, outputting the correct boolean value. Output can be seen in the picture attached below. Due to technical difficulties I had to add the code as a txt file below.

When dragging a sheet tab to move it, the location of the _______ determines where the sheet tab will be moved.

square
line
arrow
last tab

Answers

the location of the arrow determines it

is used for finding out about objects, properties and methods​

Answers

Answer:

science

Explanation:

Which of the following is the cause of transmission impairment?
Select one:
O Frequency
O Amplitude
O Attenuation
O Phase​

Answers

Answer:

Attenuation is the cause of transmission impairment.

hope it is helpful to you

I have some true or false questions I need help with. 9th grade.**

Handware can be tracked back to ancient times. Over six centuries ago.
True or false.

Hardware is only found in computers.
True or false. I know

Instruments and weaving looms where some of the first pieces of hardware.
True or false.

Computers and hardware is the same thing
True or false.

Answers

Answer:

Hardware can be traced back to ancient times. False

Hardware is only found in computers. False

Instruments and weaving looms were some of the first pieces of hardware. False

Computers and hardware is the same thing. This question is a bit broad but there's many different types of hardware. From keyboards to printers to speakers.

I tried my best not exactly sure though.

You use the fixed manipulator to Group of answer choices round floating-point numbers that are displayed in fixed-point notation to the specified number of decimal places round floating-point numbers that are displayed in scientific notation to the specified number of significant digits format floating-point numbers in fixed-point notation all of the above a and b only

Answers

Answer:

format floating-point numbers in fixed-point notation

Explanation:

Required

Function of fixed manipulator

This question will be answered from the perspective of C++ programming language (however, the explanation is applicable to programming languages that uses fixed manipulators)

Fixed manipulators in C++ is used to set floating point numbers to a stated  fixed point.

Take for instance;

double pi = 3.1415926534;

cout.precision(2);

cout<< fixed << pi;

The third line of the program where the fixed manipulator is used to format pi to 2 fixed point notation.

Hence, the output will be 3.14

Your company has a benchmark that is considered representative of your typical applications. One of the older-model workstations does not have a floating-point unit and must emulate each floating-point instruction by a sequence of integer instructions. This older-model workstation is rated at 120 MIPS on this benchmark. A 3rd -party vendor offers an attached processor that is intended to give a hardware accelerator to your workstation. The attached processor executes each floating-point instruction on a dedicated processor, without emulation. The workstation/attached processor rates 80 MIPS on the same benchmark. The following symbols are used to answer this exercise:

I – Number of integer instructions executed on the benchmark
F – Number of floating-point instructions executed on the benchmark
Y – Number of integer instructions to emulate a float-point instruction
W – Time to execute the benchmark on the processor alone
B – Time to execute the benchmark on the processor/coprocessor combination.

Required:
a. Write an equation for the MIPS rating of each configuration using the symbols above.
b. What is the value of B?
c. What is the MFLOPS rating of the system with the coprocessor?
d. Your colleague wants to purchase the coprocessor even though the MIPS rating for the configuration using the coprocessor is less than that of the processor alone. Is your colleague’s evaluation correct?

Answers

Answer:

a-The equation for processor only configuration is [tex]120\times 10^6=\dfrac{I+YF}{W}\\[/tex] while that for processor and co-processor configuration is [tex]80\times10^6=\dfrac{I+F}{B}[/tex].

b-The value of B is 1.1 second.

c-The value of MFLOPS for co-processor system in configuration 2 is 80 MFLOPS.

d-The evaluation of your colleague is correct.

Explanation:

a

The MIPS rating equations are as follows

Configuration 01 (Processor only)

[tex]120\times 10^6=\dfrac{I+YF}{W}\\[/tex]

Configuration 02 (Processor + Co-processor)

[tex]80\times10^6=\dfrac{I+F}{B}[/tex]

b

From the equation, for processor and co-processor equation the value of B is calculated. For it to be calculated, the I value is calculated from the processor configuration with the following data F= 8 * 10^6 . Y= 50, W = 4 sec:

[tex]I=120\times10^6\timesW-YF\\I=(120\times10^6\times4)-(8\times10^6\times50)\\I=80\times10^6 \text{instructions}[/tex]

Using this value of I gives

[tex]B=\dfrac{I+F}{80\times10^6}\\B=\dfrac{80\times10^6+8\times10^6}{80\times10^6}\\B=\dfrac{88\times10^6}{80\times10^6}\\B=1.1\text{second}[/tex]

The value of B is 1.1 second.

c

The MFLOPS rating of configuration 2 is given as

[tex]\text{MFLOPS}=\dfrac{F}{B-\dfrac{I}{MIPS_{proc+coproc}}}\\\text{MFLOPS}=\dfrac{8\times10^6}{1.1-\dfrac{80\times10^6}{80\times10^6}}\\\text{MFLOPS}=\dfrac{8\times10^6}{1.1-1}\\\text{MFLOPS}=\dfrac{8\times10^6}{0.1}\\\text{Processor+Coprocessor MFLOPS}=80 \text{MFLOPS}[/tex]

So the value of MFLOPS for co-processor system in configuration 2 is 80 MFLOPS.

d

The value of W is 4 seconds while the value of B is 1.1 seconds. Despite being the configuration with lower MIPS, the co-processor configuration has a lower execution rate and thus the evaluation of your colleague is correct.

6.12 LAB: Warm up: Parsing strings (1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill,Allen Ex: Enter input string: Jill, Allen (2) Report an error if the input string does not contain a comma. Continue to prompt until a valid string is entered. Note: If the input contains a comma, then assume that the input also contains two strings. (2 pts)

Answers

Answer:

Explanation:

The following code is written in Python. It is a loop that asks the user for an input. If it contains a comma then it removes whitespace, splits it into two words, and prints each word seperately, and exits the loop. If it does not contain a comma then it prompts the user for another input.

while True:

   string = input("Enter input string: ")

   if ',' in string:

       string = string.replace(" ", '')

       string_split = string.split(',')

       print("First word: " + string_split[0])

       print("Second word: " + string_split[1])

       break

Other Questions
Which region of Georgia received the most rain during Tropical Storm Alberto? Please answer this correctly. The best reason why the last sentence is an effect is because it defines I WILL GIVE BRIANLIST!! ASAP Which major event of the Middle Ages - the Crusades, spread of the Black Death, or the rise of nation states - created the greatest change in Europe, &why? Jeremiah wants to estimate the mean age of students at his large university. He'll sample n students and make a 95%, percent confidence interval for the mean age. He is willing to use =3 years as an estimate of the standard deviation, and he wants the margin of error to be no more than 1 year. Which of these is the smallest approximate sample size required to obtain the desired margin of error? -3.5 x 0.2 =??? ;w;A. -0.7B. 0.7C. -3.3D. -0.7 celia ate 5/8 of a pizza what decimal is equivalent to the fraction of pizza celia ate I carried my plane tickets in my backpack________________A.PreteriteB.Imperfect im quite behind and i dont know how to do this.. thank you Mainland China is controlled by the communist whereas Taiwan is controlled by A. Socialists B. Nationalists C. The Gang of Four D. Japan - Quiz Level EWhat does "base" mean in thispassage? Qu sucede si una clula se encuentra en la fase G0 del ciclo celular? qu clulas nunca salen de esta fase? Plz help me thank you what is the slope of the line. Flora drew the following graph to answer the question. What was her mistake when she drew her graph? The global conflict of the early 20th century was caused by mainly Read and discuss "The Diary of Anne Frank, then answer these questions.Which stage does direction show that Mr. Frank's speech has calmed his daughter? a"She starts down the stairs." b"(...Anne realizes what going into hiding means)" c"(She throws her arms around her father.)" d"(Anne's panic is gone)" Which of the following things is not made of wither fermentation?CheeseYogurtBreadPeanut butterChocolate Army of youth and students in support on ZedongA. BolsheviksB. Black HandC. Green RevolutionistsD. Red Guard 2 ways soviet people lost there freedom