Jon wants to assign a value to the favorite food variable: favoriteFood! = "Pizza" but gets an error message. What does he need to fix for the
code to work?
O Delete the symbol in the string.
O Put quotations around the string.
O Remove the exclamation mark from the variable name.
O Add a space between the words in the variable name.

Answers

Answer 1

Answer:

The answer is C.

Explanation:

There cannot be any type of punctuation in the variable.

Answer 2

Jon wants to assign a value to the favorite food variable: favorite food! = "Pizza" but gets an error message by Removing the exclamation mark from the variable name it will fix for the code to work.

What is code?

In laptop programming, code refers back to the set of instructions, or a machine of rules, written in a selected programming language (i.e., the supply code).

If you've got ever observed an exclamation mark (!) earlier than the variable in a person's JavaScript code the negation operator (!) definitely simply reverses the means of its operand. ! is the logical now no longer operator in javascript.

Read more about the javascript:

https://brainly.com/question/27683041

#SPJ2


Related Questions

Why the HTML structure is important to properly written in HTML document

Answers

Answer:

A properly written HTML document will not only be readable to the user, but will also convey the structure of the document, the relationship of its content to each other, and allow the user to link to other pages and sites. HTML can do all of this because it's a markup language.

Answer:

The browser understands it, if you don't add the thing, you maybe can't access other files.

Explanation:

Which of the following component is required to insert text in multimedia
programme?
i. Animation
ii. Text
iii. Graphics​

Answers

Answer:

Text is used to insert text in multimedia program.

Hence,

Option ii. Text is the correct answer.

Explanation:

Let us define the terms first.

1. Animation:

Animation is kind of images that move. Animations are used to show some kind or process or working that is happening in multimedia program

2. Text:

Text is the explanation which is given in explicitly using fonts and typefaces.

3. Graphics:

Graphics are the images, logos that are used in multimedia.

So from the definitions above,

Text is used to insert text in multimedia program.

Hence,

Option ii. Text is the correct answer.

Which of the following led to the decline in production of LPs?

quality of LPs
appearance of LPs
cost of LPs
size of LPs

i will mark brainlist

Answers

Ahh, good ole LP’s, great sound from analog source

But SIZE, was major downfall as portable cassette/ boom boxes, CD and mp3, etc became available.


Which file is usually the first file to be displayed when you navigate to a website?

1. home.html
2. Index.html
3. Template.html
4. Starter.html

Answers

Answer:

3. template.html

Explanation:

being a media and information literate indibidual is important especially during this modern time.give atleast three example situations that show its importance in your daily life​

Answers

Answer:

I REQUIRE POINTS CAUSE I NEED ASWERS FOR M HOMEWORK

Explanation:

Terrance is looking for a storage device to be used for backup storage. The device has to have a large storage capacity and be portable. What is the best device for Terrance's needs?

External hard drive
Disk drive
Hard drive
USB flash drive

Answers

Answer:

its external hard drive  and flash drive

Your welcome

Explanation:

As with most professions, photography comes with its own unique set of terms and jargon. Identify at least four different words related to photography, define, and use them in a sentence that expresses their meaning in relation to the field.

Answers

Answer: See explanation

Explanation:

The words associated with photography include:

1. Filter: It is a device that is used to remove a certain form of light. It is usually placed on the lens of the camera when one wants to change the light or color.

John used different filter on his camera.

2. Camera : This is an equipment that is used to take photographs or make movies.

A new camera was bought by Ruth.

3. Photo book: This is a published book that contains photographs.

Bob knows a website where one can order photo books that are custom made.

4. Picture: This is a photograph or an image that can be seen on the television.

John took a picture of Tom when he was dancing.

5. Air brush: A machine that isused for painting or to improve the work done on a photograph.

The wrinkles on my grandma's face were airbrushed out.

Answer:(Aperture) is the first common photography term you should learn. Simply put, aperture is the size of the opening in the lens. Think of the lens as a window—large windows or wide angles let in more light, while small windows let in less light. A wide open aperture will let more light into the image for a brighter photo, while a smaller aperture lets in less light.  (Aspect Ratio) If you’ve ever printed images before, you’ve probably noticed that an 8 x 10 usually crops from the original image. That’s due to aspect ratio  (Bokeh) is the orbs created when lights are out of focus in an image.

Mika forgot to put in the function name in his function header for the code below. What would be the best function header?

def draw():

forward(80)
left(120)
forward(80)
left(120)
forward(80)
left(120)
def drawDiamond():
def drawTriangle():
def drawN():
def drawH():

Answers

Answer:

i think its the first option

Explanation:

Answer:

I believe its the first option

Explanation:

PLS HURRY!!!
Look at the image below!

Answers

Answer:

Ctrl+c

Explanation:

U Need to use Ctrl+C

Assume that your body mass index (BMI) program calculated a BMI of 20.6. What would be the value of category after this portion of the program was executed? # Determine the weight category. if BMI 39.9: category = "morbidly obese" elif BMI <= 24.9: category = "normal" elif BMI <= 39.9: category = "overweight"
The value of category will be _______.

A)overweight
B)normal
C)underweight
D)morbidly obese

Answers

Answer:

B normal is the answer

Answer:

Normal

Explanation:

JAVA
Write a program that will input a list of test scores in from the keyboard. When the user enters -1, print the average.
What do you need to be careful about when using-1 to stop a loop?
Sample Run:
Enter the Scores:
45
100
-1
The average is: 72.5

Answers

import java.util.Scanner;

public class JavaApplication35 {

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Enter the Scores:");

       int total = 0;

       int count = 0;

       while (true){

           int num = scan.nextInt();

           if (num == -1){

               break;

           }

           else{

               total += num;

               count += 1;

           }

       }

       System.out.println("The average is: "+((double)total/count));

   }

   

}

I hope this helps!

JAVA
Write a program that requests the user input positive numbers until they input -1, then prints the sum of all numbers.
Sample run:
Enter positive numbers (-1 to stop)
3
7
8
-1
Sum is 18

Answers

import java.util.Scanner;

public class JavaApplication33 {

   public static void main(String args[]) {

     Scanner scan = new Scanner(System.in);

     int total = 0;

     System.out.println("Enter positive numbers (-1 to stop)");

     while (true){

         

         int num = scan.nextInt();

         if (num == -1){

             break;

         }

         else{

             total += num;

         }

     }

     System.out.println("Sum is "+total);

     

}

}

I hope this helps!

The program is an illustration of loops.

Loops are used to carry out repetition operations; examples are the for-loop and the while-loop.

The program in Java, where comments are used to explain each line is as follows:

import java.util.*;

public class Main

{

public static void main(String[] args) {

    //This creates a scanner object

 Scanner input = new Scanner(System.in);

 //This initializes sum to 0, and declares num

 int sum = 0; int num;

 //This gets input from the user

 num = input.nextInt();

 //The loop is repeated until the user enters -1

 while(num!=-1){

     //This if-condition ensures that, only positive numbers are added

     if(num > 0){

         sum+=num;    

     }

     //This gets another input from the user

     num = input.nextInt();

 }

 //This prints the sum of all positive numbers gotten from the user

 System.out.print(sum);

}

}

The above program is implemented using a while loop

Read more about similar programs at:

https://brainly.com/question/15263759

White lines
A.separate traffic lanes moving in opposite directions
B.separate traffic moving in the same direction
C.indicate a handicap parking space
the
D.indicate temporary parking

Answers

Answer:

Its B                                                                                                                                            

Explanation:

Answer: B

Explanation:

Intellectual property rights protect people’s and organization’s ideas and other intellectual assets. However, in certain cases, they may have a effect on innovation.


computer science

Answers

Answer:

negative effect

Explanation:

its right on edg

Answer:

negative

Explanation:

ed22

what is computer? Write is features




Answers

Explanation:

A computer is an machine that accepts data as input,processes that data using programs, and outputs the processes the data as information.

the features are

1) speed

2) accuracy

3) versatility

4) multi tasking

5) reliability

I need help with this question!

Answers

Answer:

5 and 10

Explanation:

Given

The above code segment

Required

Determine the outputs

Analysing the code segment line by line

[This initialises c to 0]

c = 0

[The following iteration is repeated as long as c is less than 10]

while (c < 10):

[This increments c by 5]. Recall that c is initially 0. Hence, c becomes 0 + 5 = 5

c = c + 5

[This prints the value of c which is 5]

print(c)

The iteration is then repeated because the condition is still true i.e. 5 is less than 10

c = c + 5 = 5 + 5 = 10

[This prints the value of c which is 10]

print(c)

The iteration won't be repeated because the condition is now false i.e. 10 is not less than 10.

Hence, the output is 5 and 10.

Which of the following should you consider when choosing a file format?

the browser you use most often

the age of the person who created the file

the need for future access and digital preservation

the length of time a file is under copyright law​

Answers

Answer:

“The need for future access and digital preservation”

Explanation:

When choosing a file format, it is important to consider the need for future access and digital preservation. The correct option is 3.

What is file format?

A file format is a method of organizing and storing data in a file that is standardized. It specifies how data in the file is organized and represented.

It is critical to consider the need for future access and digital preservation when selecting a file format.

This is due to the fact that different file formats have varying levels of compatibility with different software and operating systems, and some formats may become obsolete over time, making future access or opening of the file difficult or impossible.

Other factors to consider when selecting a file format include the intended use of the file, the file's quality and size, and any specific requirements or limitations of the software or platform being used.

Thus, the correct option is 3.

For more details regarding file format, visit:

https://brainly.com/question/1856005

#SPJ7

JAVA
Take two String inputs of the same length and merge these by taking one character from each String (starting with the first entered) and alternating. If
the Strings are not the same length, the program should print "error".
Sample Run 1:
Enter Strings:
balloon
atrophy
baatlrloopohny

Sample Run 2:
Enter Strings:
terrible
mistake
error

Answers

import java.util.Scanner;

public class JavaApplication83 {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Enter Strings: ");

       String word1 = scan.nextLine();

       String word2 = scan.nextLine();

       String newWord = "";

       if (word1.length() == word2.length()){

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

           {

               newWord += word1.charAt(i) +""+word2.charAt(i);

           }

       

       }

       else{

           newWord = "error";

       }

       System.out.println(newWord);

   }

   

}

I hope this helps!

Midday is a good time to take a portrait outside.
true or false?

Answers

Answer:

B: False

Explanation:

edg2020

Midday is generally not an ideal time to take a portrait outside, especially under direct sunlight. This statement is false.

During midday, the sun is at its highest point in the sky, creating harsh and unflattering shadows on the subject's face.

The intense overhead light can cause squinting and result in unappealing contrasts. Instead, photographers often prefer to shoot portraits during the golden hour, which occurs around sunrise or sunset when the sun is low on the horizon.

During these times, the light is softer, warmer, and more diffused, creating a more flattering and aesthetically pleasing effect on the subject's features, making it an optimal time for outdoor portrait photography.

Know more about portrait painting:

https://brainly.com/question/1272412

#SPJ6

Felicia is a computer programmer.

a. What hardware tool would you suggest for his computing system? Include an explanation and the cost.
b. What software program would you suggest? Include an explanation and the cost.
c. What operating system might you suggest (Mac, Windows, iOS, Android, etc) and why?

Answers

A: SSD, HDD, CPU or RAM

Whether you go with the faster SSD or slower but larger HDD, keep in mind you may end up needing a drive large enough to run a dual boot system if you plan on coding in multiple environments. Virtualization of other operating systems is another option, but that requires a fast CPU and a large amount of RAM to work well.

B: Ram because its larger than the others, and will work better.

C: i don't really have a suggested system but here

You may appreciate the seamless experience iOS offers, the flexibility of Android or the familiarity of Windows with your everyday PC. It might take some time to acclimate to a new system, so it may be best to stick with what you know.

Please consider marking brainliest.. thx

Impaired drivers are one of the many risks drivers face on the Highway Transportation System. List 3 signs that a driver could be potentially impaired. Explain a strategy that you can use to keep yourself safe.​

Answers

Three signs a driver could be potentially impaired is swerving on the road, driving slower than “normal” speed limit, and driving outside of the lines (when not changing lanes).

A strategy to keep yourself safe from impaired drivers could be to keep a safe distance from drivers nearby that are exhibiting erratic or potentially dangerous driving behavior.

Answer:

Three signs that could show that a driver is impaired are: Swerving on the road, driving slower than the speed limit, and driving on top of lines or inside and outside the lines. A strategy to be safe would be to keep a safe distance from the driver, not try to outrun or pass the driver, stay a good distance behind the impaired driver to avoid potentially dangerous driving.

please don’t report this for wrong subject i just need an answer and i don’t know what this would fit in: (please only answer if you actually know, don’t guess)

if a driver is losing control (heart attack, seizing etc) and you are sitting in the passenger seat, should you put the car in park gear to stop a crash ?? if not, what else should one do ??

Answers

You should help stop the car immediately

Unconformities develop when new sedimentary layers accumulate atop old, eroded layers, resulting in a geologic hiatus. Which of the illustration represents a disconformity? Choose one:


A. Illustration A


B. Illustration B


C. Illustration C

Answers

Answer:

B it right

Explanation:

You designed a program to find the average of the user’s numbers. Which step below corresponds to finding the sum and dividing by the quantity of the user’s numbers?

Gather data.

Perform any needed calculations or data manipulations.

Define the problem precisely.

Communicate the results, along with an interpretation as needed.

Check the accuracy of your calculations and data manipulations.

Answers

Answer:

a

Explanation:

give me a crowns

The step below that corresponds to finding the sum and dividing by the quantity of the user’s numbers is to gather data. The correct option is a.

What is it to design a program?

Programs are developed utilizing specified structures in structured programming designs. As an illustration, somebody would want a financial statement analysis where the income statement profit is determined first and then the balance sheet is balanced.

The top-down programming refers to a method of creating programs that starts with the big idea and continuously breaks it down into its smaller elements. To put it another way, it begins with the abstract and keeps breaking it down until it reaches the specific.

Therefore, the correct option is a. Gather data regarding the program design.

To learn more about designing a program, refer to the link:

https://brainly.com/question/16850850

#SPJ2

Which formatting option(s) can be set for Conditional Formatting rules?

A) light red fill with dark red text, yellow fill with dark yellow text, and green fill with dark green text
B) light red fill with dark red text
C) light red fill, light yellow fill, and light green fill
D) Any of these formatting options as well as number, border, shading, and font formatting can be set.

Answers

Answer: D is the answer

d - any of these formatting options as well as number, border, shading, and font formatting can be set

Choose the proper term to describe each of the following examples.
senate.gov:
IP Address
SMTP account name
domain name

23.67.220.123:
IP Address
SMTP account name
domain name

Answers

Answer:first 1

Explanation:

This software application can be used to organize, analyze, and illustrate data?
O Excel
O Outlook
O PowerPoint
O Word

Answers

Answer:

Excel

Explanation:

Excel is a program by Microsoft that allows the user to create and organize data in tables in graphs.

Word is a documentation program by Microsoft that allows the user to create a written document with images, graphs, etc. But it is not used to organize data.

PowerPoint is a program by Microsoft that allows the user to create and display presentations.

Outlook is a program by Microsoft the allows the user to email other users' and emails along with other emails in general.

Answer:

O Excel

Explanation:

What method of thermal energy is at work when heat lamps are used to warm up baby chickens?

Answers

Answer:

Radiation

Explanation:

Answer:

radiation is correct

Explanation:

THIS IS WHAT I DID!!!

One of the key inventions that made the World Wide Web possible is the
URL.

In the year, 1969, the American Department of Defense put a military research network, called ARPANET online.

Which organization developed a network called CSNET to provide a network free to all American research and educational institutions? Type the full name of the organization.
National Science Foundation

Complete the following sentence.
The first email was sent in 1971.

Complete the following sentence.
The PC modem was invented in 1977.

Complete the following sentence.
The World Wide Web launched to the public in 1991.

Complete the following sentence.
The first cell phone with an Internet connection released in 2001.


PLEASE HELP ME THIS QUESTION!!!!!! I'M DUE TODAY:)
Write a paragraph response explaining the research process that you used to find the answers for your project. Include in your response to the ways in which you determined the sites were valid and accurate.

Answers

Answer:

thank you for this and for the paraghraph this is what i put

Explanation:

Recently the google chrome software doesn't allow sites that they don't make or are from a popular news browser to be accessed through the search engine. So a matter of "is this a site that will give me valuable information that is also correct" more applies to when the internet was first created. But nowadays if you are on a secure website there should be a little lock at the top by the URL. this isn't on all the secure websites because the companies Amazon, Walmart, and, Best buy have proven to be very safe and they don't have a lock.

Following are the responses to the given question:

The ARPANET was built by the U.S. Department of Defense's Advanced Research Projects Agency. Bob Taylor launched the ARPANET project in 1966 to enable remote computer access, based on the ideas of J. C. R. Licklider.The NSF funds research and teaching in science and engineering through grants, contracts, and cooperation agreements. It Foundation is responsible for roughly 20% of government money in fundamental research in academic institutions.The first communication is being sent to a computer to the machine over ARPANET on October 29th, 1969. Ray Tomlinson invented email messages as we know them today in 1971, as he created ARPANET's networked mail server.In 1977, Dale Heatherington & Dennis Hayes developed the first modem PC of the world,  the 80-103A.  A Modem which gave all the right features at precisely the correct price point that connected to a phone, something which users had never had the opportunity of experiencing up to this time.On August 6, 1991, Berners-Lee published the first-ever site, heralding the commencement of a Web as an available to the public service on the Internet. The site had to do with the World Wide Web project, explaining the Internet and how it is used.The Nokia 9000 Communication was the first cell phone to include Internet access.By selected words from the questions, rewrote them in a simpler manner, and then go ogled it. I clicked on several sites & thought that what was most usually written was accurate.

Learn more:

brainly.com/question/4735264

lol WAKE UP!!! and get ready to answer my questions.

Answers

Answer:

1. Variable Creation Statement2. Fav_Num=7

Explanation:

Hope This Helps :)Im not sure if the 2nd one is correct but i think that it is.
Other Questions
Can someone help please! Esch lobe containsalveoli, which have lobules, where oxygen is transferred to the blood,fissures, which have lobules, where oxygen is transferred to the bloodlobules, which have alveoli, where onygen is transferred to the blood,lobules, which have fissures, where oxygen is transferred to the blood,Gtv910 Solve for k.k-10=5k= Need help Asap: Instructions------> You are writing a letter to your pen-pal. In 4-6 complete Spanish sentences describe your family and what you like or want to do with them. Use the vocab and 2 verb combinations you learned in this unit. Make sure you include the following: Greet your friend and ask how he/she's doing. Describe your family and what you like or want to do with them. Say good-bye. ( Look at the picture for vocab and verb words). Will Mark Brainliest to whomever can help need two responses. Evaluate: 10 +(2x4) 2 Why does the CDC gather data on health disparities?to improve genetic risk factors of disease for certain populationsto influence public health policy changes for the entire populationto tailor vaccines to be more effective for minority groupsO to make interventions target groups with higher disease risks In the cell membrane, the molecules which move large molecules into andout of the cell are known as what? Pls fill out family tree.The square box means methen write relationships for each one The electrons in the outermost energy level are responsible for the atoms _____. These electrons are called the _______ electrons. There can never be more than _____ of these electrons. What is 148% as a fraction and decimal? which equation represents the line that passes through points (5,4) and (-5,0) Why do we refer indians as native americans True or False The process of waves dropping sand on beach is called deposition A partial Eclipse occurs during a Why did Lincoln order an attack on Richmond, Virginia? How did Americans feel heading into the 1st major battle? The Johnson family went to the Olive Garden. The total was $73.28. If they leave a 20% tip, how muchwill the tip be? ( 30 points ) pls help {brainliest}Which of the following DNA sequences is palindromic? A. GAGTTC B. GAATTC C. GAAGAA D. CTCTCT Which of the following statements best describes why the change in only one dna base of a gene does but always result in a different protein being produced by the gene what is the value of the expression below when w=9 and x=2w 4x explain the component of general environment ?