I am working on 8.3.6 Girl Scout Designation
in JavaScript if anyone has done this lesson please tell me your code i cant seem to figure this out here is the prompt:

Write a program that will determine if a girl scout has reached ‘Gold’ status.

Ask the user for three variables:
- The number of boxes of cookies sold
- The total number of badges they have
- The number of volunteer hours they have worked
(Make sure you ask for the variables in this order!)

A girl scout has reached gold status if they sold at least 100 boxes of cookies, OR they sold at least 50 boxes and have at least 10 badges and have volunteered at least 25 hours. You will need to use both logical and comparison operators here.

Once you determine their status, let them know!

For example, if the user gave the following input:

How many boxes did you sell? 60
How many badges do you have? 12
How many hours have you volunteered? 30
You should respond with the following output:

Is gold status? True

Answers

Answer 1

The JavaScript program that determines if a girl scout has reached 'Gold' status is given as follows:

var nBoxes = prompt("How many boxes did you sell?");

var nBadges = prompt("How many badges do you have?");

var nHours = prompt("How many hours have you volunteered?");

var isGold = (nBoxes >= 100) || (nBoxes >= 50 && nBadges >= 10 && nHours >= 25);

alert("Is gold status? " + isGold);

How to write the program?

The first step is reading the input variables from the user, using the prompt command.

There are three variables that have to be read, and they are read as follows:

var nBoxes = prompt("How many boxes did you sell?");

var nBadges = prompt("How many badges do you have?");

var nHours = prompt("How many hours have you volunteered?");

Then the conditional is called to verify if the girl scout has achieved gold status or not, as follows:

var isGold = (nBoxes >= 100) || (nBoxes >= 50 && nBadges >= 10 && nHours >= 25);

The alert command just prints if the person has achieved the status or not.

More can be learned about JavaScript programming at https://brainly.com/question/14825779

#SPJ1


Related Questions

TRUE/FALSE. patrick is working on a computer that is having wireless network connection issues. patrick decides that he needs to take the laptop with him to repair it and then return it to the user. while patrick is replacing the wireless network card, he receives a phone call from the user. the user wants to know where the laptop is because he is leaving on a business trip that day and needs the computer.

Answers

False, Patrick should have offered the user different laptop. If the user wants his laptop back because he is leaving on a business trip that day and needs the computer for work.

What is a wireless network connection?

If radio frequency (RF) links are utilized to connect network nodes, a computer network is referred to as a wireless network.

A common solution for households, companies, and telecommunications networks is wireless networking.

People frequently ask, "What is a wireless network?" But it a very true fact that people may find them practically anywhere they live and work

Similar to how people frequently believe that Wi-Fi is all wireless, many people would be shocked to learn that the two terms are not interchangeable.

Both make use of RF, although there are numerous varieties of wireless networks available using a variety of technologies (Bluetooth, ZigBee, LTE ).

The most obvious benefit of a wireless network is that it maintains device connectivity while also allowing them to move freely and cordlessly. In contrast, a wired network connects devices to the network through cables.

The majority of the time, these gadgets are desktop or laptop computers, but they can also be scanners and point-of-sale systems.

To know more about wireless network, visit: https://brainly.com/question/23091703

#SPJ4

Assume that there are two text input elements named val1 and val2. Write the JavaScript code to get the value from these elements and convert them to numeric (integer) values. Then add the two values together and store the result in the innerHTML property of the paragraph having and id of varOut.

Answers

The parseInt() function (or method) in JavaScript is used to transform a parameter or value that is handed in as a string into an integer value.

Which function is applied when a number is converted to an integer?

To turn a number into an integer in Excel, utilize the INT function. When a number is entered, the function truncates any decimal values to the closest integer. The INT function, for instance, can be used to round a number up or down.

How can I convert a string in JavaScript to an integer?

JavaScript uses the parseInt(), Number(), and Unary operator(+) functions to convert strings to integers. When the string lacks a number, the parseInt() function returns Nan (not a number).

To know more about JavaScript visit:-

https://brainly.com/question/28448181

#SPJ4

Write a program that reads integers, finds the largest of them, and counts its occurrences. Assume the input ends with number 0. Suppose you entered 3 5 2 5 5 5 0; the program finds that the largest is 5 and the occurrence count for 5 is 4. (Hint: Maintain two variables, ln ax and count. The variable max stores the current maximum number, and count stores its occurrences. Initially, assign the first number to max and 1 to count. Compare each subsequent number with max. If the number is greater than max assign it to max and reset count to 1 If the number is equal to max increment count by 1.)

Answers

The program requires the user to enter the number until the user enters 0. As the user enters zero, the program will display the largest number among other numbers that the user has entered and also display its occurrence. The required program is written in Java programming language below.

import java.util.Scanner;//import scanner class for taking input

public class MaxNumberFinder {

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

 // ask or prompt user to enter the number

 System.out.print("Enter numbers: ");

 int maximum = input.nextInt();// assign entered number to max

 int counter = 1;     // assign 1 to count

 int userNumber=1;      // hold for future

 // Assume that the input ends as user enter zero

 while (userNumber > 0) {

  userNumber = input.nextInt();

  if (userNumber > maximum) {

   maximum = userNumber;

   counter = 1;

  }

  if (userNumber == maximum)

   counter++;

 }

 // Print result on the screen

 System.out.println("The largest number is " + maximum);

 System.out.println(

  "The occurrence of the largest number is " + counter);

}

}

You can learn more about finding largest number program at

https://brainly.com/question/24129713

#SPJ4

a license filter in a search engine helps you find images online that you can legally copy for personal or commercial use without paying a fee.T/F

Answers

You can find images online that you can legally copy for either personal or commercial use without paying a fee by using a license filter in a search engine.

A license filter is what?

Use the license filter to find images that you are allowed to use, share, or modify for either personal or commercial purposes. The Creative Commons licensing framework is the foundation of this filter. To see image results that are appropriate for your intended use, choose a filter option.

Not filtered by license means what exactly?

Not license-filtered: This indicates that you haven't decided on the kind of filter to use to arrange the pictures. In other words, when "not filtered by license" is chosen, all types of photos with all types of licenses are displayed.

To know more about  Creative Commons visit:-

brainly.com/question/29247019

#SPJ4

you have a computer named computer a running windows 10. you turn on system protection and create a restore point named point a. you perform the following changes:

Answers

If you restore Point A, the files File1.txt, File2.txt, and File3.sys are available, but the applications App1 and App2 are removed.

What is an application?

An application, also known as an application programme or application software, is a piece of computer software that carries out a specific task either directly for the end user or, in some cases, for another application. A programme or group of programmes can be an application. A series of actions known as a programme allows a user to use an application.

The operating system (OS) of the computer and other auxiliary software, usually system software, are required for applications to run. Through an application programming interface, a programme communicates and requests services from other technologies (API).

Learn more about application

https://brainly.com/question/24264599

#SPJ4

b.in cell b4, enter a formula using the sum function, 3-d references, and grouped worksheets that totals the values from cell b4 in the california:washington worksheets

Answers

Use Formula "=SUM(California: Washington!B4)" to calculate the total value from cell B4.

How to use formula in worksheet?

In addition, investment bankers and financial analysts frequently use Microsoft's spreadsheet program for data processing, financial modeling, and presentation.

Beginners must first become experts in the fundamental Excel formulas before they can advance to financial analysis.

A formula is a sentence that determines a cell's value. Excel already includes functions, which are predefined formulas.

Microsoft Excel is the data analysis program that is most frequently utilized.

While analyzing data, there are five usual ways to insert basic Excel formulas. Each technique has advantages.

1. By entering a formula in the cell.

2. Utilizing the Insert Function button on the Formulas tab.

3. Choosing a Formula from a Group in the Formula Tab.

4. Using AutoSum Option.

5. Use recently used tabs for a speedy insert.

To know more about Data analysis, visit: https://brainly.com/question/25525005

#SPJ4

Once a central idea has been determined, then it is possible to identify the main points and decide upon an organizational strategy.
True False

Answers

Answer:

Explanation:

Once a central idea has been determined, then it is possible to identify the main points and decide upon an organizational strategy.

how to create a reminder app, uses your activity guide to help you plan. when done, submit your work. reddit

Answers

Name and logo Select a template or a blank app, then provide the name and icon information. Define Features. Choose the features that best fit your needs from the app's designer. Publish. Click "Publish," and we'll take care of the rest.

In code org, how can I construct a list?

An unordered list can be created in two steps: the list itself and the list elements. Write the unordered list tags in order to create the list. Your list elements should then be added inside the unordered list tags. Use the list item tags to create each list item and place the list item text inside the tags.

How can I find answers from code.org?

You can view accessible solutions to most levels on the site if you have a teacher account. when you're logged in, utilizing the "See a solution" button on the right. To open the Teacher Panel with that button, click on the blue arrow in the very right corner of your page.

To know more about reminder app visit:-

https://brainly.com/question/27994768

#SPJ4

David, a software engineer, recently bought a brand new laptop because his enterprise follows the BYOD (bring your own device) model. David was part of a software development project where the software code was leaked before its release. Further investigation proved that a vulnerability in David's laptop caused the exposure. David insists he never used the laptop to access any network or integrate any devices, and the laptop was kept in a vault while not in use. Which of the following attack vectors was used by the threat actor?
A. Direct Access
B. Wireless
C. Supply Chain
D. Removeable media

Answers

The attack vector used by the threat actor is the Supply Chain. The correct option is C.

What is an attack vector?

An attack vector is a strategy for breaking into a computer system or network without authorization. The entire number of attack vectors that an can use to influence a network or computer system or extract data is known as the attack surface.

Hacker can take advantage of system weak-nesses, including the human factor, using attack vectors. Viruses, mal-ware, email attachments, webpages, pop-up windows, instant messaging (IMs), rooms, and de-ceit are all common cyber-attack vectors.

Therefore, the correct option is C. Supply Chain.

To learn more about attack vectors, refer to the link:

https://brainly.com/question/27962411

#SPJ4

what are the identifiable elements of control structure.

Answers

Answer:

hope it helps please mark as brainliest

Explanation:

Flow of control through any given function is implemented with three basic types of control structures:

Sequential: default mode. ...

Selection: used for decisions, branching -- choosing between 2 or more alternative paths. ...

Repetition: used for looping, i.e. repeating a piece of code multiple times in a row.

TRUE/FALSE. in addition to other preflight actions for a vfr flight away from the vicinity of the departure airport, regulations specifically require the pilot in command to check the accuracy of the navigation equipment and the emergency locator transmitter (elt). review traffic control light signal procedures. determine runway lengths at airports of intended use and the aircraft's takeoff and landing distance data.

Answers

True, As per regulations, the pilot in command must precisely ascertain the runway lengths at airports of intended usage and the aircraft's takeoff and landing distance information before taking off on a VFR flight away from the region of the departure airport.

What is VFR flight ?

Visual flight rules (VFR) in aviation are a collection of rules that a pilot must follow when flying an aircraft in weather that is typically clear enough for the pilot to see where the aircraft is heading.

In particular, the weather has to be better than the minimal requirements for basic VFR flight, or in visual meteorological conditions (VMC), as described in the regulations of the responsible aviation authority.

The pilot must be able to control the aircraft while keeping an eye on the ground and keeping a visual distance from obstacles and other aircraft.

To know more about visual flight rules (VFR), visit: https://brainly.com/question/28151179

#SPJ4

which of the following is used when a cdma smartphone attempts to connect to the cellular network while traveling? (select any that apply) group of answer choices

Answers

When a CDMA smartphone tries to connect to a cellular network while in transit, both PRI and PRL are utilized.

The PRL is used on CDMA networks, contains radio bands, sub bands, and service provider IDs, enables over-the-air updates, and helps your phone connect to the proper tower.

PRI, or Product Release Instructions, updates The radio settings in the PRI, which may include ID numbers, network codes, country codes, and other crucial data, let your phone to connect to the network of the appropriate mobile operator.

To know more about PRL click on the below link:

https://brainly.com/question/14290713

#SPJ4

which of the following is a general term for the component that holds system information related to computer startup?

Answers

Answer: BootLoader

Explanation: A bootloader is a general term for the component that holds system information related to computer startup.

The bootloader is responsible for loading the operating system into memory and initiating the boot process when the computer is turned on. It is usually stored in a dedicated area of the computer's non-volatile memory, such as ROM or NVRAM, and is accessed by the computer's central processing unit (CPU) as the first step in the boot process.

The bootloader contains information about the location and configuration of the operating system, as well as any additional boot options or settings that may be required. It is an essential component of the computer's system software, and is responsible for ensuring that the operating system is loaded and initialized correctly.

tabase recovery, the transaction log shows both before and after images of records that has been modified by insert, delete, or update : T/F

Answers

It is true that database recovery, the transaction log shows both before and after images of records that has been modified by insert, delete, or update.

What is database?

A database is a collection of data that has been organised to make it simple to manage and update.

Data records or files containing information, including as sales transactions, customer information, financial data, and product information, are often aggregated and stored in computer databases.

Rebuilding a database or table space after an issue such a media or storage loss, power outage, or application failure is known as recovery.

If your database or certain table spaces have been backed up, you can restore them if they are ever corrupted or damaged in any manner.

When a database is recovered, the transaction log displays both the before and after pictures of any records that have been updated, deleted, or inserted.

Thus, the given statement is true.

For more details regarding database, visit:

https://brainly.com/question/29412324

#SPJ4

An incident response team is following typical incident response procedures. Which of the following phases is the BEST choice foranalyzing an incident with a goal of identifying steps to prevent areoccurrence of the incident?answer choicesPreparationIdentificationEradicationLessons learned

Answers

You should analyze an incident during the lessons learned stage of incident response with the goal of identifying steps to prevent reoccurrence.

What is lessons learned stage ?

The knowledge acquired via the project-management process is known as lessons learned. Both the advantages and disadvantages are included. It's important to avoid making the same mistakes again and to build on what worked before.

                       Support Your Team Examples Set reasonable timeframes for jobs and assign them properly. Clear Communication To maintain open lines of communication, check in frequently with the team.

Why are lessons learned important?

The ultimate goal of documenting lessons learned is to pass on knowledge to future project teams that can boost effectiveness and efficiency and build on the experience that has been gained by each completed project.

Learn more about lessons learned stage

brainly.com/question/29585474

#SPJ4

. You want to record and share every step of your analysis, let teammates run your code, and display your visualizations. What do you use to document your work? O A database O An R Markdown notebook O A data frame O A spreadsheet

Answers

The best way to document your work is to use an R Markdown notebook.

Use of R Markdown notebook:

This allows you to write code and add comments, while also creating a high-quality document that can be shared with others. The notebook can include code, text, and visualizations, making it an ideal way to record every step of your analysis. Additionally, the code in the notebook can be easily run by teammates, ensuring that everyone has access to the same results. Finally, the notebook can also be used to generate data frames and spreadsheets that can be used to further analyze the data.

The Benefits of Using an R Markdown Notebook for Documenting Your Work

Documenting your work is an important part of any data analysis project. It allows you to track your progress, and also allows others to understand and replicate your work. One of the best ways to document your work is to use an R Markdown notebook. This type of notebook has many advantages, including the ability to write code and add comments, create a high-quality document that can be shared with others, and generate data frames and spreadsheets for further analysis.

Using an R Markdown notebook for your project allows you to write code and add comments to explain each step of your analysis. This makes it easy to keep track of your progress, as well as to understand what each step of your analysis is doing. Additionally, the notebook allows you to create a high-quality document that can be shared with others.

Learn more about R Markdown notebook:

https://brainly.com/question/30005318

#SPJ4

in a sql statement, which of the following parts states the conditions for row selection? group of answer choices select from where group by

Answers

The where clause specifies the criteria for selecting rows in a SQL statement.

Which clause specifies the requirements for choosing a row?

The WHERE clause, if present, specifies the condition(s) that one or more rows must meet in order to be picked. The expression "where condition" must evaluate to true for each row to be chosen. In the absence of a WHERE clause, the statement picks all rows.

How do I SELECT a row in SQL using a condition?

When choosing rows, you can define a condition. You can indicate any condition's inverse by writing NOT before the full condition. For textual or graphic data, use the LIKE keyword in a WHERE clause along with the underscore and percent sign as selection symbols to pick rows.

To know more about SQL visit :-

https://brainly.com/question/30065294

#SPJ4

Which of the following are factors that can cause damage to a computer? Check all of the boxes that apply.

dust

heat

humidity

magnetic fields

Answers

Answer: all of the above

Explanation: im him

which email opening rate is best for email marketing?

Answers

Answer: 15-25%

Explanation:

FILL IN THE BLANK a_________ displays a list of commands some of these commands have images next to them so you can quickly associate the command with the image. most menus are located on the toolbar at the top of the screen.

Answers

a menu displays a list of commands some of these commands have images next to them so you can quickly associate the command with the image. most menus are located on the toolbar at the top of the screen.

What is a toolbar?

A window's toolbar, which is frequently a bar across the top, contains buttons that, when clicked, perform commands. The taskbar can be moved to the top, either side, or the bottom of the desktop. It often sits at the bottom. You have the ability to relocate the taskbar once it has been unlocked. Many apps have customizable toolbars that you can utilize to keep the commands you use the most visible and accessible. Toolbars are a common addition to dialog boxes.

Frequently used program functionalities are accessible quickly thanks to a toolbar. For instance, a formatting toolbar in Microosooft Exl provides access to features like bolding text or adjusting text alignment with other often-used buttons.

To learn more about a toolbar, use the link given
https://brainly.com/question/11498917
#SPJ4

1) Insert the missing code in the following code fragment. This fragment is intended to call the Vessel class's method. public class Vessel { . . . public void set VesselClass(double vesselLength) { . . . } } public class SpeedBoat extends Vessel { . . . public SpeedBoat() { _______________; } } a) SpeedBoat.vesselLength(26.0); b) Vessel.vesselLength(26.0); c) this.vesselLength(26.0); d) vesselLength(26.0);

Answers

d) vesselLength(26.0); This specific program follows OOPS principle. One of which is followed is Inheritance.

A key component of Java's object-oriented programming is inheritance. It permits the inheritance of fields and methods from one class (child class) to another class (parent class). For instance, we could wish the child class Dog to inherit characteristics from a parent class Animal that is more inclusive.Java's extends keyword is used to specify that a child class will inherit from a parent class when defining it.

To know more about object-oriented programming click on the below link:

https://brainly.com/question/28732193

#SPJ4

suppose you are given a relation R = (A, B, C, D, E) with the
following functional dependencies (CE D, D B, C A)
(a). find all candidate keys
(b). identify the best normal form that R satisfies (1NF, 2NF, .......
BCNF).
(c). If the relation is not in BCNF, decompose it until it becomes
BCNF. At each step, identify a new relation, decompose and re-compute
the key and the normal forms they satisfy

Answers

The all candidate keys are:

ABE Yes; ABE+= ABCDE.BCE Yes; BCE+= ABCDE.BDE Yes; BDE+= ABCDE.

What is a functional dependency with example?

The details of the name of the employee, salary and city are obtained by the value of the number of Employee (or id of an employee). So, it can be said that the city, salary and the name attributes are functionally dependent on the attribute Employee Number.

B) The  best normal form that R satisfies:

BDG → AE Yes; BDG+ = BDGECHAF (all attributes), which contains AE.BED → CF Yes; BED+ = BEDCF, which includes CF.CEG → AB Yes; CEG+ = CEGHAB, which contains AB.

C) The relation is not in BCNF, decompose it until it becomes BCNF is:

BCD → A Yes; BCD+ = ABCDE, which contains A.ABD → C Yes; ABD+ = ABCDE, which contains C.AB → D Yes; AB+ = ABCDE, which contains D.ABC → D Yes; ABC+ = ABCDE, which contains D.ACE → D Yes; ACE+ = ABCDE, which contains D.CD → B Yes; CD+ = ABCDE, which contains B.

See more about Functional Dependecies at brainly.com/question/29142324

#SPJ1

1. Suppose we have a byte-addressable computer using direct mapping with a 16-bit main memory addresses and 32 blocks of cache, If each block contains 8 bytes, determine the size of the offset field. (direct-16-32-8-offset field)

Answers

Words or bytes can be divided into 2s+w addressable units.The block size is 2w words or bytes (cache line width excluding the tag).

How does direct mapping determine block size? 2s+w words or bytes are the total number of addressable units.Block size is equal to 2w words or bytes (cache line width excluding tags). There are 2 blocks in main memory (i.e., all the bits that are not in w).Fully associative mapping allows every line of the cache that is now open for use to map to a block of main memory.Compared to direct mapping, fully associative mapping is more adaptable because of this.The tag is made up of the top 27 address bits.Since the words in the block are located at successive addresses, the complete block only requires a single tag. 16 kB, or 16 * 1024, or 16384 bytes, are available for use.Word has 4 bytes, so 16384 bytes divided by 4 bytes each word is 4096 words.Blocks are 4 words in length, hence there are 1024 (210) blocks in every 4096 words.This indicates that the index uses 10 bits.

To learn more about bytes refer

https://brainly.com/question/14927057

#SPJ4

TRUE/FALSE. a system maintenance activity generated in response to changes in the business environment is referred to as corrective maintenance.

Answers

The statement " a system maintenance activity generated in response to changes in the business environment is referred to as corrective maintenance" is False.

Define corrective maintenance.

Corrective maintenance is a type of maintenance work done to find, isolate, and fix faults in equipment, machinery, or systems in order to get them back in working order while staying within tolerances or limits set for in-service operations.

When equipment malfunctions, it must be replaced or repaired as part of corrective maintenance (CM). When equipment malfunctions, CM tasks locate the malfunction (which could be an equipment component or item) and fix it so that the equipment can be replaced and the facility's production can be resumed. A correction would be putting out a fire in the office. The issue is resolved by doing this. Corrective measures, on the other hand, take care of the problem's underlying causes and stop it from happening again.

To learn more about corrective maintenance, use the link given
https://brainly.com/question/29803064
#SPJ4

C++ program. help pls
Write a description of the Polynom3 class of polynomials of the 3rd degree from one given variable
an array of coefficients.
Provide overloading methods for copy operator=(), assembly operations
operator+(), operator-() subtraction and operator*() multiplication of polynomials with the result
of a new object - a polynomial, printing (output to a stream).

Answers

Answer:The Polynom3 class represents polynomials of the third degree from one given variable with an array of coefficients. It has the following methods:

Polynom3(const Polynom3& other): This is the copy constructor, which creates a new Polynom3 object as a copy of another Polynom3 object.

Polynom3& operator=(const Polynom3& other): This is the copy assignment operator, which allows you to assign one Polynom3 object to another, replacing the original object with a copy of the other object.

Polynom3 operator+(const Polynom3& other) const: This is the addition operator, which adds two Polynom3 objects and returns a new Polynom3 object representing the sum of the two polynomials.

Polynom3 operator-(const Polynom3& other) const: This is the subtraction operator, which subtracts one Polynom3 object from another and returns a new Polynom3 object representing the difference between the two polynomials.

Polynom3 operator*(const Polynom3& other) const: This is the multiplication operator, which multiplies two Polynom3 objects and returns a new Polynom3 object representing the product of the two polynomials.

friend std::ostream& operator<<(std::ostream& out, const Polynom3& polynom): This is the output operator, which allows you to print a Polynom3 object to an output stream, such as std::cout.

Here is an example of how you could use these methods:

Polynom3 p1({1, 2, 3});  // Creates a polynomial p1 = 1x^2 + 2x + 3

Polynom3 p2({4, 5, 6});  // Creates a polynomial p2 = 4x^2 + 5x + 6

Polynom3 p3 = p1 + p2;   // Creates a new polynomial p3 = 5x^2 + 7x + 9

Polynom3 p4 = p1 - p2;   // Creates a new polynomial p4 = -3x^2 - 3x - 3

Polynom3 p5 = p1 * p2;   // Creates a new polynomial p5 = 4x^4 + 13x^3 + 22x^2 + 17x + 18

std::cout << p3 << std::endl;  // Outputs "5x^2 + 7x + 9" to the console

Explanation:

The third-degree polynomials from a given variable with an array of coefficients are represented by the Polynom3 class.

What is a C++ program?

Many people believe that C++, an object-oriented programming (OOP) language, is the finest language for developing complex applications.

The copy assignment operator, Polynom3& operator=(const Polynom3& other), enables you to assign one Polynom3 object to another, replacing the original object with a duplicate of the other object.

The addition operator, Polynom3 operator+(const Polynom3& other), returns a new Polynom3 object that represents the sum of the two polynomials after adding two Polynom3 objects.

This Polynom3 operator subtracts one Polynom3 object from another using the formula (const Polynom3& other).

The Polynom3 operator*(const Polynom3& other) const multiplies two Polynom3 objects and creates a new Polynom3 object that represents the result of the multiplication.

Thus, this way, a description of the Polynom3 class of polynomials of the 3rd degree from one given variable can be done.

For more details regarding programming, visit:

https://brainly.com/question/10895516

#SPJ2

Kaylie Is Writing A Program To Determine The Largest Number In A List Of Numbers. She Comes Up With The Following Algorithm. Step 1: Create A Variable Max And Initialize It To 0. Step 2: Iterate Through List Of Integer Values. Step 3: If An Element's Value Is Larger Than Max, Set Max To That Element's Value. For Which Of The Following Lists Will Kaylie's
Kaylie is writing a program to determine the largest number in a list of numbers. She comes up with the following algorithm.
Step 1: Create a variable max and initialize it to 0.
Step 2: Iterate through list of integer values.
Step 3: If an element's value is larger than max, set max to that element's value.
For which of the following lists will Kaylie's algorithm work?
A. [0,7,2,11]
B. [−3,−2,−1]
C. [−2,−1,0,−5]
D. Both A and C.

Answers

The algorithms used by Kaylie to find the largest number in a list of numbers are [0,7,2,11] and [2,1,0,5].

An algorithm is a written formula that is part of software and, when triggered, tells the tech what to do to solve a problem. Computer algorithms work with input and output. The system analyzes the data entered and issues the appropriate orders to bring about the intended outcome.

What purposes serve algorithms?

An algorithm is a process for carrying out calculations or solving problems. In either hardware-based or software-based routines, algorithms work as a precise sequence of instructions that execute predetermined tasks sequentially. Algorithms play a big role in information technology across the board.

To know more about algorithms visit:-

https://brainly.com/question/22984934

#SPJ4

enter the name of the file containing the key. key1.txt enter the name of the file containing the student's responses. responsesa.txt question 1 has incorrect answer 'a', the correct answer is 'b'. question 7 has incorrect answer 'a', the correct answer is 'd'. question 12 has incorrect answer 'c', the correct answer is 'b'. 3 questions were missed out of 15. the student grade is 80.00% the student has passed the quiz.

Answers

The Student average marks is 80% in the test, So ,the student has passed the quiz test.

How do you determine the average of a group of numbers?

A set of numbers' sum divided by the total number of figures in the data set is referred to as an average in mathematics.

The total data set is thus represented by the Centre number.

Particularly in mathematical or statistical contexts, the median is another term frequently used to refer to an average.

The central tendency of a bunch of numbers in a statistical distribution—which is where the center is located—is measured by the AVERAGE function.

Example: Calculate the average of 9, 5, 1, 9, 6, 2, and 3.

The sum of the numbers is: 9 + 5 + 1 + 9 + 6 + 2 + 3 = 35

By how many numbers there are, divide: 35 ÷ 7 = 5

These numbers have a mean average of 5, or 5.

To know more about AVERAGE function., visit: https://brainly.com/question/24233224

#SPJ4

A company has a two-level certificate authority (CA) hierarchy. One of the CA servers is offline, while the others are online. Which statements are TRUE of online and offline CAs?

Answers

To add an intermediate CA, you need an online root. To publish a CRL, an online CA is required.

Explain about the CA hierarchy?

A CA hierarchy begins at the top with the root CA. There are a few intermediary CAs located beneath the root. A certificate for an intermediate CA will be issued by the Root CA. After that, the intermediate CA will either sign end entity certificates or issue another CA that is one level lower.

Root certificates are self-signed, while intermediate certificates are cross-signed certificates. The certificate chain of trust model is built on the foundation of root CAs, with intermediate CAs' main goal being to add an extra layer of protection in the event of any mis issuance or online threats.

A certificate chain is an ordered collection of certificates, including SSL/TLS and CA certificates, that enables the recipient to confirm the legitimacy of the sender and all CAs.

To learn more about CA hierarchy refer to:

https://brainly.com/question/29024363

#SPJ1

fill in the blank: a data analyst includes in their r markdown notebook so that they can refer to it directly in their explanation of their analysis.

Answers

A data analyst includes inline code in their R Markdown notebook so that they can refer to it directly in their explanation of their analysis.

What is inline code?

Inline code is a term in many programming language to describe the code that written in the body of program.

R Markdown is a document that contain the text and code. Inline code in R Markdown is to code directly into the text with .Rmd file.

Thus, the given statement is to refer directly to their explanation which is mean the text, so the correct option is inline code because the inline code is a code that can directly into the text.

You question is incomplete, but most probably your full question was

Fill in the blank: A data analyst includes _____ in their R Markdown notebook so that they can refer to it directly in their explanation of their analysis.

Learn more about inline code here:

brainly.com/question/26021537

#SPJ4

you want to compare the average mpg of cars with 4 and 8 cylinders. the null hypotheses of: h null: the average of mpg for cars of 4 cylinders

Answers

The four-cylinder engine is smaller, lighter, and more fuel-efficient than the V8, but it typically cannot produce the same amount of horsepower as a V8. A few four-cylinder engines, however, surprisingly outperform a V8 in terms of speed.

Are four-cylinder engines more fuel-efficient?

A four-cylinder engine typically has better fuel efficiency than a six-cylinder. Because of its lower horsepower as well as its smaller size and lighter weight, it has better fuel economy.

What is a 4 cylinder's high mileage?

Everything depends on how the car has been maintained and driven. At 200,000 miles, some people might want to switch to a high mileage oil, while others might want to change to a high mileage oil at 80,000 miles. For the average driver, anything over 100,000 miles could safely be considered a high mileage vehicle.

To know more about  fuel economy visit:-

brainly.com/question/24506260

#SPJ4

Question:-"you want to compare the average mpg of cars with 4 and 8 cylinders. the null hypotheses of: h null: the average of mpg for cars of 4 cylinders"

Other Questions
jane is one of 10 chiropractors in her city. demand for chiropractic services is low enough that all chiropractors in the city are suffering losses. after three chiropractors close their practices, which of the following changes does jane's practice not experience? its demand curve shifts to the right. it loses market power. it sells more chiropractic services. its price falls. which choice identifies attributes required for an x.509 compliant digital certificate? Discuss change management validity tools for a chosen organization. How could you apply analytical frameworks to illustrate possible project outcomes? What are the common problems of immigrants? How Far Does The Microsoft Cloud Extend? Edgar accumulated $9,000 in credit card debt. If the interest rate is 20% per year and he does not make any payments for2 years, how much will he owe on this debt in 2 years for quarterly compounding? Round your answer to the nearest cent. The mean value of land and buildings per acre from a sample of farms is $1200, with a standard deviation of $100. The data set has a bell-shaped distribution. Using the empirical rule, determine which of the following farms, whose land and building values per acre are given, are unusual (more than two standard deviations from the mean). Are any of the data values very unusual (more than three standard deviations from the mean)? $1064 $1417 $1373 $856 $1250 $1102 e. A fish starts at `-9` meters and changes `-11` meters? Which scenario might indicate a reportable insider threat security incident? What is the main point in Section 3? What is the symbol for rule of law? astronomers detect a gas giant exoplanet orbiting its host star on an eccentric orbit with a semimajor axis of 100 au. this provides evidence for: What are common homophones? Drawbacks include noise and the release of corrosive chemicals. The circumference of a circle is double the perimeter of square having area 484cm^2.what is the area of circle? Match the metric units on the left with theirapproximate equivalents on the right. Not all theoptions on the right will be used.1 meterkilogram1 liter1 cupI mile2pounds1 quartI yard List three characteristics of tropical rain forests. What is the process of creating a federal budget? Muscles make adjustments to maintain _____ from the force of gravity. Is 990 divisible by 3 yes or no?