Melissa has expanded her Cell class further. In which method is she using a special keyword to help distinguish instance variables in the class and print the results?
public class Cell B. public int getchromosomes) if (this.chromosomes<1) private int chromosomes, rna public double time, h2o, mCount private static int cellCount0; throw new llegalArgumentException("chromosomes is less than 1"); return this.chromosomes public Cell(O chromosomes 23; C. public void grow(double x) rna - 1; inc mCount(this,x); return; mCountrna/h2o cellCount++; System.out.printin("There are now" + cellCount +"cells"; public void inc mCount(Cell cell, double factor) this.mCount mCount factor return public Cell(int a chromosomes, int a rna, double a h20) this) chromosomes a chromosomes; rna -a_rna; h2o-a h20 mCount- rna/h2o; D. public double get mCount) return this.mCount; public staic Cell getLargerCell_mCount(Cell cell_1, Cell cell_2) cellCount++ System.out.printin("There are now"+cellCount +"cells"); if(cell_1.get mCount)cell_2.get mCount)) return cell 1; else return cell 2;
A. public void printinfoo System.out.printin("chromosomes:" + this.chromosomes); System.out.printin("rna:" + this.rna); System.out.printin("h2o:"+this.h20);

Answers

Answer 1

Answer:

A. public void printinfoo(){

   System.out.printin("chromosomes:" + this.chromosomes);

   System.out.printin("rna:" + this.rna);

   System.out.printin("h2o:"+this.h20);

Explanation:

The System.out.printin() function is used in Java to print out the output of a program. The first option prints out its output while the other options return the result of their function.


Related Questions

only evansandre2007 and elizabetharnold84 can answer

Answers

Answer:

Explanation:

Okie dokie

Have a nice day

g A peer-to-peer PLC network: has no master PLC. uses the token passing access control scheme. each device is identified by an address. all of these.

Answers

Answer:

All of these

Explanation:

A peer-to-peer network is a type of computer network that computer devices directly to each other, sharing information and other resources on the network.

It does not have a centralized database, there are no master or slave as each device in the network is a master on its own, and the devices all have unique addresses assigned statically for identification.

Write a 200 word essay about how a computer is made.

Good luck.​

Answers

Answer:

Essay about how a computer is made is written below in detailed explanation.

Explanation:

After so many discoveries and inventions, Humans ultimately made the computer. And, today some personalities in the world can't exist a bit without a computer.

The computer is an electric device that is utilized for collecting and processing data. The hard work can be completed in a shorter time with the guidance of computers. With the assistance of the computer, we can do all the stuff in today's world.. Because of this, the computer performs a vital purpose in this contemporary life.

Define a new class Fighter that inherits from Spaceship. Add a variable property weapon that defaults to an empty string and a variable property remainingFirePower that defaults to 5.

Answers

Answer:

class Fighter(Spaceship):

   weapon = ""

   remain_fire_power = 5

Explanation:

The class "Fighter" is a python class that inherits all the variables and methods from the Spaceship class. The Fighter class is considered the child class while the Spaceship class is known as the parent class. The weapon and remain_fire_power variables are class variables unique to the fighter class and defaulted to an empty string and 5 respectively.

A software is made from​

Answers

Answer:

Two or more languages are used for making one particular software.

nd
Assume you have already imported the time module.
Which line of code will pause the program for 6 seconds?
time.pause(6)
time sleep()
O time.pause()
O time sleep(6)

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

Time Module:  

Python's time module has a function to pause a program to the given time in seconds called sleep(). Essentially, as the name implies, it pauses your Python program.

The syntax of the sleep() function is given below:

time.sleep(second)

So, the given options for this question are :

time.pause(6) time.sleep() time.pause() time.sleep(6)

To pause a program for 6 seconds, option 4 is correct:

time.sleep(6)

While the other remaining options are not correct because to pause a program in python for 6 seconds, the correct statement is given in option 4.

Consider the following relational database that stores information about bars and customers: Drinker (name, address) Bar (name, address) Beer (name, brewer) Frequents (drinker, bar, times a week) Likes (drinker, beer) Serves (bar, beer, price) Write the following queries in relational algebra: 1. Find all drinkers who frequent only those bars that serve some beers they like. 2. Find all drinkers who frequent every bar that serves some beers they like.3. Find those drinkers who enjoy exactly the same set of beers as Amy.

Answers

Answer:

simeso  

le

Explanation:

What is the BEST reason for storing people's credit card information as part of most commercial software applications?

a
It's expensive to store that much data.

b
You're liable if someone commits credit card fraud.

c
It's a high security risk to store that kind of data.

d
It's illegal to store that kind of data.

Answers

Answer:

c. It's a high security risk to store that kind of data.

Explanation:

A credit card has a lot of important and personal data of the user, for this reason, allowing software, even commercial software to have access to this information, can promote a high security risk, because frauds can occur that promote damage to the user. For this reason, it is important that before providing the data, the user knows the software very well.

HUURRY
The line after an if statement should begin with what?
#
a print statement
a colon
indentation

Answers

Answer:

colon

Explanation:

The line after an if statement should begin with a colon. Next time please be more specific towards which language you need help with as you didnt specify and all languages are different.

Answer:

Yes it should start with a colon after

have a good day hopefully it helped :)

Explanation:

Write a function solution that, given an array A consisting of N integers, returns the number of fragements of A whose sum equals 0 (that is, pairs (p,q) such that P

Answers

Answer:

#include <iostream>

using namespace std;

void fragment(int arr[], int n){

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

       for (int x = 0; x < n; x++){

           if (x != i && arr[i] + arr[x] == 0){

               cout<< arr[i] << " , " << arr[x];

           }

       }

   }

}

int main(){

   int n = 7;

   int myArr = {1, 2, -1, -2, 0, 0, 3};

   fragment(myArr, n);

}

Explanation:

The C++ source code defines an array called "myArr" in the main program and its array size n. The void function "fragment" prints out the pairs of the array whose sum equates to zero.

Your organization uses a federated identity provider to login to your Oracle Cloud Infrastructure (OCI) environment. As a developer, you are writing a script to automate some operation and want to use OCI CLI to do that. Your security team doesn't allow storing private keys on local machines. How can you authenticate with OCI CLI?

Answers

Answer:

Run OCI session authenticate and provide your credentials

Explanation:

The OCI CLI when in combination with a shell script can be fastly used in the creation of shareable scripts. It uses API keys, private and public scheme as it's default authentication. The command to use is the oci set up keys, to create these keys. Since you cannot store private keys, you run OCI authentication and then you give your credentials

explain atleast 5 areas where computer applied for the social economic development in society​

Answers

Answer:

The answer is below

Explanation:

Given that socio-economic development has to do with continual positive changes in the socio-economic conditions of individuals, organizations, and society at large.

Hence, the five areas in which computer applied for the social-economic development in society​ are:

1. Capital resources or market: computer has greatly influenced the development of the capital market through various forms including data sharing, CRM software, Online customer service, Video conferencing, customer application development, cloud management services, etc

2. Government activities: computers over the years have improved the efficient operations of government and their activities through various means including the creation of a database, tracking of policies such as building permits, distribution of payments such as aids and palliatives, etc.

3. Business: computer is known to have tremendous influence in business operations including activities of firms in the area of research, marketing, advertisement, production, distribution, data storage, etc.

4. ICT world: computer generally has improved humans' approach and understanding of the ICT and better ways to maximize its usage. This includes the area of electronic information capture, storing, processing, and transfer.

5. Society: computer typically has its huge and direct impact on our society, this includes the development of human and social capital in terms of education, continuous obtainment of knowledge, skills, and mastery of skills that facilitate personal development and satisfaction, economic success and community prosperity.

3. Which property provided the labels in the list below?
1. List item
II. List item
III. List item
IV. List item
O list-style-type: numerals
list-style-type:decimal
O list-style-type: upper-roman
O list-style-type: upper-alpha

Answers

Answer:

this doesnt make sense

Explanation:

The property that provided the labels in the list is the "list-style-type" property. The options given are the different values that can be assigned to the "list-style-type" property. The value "numerals" refers to using Arabic numerals (1, 2, 3, etc.) as the labels, while "decimal" is similar but includes a period after each numeral (1., 2., 3., etc.).

What is list-style-type? Property?

The 'list-style-type' property is a CSS property that is used to define the style of the marker or bullet of a list item. It specifies the appearance of the marker for unordered lists (like bullet points) and ordered lists (like numbered lists) on a web page.

The value "upper-roman" refers to using uppercase Roman numerals (I, II, III, etc.) as the labels, and "upper-alpha" refers to using uppercase letters (A, B, C, etc.) as the labels.

So, in summary, the "list-style-type" property determines the style of the labels used in a list.

To know more about CSS property:

https://brainly.com/question/30116889

#SPJ2

Describe your WGU program, including two specific requirements that this degree has for completion.

Answers

Answer:

WGU program, including two specific requirements that this degree has for completion is explained below in details.

Explanation:

WGU is an online academy with profession joined bachelor's and master's degrees in—IT, education, marketing, and healthcare—intended to support working professionals fit an online academy learning into their hard-working lives.

As a scholars, graduate pupils must register in at least eight competency units every term, and undergraduate pupils must register in at least twelve competency units respectively term.

It should be noted that WGU program simply refers to an online school where students can have degrees when they complete their courses.

WGU is simply an online school that has career-aligned bachelor degrees and masters degree.

It's designed in order to help working professionals fit an online education into the busy lives that they've. In this case, the students have to register for their courses and pass the required units.

Learn more about programs on:

https://brainly.com/question/13171394

_______ are the best visual aids for showing the relationship between ideas in a presentation.

Answers

Answer:

A graphic organizers

Explanation:

Graphic users are the best visual aids for showing the relationship between ideas in a presentation.

What are Graphic user?

By the use of menus, icons, and other visual cues or representations, a user interacts with electronic devices like computers and smartphones using a graphical user interface (GUI) (graphics).

Unlike text-based interfaces, where data and commands are purely in text, GUIs graphically show information and related user controls. A pointing device, such as a mouse, trackball, stylus, or a finger on a touch screen, is used to manipulate GUI representations.

The first keyboard input and prompt system was used for the human-computer text interaction (or DOS prompt). At the DOS prompt, commands were entered to request responses from a computer.

Therefore, Graphic users are the best visual aids for showing the relationship between ideas in a presentation.

To learn more about Graphic user, refer to the link:

https://brainly.com/question/14758410

#SPJ6

g Write a general-purpose program with a loop and indexed addressing that calculates sum of the values of elements of a DWORD array that are located at multiple of 4 location. For example for the array 1,2,3,4,5,6,7,8,9,10,11,12,13,14

Answers

Answer:

def sumD4th(dword):

   select = dword[3::4]

   print(sum(select))

mylist = [1,2,3,4,5,6,7,8,9,10,11,12,13,14]

sumD4th(mylist)

Explanation:

The python program above defines a function called "sumD4th" that accepts a list as its argument. The variable "select" is created which is the subset of the list argument "mylist" containing the index items that is a sum of four. The output of the function is the sum of the items in the "select" list.

Project 1-1: Set Up a Small Network

5. Answer the following questions:
a. Does your network use a client-server or peer-to-peer model?
b. What is the topology of your network?
c. If the lights on the switch ports were not lit or blinking, what is the best theory of
probable cause? At what layer of the OSI model would this theory be?
As you work your way through this book, you will continue to build your small network and its resources.

Answers

Answer:

a. peer-to-peer

b star topology

Explanation:

3. A year contains 365 days normally, so on
what number day does Christmas fall on?

Answers

Answer:

359 is December 25 in a 365 day year.

Explanation:

Answer:

For western christian churches, Christmas day always occurs on December 25, though some cultures observe the main celebration on the night prior, Christmas Eve.

__________ often causes overactive eye movement.

A. Alcohol

B. Nicotine

C. Morphine

D. Xanax

Answers

the answer is ; D , xanax
the answer is d :)..

You are given two sorted arrays, A and B, and A has a large enough buffer at the end to hold B. Write a method to merge B into A in sorted order without using any other array space.Implementation instruction:1) Define one array of size 18 for A and the other array of size 5 for B.2) Initialize A by inputting 13 integers in the ascending order, and Initialize B by inputting 5 integers in the ascending order.

Answers

Answer:

#include <iostream>

using namespace std;

int main(){

   int arrayA[18] = {1,2,3,4,5,6,7,8,9,10,11,12,13};

   int n = arrayA.length();

   int arrayB[5] = {14,15,16,17,18};

   for (int i = 0; i < arrayB.length(); i++){

       arrayA[n] = array[i];

       n++;

   }

}

Explanation:

The C++ program defines two arrays namely; "arrayA" and "arrayB". The first array has a space size of 18 while the second array has a size of 5. In the program, the second array is merged into the first array

how we can search someone's name here?​

Answers

you can search someone’s name on here...?

Answer:

Umm

Explanation:

I guess we can only search for answers here!

pls helppp <3 In the following nested loop structure, which loop does the program EXIT first?
for (initialization 1; condition 1; loop variable 1 increment;)
for (initialization 2; condition 2; loop variable 2 increment;)
for (initialization 3; condition 3; loop variable 3 increment;)
for (initialization 4; condition 4; loop variable 4 increment;)
{ statement block;}


A.
for (initialization 1; condition 1; loop variable 1 increment;)
B.
for (initialization 2; condition 2; loop variable 2 increment;)
C.
for (initialization 3; condition 3; loop variable 3 increment;)
D.
for (initialization 4; condition 4; loop variable 4 increment;)

Answers

Answer:

D. The 4th one

Explanation:

The loops are nested, and the program ends when loop 1 is completed. Since loop 4 is the innermost one, that one is completed first.

Sound technology has been influenced the most by the ___.
microphone
phonograph
record player
cassette recorder

Answers

I think its the phonograph i hope this helps!
The phonograph because it helped with hearing and seeing things

The physical layer of the OSI model is not foundational to any of the other layers. True or False

Answers

Answer:

False.

Explanation:

OSI model stands for Open Systems Interconnection. The seven layers of OSI model architecture starts from the Hardware Layers (Layers in Hardware Systems) to Software Layers (Layers in Software Systems) and includes the following;

1. Physical Layer

2. Data link Layer

3. Network Layer

4. Transport Layer

5. Session Layer

6. Presentation Layer

7. Application Layer

Each layer has its unique functionality which is responsible for the proper functioning of the communication services.

The physical layer of the OSI model is the first layer of the OSI model and it is foundational to any of the other layers because it determines the means of transmitting (sending) raw bits from one network node to another and the electrical specification of network equipments.

Which web browser was created by Microsoft?
Chrome
Edge
Firefox
Safari

Answers

Answer:

firefox

Explanation:

Answer:

Edge was created by Microsoft.

Explanation:

write a program that creates a dictionry containing course numbers and the room numbers of the rooms whhere the courses meet

Answers

Answer:

course_class = {'CS101' : '3004', 'CS102' : '4501', 'CS103' : '6755',  'NT110' : '1244', 'CM241' : '1411'}

Explanation:

A dictionary is a data structure in python that is unordered and unindexed. It stores data in key-values pairs with each pair separated by a comma and all the items enclosed with curly braces. It is also assigned to a variable name.

The dict() function can also be used to create a dictionary variable.

Fill in the blanks, so the print statement displays the result of the function call in order.

1 # This function compares two numbers and returns them
2 # in increasing order.
3 - def order_numbers(number1, number2):
4. if number2 > number1:
5 return numberi, number2
6 else:
7 return number2, number1
8
9 Run # 1) Fill in the blanks so the print statement displays the result # of the function call
10 ---, --- = order_numbers(100, 99) print(smaller, bigger)

Answers

Answer:

Rep;ace the blank with

smaller, bigger

So, the complete line is:

smaller,bigger=order_numbers(100,99)

Explanation:

From the question, we understand that the program is to return the order of a number from least to highest

This has been well implemented in order_numbers function

Because the order function returns two values, the order_function must be called in order to accept two values and the syntax is:

value1,value2 = function(return-value1,return-value2)

In this case, the statement is:

smaller,bigger=order_numbers(100,99)

So, in the next line of the main, the values of smaller and bigger are printed:

print(smaller,bigger)

See attachment

Python - write a program that lets the user enter a string and displays the character that appears most frequently in the string.

This is my attempt so far, I know it needs a lot of changes:

# This program has the user enter a string and displays the
# character that appears most frequently in the string.

def main():
# Create a variable to use to hold the count.
# Start the variable with 0.
count = 0

# Have the user enter a string.
my_string = input('Enter a sentence: ')

# Count the character that appears most frequently in the string.
for ch in my_string:
if ch == 'A' or ch == 'a':
count+=1
if ch == 'B' or ch == 'b':
count+=1
if ch == 'C' or ch == 'c':
count+=1
if ch == 'D' or ch == 'd':
count+=1
if ch == 'E' or ch == 'e':
count+=1
if ch == 'F' or ch == 'f':
count+=1
if ch == 'G' or ch == 'g':
count+=1
if ch == 'H' or ch == 'h':
count+=1
if ch == 'I' or ch == 'i':
count+=1
if ch == 'J' or ch == 'j':
count+=1
if ch == 'K' or ch == 'k':
count+=1
if ch == 'L' or ch == 'l':
count+=1
if ch == 'M' or ch == 'm':
count+=1
if ch == 'N' or ch == 'n':
count+=1
if ch == 'O' or ch == 'o':
count+=1
if ch == 'P' or ch == 'p':
count+=1
if ch == 'Q' or ch == 'q':
count+=1
if ch == 'R' or ch == 'r':
count+=1
if ch == 'S' or ch == 's':
count+=1
if ch == 'T' or ch == 't':
count+=1
if ch == 'U' or ch == 'u':
count+=1
if ch == 'V' or ch == 'v':
count+=1
if ch == 'W' or ch == 'w':
count+=1
if ch == 'X' or ch == 'x':
count+=1
if ch == 'Y' or ch == 'y':
count+=1
if ch == 'Z' or ch == 'z':
count+=1
#Print the result.
print('The most popular character appears ', count, 'times.')

# Call the main function.
main()

Answers

def main():

   my_string = input("Enter a sentence: ").lower()

   character = ""

   count = 0

   for x in my_string:

       if x.isalpha():

           if my_string.count(x)>count:

               count = my_string.count(x)

               character = x

   print("The most popular character,",character,"appears",count,"time(s)")

main()

I wrote my code in python 3.8. I hope this helps

The program which will let the user enter a string and displays the character will be written in computer language.

What is programming?

The process of producing a set of instructions that tells a computer how to complete a task is known as programming. Computer programming languages such as JavaScript, Python, and C++ can be used to create programs. Programming is widely regarded as one of the most difficult disciplines to master.

def main():

my_string = input("Enter a sentence: ").lower()

character = ""

count = 0

for x in my_string:

if x.isalpha():

if my_string.count(x)>count:

count = my_string.count(x)

character = x

print("The most popular character,", character,"appears",count,"time(s)")

main()

Therefore, the coding for the given program is written above.

To learn more about programming, refer to the link:

https://brainly.com/question/11023419

#SPJ5

Write the definition of a function that evaluates three double numbers and returns true if the floor of the product of the first two numbers equals the floor of the third number; otherwise it returns false.

Answers

Answer:

The function is written in C++

bool products(double num1, double num2, double num3) {

if(floor(num1 * num2) == floor(num3)){

    return true;

}

else

{

    return false;

}

}

Explanation:

I answered this question using C++ programming language.

This line defines the function with three parameters; num1 to num3

bool products(double num1, double num2, double num3) {

This checks if the floor of num1 * num2 equals floor of num3

if(floor(num1 * num2) == floor(num3)){

If yes, this returns true

    return true;

}

else {

If otherwise, this returns true

    return false;

}

The method ends here

}

I added the full program as an attachment that include the main method

Question 2: Describe and Discuss the concepts of Higher order functions and currying in a functional programming language such as Haskell (or Standard ML) and describe why these concepts are important.

Answers

Answer:

A higher-order function is a type of function in programming that can either accept a function as its parameter or return a function or both. Curring is a process used by functions to accept and access multiple arguments.  

Explanation:

Functional programming languages like Hasket, Javascript, Python, etc,  use the concept of higher-order functions and Curring to accept multiple arguments and functions as parameters and can also return a function.  

Other Questions
The segment show below form a triangleTrue or false? The people who live in Ethiopias Gerba Sefer village make a living by _____.herding cattlebeekeepingfarmingfishing Dexter runs around a track at 10 laps in 20 minutes. If he ran 32 laps at that rate, how long would it take him? I would like to know if all of my grammar I correctAlbert Einstein Help!! 8th grade science (for a grade) A store has a 10% off sale on pants. With this discount, the price of one pair of pants before tax is $17.10 What was the original price of the pants? The vitamin essential for synthesis of prothrombin in blood clotting is:______ what is the value of 5 + -2 A 20-kg object sitting at rest is struck elastically in a head-on collision with a 10-kg object initially moving at 3.0 m/s. Find the final velocity What do you already know about life in the American colonies?What do you want to know about life in the American colonies?What did you learn about life in the American colonies? When a liquid is cooled, the kinetic energy if the particles A. Decrease B. Increases C. Remains the same. The force of attraction between the particles A. Decrease B. Increases C. Remains the same , the space between the particles A. Decrease B. Increases C. Remains the same What is the equation of a line with slope 4 and intercept 12? What medical mystery did Adrien Owen hope to solve?Race Strategy to answer(optional) A bag contains 2 red marbles, 3 green marbles, and 4 blue marbles.If we choose a marble, then another marble without putting the first one back in the blag, what is theprobability that the first marble will be green and the second will be red? Raymond had already run 3 miles on his own, and he expects to run 1 mile during each track practice. How many track practices would it take for Raymond to run 45 miles?Answer in the number of practices. During a reproductive process, paired chromosomes often swap lengths of DNA at random. This process further increases the number of new genotypes created in each generation This helps explain why, inspecies that reproduce sexually, no two siblings (except identical twins) look exactly alike. With all that recombination, you can end up with your mother's eyes, your father's nose, and how that combinesqualities from both parents. SC 012 L 16.14Which mechanism produces this genetic diversity?Y chromosome syndromeAsexual reproductionCrossing overMitosis What effect may the timing of the play have on the audience? Romeo and Juliet why reverberation doesn't occur in well furnished room? PLSSSSS I NEED HELP I WILL GIVE BRAINLEST OR HOWEVER I SPELL IT PLSS ITS ON THE PICTURE In the epic poem Beowulf, the main character overcomes many obstacles to achieve his goal. Which archetype does this character most likely represent? A. the hero B. the villain C. the rebel D. the ruler Steam Workshop Downloader