In Python, which of the following would correctly display the output PROGRAMMING ROCKS?


Print: "PROGRAMMING ROCKS"

print(PROGRAMMING ROCKS)

print = ("PROGRAMMING ROCKS")

print("PROGRAMMING ROCKS")

Answers

Answer 1

Answer:

print("PROGRAMMING ROCKS")

Explanation:

See attached image for runtime proof :)

In Python, Which Of The Following Would Correctly Display The Output PROGRAMMING ROCKS? Print: "PROGRAMMING
Answer 2

Answer:

print("PROGRAMMING ROCKS")

Explanation:

I took the test and got it right!


Related Questions

Explain the essence of referential integrity that is implemented through the use of referential actions in a database.

Answers

Answer:

Explained below

Explanation:

Referential integrity is a database feature that's part of systems known as relational database management.

It is important because it ensures that the relationship which exist between the tables in a database will remain accurate by applying constraints in order to prevent users or even applications from entering data that's inaccurate or pointing to a data that does not exist.

Which phrase is the best definition of sparklines in Excel 2016?

a type of graphic that users can insert into a worksheet
a type of mini chart that users can insert into a worksheet
a simple image that is displayed in Excel
a link to an outside source that is referenced in a worksheet

Answers

Answer:

Option 2: a type of mini chart that users can insert into a worksheet

Explanation:

A graph or chart is used to show trends and changes in a dataset.

When we have to show trends or changes in MS Excel, there are a lot of options available. One of them is Sparklines. Sparklines are like mini charts that can be used to show data graphically.

Hence,

The correct answer is:

Option 2: a type of mini chart that users can insert into a worksheet

Answer:

answer c

Explanation:

what types of problems if no antivirus is not installed

Answers

If you meant what would happen if you don't install an antivirus software, trust me, you don't want to know. I'd definitely recommend either Webroot (I believe that's how it's spelled) or Mcafee.

An array, numbers, of integers is filled with 100 random numbers whose values are greater than 10 and less than 255. You DO NOT have to write code to generate the random numbers. Write the code to count how many of the even numbers in the array are greater than 10 and less than 157 (inclusive).

Answers

Answer:

int counter = 0;

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

if(myarr[i]%2==0){

if(myarr[i] > 10 && myarr[i]<157){

counter++;

}

}

}

cout<<counter;

Explanation:

The question is answered using c++ and it assumes that the array name is myarr

This line initializes counter to 0

int counter = 0;

This iterates through the array

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

This checks if current array element is even number

if(myarr[i]%2==0){

If the above condition is true; This checks if the array element is within the range of 10 and 157 (inclusive)

if(myarr[i] >= 10 && myarr[i]=<157){

If yes, the counter is increased by 1

counter++;

}

}

}

This prints the total counter number

cout<<counter;

The purpose of __________________ is to isolate the behavior of a given component of software. It is an excellent tool for software validation testing.a. white box testingb. special box testingc. class box testingd. black-box testing

Answers

Answer:

d.) black-box testing

Explanation:

Software testing can be regarded as procedures/process engage in the verification of a system, it helps in detection of failure in the software, then after knowing the defect , then it can be corrected. Black Box Testing can be regarded as a type of software testing method whereby internal structure as well as design of the item under test is not known by one testing it. In this testing internal structure of code/ program is unknown when testing the software, it is very useful in checking functionality of a particular application. Some of the black box testing techniques commonly used are; Equivalence Partitioning, Cause effect graphing as well as Boundary value analysis. It should be noted that the purpose of black-box testing is to isolate the behavior of a given component of software.

:) :) :):):):)):):):)):)/):))::)):):):):):)):):)):):))/):):))

Answers

Answer:

:)))))))))))))))))))))))))))))))))))))))) thanks

Should video gaming be considered a school sport?

Answers

Answer:

I believe it should be in higher grades such as high school or college so people don't abuse it like little kids might.

Answer:

No because the defininition of sports is an activity involving physical exertion and Video games don't involve physical extertion.

does anyone know how to code

Answers

Answer:

no

Explanation:

i do not know how to code

Identify security gaps or opportunities in training related to human factors. Describe the impact associated with not addressing each gap or opportunity to individuals and the organization.

Answers

Answer:

The description and as per the circumstance has been described in the following portion.

Explanation:

Security gaps including human factor-related opportunities are security-related education that should have been given to all workers as new employees were most vulnerable to potential hazards and may also unintentionally clicking on any of the suspicious URLs. Whether this distance isn't crossed, it could contribute to trouble like crying out and therefore vulnerability management attacks, leading to privacy concerns and a lack of brand performance.

having a bad day? enjoy this front view of phinias (can't spell his name)​

Answers

Answer:

ouch what happened to him

congrats you ruined my childhood

(thanks for the free points!!)

A photojournalist is more employable than a reporter or a photographer because they can perform more than one job

Answers

Answer:

so yes

Explanation:

According to the Miriam Webster Online Dictionary, photography is defined as the art or process of taking a picture with a camera. On the other hand, photojournalism is defined as using photographs to report news ,stories,ect

The Bellman-Ford algorithm for the shortest path problem with negative edge weights will report that there exists a negative cycle if at least one edge can still be relaxed after performing nm times of relaxations. The algorithm, however, does not specify which cycle is a negative cycle. Design an algorithm to report one such cycle if it exists. You should make your algorithm runs as fast as possible.

Answers

Answer:

- Iterate over the Bellman-Ford algorithm n-1 time while tracking the parent vertex and store in an array.

- Do another iteration and if no relaxation of the edges occurs in the nth iteration then print of return "There are no negative cycle".

- Else, store the vertex of the relaxed edge at the nth iteration with a variable name.

- Then iterate over the vertexes starting from the store vertex until a cycle is found then print it out as the cycle of negative weight.

Explanation:

The Bellman-Ford algorithm can be used to detect a negative cycle in a graph. The program should iterate over the algorithm, in search of a relaxed edge. If any, the vertex of the specified edge is used as a starting point to get the target negative cycle.

g Assume that this program is run on a processor with data cache of size big enough that the entire array arr can fit in the cache. (a) How many paths does the function foo of this program have

Answers

Answer:

A. 2

Explanation:

The food function in the C source code uses two for loop statements to fill and array of size 100 with 100 values ranging from 1 to 100 and the second to get the total sum to the values in the array. With this, two program paths are created.

which computer is slightly bigger than a calculator? ​

Answers

Answer:

A computer pocket?

Explanation:

A computer pocket is the computer which is slightly bigger than a calculator.

What is computer?

Computer is defined as an electronic equipment or device that meant for storing data and just in a typical binary form, which has been just according to the instructions that is provided to it in the form of variable program.

Computer also helps to operating the arithmetic as well as logical operations by its own. The set of modern computers also perform generic sets that has operated which has been know as program.

The main advantage of computer is that it helps to increases the productivity of the work, it plays a vital role to connect with the secure internet, it helps to sort or organize as well as search the information. It also helps to keep connected to the world.

Therefore, A computer pocket is the computer which is slightly bigger than a calculator.

Learn more about computer here:

https://brainly.com/question/21080395

#SPJ2

Which of the following is NOT true?

a. The process provides the macro steps
b. Methodologies provide micro steps that never transcends the macro steps.
c. Methodologies provide micro steps that sometimes may transcend the macro steps.
d. A methodology is a prescribed set of steps to accomplish a task.

Answers

Answer:

b. Methodologies provide micro-steps that never transcends the macro steps.

Explanation:

Methodologies are a series of methods, processes, or steps in completing or executing a project. Projects can be divided into macro steps or processes and these macro steps can be divided into several micro-steps. This means that, in methodology, micro-steps always transcends to a macro-step.

Any one know??please let me know

Answers

Answer:

B

Explanation:

Answer:

The answer is B.

Explanation:

Also I see your using schoology, I use it too.

why does this site suck so much?
Like why do I have to pay MONEY to get answers?

Answers

Answer:

you can answer ppl question to get points to ask questions

Explanation:

thats what i do and its free

Answer:

Money :))

They get revenue off of ads and that cash from your purchases to keep the site and themselves running.

AND REMEMBER: NOTHING IS FREEEEEEE

g A CPU is equipped with a cache; Accessing a word takes 20 clock cycles if the data is not in the cache and 5 clock cycles if the data is in the cache. What is the effective memory access time in clock cycles if the hit ratio is 90%

Answers

Answer:

6.5

Explanation:

The formula to calculate the efficiency is;

= (cache-click-cycle x hit ratio) + ( memory-clock-cycle x 1 - hit ratio)

= (5 x 0.9) + ( 20 x 0.1)

= 4.5 + 2

= 6.5

In this exercise we have to use the knowledge of efficiency, in this way, using the data already informed, we can say that the result of this is:

6.5 effective memory

In this exercise, it was informed that some conditions must be established, that is:

Hit radio: 90%Memory: 20Cache: 5

The formula to calculate the efficiency is;

[tex]efficiency= ((cache-click-cycle)(hit \ ratio)) + ( (memory-clock-cycle)(1 - hit \ ratio))[/tex]

Substituting the known values ​​in the formula above, we find that:

[tex]= (5)(0.9) + ( 20)(0.1)\\= 4.5 + 2\\= 6.5[/tex]

See more about efficiency at brainly.com/question/6672666

If you are having trouble playing back a presentation smoothly, what should you try?

Answers

Click the File tab. Click Options, click Advanced in the left pane of the PowerPoint Options dialog box, and then under Display, ensure the Disable hardware graphics acceleration check box is not selected.

If a user has trouble playing back a presentation smoothly, the options are;

1. Copy the presentation to your internal hard drive.

2. Clear the Disable hardware graphics acceleration option.

3. Lastly, select the Show without animation option.

Microsoft PowerPoint is an application that can be used for presentations in offices, schools and other meetings. The issue of playback could occur when we want to replay a presentation but encounter difficulties along the way. To resolve the problem, each of the three steps above can be followed.

The particular presentation with the issue should be copied to the internal hard drive. Remove the option: Disable hardware graphics acceleration. Finally, select the option to play the presentation without animation.

Conclusively, the three listed options above, should be followed to resolve the problem of playing back a presentation smoothly.

Learn more about Microsoft PowerPoint presentations here:

https://brainly.com/question/24079115

Oozie is still using a parameter called _______ to identify the YARN arguments as they are yet to create a new parameter for YARN itself.

Answers

Answer:

Job Tracker

Explanation:

Given that JobTracker is a term in computer engineering that describe the main or primary point whereby users can maintain and start submitting and tracking MR jobs in a network environment.

Hence, it can be concluded that Oozie is still using a parameter called JOB TRACKER to identify the YARN arguments as they are yet to create a new parameter for YARN itself.

Oozie is still using a parameter called Job Tracker

The following information should be considered:

JobTracker is a term in computer engineering that reoresent the main or primary point in which users can maintain,  start submitting, and tracking MR jobs in a network environment.It identified the YARN arguments for developing the new parameter.

Learn more: brainly.com/question/17429689

Is it important to use varied methods when creating digital media presentations? Why or why not?


Yes, because no one method is capable of adequately delivering the information.

No, because using more than one method is confusing to the audience.

No, because the different methods are incompatible with each other.

Yes, because it makes the presentation more interesting for the audience.

Answers

The answer is yes becuase no one method is capable one becuase I took the test on edge

Most presentation programs allow you to save presentations so they can be viewed online by saving them as ____
files.

Answers

Explanation:

Most presentation programs allow you to save presentations so they can be viewed online by saving them as html

files.

Most presentation programs allow you to save presentations so they can be viewed online by saving them as html files.

Generally speaking, digital marketing targets any digital device and uses it to advertise and sell a(n) _____.


religion

product or service

governmental policy

idea

Answers

Answer:

product or service

Explanation:

Digital marketing is a type of marketing that uses the internet and digital media for the promotional purposes. It is a new form of marketing where the products are not physically present. The products and services are digitally advertised and are used for the popularity and promotion. Internet and digital space are involved in the promotion. Social media, mobile applications and websites are used for the purpose.

Answer:

A.) Product or service

Explanation:

Digital marketing is the practice of promoting products or services through digital channels, such as websites, search engines, social media, email, and mobile apps. The goal of digital marketing is to reach and engage with potential customers and ultimately to drive sales of a product or service. It can target any digital device that can access the internet, and it can use a variety of techniques such as search engine optimization, pay-per-click advertising, social media marketing, content marketing, and email marketing to achieve its objectives.

Net has a class that can generate parallel threads without the programmer needing to be overly burdened with thread maintenance. One method from this class that we examined in this course is:_________.
A. Thread.Invoke()
B. Cast.All
C. Parallel.For
D. Thread.Cast()
E. ThreadPool.Invoke()

Answers

Answer:

The correct answer is option C "Parallel.For"

Explanation:

Parallel.For for the most part work best on external loop as opposed to inward circles. This is on the grounds that with the previous, you're offering bigger lumps of work to parallelize, weakening the administration overhead. Parallelizing both inward and external loops is typically superfluous. In the accompanying model, we'd commonly need in excess of 100 cores to profit by the inward parallelization.

Designers use the Parallel class for a situation alluded to as information parallelism. This is where a similar activity is acted in equal on various things. The most widely recognized illustration of this is in an array which should be followed up on. Using the Parallel class, you can use this procedure/operation on any sort of iteration, in Parallel.

The relational algebra expressions can be rearranged and achieve the same result but with a better processing time. A selection on an attribute can be moved from the outside of a query to a selection on just one of the relations being joined (if it isn't an attribute on both relations). Why would this be an improvement?
a. The selection on the joined results would cause a cartesian product operation
b. Moving the selection to the innermost relation keeps the depth of operations that have to be processed more shallow
c. This would reduce the number of tuples to involve in the join resulting in a more efficient query.
d. The outer selection would prevent the optimizer from picking the correct index

Answers

Answer:

c. This would reduce the number of tuples to involve in the join resulting in a more efficient query.

Explanation:

SQL or structured query language is a database querying language used to communicate or interact with databases. A database query could be as simple as returning all the columns from a database table to complex like joining several query results which in turn forms an algebra expression.

Every query statement or expression is executed with time, execution time needs to be minimized for efficiency, so, a well-arranged and reduced joining in the query improves the efficiency of the query.

HELPPP
44 What text will be output by the program?
A- less than 10
B- less than 20
C- less than 30
D- 30 or more

Answers

Answer:

D. 30 or more

Explanation:

All other ones are canceled out ad the score adds 10.

The correct text for the output of the program is, ''30 or more''. So, option (D) is true.

A program is a set of instructions that a computer can run.

Programs are clear, ordered, and in a language that computers can follow.

Given that,

A program for the score is shown in the image.

Now, From the given program;

The last line will appear with the,

 console,log (''30 or more'')

Hence, The correct text for the output of the program is, ''30 or more''.

Therefore, the correct option is,

D) 30 or more

Read more about Python programs at:

brainly.com/question/26497128

#SPJ6

what is spread sheet software?​

Answers

Answer:

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

Explanation:

This is a type of software which show us data in tabular form. These software can easily store, analyze and organize data.

They are divided in rows and columns. They are mainly used for accounting and book keeping.

The commonly used spread sheet software in the market are MS Excel by Microsoft, Calc by libre office.

Write a method that draws a circle and a square that is centered in a DrawingPanel. The method will take in the width and height (they are the same for both the circle and square) and a Graphics object as parameters
IN java
current code: turn it into a method along with the main method
import java.awt.*;
public class Graphics {
static final int WIDTH = 300;
static final int HEIGHT = 200;
public static void drawGraphics () {
}
public static void main(String []args) {
DrawingPanel2 draw = new DrawingPanel2(WIDTH,HEIGHT); // Make a DrawginPanel2 of size 300 by 200.
Graphics2D g = draw.getGraphics(); // gets graphics from DrawingPanel so you can draw
g.setColor(Color.RED);
g.fillRect(45, 30, 200, 150);
g.setColor(Color.BLUE);
g.fillOval(70, 30, 150, 150);
}
}

Answers

Answer:

public static void drawGraphics (Graphics g, int width, int height) {

   int r = Math.round(width/2);

   int x = 45;

   int y = 30;

     g.setColor(Color.RED);

   g.fillRect(x, y, width, height);

   g.setColor(Color.BLUE);

   g.fillOval(Math.round(x/2), Math.round(y/2), r, r);

}

Explanation:

The Java method "drawGraphics" of the Graphics class accepts draws a square with the "fillRect()" method of the Graphics class object and at its center, a circular path is drawn as well.

Sets of directions for problem solving refer to
A. algorithms
B. variables
C. functions
D. iteration

Answers

Answer:

B. Variables

Explanation:

I majored in

The function's only behavior should be to return the sum of array userVals' elements. What common error does the function make?
Assume userVals always has exactly 10 elements.
int SumArray Elements(int uservals[]) {
for (i = 1; i <10; ++i) {
userVals[i] = userVals[i] + userVals[i - 1]; } return userVals[i]; }
A. Attempts to access an invalid element.
B. Omits the first element from the sum.
C. Modifies userVals' elements.
D. Omits the last element from the sum.

Answers

Answer:

A. Attempts to access an invalid element.

Explanation:

The C program above is supposed to loops 10 times to get the total of the userVal's element, but the loop is assigning the cumulative sum of the to each nth index of the userVal array. Although the cumulative total of the array is assigned to the last index, the return statement is attempting to return an invalid element (since i is local only to the for loop statement). The program should return the userVal[9] instead.

Other Questions
The priority rule which processes jobs according to the smallest ratio of due date to processing time is:________ Once Anza became governor, he tried to A. make an alliance with the Comanche and make mutual war on the Apache. B. establish schools for the Comanche to study European culture. C.ask the Comanche to join with the Apache. D.ask the Comanche to settle down with the Pueblos, Please select the best answer from the choices provided 7.5- x = 2.8x= 4.7x= 5.3x= 5.7x= 10.3 9. Why do you think Marleys ghost came back to warn the Scrooge on Christmas Eve? When factoring 16x2 -36, what is the first step?A. It is a perfect square trinomial, so find the square root of the first andlast term.B. It is a difference of squares so find the square roots for the first and lastterm.C. Find the greatest common factor (GCF).D. The expression is prime it cannot be factored. Pedals of Petals, a bike manufacturer that makes flower-themed bikes, has a fixed cost of $100,000 due to the equipment necessary to make the bicycles. Additionally, each bike costs $100 in labor and materials to make. If each bike sells for $300, how many bikes must be sold in order for the company to break even? how much force would is required to stop a 1200kg car in 2 seconds if the car is traveling at 22 m/s a circle has a mass of 3 grams and a square has a mass of 2 grams. which is the mass of a triangle?a. 9/5 gramsb. 7/5 gramsc. 3 gramsd. 11 gramscan someone help asap! i would really appreciate it! Which of the following describes the graph of 2x+6y18 ?solid line, shaded belowdashed line, shaded belowsolid line, shaded abovedashed line, shaded above The policyholder's car was damaged after a massive hail storm came through her city. The cost of repairs due to the hail damage was $350. Based on her auto policy, how much will the insurance company pay to repair the car? What is the most effective way to combine sentences 2 and 3 Question #8Multiple ChoiceWhat makes outsourcing possible?O peopleO executivesO the economyO networking A method used to return the value of one of the attributes of an object is called a/an:________ a. retriever (finder) b. constructor (maker) c. accessor (getter) d. mutator (setter) How can you write the number 1 as a power with base 2? a power with base 10?plz i really need help it would mean alot Which link will lead the reader to the definition of a synonym for the word "inform?informen forma-c:(r)mpeach In the conversation with Mrs. Hopewell, Manley says "I'm just a country boy... People like you don't like to fool with country people like me." The purpose of this statement is?A.) to anger Mrs. HopewellB.) to insult Mrs. HopewellC.) to threaten Mrs. HopewellD.) to disarm Mrs. HopewellE.) to embarrass Mrs. Hopewell Which is true about the battle of lwo Jima?O Allies were able to capture almost all of thapanese soldiers.O There were Over 30,000 American casualties.O Allies killed almost all of the Japanese soldiers.O There were more American lives lost than in any other WWII battle. Answer my question and ill give u brainliest also gimme reason AND NO SPAMS Which of the following are considered safe stretches? achest and biceps stretch bhamstring stretch cAchilles tendon stretch dAll of the above i just want to tell everyone their doing great