Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A, B, and C) in the instruction set. M1 has a clock rate of 80 MHz and M2 has a clock rate of 100 MHz. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows:______
a. Calculate the average CPI for each machine, M1, and M2.
b. Which implementation (M1 or M2) is faster?
c. Find the clock cycles required for both processors.

Answers

Answer 1

Answer:

a) the average CPI for machine M1 = 1.6

the average CPI for machine M2 = 2.5

b) M1 implementation is faster.

c) the clock cycles required for both processors.52.6*10^6.

Explanation:

(a)

The average CPI for M1 = 0.6 x 1 + 0.3 x 2 + 0.1 x 4

= 1.6

The average CPI for M2 = 0.6 x 2 + 0.3 x 3 + 0.1 x 4

= 2.5

(b)

The average MIPS rate is calculated as: Clock Rate/ averageCPI x 10^6

Given 80MHz = 80 * 10^6

The average MIPS ratings for M1 = 80 x 10^6  / 1.6 x 10^6

= 50

Given 100MHz = 100 * 10^6

The average MIPS ratings for M2 = 100 x 10^6 / 2.5 x 10^6

= 40

c)

Machine M2 has a smaller MIPS rating

Changing instruction set A from 2 to 1

The CPI will be increased to 1.9 (1*.6+3*.3+4*.1)

and hence MIPS Rating will now be (100/1.9)*10^6 = 52.6*10^6.


Related Questions

Which of the following is an advantage to using internal databases for​ information? A. Internal information is accurate and complete. B. Internal information is in a form that is useful for making marketing decisions. C. They can be accessed quickly and cheaply. D. Internal information sources are easy to manage. E. The information stored in internal databases is always current.

Answers

Answer:

C. They can be accessed quickly and cheaply.

Explanation:

An internal database is information that can be obtained inside the company through internal networks. This information can be easy to get as it is in the network of the company and you have access to it and it also have a low cost as you don't have pay money to get it. According to this, the answer is that an advantage to using internal databases for​ information is that they can be accessed quickly and cheaply.

The other options are not right because internal information can be  outdated and incomplete if it is not updated by people in the company and it can be found in different forms and it is not always easy to manage as this depends on the applications used and how the company decides to visualize it.

A(n) ____ instruction might look like a meaningless string of 0s and 1s, but it actually represents specific operations and storage locations.

Answers

Answer:

Machine Language

Explanation:

Machine language is a collection of binary digits or bits that the computer reads and interprets.Machine language is the lowest-level programming language (except for computers that utilise programmable microcode).  Machine language is the only language a computer is capable of understanding.  The exact machine language for a program or action can differ by operating system on the computer. The specific operating system will dictate how a compiler writes a program or action into machine language.

[True/False] Mainframes, unlike microcomputers, allow users unlimited and flexible access to computing power.

Answers

Answer:

The given statement is "False".

Explanation:

Mainframes computer are also known big iron computer basically Mainframe computer is used by the big organization when the organization needs to work in the high-level project. The mainframe has big data processing. It is highly used in critical applications such as ERP(Enterprise resource planning).

A mainframe computer is not a flexible computer also they are not potable .microcomputers, are more flexible computers we can easily work on the microcomputers.

So the given statement is False.


Which devices are often used inside of tablets to store data on these devices?
Flash drive
Hybrid drive
MicroSD card
SSD

Answers

Answer:

D

Explanation:

Current tables such as the new iPads use solid state drives to store data.

Visual Basics: 1 ) Write an if/else statement that compares the double variable pH with 7.0 and makes the following assignments to the bool variables neutral, base, and acid:

false, false, true if pH is less than 7

false, true, false if pH is greater than 7

true, false, false if pH is equal to 7

2) Visual Basics: Write an if/else statement that adds 1 to the variable minors if the variable age is less than 18, adds 1 to the variable adults if age is 18 through 64, and adds 1 to the variable seniors if age is 65 or older.

Answers

Answer:

visual basic: 1)

Module PHmodule

   Sub Main()

       'Creating a variable for each entity

       dim ph as double = 0.0, neutral,base,acid as boolean

       'Writing a line to show user what to do

       console.writeline("Enter the pH :")

       'Taking the value

       ph=console.readline()

       'using if & elseif statement for distingushing the values into correct catagories

       if ph<7.0 then

       neutral=false:base=false:acid=true

       elseif ph>7.0 then  

       neutral=false:base=true:acid=false

       elseif ph=7.0 then

       neutral=true:base=false:acid=false

       end if

       'Printing the result

       console.writeline(" Neutral :" & Neutral)

       console.writeline(" base :" & base)

       console.writeline(" acid :" & acid)

       'command for staying in the command prompt for reading the result

       console.readline()

   End Sub

End Module

visual basic: 2)

Module AGEmodule()

  Sub Main()

       'Creating a variable for each entity

       dim age,minors,adults,seniors as integer = 0

       'Taking age from user

       console.writeline("Enter the age")

       age=console.readline()

       'using if & elseif statement for checking the age differnce

       if age<18 then'

       minors +=1

       else if age>18 and age<64 then

       adults +=1

       else if age>64 then  

       seniors +=1

       end if

       'printing result

       console.writeline("minors="&minors)

       console.writeline("adults="&adults)

       console.writeline("seniors="&seniors)

       'command for reading the result  

       console.readline()

  End Sub

End Module

Explanation:

visual basic 1) it is very simple program which allow us to find if the substance is acidic, basic or neutral. we use sim statement for making a variable as double (gives value in decimal) which allow to take a value from the user through console.readline() command and then by using the if statement we apply the condition if the ph is less then, greator then or equal to 7.0 value. thus the program gives us the answer. console.writeline() command is used to print a command on the screen while console.readline() command let us read the lines until we press enter.

visual basic 2)a program which allow us to count and add number of persons according to their age. we use dim statement for creating the variable as integers in which we take the age from user and then after checking it through if statement we increment according to three categories i.e. minors, adults, seniors. the console.writeline() command allow us to print anything on screen and console.readline() allowus to take value while compiling.

thank you...

The Connected Computer Click the Statement on the left, then click the Term on the right that completes the statement. Statement _____ does not allow changing service or bandwidth because a Web site allows illegal media sharing. Buying and selling products via electronic channels such as the Internet is called _____ . You use ____ when your telephone calls travel over the Internet instead of using traditional phone systems. With _____, you can access storage and applications over the Internet. The Internet connects millions of computers connected through millions of ____ worldwide. A.Term Net B.neutrality networks C.e-commerce D. VoIP E. cloud computing

Answers

Answer:

1. Net neutrality

2.E-commerce

3.VOIP

4.Cloud Computing

5.Networks

Explanation:

Notable from the above is net neutrality that holds the principle that internet service providers should never block out out or limit certain content or application on the internet and therefore all internet traffic should be treated equally regardless of the source if the traffic. This ensures there is impartiality on the internet and we are all on level playing ground.

Final answer:

The answers to the matching exercise are: (1) Net neutrality (2) e-commerce (3) VoIP (4) cloud computing (5) networks. These terms relate to the legal, economical, and technical aspects of the internet and web-based technologies.

Explanation:

The student's question appears to be a part of an interactive matching exercise related to the understanding of internet-related terminology. Below are the correct completions for the provided statements:

Net neutrality does not allow changing service or bandwidth because a Web site allows illegal media sharing.

Buying and selling products via electronic channels such as the Internet is called e-commerce.

You use VoIP when your telephone calls travel over the Internet instead of using traditional phone systems.

With cloud computing, you can access storage and applications over the Internet.

The Internet connects millions of computers connected through millions of networks worldwide.

You have a team of desktop support specialists to help you manage the needs of a large department. You want a few of the less-experienced specialists to be able to help you support users when they need their TCP/IP configuration modified or their IP addresses released or renewed.You don't want to give them the unrestricted access that comes with being a member of the Administrators group if you don't have to.Which built-in Windows group should they be assigned to?

Answers

Answer:

Network Configuration Operators

Explanation:

Based on the information provided within the question it can be said that in Windows, especially Windows 10 these individuals can be assigned to the Network Configuration Operators in the build-in windows group. This group will give them the access they need to be able to modify network configurations such as modifying or renewing IP addresses, but will not give them access to other Administrator privileges.

If they spend all night writing computer programs, Laurence can write 10 programs, and Carrie Anne can write 5. If they spend all night making sunglasses, Laurence can make 6 pairs, and Carrie Anne can make 4. Given this information and supposing Laurence and Carrie Anne have constant opportunity costs, we know that _____ has an absolute advantage in _____.

Answers

Answer:

*Laurence* has an absolute advantage in *programming*

Explanation:

we know that Laurence has an absolute advantage in both program writing and making sunglasses because

as seen above Laurence can write 10 programs over 5 of Carrie Anne.

also Laurence can make 6 pairs over 4 of Carrie Anne.

Arnold Smith is a former hacker and programmer for an underground investigative journalism organization that focused on hacking government and corporate systems in order to leak information on criminal activity. Now, he regularly speaks to organizations on how to protect themselves against similar threats. In his presentations, which of the following would he NOT include as a factor that contributes to the increased vulnerability of information systems and why?

Answers

Answer:

Increased skills required to be a hacker because the skills required have decreased due to sophisticated software and easily accessible hacking scripts.

Explanation: A Hacker is a person or an organization which secretly and criminally steal or collects specific and critical details or information from another person or Organisations by using malicious softwares or through a stollen password. Hacker gain access into people's system and secret information illegally and it is punishable under the Law. He would not include increased skills required to be a Hacker, because of the sophisticated softwares available.

Final answer:

Arnold Smith would not include investigating hackers' motivations in his presentations on protecting against cyber threats.

Explanation:

Arnold Smith, in his presentations on protecting against cyber threats, would NOT include investigating the motivations of hackers as a factor contributing to increased vulnerability of information systems. While understanding hackers' profiles is essential, his focus is likely on preventive measures and cybersecurity protocols rather than hacker psychology.

Which of the following is not the name of a java wrapper class from the Java API?
-byte
-Int
-Long
-Boolean
I am confused on this one

Answers

Answer:

Int

byte

Explanation:

In java there are eight primitive data types has a class dedicated, and then we can find eight wrapper classes, I'm going to let you the next table with the 8 example:

Assume the next table byte and Int are primitive data, the different with byte is only the capital letter Byte.

Primitive Wrapper Class

boolean         Boolean  

byte                 Byte  

char                 Character

int                 Integer  

float                 Float  

double         Double

long                 Long  

short         Short

Many computer programs contain ____ that detail the specific instructions a computer should perform (in a specific order) to carry out a specified task, such as calculating employees' paychecks or printing students' report cards.

Answers

Answer:

Algorithms.

Explanation:

Computer system is an electronic machine that receives input data, processes or executes these data and outputs the results. It comprises of two parts, the hardware and software components.

The computer receives data created by a process and inputted by individuals. The software components are the operating system and the application softwares running in the operating system. The application software follows a well defined stages of task to execute a task. This is called algorithm.

The application uses the algorithm to execute the task on the input data to give the required result.

What is usually needed to get both a work calendar and a personal calendar to show in the same place on a mobile device?
A plug-in
An add-in
An app
Permission sharing

Answers

Answer:

Permission sharing

Explanation:

As each calendar represents a set of data that has Share preferences, you can switch it from being isolated on a desktop computer let's say, to shared on a mobile device. Since these two are not separate programs or apps, no plug-ins are needed. Also, this is not an add-in functionality. All you need to do is set the Share preferences on each calendar. Then they will become integrated on the selected device.

Describe how you could obtain a statistical profile of the amount of time spent by a program executing different sections of its code. Discuss the importance of obtaining such a statistical profile

Answers

Answer:

Explanation:

It can be said that the best way to obtain such a statistical profile would be to issue a periodic timer interrupt, then you would simply need to monitor which what code was running when the interruption took place. This information is especially helpful to the programmers as it would allow them to optimize the specific sections of the code that are consuming the most CPU resources, and thus making the overall program more efficient.

You have a user who takes his laptop home every day after work. When he's working in the office, the laptop must get an IP address from the DHCP server so you configure it to obtain IP and DNS information automatically. When he's working from home, the laptop must use IP and DNS information that connects with his home network.Which IP addressing method can you use to make sure he gets a network connection at home?

Answers

Answer:

Alternate IP configuration

Explanation:

Based on the information provided within the question it can be said that the best method that can be used would be Alternate IP configuration. This is a feature that is implemented in most adapter's TCP/IP settings, which allows the individual computer to switch to a new and specific IP address that will allow that computer to communicate with various devices in the private network. This also allows the network adapter to pull the address that is needed from the DHCP server, such as the individual in this scenario needs.

Help! I turned on my computer and this screen came on out of nowhere, I don't know what to do to fix it.

Answers

Here are the steps I would do:

Do a "hard" power off. Hold the power key until the screen turns off. Wait 10 seconds. Turn it on. If it still shows the screen... then i'm not sure.

The error is occurring because it has nothing to boot off of. It's probably something wrong with your hardware. The instructions say for you to insert a "boot disk" and press any key.

Answer:

Your boot device is corrupted

Explanation: Please use startup repair  if you have data on hard drive ,if data is not problem please reinstall os .

Which is the first step in a thermal printer printing process?
A feed assembly feeds the paper through the printer
Rollers grab paper from a tray
The fuser heats up and prepares for printing
The print heads heat up and render a print

Answers

Answer:

Then, when you're about to actually generate the Shipping label: Select the desired Shipping Label size for your thermal label printer. Click OK to generate the shipping label.

     Hope this helps :)

A PHP variable name a. can be a PHP reserved word b. can start with a letter, a digit, or two underscores c. can contain special characters d. is case-sensitive

Answers

Answer:

The correct answers are c. can contain special characters d. is case-sensitive

Explanation:

Variable can be referred to as a container used for storing values such as numeric values, memory addresses, characters, character string so it can be used in any part of the program. Every programming language has rules that you must strictly follow while naming a variable, and some of the rules for naming variable in PHP are A variable name can contain letters, numbers, and characters  after the first character and A variable name is case sensitive.

Employee badges are encoded with a private encryption key and specific personal information.
The encoding is then used to provide access to the network. Which of the following describes this access
control type?
A. Smartcard
B. Token
C. Discretionary access control
D. Mandatory access control

Answers

Answer:

Option A is the correct answer for the above question.

Explanation:

The above question states that there is some encoded information provided to the employee to access the internet. So how it can be provided. So it is provided with the help of a Smartcard. It is because the smart card is used to hold the secret information which can understand by the swap machine only and it helps the employee to access the internet. So option A is the correct while the other is not because:-

Option B states about the token which is used for the one time only.Option C states about the "Discretionary access control", which is a mechanism to secure the information.Option D states about the Mandatory access control, which is also a mechanism to secure the information.

Cisco's acquisition of Pure Digital, makers of the Flip video camera line, was largely considered a flop because comparable technology soon became a feature in other popular consumer electronics products.True / False.

Answers

Answer:

True

Explanation:

Answer:

True

Explanation:

Cisco is a tech company that is focused on information technology devices development and sales. It has dominated the networking technology industry for many year and are wide used around the world in IT sectors.

They purchased the pure digital company for their flip video camera line, which was a portable mobile camera.

But as smartphones evolved, so many features like the GPS, radio, wifi, recorder and including cameras were integrated to these phones, Cisco shutdown the company to focus on their company line.

The creation of​ __________ with digital media allows for large quantities of numerical or textual data to be searched online by data points and trends. A. reference materials B. orientations C. comments and critiques D. summaries E. narratives

Answers

Answer:

Option A- Reference materials

Explanation:

Reference Materials A digital reference library that provides more than 600 high-quality reference books from the world's leading publishers to be searched online by data points and trends

Answer:

A. reference materials

Explanation:

Advantage:

Digital resources are materials composed of digital media and produced in order to facilitate the development of activities.There are many tools to create, modify and publish materials.Examples resources  (blog, google sites, digital books).Tools to create digital materials (Pixlr,  Screencast-O-Matic, Prezi, PowToon).

Which method do software testers use to isolate new code from the rest of the network during the test stage of the software development life cycle (SDLC)? Sandboxing Obfuscation Encryption Code signing

Answers

Answer:

Sandboxing.

Explanation:

SDLC or software development life cycle is a systematic approach to software development. It marks the birth and death of an application.

The application development starts from the research of the properties of the application to the design and development or implementation of the application.

After the implementation of the software, it is tested, comparing the design and the codes in the development process. The sandboxing testing process helps to isolate and test new lines of code added during the testing phase.

Question _.1 with 1 blankMiguel y Maru están muy cansados. Question 2 with 1 blankFelipe es muy joven. Question 3 with 1 blankJimena es muy inteligente. Question 4 with 1 blankLa madre de Marissa está muy contenta. Question 5 with 1 blankEstoy muy aburrido.

Answers

Answer:

Miguel y Maru están muy cansados.  - Miguel y Maru están cansadísimos

Felipe es muy joven. - Felipe es jovencísimo

Jimena es muy inteligente. - Jimena es inteligentísima

La madre de Marissa está muy contenta. - La madre de Marissa está contentísima

Estoy muy aburrido. - Estoy aburridísimo

Explanation:

In this activity we have to switch the statements to the absolute superlative of the expressions. In Spanish we can add the suffix -ísimo to an adjective to refer to the highest degree of something. It can be translated in ENglish to "really, extremely, super or quie". The statements in English are:

- Miguel and Maru are very tired - Miguel and Mary are extremely tired

- Felipe is very young - Felipe is super young

- Jimena is very smart - Jimena is really smart

- Marissa´s mother is very happy - Marissa´s mother is extremely happy

- I´m very bored - I´m super bored

The while loop has two important parts: (1) a boolean expression that is tested for a true or false value, and (2) a statement or block of statements that is repeated as long as the expression is true.A.TrueB.False

Answers

Answer:

True is the correct answer for the above question.

Explanation:

The loop is used to repeat some specifies tasks for a finite amount of time. It is of three types:- For, Do-while and While.The While Loop is a Loop that has two things:- 1. The condition is used to decide that the loop statement executes or not and 2. Some line of the statement which holds the operation which helps the condition to be false after a finite iteration of the loop, so the loop executes finite times.The question-statement also wants to state which is described above. Hence the Question statement is a true statement.

Answer:

The given statement is "True".

Explanation:

The while loop is iterating the condition when the condition is true if the condition which is given inside the while loop parenthesis is false it will not iterating the loop that's why sometimes while is also known as an Entry control loop. The while loop has tested the condition for a true or false value that's why the first statement is true.

In the second statement, the statement inside the while loop is executed until the condition of while loop is true when the condition id False it stops the execution of a while loop that's why the second statement is true.

"In spreadsheet programs, labels and constant values are always copied exactly to the new location; what happens to formulas when they are copied depends on whether they use relative cell referencing or__________

Answers

Answer: Absolute cell referencing

Explanation:

 The absolute cell referencing is one of the type of cell reference address that basically contain the dollar sign in the spreadsheet applications. It is one of the important element as it helps in referring the constant values in the spreadsheet programs.

The absolute cell referencing is copied and also moved from one cell to another in the new location.The size and also the shape are also remain constant in the spreadsheet.

According to the given question, the absolute cell referencing is also known as the relative cell referencing as they use the formulas for copied the values in the microsoft office excel for find out the data.

 Therefore, Absolute cell referencing is the correct answer.

When you create a class and want to include the capability to compare its objects so they can use the Array.Sort() or Array.binarySearch() method, you must _________

a.) Include at least one numberic field within the class
b.) Write a CompareTo() method for the class
c.) Be careful not to override the existing IComparable.CompareTo() method
d.) Two of these are true

Answers

Answer:

Option B.

Explanation:

It is the String function of the Java Programming Language that is used to replace the string characters from the Unicode value for matching of both the strings are similar, it results 0, otherwise, it results positive or negative number.

So, CompareTo() function is used to match objects of Array.Sort() or Array.binarySearch() function.

Drag the correct type of update to its definition.
PRL
PRI
Baseband
The connection between a mobile device and radio tower
The chip that controls the radio frequency waves within a device
A list of radio frequencies

Answers

Answer:

 

Explanation:

Baseband: The chip that controls the radio frequency waves within a device, is a range before to become in a different frequency range, for example, an audio frequency when is transmitted is a radio frequency.

The Preferred Roaming List (PRL) is a list of radio frequencies, and a database there residing in a wireless device like a cellphone.

PRI The chip that controls the radio frequency waves within a device.

Final answer:

PRL is a list of radio frequencies for roaming, PRI provides network behavior settings, and Baseband is the chip controlling radio frequency waves for communication between mobile devices and radio towers.

Explanation:

The terms PRL, PRI, and Baseband are all related to cellular network technology which involves communication between a mobile device and the radio towers that facilitate wireless connectivity. Here is a breakdown of each term matched to its definition:

PRL (Preferred Roaming List): This is a database residing in a mobile device that contains a list of radio frequencies. The PRL tells the device which bands, sub-bands, and service provider IDs will be used when trying to connect to a radio tower, thus enabling roaming.PRI (Product Release Instructions): This provides configuration information to the device, including protocols and settings that control how the device behaves on the network.Baseband: This refers to the chip within the mobile device that controls the radio frequency waves, functioning as the main communication processor for sending and receiving signals to and from the radio tower.

All of these components are vital for a mobile device to effectively communicate within a network that is distributed over land areas called 'cells', ensuring that voice, data, and other types of content can be transmitted wirelessly over a wide geographic area.

Which of the following statements about online research is​ correct? A. Experiments cannot be conducted online. B. The Internet is especially well suited to qualitative research. C. Online surveys generally have higher response rates than those conducted by mail or phone. D. Online research is only feasible for large companies. E. It is more expensive to conduct online research than using​ mail, phone, or personal interviews.

Answers

Answer:

Research involves information from the internet. Online surveys, questionnaires, forms, focus group, are some tools used for online research that gather data for analysis.In a given option, I think Online surveys have a high response than conducted by mail or phone.

Explanation:

Conduct Online research :

Define the topicIdentify which filed will address for online researchDetermine the list of itemsEvaluate the topicOrganize the material

Online research could either be qualitative or quantitative.

Tools:

Some online tools are Google Trends, Omgili, Spezify, and many more.

Assume that a bool variable is Quadrilateral has been declared, and that an int variable, number Of Sides has been declared and initialized. Write a statement that assigns the value of is Quadrilateral to true if number Of Sides is exactly 4 and false otherwise.

Answers

Answer:

     if (numOfSides==4){

         isQuadrilateral=true;

     }

     else {

         isQuadrilateral = false;

     }

Explanation:

See below a complete program that prompts user to enter number of sides of the triangle

import java.util.Scanner;

public class TestClock {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter the number of sides of the triangle");

       int numOfSides = in.nextInt();

   boolean isQuadrilateral;

    if (numOfSides==4){

         System.out.println("This is Quadrilateral");

         isQuadrilateral=true;

     }

     else {

         System.out.println("This is not Quadrilateral");

         isQuadrilateral = false;

     }

   }

}

The PCI sound card in your computer has stopped working. You decide to use the motherboard's integrated sound until you can replace the PCI sound card. After removing the PCI sound card and powering on the computer, you have no sound, and the built-in sound card does not show up in Device Manager. Which should you do to solve the issue?

Answers

Keep the PCI sound card in until you get a new one, otherwise you will not have sound. The integrated sound still requires some kind of sound card.

Final answer:

To resolve the issue with the unrecognized integrated sound card, check and enable it in BIOS settings, examine Device Manager for hardware conflicts, ensure proper drivers are installed, and consider a system restore or contacting support.

Explanation:

When the integrated sound card is not recognized after removing a PCI sound card, you'll need to perform a few troubleshooting steps. Firstly, ensure that the integrated sound card is enabled in the BIOS settings. You might need to restart your computer and press a specific key (such as F2, Del, or F10) to enter the BIOS setup. Once there, look for audio settings and ensure the onboard audio is enabled.

Next, check for hardware conflicts or issues in Device Manager, even though the sound card is not listed. View hidden devices to ensure there are no conflicts with the sound card's drivers. If necessary, install the correct drivers for your motherboard's audio chipset from the manufacturer's website.

If the problem persists, consider performing a system restore to a point when the sound was working, or consult the motherboard manual for troubleshooting tips, or contact customer support for your motherboard.

Write a statement that uses a conditional expression that determines if the credits variable is less than 0. If the condition is true, assign the value 0 to the credits variable, otherwise the value of the credits variable should remain unchanged.

Answers

Answer:

The statement and the expression is "credits = credits<0?0 : credits;" for the above question.

Explanation:

The conditional expression is an expression that is used to determine the true and the false case. It works like the if and the else statement.It has three parts which are shown above, in which the first part is to check the condition, the second part is excuted if the condition is true and the third part is executed if the condition is false. The variable is used to assign the value.If any user provides the credit value and writes the above statement then the credit variable holds 0 for negative value and it holds the original value for any positive or zero value.
Other Questions
You were planning to spend Saturday working at your part-time job, but a friend asks you to go skiing.Which of the following are included in the true cost of going skiing? Check all that apply.a.The rental of any ski equipment you needb.The cost of a lift ticketc.The cost of your ski jacket you purchased last yeard,The wages you forgo by going skiing Ovulation typically produces just one egg per cycle. Why does ejaculate contain more than just one sperm? Click to review the online content. Then answer the question(s) below, using complete sentences. Scroll down to view additional questions.StressWhich body system is responsible for sensing stress? Identify three ways the body reacts to stress. (Site 1) his geologic era is known as the age of aquatic plants and animals. a. Precambrian b. Mesozoic c. Cenozoic d. Paleozoi Which schedule of reinforcement presents the reinforcer at the end of a predetermined interval, contingent on the number of responses emitted during the interval being greater than a gradually increasing criterion based on the individual's performance in previous intervals? Fraction calculator 66 1/2 - 43= Select the correct verb form to complete each of the following sentences.Members of the committee ____ issued a mobile phone and one roll of stamps. Neither the CEO nor the CFO _____any recollection of the illegal funds transfer. Mr. Adams and his assistant______ planning to attend the annual technology showcase. The finance committee _______planning their vacations around the annual June meeting.Everything in my home office _____ to stop functioning when I need it the most. Read the passage and answer the question.It is likewise most lamentable to think, how in taking Negros out of Africa, and selling of them here, That which GOD has joined together men do boldly rend asunder [Matt. 19:6]; Men from their Country, Husbands from their Wives, Parents from their Children. How horrible is the Uncleanness, Mortality, if not Murder, that the Ships are guilty of that bring great Crouds of these miserable Men, and Women. Methinks, when we are bemoaning the barbarous Usage of our Friends and kinsfolk in Africa: it might not be unseasonable to enquire whether we are not culpable in forcing the Africans to become Slaves amongst our selves. And it may be a question whether all the Benefit received by Negro Slaves, will balance the . . . cash laid out upon them; and for the Redemption of our own enslaved Friends out of Africa. Besides all the Persons and Estates that have perished there.How does Sewall appeal to Christians in this excerpt? Briefly explain your answer. (100 words) What is the significance of the fact that there are air molecules in a medium? completa:1. un numero real es--------------------- si se puede escribir como la razon (cociente) [tex]\frac{a}{b}[/tex] de dos numeros enteros , donde b [tex]\neq[/tex] 0. A system of government in which two or more government exercise power over the same people in the same territory called a unitary system of government true or false the measure of C if a=6 and b=9.[tex]3 \sqrt{5} [/tex][tex]9 \sqrt{5} [/tex][tex]3 \sqrt{13} [/tex][tex]5 \sqrt{3} [/tex] Neostigmine is an indirect-acting anticholinesterase drug that is used to treat urinary retention by: Multiple Choice1. increasing the release of the antidiuretic hormone.2. stimulating the hypothalamic thirst centers.3. inhibiting the release of the antidiuretic hormone.4. stimulating bladder contractions. what is the molar mass of hydrogen dioxide? what is 176/14 simplified? chemistry questions? The CEO of a large company asks the sales manager to report the sales figures of the previous quarter. The manager immediately sends her the details of each invoice drawn up in the previous quarter. This information is not good because it is_______ On the day Harry Potter was born, his parents deposited 78,000 galleons in the Gringotts Wizarding Bank. Assume that the bank promises a fixed interest rate of 3%. How much will Harry have in his account when he enters Hogwarts at age 12?a. 78,000 galleonsb. 54,708 galleonsc. 106,080 galleonsd. 111,209 galleon If x/5+6=-14 then x equals What number comes before 12 when you count by twos?A 8B 11C 10D 9