Which function is used to display a string value to the screen?
main[]
print()
run=
SHOW!

Answers

Answer 1

Answer:

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

Explanation:

in most programming languages, the print() function is used to display a string value to the screen. Because, the print function prints all the string given in it as a parameter.

for example: to print hello world.

we use the function to print hello world as print("hello world").

However, it noted that other options are not correct because the main() function is an entry point of a program and it does not print string value to the screen. while run and show function do not print string value of screen also.

Answer 2

Answer:

in python print()


Related Questions

explain how to use the information in an outline to start writing a business document

Answers

Answer: document

Explanation:

maybe try to think of an impressive title that’ll catch the readers attention or reveal the purpose of your writing in ur first paragraph of the main body

Memory locations in personal computers are usually given in hexadecimal. If a computer programmer writes a program that requires 100 memory locations, determine the last memory location that is used if the program starts at location 2C8DH 16 hexadecimal

Answers

Answer:

The answer is "The last memory addresses used by a specific program is 2CF0".

Explanation:

For this specific problem, we assume that only a memory storage allocation like Array data structure is needed, as well as any allocation only needs one memory cell since it focuses on the structure and type of data used.  

So, first, we will transform the provided memory address for better comprehension from Hexadecimal into decimal.  

[tex]\to \bold{(2C8D)_{16} = (11405)_{10}}[/tex]

Now 11405 is the first memory cell's address. With all of this number, it can add 99, resulting in the final decimal memory address.  

[tex]=11405 + 99\\\\= 11504[/tex]

[tex]\bold{(11504)_{10} = (2CF0)_{16}}.[/tex]

What is his resolution amount

Answers

I think it’s 92 I mean yh

Is the flow of power reversible in a cam and follower

Answers

Answer:

No

Explanation:

The Cam and Follower's input movement is rotary, and it's output movement is reciprocating. ... The Cam and Follower's flow of power is not reversible, but it's direction of travel is reversible. Cam and Followers can be found in cam shafts.

In __________ write, the data are stored in the cache, and control returns to the caller. Select one: a. a synchronous b. a buffered c. an asynchronous d. a non-buffered

Answers

Answer:

The correct answer to the question is option C (an asynchronous)

Explanation:

Computer store files in its temporary data storage space so as to facilitate easy retrievals when needed. Cache memory is in the temporary data storage space of the computer, faster than any other system memory so that when the processor requests information from the computer memory after a user place a command, the cache memory makes the information available in a short time when the data are required eliminating delay when ram will have to take time to fetch the data to provide to the processor.

In an asynchronous write, the data are stored in the cache to enable easy retrieval by the computer processor just as the cache is explained above, it allows writing data to the cluster. Asynchronous write also allows control returns to the caller.

Which categories format cells? Check all that apply. currency percentage data month date text

Answers

Answer:

currency

percentage

date

text

Explanation:

The category of format cells are currency, percentage, data, month, date, and text. The all options are correct.

What is Format Cells dialog box?

In the Format Cells dialog box, you can configure the formatting options for your report objects.

For a row or column header and the values, you can format the number, font, alignment, border, and pattern.

The format cells command in Excel is used to change the formatting of cell numbers without changing the actual number.

We can change the number, alignment, font style, border style, fill options, and protection using the format cells. We can get to this option by right-clicking the mouse.

Currency, percentage, data, month, date, and text are examples of format cells.

Thus, all options are correct.

For more details regarding format cell, visit:

https://brainly.com/question/24139670

#SPJ2

My Mac is stuck on this screen? How to fix?

Answers

Answer:

Press and hold the power button for up to 10 seconds, until your Mac turns off. If that doesn't work, try using a cellular device to contact Apple Support.

Explanation:

If that also doesn't work try click the following keys altogether:

(press Command-Control-Eject on your keyboard)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This makes the laptop (macOS) instruct to restart immediately.

Hopefully this helps! If you need any additional help, feel free and don't hesitate to comment here or private message me!. Have a nice day/night! :))))

Another Tip:

(Press the shift, control, and option keys at the same time. While you are pressing those keys, also hold the power button along with that.)

(For at least 10 seconds)

Complete the sentence.
____ use only apps acquired from app stores.

O tablets
O laptops
O servers
O desktops

Answers

The answer is Tablets

Answer:

Tablets

Explanation:

I say so

A bank has three types of accounts: checking, savings, and loan. Following are the attributes for each type of account:
CHECKING: Acct No, Date Opened, Balance, Service Charge
SAVINGS: Acct No, Date Opened, Balance, Interest Rate
LOAN: Acct No, Date Opened, Balance, Interest Rate, Payment
Assume that each bank account must be a member of exactly one of these subtypes. Using generalization, develop an EER model segment to represent this situation using the traditional EER notation, the Visio notation, or other tools like Lucidchart / Draw.io. Remember to include a subtype discriminator.

Answers

Answer:

please find the attachment of a graph:

Explanation:

Description of the model:

Generalization is the method used here just for the EER model, which sweeping generalization is a way to identify the common characteristics of a sequence to create a common entity. This is an approach from the bottom up. Its verification, savings, and credit firms are extended to a higher-level object's account. So, the entity entities (Account) are the common traits of these bodies. As well as the specific qualities are the part of specialized entities (checks, savings, and loans). This EER model is shown via the subgroup and supertype notes. The Balance has calculated the distance, throughout the entity type entity are key patterns of the subgroup entities. The wood beaded includes Acct No, Balanced and Open Date. The key was its underliner Acct No. the very first key. CHECKING, SAVINGS, and LOAN are the subsection organizations of the Supertype Account.Its subtypes get the traits that are not normal. It Testing feature is the uncommon extra fee feature. Its SAVINGS post-type feature has the peculiar exchange rate feature. Its LOAN subgroup feature produces unusual interest in fixed payment characteristics.

Enhanced Entity relationships[EER] represent the requirements and complexities of a complex database.

What is Enhanced Entity-relationship?

Here, the account entity generalized into three entities and these are checking, savings, and loan.

Also, the common attribute the three of them have can be considered in the account entity which is common in them while the individual attributes must be specified under its own entity.

EER models are the helpful tools used for designing databases that have high-level models.

Learn more about databases on:

https://brainly.com/question/518894

Using the Multiple-Alternative IFTHENELSE Control structure write the pseudocode to solve the following problem to prepare a contract labor report for heavy equipment operators: The input will contain the employee name, job performed, hours worked per day, and a code. Journeyman employees have a code of J, apprentices a code of A, and casual labor a code of C. The output consists of the employee name, job performed, hours worked, and calculated pay. Journeyman employees receive $20.00 per hour. Apprentices receive $15.00 per hour. Casual Labor receives $10.00 per hour.

Answers

Answer:

The pseudo-code to this question can be defined as follows:

Explanation:

START //start process

//set all the given value  

SET Pay to 0 //use pay variable that sets a value 0

SET Journeyman_Pay_Rate  to 20//use Journeyman_Pay_Rate variable to sets the value 20

SET Apprentices_Pay_Rate to 15//use Apprentices_Pay_Rate variable to sets the value 15  

SET Casual_Pay_Rate to 10//use Casual_Pay_Rate variable to set the value 10

READ name//input value

READ job//input value

READ hours//input value

READ code//input value

IF code is 'J' THEN//use if to check code is 'j'  

  COMPUTE pay AS hours * JOURNEYMAN_PAY_RATE//calculate the value

IF code is 'A' THEN//use if to check code is 'A'

  COMPUTE pay AS hours * APPRENTICES_PAY_RATE//calculate the value

IF code is 'C' THEN//use if to check code is 'C'

  COMPUTE pay AS hours * CASUAL_PAY_RATE//calculate the value

END//end conditions

PRINT name//print value

PRINT job//print value

PRINT code//print value

PRINT Pay//print value

END//end process

The author Darnell Littal belleves that "Beyond bad markets and economic news, the number one reason that mergers
fall is the absence of a well-understood

Answers

Answer:

human performance plan

Explanation:

(for odyssey users)

1 megabyte is equal to 1024 gigabyte. True/False​

Answers

Answer:

false

Explanation:

1 MB = 0.001 GB

IT professionals have a responsibility to educate employees about the risks of hot spots. Which of the following are risks associated with hot spots? Check all of the boxes that apply.

third-party viewing

unsecured public network

potential for computer hackers

unauthorized use

Answers

Answer:

All of them

Explanation:

got it right on edge 2020

Answer:

All of the above

Explanation:

just do it

Adjust list by normalizing When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by subtracting the smallest value from all the values. The input begins with an integer indicating the number of integers that follow. Assume that the list will always contain fewer than 20 integers. Ex: If the input is: 5 30 50 10 70 65 the output is: 20 40 0 60 55 The 5 indicates that there are five values in the list, namely 30, 50, 10, 70, and 65. 10 is the smallest value in the list, so is subtracted from each value in the list. For coding simplicity, follow every output value by a space, including the last one.

Answers

Answer:

Written in Python

inp = int(input("Length: "))

num = []

num.append(inp)

for i in range(1,inp+1):

    userinp = int(input("Input: "))

    num.append(userinp)

smallest = num[1]

for i in range(1,len(num)):

    if smallest > num[i]:

         smallest = num[i]

for i in range(1,len(num)):

    num[i] = num[i] - smallest

for i in range(1,len(num)):

    print(num[i],end=' ')

Explanation:

I've added the full program as an attachment where I used comments as explanation

Consider a multiprocessor CPU scheduling policy. There are 2 options: 1) a singlecommon ready queue of jobs; when a CPU becomes free, the job atthe head of the queuegoes to this free CPU. 2) a ready queue for each CPU; the arriving job joins the shortestqueue. In general, do you expect the common queue or the shortest queue policy to performbetter. Justify.

Answers

Explanation:

A ready queue is more adequate since in this method the load balancing occurs in a proper way. The goal of multiple processing is the correct distribution of load.

But in the cases when a processor is doing quicker or taking a smaller queue, it will self assign processes allotted for execution, configuring it with a constant busy state.

Write a Python code to ask a user to enter students' information including name,
last name and student ID number. The program should continue prompting the
user to enter information until the user enters zero. Then the program enters
search mode. In this mode, the user can enter a student ID number to retrieve
the corresponding student's information. If the user enters zero, the program
stops. (Hint: consider using list of lists)​

Answers

database = ([[]])

while True:

   first_name = input("Enter the student's first name: ")

   if first_name == "0":

       while True:

           search = input("Enter a student ID number to find a specific student: ")

           if [] in database:

               database.pop(0)

           if search == "0":

               exit()

           k = 0

           for w in database:

               for i in database:

                   if i[2] == search:

                       print("ID number: {} yields student: {} {}".format(i[2], i[0], i[1]))

                       search = 0

   last_name = input("Enter the student's last name: ")

   id_number = input("Enter the student's ID number: ")

   database.append([first_name, last_name, id_number])

I hope this helps!

Why the shape of a cell is hexagonal

Answers

Answer:

Hexagonal cell shape is perfect over square or triangular cell shapes in cellular architecture because it cover an entire area without overlapping i.e. they can cover the entire geographical region without any gaps.

I hope this helps

Pls mark as brainliest

Hexagonal shapes are preferred over squares, or circles because it covers an entire area without overlapping. It requires fewer cells.

Which is an example of an operating system

a
Adobe Photoshop

b
Internet Explorer

c
Windows

d
Microsoft Word

Answers

Answer:

windows

Explanation:

Examples of Operating Systems

Some examples include versions of Microsoft Windows (like Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP), Apple's macOS (formerly OS X), Chrome OS, BlackBerry Tablet OS, and flavors of Linux, an open-source operating system.

(1) Prompt the user to enter a string of their choosing. Output the string.
Ex: Enter a sentence or phrase: The only thing we have to fear is fear itself. You entered: The only thing we have to fear is fear itself.
(2) Complete the GetNumOfCharacters() function, which returns the number of characters in the user's string. Use a for loop in this function for practice. (2 pts)
(3) In main(), call the GetNumOfCharacters() function and then output the returned result. (1 pt) (4) Implement the OutputWithoutWhitespace() function. OutputWithoutWhitespace() outputs the string's characters except for whitespace (spaces, tabs). Note: A tab is '\t'. Call the OutputWithoutWhitespace() function in main(). (2 pts)
Ex: Enter a sentence or phrase: The only thing we have to fear is fear itself. You entered: The only thing we have to fear is fear itself. Number of characters: 46 String with no whitespace: The only thing we have to fear is fear itself.

Answers

Answer:

The solution is given in the explanation section

See comments for detailed explanation of each step

Explanation:

import java.util.Scanner;

class Main {

 public static void main(String[] args) {

   //Prompting the User to enter a String

   System.out.println("Enter a sentence or phrase: ");

   //Receiving the string entered with the Scanner Object

   Scanner in = new Scanner (System.in);

   String user_word = in.nextLine();

   //OutPuting User entered string

   System.out.println("You entered: "+user_word);

   //Calling the GetNumOfCharacters Method

   System.out.println("Number of characters: "+ GetNumOfCharacters(user_word));

   //Calling the OutputWithoutWhitespace Mehtod

   System.out.println("String with no whitespace: "+OutputWithoutWhitespace(user_word));

   }

   //Creating the function GetNumOfCharacters()

   //This function will return the number of characters

 // in the string entered by the user_word

 public static int GetNumOfCharacters (String word) {

   int noOfCharacters = 0;

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

     noOfCharacters++;

   }

   return noOfCharacters;

 }

 //Creating the OutputWithoutWhitespace() method

 //This method will remove all tabs and spaces from the original string

 public static String OutputWithoutWhitespace(String word){

   //Use the replaceAll all method of strings to replace all whitespaces with no space.

   String new_string = word.replaceAll(" ","");

   return new_string;

 }

}

sum_even Write a program that reads an integer 0 < n < 2^32, returns the sum of all digits in n that are divisible by 2. For example, if n = 341238 the output would be 14, because it is the sum of 4 + 2 + 8. Hint: a signed int may not be enough.

Answers

Answer:

Written in Python

n = int(input("Num: "))

sum_even = 0

if n > 0 and n < 2**32:

     strn = str(n)

     for i in range(0,len(strn)):

           if int(strn[i])%2 == 0:

                 sum_even = sum_even+ int(strn[i])

print(sum_even)

Explanation:

This line prompt user for input

n = int(input("Num: "))

This line initializes sum_even to 0

sum_even = 0

This line checks for valid input

if n > 0 and n < 2**32:

This line converts input to string

     strn = str(n)

This line iterates through each digit of the input

     for i in range(0,len(strn)):

This if condition checks for even number

           if int(strn[i])%2 == 0:

This adds the even numbers

                 sum_even = sum_even+ int(strn[i])

This prints the sum of all even number in the user input

print(sum_even)

thank you very much for your email. ...... was very interesting​

Answers

Answer:

WHAT DO YOU MEAN

Explanation:

THIS IS FOR QUESTIONS ONLY !!!!

A _____ is a smaller image of a slide.

template
toolbar
thumbnail
pane

Answers

I believe it is pane since a thumbnail is like a main photo or advertising photo kind of thing and template has nothing to do with a image as well as toolbar so the answer would be pane hope that helps :)

Read the following code:


n = 3

while(n <= 5):

print(n)

n = n + 1


What output would be produced for the given values of n?


A. 0 1 2 3 4

B. 1 2 3 4 5

C. 2 3 4

D. 3 4 5

Answers

The code will print out 3 4 5

Answer choice D is correct.

The output that would be produced for the given values of n is 3 4 5. The correct option is D.

What are codes?

Codes Program is a free developer platform where programmers can learn and share their knowledge. It is regarded as the simplest application development method, and it is frequently used as the standard (method).

Fixing code well into the software program because they discovered an error while composing the program, then he will modify the program, and then they will fix it again.

Less formally, code refers to text written for markup or styling languages such as HTML and CSS (Cascading Style Sheets). Good code is written in such a way that it is readable, understandable, covered by automated tests, not overly complicated, and does the job well."

Therefore, the correct option is D. 3 4 5.

To learn more about codes, refer to the below link:

https://brainly.com/question/14461424

#SPJ2

802.11ac provides an advantage over 802.11n by incorporating increased channel bonding capabilities. What size bonded channels does 802.11ac support?

Answers

Answer:

The 802.11ac wireless standard takes channel bonding to a higher level because it can support 20MHz, 40MHz, and 80MHz channels, with an optional use of 160MHz channels.

Explanation:

The 802.11ac is a standardized wireless protocol established and accepted by the institute of electrical and electronics engineers (IEEE). 802.11ac as a wireless local area network (WLAN) protocol, has multiple amplitude and bandwidth, thus making it to be the first standard wireless protocol to have the ability to operate on a Gigabit (Gb) network.

Generally, the 802.11ac wireless standard provides an advantage over 802.11n by incorporating increased channel bonding capabilities. The 802.11ac wireless standard takes channel bonding to a higher level because it can support 20MHz, 40MHz, and 80MHz channels, with an optional use of 160MHz channels.

On the other hand, 802.11n is a standardized wireless protocol that can support either a 20MHz or 40MHz channel.

This is Java! Help is appreciated :)

Answers

public class TvShow {

   int x;

   public TvShow(String showName, int numMinutes){

   }

   public int getNumActors(String actors){

       //method code goes here but since it's just a signature we don't put anything here.

       return 0;

   }

   TvShow show22 = new TvShow("Leave it to Beaver", x);

   public double cost(int i){

       return 0;

   }

   public static void main(String[] args) {

   }

   

}

class Tester {

   public static void main(String[] args) {

       TvShow tv = new TvShow("", 0);

       tv.show22.cost(0);

   }

   

}

I hope this helps in some way!

What is the proper syntax for writing a while loop in Python?

A. Begin the statement with the keyword repeat
B. End the statement with a colon
C. Place the test condition outside of parentheses
D. Use quotation marks around the relational operators

Answers

The proper syntax for while loops in Python are:

while (condition):

   #the code does something

Answer choice B is the only correct option because all while loops end with a colon.

Answer:

End the statement with a colon

Explanation:

I took the test and got it right.

Secondary sources
information gathered from primary sources.

Answers

Answer:

The answer is interpret Proof is down below

Explanation:

Here is the proooooooffffffff i made a 90 but this one was right

Secondary sources interpret information gathered from primary sources.

What are Secondary sources of information?

A secondary source is known to be made up of discussion that is often based on a primary information source.

Hence, the feature of secondary sources are known to give some kind of interpretation to all the information that has been gathered from other primary sources.

Learn more about Secondary sources from

https://brainly.com/question/896456

#SPJ2

21. Duplicating a layer merges all of the layers and discards anything that is
not visible. True or False
True
False

Answers

the answer is false. Because it just makes a copy, including all parts of the program.
The answer is false

A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output is the miles walked. If the input is 5345, the output is 2.6725.

Answers

In python:

print(steps_walked / 2000)

Which orientation is wider than it is tall?

Portrait
Macro
Shutter
Landscape

Answers

Answer:

Landscape

Explanation:

Landscape orientation is wider than it is tall.

Answer:

Landscape

Explanation:

Other Questions
What kind of bond is formed between a metal and a metalO All of the aboveO lonic bondO Metallic bondO Covalent bond Why was the Ottoman Empire broken into numerous smaller countries at the end of World War I? Which RNA strand would match with this DNA strand?AGGCTAAT Which of the following is NOT featured in the U.S. Constitution?Majority rule with protection of minority rightsUnlimited power of the national governmentThree equal branches of governmentProtection of individual freedoms Which is the most likely example of a project that would be proper using humanitarian and civic assistance (HCA) authority (10 U.S.C. 401)? 400 reduced by twice my age is 68 how old am i Identify the reaction type shown and describe the clues that were used to identify it.Fe2O3 + 2SiO2 Fe2Si2O7 How many miles could Katya go if she filled her 22-gallon tank? Show your mathwork In an animal cell, what structure is responsible for storing genetic information (DNA) for the cell? Which phrase would you use to tell someone "I wake up" at a certain time? A. me despierto B. se despiertan C. nos despertamos D. te despiertas Which of the following equations does NOT have a soulution of x=o.5 ? 10x 5 = -2x + 1-2x + 6 = -6x + 8-5x + 10 = x + 73x + 3 = -2x + 13 Tom walks 3.2 km every morning. How many feet are in 3.2 km, given that 1 mile = 1.609 km and 1 mile = 5,280 feet? 2,654.85 feet 8,500.67 feet 10,500.93 feet 16,901.15 feetTom walks 3.2 km every morning. How many feet are in 3.2 km, given that 1 mile = 1.609 km and 1 mile = 5,280 feet? 2,654.85 feet 8,500.67 feet 10,500.93 feet 16,901.15 feet -6y = -72 help!!!! PLZ What led to the intense political factions of the early United States? A juggler throws a beanbag into the air with a speed of 1.0 \dfrac{\text m}{\text s} 1.0 s m 1, point, 0, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction . How long does it take for the beanbag to reach its maximum height? what impact did christian missions have on the native american population in oregon country find the slope and y- of the table The following income statement items appeared on the adjusted trial balance of Foxworthy Corporation for the year ended December 31, 2021 ($ in 000s): sales revenue, $22,600; cost of goods sold, $14,650; selling expense, $2,330; general and administrative expense, $1,230; dividend revenue from investments, $230; interest expense, $330. Income taxes have not yet been accrued. The companys income tax rate is 25% on all items of income or loss. These revenue and expense items appear in the companys income statement every year. The companys controller, however, has asked for your help in determining the appropriate treatment of the following nonrecurring transactions that also occurred during 2021 ($ in 000s). All transactions are material in amount.1. Investments were sold during the year at a loss of $300. Foxworthy also had unrealized losses of $200 for the year on investments.2. One of the companys factories was closed during the year. Restructuring costs incurred were $2,000.3. During the year, Foxworthy completed the sale of one of its operating divisions that qualifies as a component of the entity according to GAAP regarding discontinued operations. The division had incurred operating income of $800 in 2016 prior to the sale, and its assets were sold at a loss of $1,800.4. Foreign currency translation gains for the year totaled $600.Required:Prepare Foxworthy's single, continuous statement of comprehensive income for 2021, including basic earnings per share disclosures. Two million shares of common stock were outstanding throughout the year. What did Newt Gingrich's 1994 Contract with America promise? which was china's role in world war 2