1.

In reference to for-each loops, which of the following statements is true? (4 points)



1. for-each loops can be rewritten as for loops

2. an index variable is NOT explicitly coded

3. an ArrayIndexOutOfBoundsException will never be thrown


- I and II only

- I and III only

- II and III only

- I, II, and III

- None of the statements are true


2.

In reference to for-each loops, which of the following statements is true? (4 points)



1. for-each loops can never be rewritten as for loops

2. an index variable is NOT explicitly coded

3. an ArrayIndexOutOfBoundsException will never be thrown


- I and II only

- I and III only

- II and III only

- I, II, and III

- None of the statements are true





3.

In reference to for-each loops, which of the following statements is true? (4 points)



1. for-each loops can be rewritten as for loops

2. an index variable is NOT explicitly coded

3. an ArrayIndexOutOfBoundsException will always be thrown


- I and II only

- I and III only

- II and III only

- I, II, and III

- None of the statements are true





4.

Which is an inappropriate use of a for-each loop? (4 points)



1. when all values in an array need to be traversed

2. when values need to be assigned to an array

3. when an index variable is required to complete a task


- I only

- II only

- III only

- II and III only

- I, II, and III


5.

Which is an inappropriate use of a for-each loop? (4 points)



1. when an array needs to be traversed in reverse order

2. when values need to be assigned to an array

3. when an index variable is required to complete a task


- I only

- II only

- III only

- II and III only

- I, II, and III





6.

Consider the following code segment. What is the value of x after execution of the code? (4 points)

double [] numList = {4.17, 3.11, 2.46, 1.57};
int x = 0;
for(double n : numList)
{
x += (int)n − 1;
}


- 6

- 7

- 7.31

- 8

- 14

- 15





7.

What is the output after the following code segment is executed? (4 points)

String[] mascots = { "Knights", "Seminoles", "Bulls", "Gators" };
int n = −1;
String str = "";

for (String m : mascots)
{
n = m.indexOf("i") + 2;
str += m.substring(n);
}
System.out.println(str);


- houa

- tslesllstors

- htsolesullsators

- ghtsnolesBullsGators

- StringIndexOutOfBoundsException occurs







8.

What is the output after the following code segment is executed? (4 points)

String[] mascots = { "Knights", "Seminoles", "Bulls", "Gators" };
int n = −1;
String str = "";

for (String m : mascots)
{
n = m.indexOf("l") + 2;
str += m.substring(n);
}
System.out.println(str);


- nssa

- ightstors

- nightsssators

- KnightseslsGators

- StringIndexOutOfBoundsException occurs







9.

What is the output after the following code segment is executed? (4 points)

String[] mascots = { "Knights", "Seminoles", "Bulls", "Gators" };
int n = −1;
String str = "";

for (String m : mascots)
{
n = m.indexOf("o") + 2;
str += m.substring(n);
}
System.out.println(str);


- KlBr

- nightsesullss

- nightsssators

- KnightslesBullsrs

- StringIndexOutOfBoundsException occurs





10.

Assume an array of integers named arrNum has been properly declared and initialized. Which of these code segments will result in displaying the same output? (4 points)



1.

int i = 0;
while (i < arrNum.length)
{
System.out.println(arrNum[i]);
i++;
}



2.

for (int i = 0; i <= arrNum.length; i++)
{
System.out.println(arrNum[i]);
}



3.

for (int a : arrNum)
{
System.out.println(a);
}



- I and II only

- II and III only

- I and III only

- All three print the same results.

- All three print different results.

Answers

Answer 1

Answer: option 1

Explanation: saw it on a quizlet

Answer 2

I, II, and III statements are true with regard to for-each loops. ArrayIndexOutOfBoundsExceptions are never thrown, an index variable is not explicitly coded, and for-each loops can be rebuilt as for loops.

What one of the following is not true regarding the for-each loop?

The claim that the for loop's loop body is always executed is untrue. In a for loop, the condition passed as a parameter is checked to determine how many times the loop will execute.

How do you use Java's for each loops?

For-each loops in Java include the following syntax: data type, variable, colon (:), array, or collection.

To know more about explicitly visit :-

https://brainly.com/question/29834897

#SPJ1


Related Questions

3/4+7=
what is the answer​

Answers

Answer:

7 3/4

Explanation:

3

4

+ 7

=  (0 + 7) + (  

3

4

+ 0 )

=  7 +  

3

4

+ 0 × 4

=  7 +  

3

4

+  

0

4

=  7 +  

3 + 0

4

=  7 +  

3

4

=  

7 3

4

5.18 LAB: Output numbers in reverse Write a program that reads a list of integers, and outputs those integers in reverse. The input begins with an integer indicating the number of integers that follow. For coding simplicity, follow each output integer by a comma, including the last one. Ex: If the input is: 5 2 4 6 8 10 the output is: 10,8,6,4,2, To achieve the above, first read the integers into a vector. Then output the vector in reverse.

Answers

Answer:

In C++:

#include<iostream>

#include<vector>

using namespace std;

int main(){

   int len, num;

   vector<int> vect;

   cout<<"Length: ";

   cin>>len;  

   for(int i = 0; i<len;i++){

       cin>>num;

   vect.push_back(num);}

   vector<int>::iterator iter;

   for (iter = vect.end() - 1; iter >= vect.begin(); iter--){

       cout << *iter << ", ";}    

}

Explanation:

This declares the length of vector and input number as integer

   int len, num;

This declares an integer vector

   vector<int> vect;

This prompts the user for length  

cout<<"Length: ";

This gets the input for length  

   cin>>len;  

The following iteration gets input into the vector

   for(int i = 0; i<len;i++){

       cin>>num;

   vect.push_back(num);}

This declares an iterator for the vector

   vector<int>::iterator iter;

The following iterates from the end to the beginning and prints the vector in reverse

   for (iter = vect.end() - 1; iter >= vect.begin(); iter--){

       cout << *iter << ", ";}

8.15 lab*: Program: Playlist​

Answers

Answer:

8.15 LAB* Program: Playlist You Will Be Building A Linked List. Make Sure To Keep Track Of Both The Head And Tail Nodes. (1) Create Three Files To Submit • PlaylistNode. h - Struct Definition And Related Function Declarations • PlaylistNode.

why is it important to give files name that are descriptive of their content​

Answers

Answer:

Provide a descriptive document file name and title

A unique, descriptive file name helps individuals understand the general topic of a document. Include similar information when writing the title of the document, and apply appropriate punctuation, e.g., no underscores.

Explanation:

Please give thanks to all my answers and please mark as brilliant and please follow me

2. On the line below, create a bulleted list, using the square bullet option, of the following parks
and recreational areas in the United States: Blue Ridge Parkway, Golden Gate National
Recreation Area, Great Smoky Mountain National Park, Gateway National Recreation Area, and
Lincoln Memorial.

Answers

Answer:

Blue Ridge Parkway  Golden Gate National Recreation AreaGreat Smoky Mountain National Park  Gateway National Recreation Area  Lincoln Memorial.

Explanation:

teehee

Answer:

Blue Ridge Parkway  

Golden Gate National Recreation Area

Great Smoky Mountain National Park  

Gateway National Recreation Area  

Lincoln Memorial.

Explanation:

You are going on vacation and want to take some work files. You need a storage device that is small enough to fit in your bag and preferably one that does not have plugs. Which device should you bring?


hard drive bus

flash drive

external hard drive

storage card

Answers

Answer:

Flash drive

Explanation:

What is htc one mseven​

Answers

"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

Convert (24) 10 to binary​

Answers

Answer:

Decimal 24 to Binary Conversion

The base-10 value of 24 10 is equal to base-2 value of 110002.

I hope it's helpful!

Answer:

The binary of 24 is 11000

Explanation historical development of computer ​

Answers

Answer:

Brief History Of Computer. The computer as we know it today had its beginning with a 19th century English mathematics professor name Charles Babbage. ... Other developments continued until in 1946 the first general– purpose digital computer, the Electronic Numerical Integrator and Computer (ENIAC) was built.

Explanation:

Computers and electronics play an enormous role in today's society, impacting everything from communication and medicine to science.

Although computers are typically viewed as a modern invention involving electronics, computing predates the use of electrical devices. The ancient abacus was perhaps the first digital computing device. Analog computing dates back several millennia as primitive computing devices were used as early as the ancient Greeks and Romans, the most known complex of which being the Antikythera mechanism. Later devices such as the castle clock (1206), slide rule (c. 1624) and Babbage's Difference Engine (1822) are other examples of early mechanical analog computers.

The introduction of electric power in the 19th century led to the rise of electrical and hybrid electro-mechanical devices to carry out both digital (Hollerith punch-card machine) and analog (Bush’s differential analyzer) calculation. Telephone switching came to be based on this technology, which led to the development of machines that we would recognize as early computers.

The presentation of the Edison Effect in 1885 provided the theoretical background for electronic devices. Originally in the form of vacuum tubes, electronic components were rapidly integrated into electric devices, revolutionizing radio and later television. It was in computers however, where the full impact of electronics was felt. Analog computers used to calculate ballistics were crucial to the outcome of World War II, and the Colossus and the ENIAC, the two earliest electronic digital computers, were developed during the war.

With the invention of solid-state electronics, the transistor and ultimately the integrated circuit, computers would become much smaller and eventually affordable for the average consumer. Today “computers” are present in nearly every aspect of everyday life, from watches to automobiles.

The history of computers is one that began far back 2000 years ago in the city of Babylonia where there was the use of  abacus and it has grown to now the use of digital computer as it start in 1642. ​

What is  the history of computer?

The history of computers is one that is more than 200 years but in the 19th century, there was the invention of  mechanical calculating machines.

Note that the The 1st generation of computers was said to have existed from the year 1940 to 1955 and now it has grown to a whole new level.

Learn more about computer from

https://brainly.com/question/24540334

#SPJ9

How is QA done in agile projects

Answers

200+300-500.

Explanation:

rjfnvkfjfhfofgfohgighghgiggh

What is computer science​

Answers

Answer:

computer science is the study of computer and computing as well as theoretical and practical applications.

pls give me thanks ☺️☺️

lower cabinet is suitable for storing and stocking pots and pans true or false​

Answers

True.
Make sure cabinet is clean enough to put the pots and pans.

An Olympic-size swimming pool is used in the Olympic Games, where the race course is 50 meters (164.0 ft) in length. "In swimming a lap is the same as a length. By definition, a lap means a complete trip around a race track, in swimming, the pool is the race track. Therefore if you swim from one end to the other, you’ve completed the track and thus you’ve completed one lap or one length." (Source: What Is A Lap In Swimming? Lap Vs Length)
Write the function meters_to_laps() that takes a number of meters as an argument and returns the number of laps. Complete the program to output the number of laps.
Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('{:.2f}'.format(your_value))
Ex: If the input is:
150
the output is:
3.00
Ex: If the input is:
80
the output is:
1.60
Your program must define and call the following function:
def meters_to_laps (length)

Answers

Answer:

In Python:

def  meters_to_laps(length):

   lap = length/50

   print('{:.2f}'.format(lap))

Explanation:

This line defines the function

def  meters_to_laps(length):

This calculates the number of laps

   lap = length/50

This prints the calculated number of laps

   print('{:.2f}'.format(lap))

To call the function from main, use:

meters_to_laps(150)

What happens when two users attempt to edit a shared presentation in the cloud simultaneously? The second user is unable to open the presentation. When the second user logs on, the first user is locked out. A presentation cannot be shared in the cloud for this reason. A warning notice will alert the users that the presentation is in use.

Answers

Answer:

a warning notice will alert the users that the presentation is in use

Explanation:

I did it on edge

Answer:

D; A warning notice will alert the users that the presentation is in use.

Explanation:

Edge

Create the HTML code for this
1.Font size for the text is 20px2.Background color for table dataiscyan and table headeris lightgrey.3.Text is center aligned.4.Height of the table is 200px andwidth is 500px.5.Border thickness 2px,colour black and collapsed

Answers

Answer:

index.html:

<!DOCTYPE html>

<html>

 <head>

   <title>Brainly</title>

   <link href="style.css" rel="stylesheet" type="text/css" />

 </head>

 <body>    

   <table id="myTable">

     <caption>Duty Roster for last two days</caption>

     <tr><th>Day</th><th>Morning</th><th>Afternoon</th></tr>

     <tr><td>Monday</td><td colspan="2">John</td></tr>

     <tr><td>Tuesday</td><td rowspan="2">Tom</td><td>Peter</td></tr>

     <tr><td>Wednesday</td><td>simon</td></tr>

   </table>

 </body>

</html>

style.css:

#myTable {

 background-color: Cyan;

 border-collapse: collapse;  

 height: 200px;

 width: 500px;

 font-size: 20px;

}

#myTable td,th {

 border: 2px black solid;

 text-align: center;

}

#myTable td:first-child, th {

 background-color: lightgray;

 font-weight: bold;

}

Here is the problem specification: An Internet service provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $14.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per month unlimited access is provided. Write a program that calculates a customer's monthly bill. It should ask which package the customer has purchased and how many hours were used. It should then display the total amount due. Input Validation: Be sure the user only selects package A, B or C. Also, the number of hours used in a month cannot exceed 744. Use switch.

Answers

Answer:

In C++:

#include <iostream>

using namespace std;

int main(){

   int hour; char pkg; float bill = 0;

   cout<<"Package: "; cin>>pkg;

   cout<<"Hour: "; cin>>hour;

   if(hour<=744 && hour >=0){

       switch (pkg) {

           case 'A':

               bill = hour * 9.95;

               if(hour >10){bill = 10 * 9.95 + (hour - 10) * 2;}

           break;

           case 'B':

               bill = hour * 14.5;

               if(hour >10){bill = 20 * 14.5 + (hour - 20) * 1;}

           break;

           

           case 'C':

               bill = 19.95;

           break;

           

           default:

               cout << "Package must be A, B or C";}

cout<<"Total Bills: $"<<bill; }

else{ cout<<"Hour must be 0 - 744"; }

return 0;

}

Explanation:

This declares all variables:    int hour; char pkg; float bill=0;

This prompts the user for package type:  cout<<"Package: "; cin>>pkg;

This prompts the user for number of hours:    cout<<"Hour: "; cin>>hour;

This checks if hour is between 0 and 744 (inclusive)

   if(hour<=744 && hour >=0){

If true, the following is executed

A switch statement to check valid input for package

       switch (pkg) {

For 'A' package

           case 'A':

Calculate the bill

               bill = hour * 9.95;

               if(hour >10){bill = 10 * 9.95 + (hour - 10) * 2;}

End of A package:            break;

For 'B' package

           case 'B':

Calculate the bill

               bill = hour * 14.5;

               if(hour >10){bill = 20 * 14.5 + (hour - 20) * 1;}

End of B package:            break;

For C package            

           case 'C':

Calculate bill:                bill = 19.95;

End of C package:            break;

If package is not A, or B or C

           default:

Prompt the user for valid package                cout << "Package must be A, B or C";}

Print total bills: cout<<"Total Bills: $"<<bill; }

If hour is not 0 to 744: else{ cout<<"Hour must be 0 - 744"; }

Your friend really likes talking about owls. Write a function owl_count that takes a block of text and counts how many words they say have word “owl” in them. Any word with “owl” in it should count, so “owls,” “owlette,” and “howl” should all count.

Here’s what an example run of your program might look like:

text = "I really like owls. Did you know that an owl's eyes are more than twice as big as the eyes of other birds of comparable weight? And that when an owl partially closes its eyes during the day, it is just blocking out light? Sometimes I wish I could be an owl."
owl_count(text)
# => 4
Hints

You will need to use the split method!


Here is what I have so far, it doesn not like count = 0 and i keep getting an error.
def owl_count(text):

count = 0

word = 'owl'

text = text.lower()

owlist = list(text.split())

count = text.count(word)


text = "I really like owls. Did you know that an owl's eyes are more than twice as big as the eyes of other birds of comparable weight? And that when an owl partially closes its eyes during the day, it is just blocking out light? Sometimes I wish I could be an owl."
print (count)

Answers

text = “ I really like owls. Did you know that an owls eyes are more than twice as big as the eyes of other birds of comparable weight? And that when an owl partially closes its eyes during the day, it is just blocking out light? Sometimes I wish I could be an owl.

word = ‘owl’
texts = text.lower()
owlist = list(texts.split())
count = text.count(word)
num = [owlist, count] #num has no meaning just random var
print(num)


Alter in anyway you want so that you can succeed. ✌

In this exercise we have to use the knowledge of computational language in python, so we find the code like:

The code can be found attached.

So let's write a code that will be a recognition function, like this:

def owl_count(text):"I really like owls. Did you know that an owls eyes are more than twice as big as the eyes of other birds of comparable weight?"

word = "owl"

texts = text.lower()

owlist = list(texts.split())

count = text.count(word)

num = [owlist, count] #num has no meaning just random var

print(num)

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

Define a class named Money that stores a monetary amount. The class should have two private integer variables, one to store the number of dollars and another to store the number of cents. Add accessor and mutator functions to read and set both member variables. Add another function that returns the monetary amount as a double. Write a program that tests all of your functions with at least two different Money objects.

Answers

Answer:

#include<iostream>

using namespace std;

class Money{

    private:

        int dollars;  

       int cents;

   public:

       Money(int d=0, int c=0){

          setDollar(d);

          setCent(c);

       }

       void setDollar(int d){

           dollars = d;

       }

       void setCent(int c){

           cents = c

       }

       int getDollar() {

           return dollars;

       }

       int getCent() {

           return cents;

       }

       double getMoney(){

          return (dollars + (cents/100));

       }

};

// testing the program.

int main(){

  Money Acc1(3,50);

  cout << M.getMoney() << endl;

  Money Acc2;

  Acc2.setDollars(20);

  Acc2.setCents(30);

  cout <<"$" << Acc2.getDollars() << "." << Acc2.getCents() << endl;

  return 0;

}

Explanation:

The C++ source code defines the Money class and its methods, the class is used in the main function as a test to create the instances of the money class Acc1 and Acc2.

The object Acc2 is mutated and displayed with the "setDollar and setCent" and "getDollar and getCent" methods respectively.

How to write an algorithm to read and print a name?
I want the steps please

Answers

Answer:

Step 1: Obtain a description of the problem. This step is much more difficult than it appears. ...

Step 2: Analyze the problem. ...

Step 3: Develop a high-level algorithm. ...

Step 4: Refine the algorithm by adding more detail. ...

Step 5: Review the algorithm.

Explanation:

One of the following represent class B IP address? A.255.255.255.0 B. 125.123.132 C.24.67.11.8 D.191.23.21.54​

Answers

Answer:

D.191.23.21.54

Explanation:

Class B networks use a default subnet mask of 255.255. 0.0 and have 128-191 as their first octet. The address 191.23.21.54 is a class B address

(Please heart the answer if you find it helpful, it's a motivation for me to help more people)

Checkpoint 4.20 Assume hour is an int variable. Write an if statement that displays the message “Time for lunch” only if hour is equal to 12.

Answers

Answer:

if(hour == 12)

{cout << "Time for lunch";}

Explanation:


In the central processing unit (CPU).
A) Causes data to be input into the system
B) Responsible for the logical order of processing and converting data.
C) Both
D) None of the above

Answers

Answer : B.responsible for the logical order of processing and converting daya

Reason

As i said bro, in CPU there are ALU and CU where ALU is to do mathematics problem and CU where its to processing, converting data. CPU is like the brain of computer. But it can't be the input, the input can get through hardware, not CPU.

Difference between a port and a connector

Answers

Explanation:

A connector is the unique end of a plug, jack, or the edge of a card that connects into a port. Port: The port has either holes or a slot that matches the plug or card being connected into the port. For example: cables are plugged into Ethernet ports, and cables and flash drives are plugged into USB ports.

25 POINTS PLATO
Drag the tiles to the boxes to form correct pairs.
Pat creates a table in a spreadsheet program, starting at cell A1 and ending at cell B4. Column A contains words, while column B contains the words’ meanings. Pat wants to look up the meaning of the word "paramount", which is present in cell A3. How should Pat write the LOOKUP function? Refer to the syntax of the function and match the arguments in the syntax to their values.

Syntax: LOOKUP(lookup value; search table; result table)

B1:B4
"paramount"
A1:A4

lookup value
search table
result table

Answers

Answer:

lookup value   =  "paramount"

Search table   =  A1:A4

Result table     =  B1;B4

Explanation:

lookup, what are we looking up.....:::///????Paramount

What is the beginning search table......A1;A4

Column B contains the words meanings.....this is the result we want:

So the Result table......B1:B4

LOOKUP("paramount"; B1:B4; A1:A4)  should Pat write the LOOKUP function.

What is a LOOKUP function?

Lookup functions entail accessing a cell, comparing its values to those in an adjacent row or column, and then extracting the relevant answers from the associated columns or rows of Excel.

The lookup value, the search table, and indeed the result table are the three inputs required by the LOOKUP function. The value you are searching for, in this case, "paramount," is the lookup value.

The table that contains the lookup value, throughout this example B1:B4, is known as the search table.

The table where the results of the lookup are stored is known as the result table, and in this example, A1:

Pat should use the columns which would have the cell value of B1, B4 as well as A1.

Learn more about the LOOKUP function, here:

https://brainly.com/question/29517410

#SPJ3

Companies sometimes pay search engine companies to have their websites located at the top of the search results. Do you think this is fair/ethical?

Answers

Answer:

I really don't think that it is fair or ethical.

Explanation:

When companies pay to put their websites at the top it is known as an ad. They are in top search engines like the ones we use every day. I believe this is unethical because it often results in confusion and sometimes misleads the user as the titles often use clickbait.

Online, it is easy to think of communication as “computer to ____________” rather than “_________ to ___________”.
a.
person, computer, person
b.
computer, person, computer
c.
person, person, person
d.
computer, person, person

Answers

I would say D but if not I’m terribly sorry

Hope this helps

Have a great day/night

Online, it is easy to think of communication as “computer to computer” rather than “person to person”. Thus, option D is correct.

What is communication?

It is possible to describe communication as the act of passing the information between one person or group of people to the next. Communicating facilitates easy understanding of what a different person is trying to say or convey. There are two forms of communication: both verbal and nonverbal.

With the help of communication the person can tell and feature tthe data between the person and an group. In this, that data is given to the people and the data is not given to the person but it is rather given to the person. As this data is been transferred from one computer to another and then it reaches the people.

Therefore, option D is the correct option.

Learn more about communication, here:

https://brainly.com/question/22558440

#SPJ2

О OF
Types icts commonly
in education.
used​

Answers

Answer:

The types of the itcs can be defined as follows:

Explanation:

It stands for the information and communication technology, which is used to comprises products that are a store, process, pass, transform, replicate or receive digital communications. 

It applies to all technology of interaction, such as the Internet, wireless networks, devices, laptops, middleware, video - conferencing, social media, and other software and services in media, and the four types in which it is used in education can be defined as follows:

(i) networking for education

(ii) Web-based education

(iii) mobile education

(iv) facilities for the classroom

what is the file extension if the file editing​

Answers

Explanation:

"A file extension (or simply "extension") is the suffix at the end of a filename that indicates what type of file it is. For example, in the filename "myreport. txt," the . TXT is the file extension.Sometimes long file extensions are used to more clearly identify the file type."

Select the correct answer from each drop-down menu.
translate the entire program source code at once to produce object code, so a program written in
runs faster than an equivalent program written in

Answers

Answer:

A compiler translates a program written in a high level language

A compiler translate the entire program source code at once to produce object code, so a program written in low-level language runs faster than an equivalent program written in high-level language.

What is a compiler?

A compiler can be defined as a software program that is designed and developed to translate the entire source code of program at once, so as to produce object code, especially a software program that is written in a high-level language into low-level language (machine language).

In conclusion, we can deduce that a compiler translate the entire program source code at once to produce object code, so a program written in low-level language runs faster than an equivalent program written in high-level language.

Read more on software here: brainly.com/question/26324021

#SPJ2

name 2 kitchen tools equipment or materials you are going to store or stack in the following drawers and cabinet 1.flat drawer 2.upper cabinet 3 . Small drawer near countertops 4.Lower cabinets 5.Lower cabinets under the sink​

Answers

Answer:

silverware and dishwasher chemicles

Explanation:

Other Questions
copper metal has a specific heat of 0.385 j/gc. calculate the final temperature of a 22.8 g sample of copper initially at 35.4 oc that absorbs 114 j of heat. If a state's population grows by 2% over ten years, what will happen to its representation in the House of Representatives? Let Y and Z be two independent standard normal random variables (l.e. gaussians mean zero and variance 1 each). Define another random variable X as X=aY+Zwhere a =8.801What is the covariance between X , Y PLEASE HELP ME :((((((((((((( I REALLY NEED HELP :(When you eat a meal, blood sugar ___________. The brain sends a signal to the ______________ to release____________ in to the bloodstream. Insulin binds to ___________ sites on target cells. This triggers the ________________________ protein to __________, allowing glucose to enter cells. This __________ blood sugar to__________________ (normal levels). If blood sugar gets low enough, the brain sends a signal to the _______________ torelease ______________. This substance binds to receptor sites on the ___________, causing the liver to convert stored_____________ into glucose which is secreted back into the ________________, bringing blood sugar levels back to____________________ (normal levels). This is a ____________ feedback loop.In Type 1 Diabetes, _______ insulin is produced. Type 1 diabetics inject ___________ to solve this problem. In Type 2 Diabetes,insulin ______________ dont function properly, so glucose levels in the blood stay too high, resulting in several severe healthcomplications. Type 2 Diabetics must monitor _______ and exercise to control blood sugar. what are the answers to these questions1) 4x=242) x3=113) 8=n34) 5x6=205) 3a=126) 5z=357) 40=4y8) 42=7k9) 7x=10510) 75=6w mac n cheese company wants to make and market new processed pasta and sauce products. on each products label, standard nutrition facts are you are most likely to find a treasurer, coroner, district attorney, and sheriff at the _____________ level of government. If a chemical reaction has a = -29. 4 kj, what is the equilibrium constant, keq, at 298k? The unknown triangle ABC has angle C=68 and sides c=15 and b=22. How many solutions are there for triangle ABC? =# correctX=# correctX, equals, start text, \#, space, c, o, r, r, e, c, t, end text 000 111 222 333()P(X)P, left parenthesis, X, right parenthesis 0.050.050, point, 05 0.200.200, point, 20 0.500.500, point, 50 0.250.250, point, 25Mean: =1.95 X =1.95mu, start subscript, X, end subscript, equals, 1, point, 95Standard deviation: 0.8 X 0.8sigma, start subscript, X, end subscript, approximately equals, 0, point, 8Mr. Gupta decides to score the tests by giving 101010 points for each correct question. He also plans to give every student 555 additional bonus points. Let YY represent a random student's score.What are the mean and standard deviation of YY?= What Is The 95th Percentile, And Why Does It Matter? design a cam to move a follower at a constant velocity of 100 mm/sec for 2 sec then return to its starting position with a total cycle time of 3 sec. in ancient hawaii, what kind of precious material was limited to only objects for royalty? A. Gold B. Eelskin C. Feathers D. Metal treatment of cancer is often called a ""fight against biology."" explain why the use of p53 supports this statement. find the sum of the series. [infinity] 10n 7nn! n = 0 An object 6 cm high is placed 30 cm from a concave mirror of focal length 10 cm Calculate position of image. Calculate size of image. Is image real or virtuall, left or right of mirror? Consider the following recursive function, assuming 0 msn and n 2 1. int fun (int n, int m){ if ((n == 1)|| (m == 0) || (m = n)) return (1); else return (fun (n - 1, m) + fun (n - 1, m 1)); } (a) What are fun (4,2)? 6 fun(5,3)?_10 ? fun(6,4)? 15 fun(8,3)? 56 fun (9,2)? 36 (b) What does this function do, given any m and n within the constraints? Compute the function for some smaller values of m and n; try to generalize; observe that the recursion ends in finite time; observe the similarity with how we wrote the recursive function for Fibonacci numbers in class; and then give a precise one sentence description of the purpose of the function. A wire is connected to a 6V battery. At 20C, the current is 2A whereas at 100C the current is 1.7 A. What is the temperature coefficient of resistivity (c) of the material of the wire? a. 1.1 x 10-3 C b. 2.2 x103/C c. 3.3 X 10-C d. 4.4 X 103 /C e. 0.5 x104/C Tennis Shoe Tower issued 4.000 shares of $1 par value stock for $10 a share. The journal entry to record this transaction would include a Capital A. Credit of $36.000. B. Debit of $36.000. C. Credit of $4.000. D. Debit of $4,000. Classify each of the statements as true or false. True False Answer Bank Marginal utility is always negative. Marginal utility is always positive Diminishing marginal utility means that consumption of an additional unit decreases utility If you eat a slice of pizza that gives you food poisoning, your utility will likely decrease. Marginal utility is the extra satisfaction experienced by one additional unit of consumption Numerical utility values are relatively easy to calculate.Utility is a measure of the satisfaction people receive from their choices.