Find the error in the following code fragment. int a: System.out.print(a):​

Answers

Answer 1

Answer:

If your using java, then its supposed to be "System.out.print("a")"    

Explanation:

its supposed to have quotations


Related Questions

URGENT!! thank you!!!!!

Answers

Answer:

Robots or automatons

Explanation:

Machines that can perform tasks historically performed by humans can improve productivity (they can work non-stop) and of course the environment is safer for workers (work is done by a machine instead) but there is job loss (people who used to do the machine's work are redundant).

what is the term for delivering an application over the internet called?

Answers

Answer:

Cloud computing

Explanation:

The termnology which is used to describe the delivering of an application over the internet is called SaaS.

What is SaaS?

SaaS is an acronym for Software as a Service and it can be defined as a type of cloud computing delivery model that typicaly involves developing and making licensed software applications available to end users on a subscription basis and over the Internet, especially by centrally hosting these software applications within the cloud or through a third-party (vendor).

This ultimately implies that, Software as a Service (SaaS) is a termnology which is used to describe the delivering of an application over the internet.

Read more on SaaS here: https://brainly.com/question/24852211

A(n) ________ address is the address that external entities use when communicating with your network.

Answers

Answer:

IP adress

Explanation:

the IP adress is like your home address but for your computer. it tells the whatever is connecting where it's located so it can find where to send the data

____________________ are protocols used by routers to make path determination choices and to share those choices with other routers.

Answers

Answer: Routing protocols

Explanation:

"schools should use a wireless network instead of a wired network".

discuss this statement.

(6 marks) ​

Answers

hi there!

Answer:

I agree with this statement as wireless networks are better than wired ones especially for a huge structures like a school. in a big you will have to use kilometers of cables to set up a network, whereas you can set up the same network using a few access points and much less cables of course.

hope this helps.

Farmer John has recently acquired NN new cows (3≤N≤5×105)(3≤N≤5×105), each of whose breed is either Guernsey or Holstein.The cows are currently standing in a line, and Farmer John wants take a photo of every sequence of three or more consecutive cows. However, he doesn't want to take a photo in which there is exactly one cow whose breed is Guernsey or exactly one cow whose breed is Holstein --- he reckons this singular cow would feel isolated and self-conscious. After taking a photo of every sequence of three or more cows, he throws out all of these so-called "lonely" photos, in which there is exactly one Guernsey or exactly one Holstein.

Answers

//Note: This program was compiled using turboc compiler. If you are using gcc or any other compiler, then you have to modify the code slightly
#include
#include
int main()
{
int field[110][110]; //FIELD SIZE
int N, i, j;
char dir[50]; //TO REPRESENT THE DIRECTIONS OF 50 COWS
int cow[50][1][2]; //TO STORE THE X,Y COORDINATES OF 50 COWS
int infinity[50]; //TO IDENTIFY, HOW MANY COWS VALUES WILL BE INFINITY AND VICE VERSA
int count[50]; //TO COUNT AMOUNT OF GRASS EATEN BY EVERY COW
int cont = 1; //FLAG VARIABLE, INITIALLY KEEP IT 1.

//CLEAR THE SCREEN
clrscr();

//MARK ALL FIELD POSITIONS AS 1, INDICATING THERE IS GRASS TO EAT
for (i=0; i<110; i++)
for (j=0; j<110; j++)
field[i][j]=1;

//FOR ALL COWS SET INFINITY AS 1 AND COUNT AS 0. I.E WE ASSUME THAT
//EVERY COW WILL EAT INFINITE GRASS AND INITIALLY IT HAS NOT EATEN ANYTHING
//SO COUNT IS SET AS 0
for (i=0 ; i<50 ; i++){
infinity[i] = 1;
count[i] = 0;
}

//READ N, I.E NO. OF COWS
scanf("%d", &N);

//FOR EACH COW, READ THE DIRECTION AND X, Y COORDINATES
for( i=0 ; i fflush(stdin);
scanf("%c%d%d", &dir[i], &cow[i][0][0], &cow[i][0][1]);
}

//REPEAT UNTIL CONT==1
while( cont==1 ){

//FOR EVERY COW CHECK ITS DIRECTION
for( i=0 ; i //IF THE COW IS FACING NORTH DIRECTION
if( dir[i] == 'N'){
//IF THE RESPECTIVE COW'S Y COORDINATE IS LESS THAN 109
if( cow[i][0][1] < 109 )
//IF THERE IS GRASS IN THE PARTICULAR LOCATION,
if( field[cow[i][0][0]][cow[i][0][1]] == 1 ){
//LET THE COW MOVES TO THE NEXT LOCATION, BY INCREMENTING THE VALUE ASSOCIATED WITHN Y-COORDINATE
cow[i][0][1]++;
//INCREMENT THE COUNT VALUE FOR THE RESPECTIVE COW
count[i]++;
}
else
//IF THERE IS NO GRASS IN THAT LOCATION, THEN MAKE THE INFINITY VALUE CORRESPONDING TO THIS COW AS 0
//COW STOPS
infinity[i] = 0;
}

//IF THE COW IS FACING EAST DIRECTION
if( dir[i] == 'E'){
//IF THE RESPECTIVE COW'S X COORDINATE POS IS LESS THAN 109
if( cow[i][0][0] < 109 )
//IF THERE IS GRASS IN THAT PARTICULAR LOCATION
if( field[cow[i][0][0]][cow[i][0][1]] == 1 ){
//LET THE COW MOVE ON TO THE NEXT LOCATION
cow[i][0][0]++;
//INCREMENT THE COUNT FOR THE RESPECTIVE COW
count[i]++;
}
else
//IF THERE IS NO GRASS THEN MAKE INFINTY AS 0 FOR THE PARTICULAR COW.
//THE COW STOPS
infinity[i] = 0;
}
}

/*IN THE PREVIOUS TWO LOOPS WE MADE THE COW TO MOVE TO THE NEXT LOCATION WITHOUT
EATING THE GRASS, BUT ACTUALLY THE COW SHOULD EAT THE GRASS AND MOVE. THE BELOW
LOOP ENSURES THAT. THIS TASK WAS SEPARTED, TO ALLLOW TO TWO COWS TO SHARE THE SAME
POSITION FOR EATING.*/
for( i=0 ; i //IF THE COW IS FACING NORTH
if( dir[i] == 'N'){
//IF CURRENT Y POSITION IS <= 109
if( cow[i][0][1] <= 109 )
//IF IN THE PREVIOUS Y POSITION, THERE IS GRASS
if( field[cow[i][0][0]][cow[i][0][1]-1] == 1 )
//REMOVE (EAT) THE GRASS
field[cow[i][0][0]][cow[i][0][1]-1]=0;
}
//IF THE COW IS FACING EAST
if( dir[i] == 'E'){
//IF CURRENT X POS IS <= 109
if( cow[i][0][0] <= 109 )
//IF IN THE PREVIOUS X POS, THERE IS GRASS
if( field[cow[i][0][0]][cow[i][0][1]] == 1 )
//REMOVE (EAT) THE GRASS
field[cow[i][0][0]-1][cow[i][0][1]]=0;
}
}

/*ASSUME THAT ALL THE COW STOPS EATING AS THERE IS NO GRASS IN THE CURRENT CELL
OR THE COW HAS REACHED THE LAST LOCATION*/
cont = 0;

//REPEAT FOR EVERY COW
for( i=0 ; i //IF THE COW IS FACING NORTH
if( dir[i] == 'N'){
//IF THE COW HAS NOT REACHED LAST Y LOC OR NOT STOPPED EATING
if( cow[i][0][1] < 109 && field[cow[i][0][0]][cow[i][0][1]] !=0 )
cont = 1; //MAKE COUNT AS 1, THE WHILE LOOP SHOULD REPEAT
}
//IF THE COW IS FACING EAST
if( dir[i] == 'E'){
//IF THE COW HAS NOT REACHED LAST X LOC OR NOT STOPPED EATING
if( cow[i][0][0] < 109 && field[cow[i][0][0]][cow[i][0][1]] !=0)
cont = 1; //MAKE COUNT AS 1
}
}
}

//DISPLAY THE OUTPUT
for( i=0 ; i {
//IF THE INFINITY VALUE OF THE RESPECTIVE COW IS 1, THEN DUSPLAY AS INFINITY
if( infinity[i] == 1 )
printf("\nInfinity");
else //ELSE DISPLAY THE RESPECTIVE COUNT VALUE
printf("\n%d", count[i]);
}

getch();
return 0;
}

Does anybody have the answer for 2.19.6 checkerboard for codehs??

Answers

Answer:

speed(0)

penup()

setposition(-200,-200)

pendown()

def draw_square_row():

color_value = 0

for i in range (10):

if color_value %2 == 0:

begin_fill()

color("red")

for i in range (4):

forward(40)

left(90)

forward(40)

color_value = color_value + 1

end_fill()

elif color_value %2 == 1:

begin_fill()

color("black")

for i in range (4):

forward(40)

left(90)

forward(40)

color_value = color_value + 1

end_fill()

def draw_square_row_2():

color_value = 1

for i in range (10):

if color_value %2 == 0:

begin_fill()

color("red")

for i in range (4):

forward(40)

left(90)

forward(40)

color_value = color_value + 1

end_fill()

elif color_value %2 == 1:

begin_fill()

color("black")

for i in range (4):

forward(40)

left(90)

forward(40)

color_value = color_value + 1

end_fill()

def move_up_a_row():

left(90)

forward(40)

right(90)

backward(400)

for i in range (5):

draw_square_row()

move_up_a_row()

draw_square_row_2()

move_up_a_row()

Explanation:

tell me if you get it right

Write a function float Average(int, int) that finds the mean, and then write a main program that inputs two numbers from the user repeatedly until the user enter “0”. You need to call the function and display the mean of two numbers in the main. C++ language only.

Answers

The program illustrates the use of functions.

Functions are used to group related code segments that act as one, when called.

The program in C++ where comments are used to explain each line is as follows:

#include <iostream>

using namespace std;

//This defines the Average function

float Average(int num1, int num2){

   //This returns the average of the numbers

   return (num1+num2)/2.0;

}

//The main method begins here

int main(){

   //This declares the numbers as integer

   int num1, num2;

   //This gets input for both numbers

   cin>>num1; cin>>num2;

   //This is repeated until the user enters 0

   while(num1!=0 || num2 !=0){

       //This calls the average function, and prints the average

       cout<<Average(num1,num2)<<'\n';

       //This gets input for both numbers, again

       cin>>num1; cin>>num2;

   }

   return 0;

}

Read more about similar programs at:

https://brainly.com/question/17378192

Emily is deciding whether to buy the same designer jacket her friends have. The jacket is much more expensive than a similar one from a lesser-known brand. Which questions should she consider before she buys the jacket? Check all that apply. Is advertising influencing her? What are her motivations? Has she compared prices? Is she buying at the right time? Will her sister like the jacket too?

Answers

Is advertising influencing her?
What are her motivations?
Has she compared prices?
Is she buying at the right time?

The questions that she should consider before she buys the jacket are:

Is advertising influencing her?What are her motivations?Has she compared prices?Is she buying at the right time?

What  is buying?

The act of buying an item is known to be acquiring a specific possession, or ownership/ rights to the use that thing or services. This can only be done through payment that is mostly based on the use of money :

Note that before getting something, one must consider other things such as  prices and the reasons for buying the item before one can go ahead to purchase that thing.

Learn more about buying from

https://brainly.com/question/25745683

In an attempt to reach an all-time record for its premier, ads for the highly anticipated Avengers: Endgame are run on all the major networks and cable stations across the country from 8:00 p.m. to 10:00 p.m., or during ________ time.

Answers

Based on the contextual situation, the cable stations across the country from 8:00 p.m. to 10:00 p.m., or during Late-fringe time.

What is Late-Fringe Time?

Late Fringe time is a term used in television that describes the television hours that follow the prime time.

Generally, the prime period is usually between 8:00 p.m. to 10:00 p.m., while the Late Fringe time is around 11 p.m. to 1 a.m.

Hence, in this case, it is concluded that the correct answer is "Late-Fringe period."

Learn more about Television hours here: https://brainly.com/question/1006994

The ________ command is one of the most commonly used command-line commands. It can be used to check IP connectivity between two network devices.

Answers

Answer:

ipconfig

Explanation:

That is the actual

command

What changes the size of a video when played?
A
Adobe Flash

B
the player

C
video size

D
the browser

Answers

Answer:

D. the browser

Explanation:

it adjusts to the size of your device, including the browser.

hope i helped

D the browser I had a question like this

What do software engineers use as tools to provide automated support for the development of the system

Answers

Answer: CASE

Explanation:

Can anyone help me out with my photography questions?

Answers

Verifying, The answer above me is correct

What are the steps for adding a Watch Window?
Select the cell to watch

Answers

Answer:

How to The Watch Window in Excel

Select the cell you want to watch.

Click the Formulas tab.

Click the Watch Window button. ...

Click the Add Watch. ...

Ensure the correct cell is identified and click Add.

Scroll to the area of the worksheet where you need to add or update values.

Update the cell values.

Can you give me three examples of agricultural technology, environmental technology, communication technology, biotechnology, manufacturing technology, construction technology, materials technology, energy and power technology, and nanotechnology? Please help, this is due in 30 mins. I will give you 80 points.

Answers

Answer:

The following outline is provided as an overview of and topical guide to technology: collection of tools, including machinery, modifications, arrangements and procedures used by humans. Engineering is the discipline that seeks to study and design new technology. Technologies significantly affect human as well as other animal species' ability to control and adapt to their natural environments.

In 1956, the unit byte was coined by American statistician and computer scientist John Tukey
True or False (Give Explanation)​

Answers

Answer:

False

Explanation:

John Wilder Tukey was an American mathematician and statistician, best known for the development of the Fast Fourier Transform (FFT) algorithm and box plot. The Tukey range test, the Tukey lambda distribution, the Tukey test of additivity, and the Teichmüller–Tukey lemma all bear his name. He is also credited with coining the term 'bit' and the first published use of the word software.

difference between boot disk and booting in 5 points​

Answers

[tex]Answer \: -[/tex]

In computing, booting is the process of starting a computer. It can be initiated by hardware such as a button press, or by a software command. After it is switched on, a computer's central processing unit (CPU) has no software in its main memory, so some process must load software into memory before it can be executed. This may be done by hardware or firmware in the CPU, or by a separate processor in the computer system.

A boot disk is a removable digital data storage medium from which a computer can load and run an operating system or utility program. The computer must have a built-in program which will load and execute a program from a boot disk meeting certain standards.

why is computer economics important?​

Answers

Answer:

Explanation:

Advances in computing power and artificial intelligence will allow economists to test and develop many economic theories which have previously been very difficult to empirically test. In macroeconomics, we often rely on historical data to estimate market responses to recessions and other shocks in the economy since conducting experiments is at best unwieldy, unethical, and often impossible. Building AI which acts kind of human in market conditions and which is capable of adaptive strategies may allow researchers to simulate markets on a macro scale. Attempts have already been made in online video games which have virtual economies.

How does Python recognize a tuple? You use tuple when you create it, as in "myTuple = tuple(3, 5)". You use brackets around the data values. You use parentheses around the data values. You declare myTuple to be a tuple, as in "myTuple = new tuple"

Answers

Answer:

Python recognizes a tuple when you have parenthesis and a comma. You use brackets when you're creating a list.

You cannot declare a tuple in that format. It has to be:

myTuple = (__, __) or something of the like. There are many ways you can do it, just not the way that you have it.

Explanation:

Python class.

Answer: parantheses AND COMMAS

Explanation:

filters cannot perform what action on collected data?

Answers

Answer:

am at 50/50

Explanation:

filters cannot be perform to include shopping preferances.

To insert a row, right-click the row below where you want to insert a row and then click on ____ the shortcut menu. A. Columns B. Insert C.Rows D.Cells​

Answers

Answer:

I think it's insert. (It's the only one that actually makes sense).

Explanation:

Hope that helps. x

Which of the following is true regarding computer science careers? There are a limited number of jobs in this field. There are not different job types in this field. The number will increase over the next several years. You must be a programmer to work in this field.

Answers

Answer: There are several types of jobs in this field

Explanation: i did the test

The practice of applying technology to address difficult organizational issues is known as computer science. Thus, option D is correct.

What is the carrier in the computer science?

Computers and technology have been incorporated into almost every economic sector, industry, and even organization operating in the modern economy, which is why this field is so crucial.

Because it allows me to pursue my two interests in problem-solving and creating engaging experiences, computer science is my field of choice.

I can come up with problems that are unique to a user, create and brainstorm solutions, and then put those ideas into practice through coding.

Computer scientists build, develop, and improve supply chains, content algorithms, and even job application platforms. We are already living in the age of computer science.

As technology grows increasingly pervasive in our lives and the economy, computer science becomes more crucial.

Learn more about computer science here:

https://brainly.com/question/20837448

#SPJ2

Pls help me pls I’m struggling

Answers

Answer:Turn Right () Degrees (block)

The turn right () degrees block is a Motion block and a stack block. The block turns its sprite's direction the specified amount of degrees clockwise.

which camera is interchangeable

freeform

hybrid

DSLR

point and shoot

Answers

Answer:

DSLR

Explanation:

Double check my answer

moving images of real event​

Answers

Answer:

What

Explanation:

Which of the following describes email nonrepudiation?

A.
the elimination of emails that may contain dangerous viruses

B.
the review of every email sent by the CIA

C.
the use of tracking methods that can identify senders and their locations

D.
the use of encryption methods that ensure senders and their locations cannot be identified

Answers

Answer:

I believe the answer is C, im sorry if im wrong

The goal of the ____ memory allocation algorithm is to find the smallest memory block into which a job will fit.

Answers

The goal of the BEST-FIT memory allocation algorithm is to find the smallest memory block into which a job will fit.
The goal of the BEST-FIT memory allocation algorithm is to find the smallest memory block into which a job will fit.

which of the following is a true statement?

A. in the customary system measurements are often expressed as decimals.

B. in the metric system measurements are often expressed as fractions.

C. in the customary system measurements are often expressed as fractions.

D. fractions are equally common in both the metric and customary systems.​

Answers

Answer:

C

Explanation:

yeah-ya........ right?

The software which manages environment for running programs handling error controlling devices configuring the computer system and managing the resources of a computer.
Write the technical term of the given question of the picture .
Correct Answer =⟩ Thanks
Best answer =⟩ Brainliest
Random answer =⟩ Reported and deleted ​

Answers

Answer:

D

Application

System software is the set of programs that enables your computers hardware devices and Application software to work together.

Practical computer systems divide software systems into two major classes: System software: Helps run the computer hardware and computer system itself. System software includes operating systems, device drivers, diagnostic tools and more. ... (Some application software is pre-installed on most computer systems.)

Explanation:

Other Questions
Which graph shows the solution to the system of linear inequalities?y 2x + 1y 2x 2 The____ is the basic unit of life How can you best describe the outside of one of these objects using polygons? The object has sides, so it is. It appears to be because the sides and angles appear to be congruent. Why is the red blood cell disc in shape? 4) What was the attitude of Church leaders and the wealthy toward the arts? Why?5) How did the study of the classics influence branches of learning such as history, literature, and philosophy?6) What were the differences between medieval and Renaissance attitudes toward worldly pleasures? what category of therapy is most concerned with improving a clients awareness of the underlying causes of his or her difficulties? the removal of homosexuality as a psychological disorder demonstrates the What role did the United States play at the beginning of World War II?A.The United States immediately joined the war to defend Europe againstGerman aggressions.B.The United States began the war by attacking the Japanese. That caused adomino effect in Europe which lead to the Second World War.C.The United States initially opted to remain neutral but eventually supportedGreat Britain.D.Japan began the war by attacking the United States at Pearl Harbor. That setoff a chain reaction in Europe which led a full scale World War. Cytokinesis begins with the appearance of a Complete a conversation between members of the Spanish Club by choosing the appropriate question for the answer below.Hoy es martes.Cundo es tu cumpleaos?Cmo te llamas?Qu da es hoy?Cul es la fecha de hoy? Name one nutrient indicator and explain how it works. Question is in picture please help will mark brainliest 40 PIONTS!! PLZZZZ HELPDetermine whether each of the following will undergo dissociation, dissolving or ionization. Then write the solvation equation for each substance:a) Lithium oxide b) Magnesium nitride c) Hydrobromic acid Which sentence most likely describes the conflict in a story?A. Maria met Karina on the second day of middle school, when Karina fell in gym class.B. Maria and Karina believe that they will be best friends forever, or at least through high school.C. Maria thought Karina was her best friend, but lately Karina has been avoiding her.D. Maria convinced Karina to meet her at a mutual friend's house, where they worked things out. How many grams of hydrogen gas are needed to react completely with 54.0 g of oxygen gas, given the following balanced chemical reaction:2H2 +O2 --->2H2O If there was no conflict would there be a story to tell? What do you think? Two a.c V1=100sin(wt) and V2 = 150cos(wt) are fed into one circuit, determine the combined output of the two as a single a.c A good hook sentence for Charlemagne being a villain. PLS ANSWER QUICK THX when a tautomeric shift occurs, what is true about the resulting mutation?