Ready to attempt the final challenge? Supply the 3 passwords you received via the first 3 challenges to proceed! Password from challenge #1 (all lowercase): Password from challenge #2 (all lowercase): Password from challenge #3 (all lowercase):

Answers

Answer 1

Using the knowledge in computational language in python it is possible to write a code that through a list manages to organize the largest and smallest numbers in order.

Writting the code in python:

# finding largest in the list

list_max = challenge3[0]

for i in range(len(challenge3)) :

   if challenge3[i] > list_max :

       list_max = challenge3[i]        

print("largest in the list = ", list_max)

# number of times largest occurs in list

max_count = 0

for i in range(len(challenge3)) :

   if challenge3[i] == list_max :

       max_count += 1        

print("number of times largest occurs in list = ", max_count)

# finding second largest in the list

list_sec_max = challenge3[0]

for i in range(len(challenge3)) :

   if challenge3[i] > list_sec_max and challenge3[i] < list_max :

       list_sec_max = challenge3[i]        

print("second largest in the list = ", list_sec_max)

# number of times second largest occurs in list

sec_max_count = 0

for i in range(len(challenge3)) :

   if challenge3[i] == list_sec_max :

       sec_max_count += 1        

print("number of times second largest occurs in list = ", sec_max_count)

# location of first occurence of largest in the list

first_index = -1

for i in range(len(challenge3)) :

   if challenge3[i] == list_max :

       first_index = i

       break        

print("location of first occurence of largest in the list = ", first_index)

# location of first occurence of largest in the list

last_index = -1

for i in range(len(challenge3) - 1, -1, -1) :

   if challenge3[i] == list_sec_max :

       last_index = i

       break        

print("location of first occurence of largest in the list = ", last_index)

See more about python at brainly.com/question/13437928

#SPJ1

Ready To Attempt The Final Challenge? Supply The 3 Passwords You Received Via The First 3 Challenges

Related Questions

Which load balancing method is not supported in equal cost multipath (ECMP) load balancing, but is supported in SD-WAN

Answers

The load balancing method that is not supported in equal cost multipath (ECMP) load balancing, but is supported in SD-WAN is Volume load balancing.

What is load balancing?

Load balancing is known to  be one that shares server loads in all of multiple resources  and also in all multiple servers.

Note that this method technique often works to reduce response time, and as such, The load balancing method that is not supported in equal cost multipath (ECMP) load balancing, but is supported in SD-WAN is Volume load balancing.

Learn more about load balancing from

https://brainly.com/question/13088821

#SPJ1

g A user receives an email from an unknown source with a link to a website asking for their password. The userenters in their password, but nothing happens. What is the user a victim of

Answers

Based on the information provided, this user is a victim of phishing.

What is phishing?

Phishing can be defined as a type of cyberattack which involves making an attempt to obtain sensitive user information such as a password, especially by disguising as a trustworthy entity in an electronic communication (email), which is usually over the Internet.

In this context, we can infer and logically deduce that this user is a victim of phishing because he or she received an email from an unknown source with a link to a website asking for their password.

Read more on phishing here: https://brainly.com/question/23850673

#SPJ1

C++ code only......
Overview:
Synopsis: Type in a word and get a point value. A point value is the sum of the points of the individual letters multiplied by any bonus multipliers (defined later).
In both Words With Friends and the scrabble game, a individual letters in a word are given specific values.
Your program will let me keep typing in words and giving me the point value until I stop the program.
---------------------------------------------------------------------------------------------------------------------------------------------
Basic Point values:
For this lab, calculate the value of a word with the following specific rules:
A, E, I, O, S, U are worth 1 point
D, F, G, L, M, N, R, T are worth 2 points
B, C, K, P, Y are worth 3 points
H, J, Q, V, W, X, Z are worth 5 points.
If the word was CAT, the value would be 3 + 1 + 2 or 6 points.
-------------------------------------------------------------------------------------------
Bonus Point multipliers
DOUBLE: Any word that contains two (or more) of the same letter in a row has it's value doubled. Some examples are 'asset' and 'little'. You can only double things once.
TRIPLE: Any word that has three (or more) 1 point letters has it's value triples. You can only triple a word once. 'asset' has 4 single point letters (a, s, s, and e), while little only has 2 (i and e)
You can both DOUBLE and TRIPLE a word.
--------------------------------------------------------------------------------------------------------------------------------------------
Dictionary Lookup
You also need to check to see if the word is in a dictionary. There's one at
http://www.csit.parkland.edu/~kurban/permanent/lists/ and it's called web2.txt
It contains one word per line and is already sorted. You can make your own smaller dictionary to test it if you like.
Please do not turn in the dictionary.
-----------------------------------------------------------------------------------------------------------------------
Requirements
Your program will ask the user for a word (without spaces) and print it's value.
Ignore any special characters or numbers that are entered. [I won't include these in my test cases].
If the word isn't in the dictionary, report that the word isn't a valid word.
You HAVE to use my rules or you will receive 0 credit!
----------------------------------------------------------------------------------------------------------
Examples:
asset = (1 + 1 + 1 + 1 + 2) * 2 * 3 = 18 (double letters, 3 single point letters)
little = (2 + 1 + 2 + 2 + 2 + 1) * 2 = 24 (double letters)
abacadabra = (1 + 3 + 1 + 3 + 1 + 2 + 1 + 3 + 2 + 1) * 3 = 56 (3 single point letters)
football = (2 + 1 + 1 + 2 + 3 + 1 + 2 + 2) * 2 * 3= 84 (double letters only double once, 3 single point letters)

Answers

Using the computational language C++ it is possible to write a code that adds the values ​​of the letters and does the multiplication as well.

Writting the code in C++:

#include <iostream> //for input/output functions

#include <string> //for C++ style strings

#include <cctype> //for toupper utility function

#include <fstream> //for file I/O

using namespace std;

//function to calculate the score of the given word

int getScore(string word)

{

int score = 0;

int singles = 0;

char c; //variable to hold the current character

char prev='0'; //variable to hold the previous character

//'0' so that prev is not equal to c in the first place

bool doubled = false;

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

{

c = toupper(word[i]);

switch(c)

{

case 'A':

case 'E':

case 'I':

case 'O':

case 'S':

case 'U':

score = score+1;

singles++;

break;

case 'D':

case 'F':

case 'G':

case 'L':

case 'M':

case 'N':

case 'R':

case 'T':

score = score+2;

break;

case 'B':

case 'C':

case 'K':

case 'P':

case 'Y':

score = score+3;

break;

case 'H':

case 'J':

case 'Q':

case 'V':

case 'W':

case 'X':

case 'Z':

score = score+5;

break;

}

//if at any point, the previous character is the same as the current character, we double

if(c == prev)

doubled = true;

prev = c;

}

if(doubled) score *= 2;

//if 1 point characters are more than 3, we triple

if(singles >= 3) score *= 3;

return score;

}

//function to check if the given word is in the dictionary

bool inDictionary(string word)

{

//we assume that the dictionary is stored in a file called dictionary.txt

ifstream fin("dictionary.txt");

//check for file errors

if(!fin)

{

cout << "File did not load properly" << endl;

return false;

}

string current;

//read until the file ends

while(!fin.eof())

{

fin >> current;

//we found the word

if(current.compare(word) == 0)

return true;

}

return false;

}

int main(int argc, char const *argv[])

{

string word;

cout << "Please enter the word whose score you want to compute: ";

cin >> word;

cout << "Score is " << getScore(word) << endl;

if(inDictionary(word))

cout << "The given word was found in the dictionary." << endl;

else

cout << "The given word was not found in the dictionary." << endl;

return 0;

}

See more about C++ code at brainly.com/question/17544466

#SPJ1

You can use the keyboard/mouse, Insert Function box, and Sum button menu to insert functions in a formula. Which method do you prefer

Answers

The preferred method is using the keyboard/mouse to insert functions into formula

How to determine the preferred method?

The scenarios are given as:

Insert functions using the keyboard/mouse Insert functions without using the keyboard/mouse

Using the keyboard and the mouse to insert functions would be faster and more efficient, compared to not using the keyboard and the mouse

Hence, the preferred method is using the keyboard/mouse

Read more about keyboard and mouse at:

https://brainly.com/question/1245638?source=archive

#SPJ1

Kenny works with an IT company. His company is about to launch new software in the market. He has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. Which job profile is Kenny likely to have?
Kenny is likely to have the job profile of a _______.

Answers

The job profile that Kenny is likely to have is  software analyst.

What is a job profile?

This is known to be that which states the details of an employee in regards to their  job.

Note that a software analyst is known to be that person who examines and maintain the software development process, carry out configuration management, and others.

So, The job profile that Kenny is likely to have is  software analyst.

Learn more about job profile from

https://brainly.com/question/3700565

#SPJ1

The more disks that are added to the tower, the more difficult the game becomes. What is the minimum number of moves it would take to move two disks from one peg to the other

Answers

The minimum number of moves it would take to move two disks from one peg to the other is first to make 1 move, then  3 moves.

What is the rule used in solving the Tower of Hanoi?

In the rules of this game, It state that just one disk is one that can be moved in case of some towers at any given time.

Note that just the "top" disk is one that can be removed and as such, The minimum number of moves it would take to move two disks from one peg to the other is first to make 1 move, then  3 moves.

Learn more about disks from

https://brainly.com/question/1558359

#SPJ1

Identify the true statements about the approach to privacy around the world. a. Uncertainty concerning the nature, extent, and value of privacy is widespread. b. The United States has the most centralized and consistent approach to personal privacy issues. c. A legal right to privacy as recognized within the United States is acknowledged by all western countries. d. Significant disagreement about privacy exists within the United States.

Answers

Answer:

a. Uncertainty concerning the nature, extent, and value of privacy is widespread.

d. Significant disagreement about privacy exists within the United States.

What is the process of identifying rare or unexpected items or events in a data set that do not conform to other items in the data set

Answers

Anomaly detection is the process of identifying rare or unexpected items or events in a data set that do not conform to other items in the data set.

What is Data?

This is referred to as a raw form of information and comprises of facts, numbers, etc.

Anomaly detection identifies abnormal data from a given set which is why it is the most appropriate choice.

Read more about Data here https://brainly.com/question/4219149

#SPJ1

What is output? Item jar = new Item(); Item ball = new Item(); System.out.println(Item.count); public class Item{ public static int count = 1; public Item(){ count++; } } Group of answer choices 1 Error: syntax error 3 2

Answers

Answer:

It's 3

Explanation:

now if you pay attention, you've assigned count as 1 in the beginning and you've asked the class to increase the count variable by 1

and when the program is compiled the code is going to count ball and Jar as numbers

mean jar.count is 2

and ball.count is 3

that's all

Why is cyber security an important part of sending information using digital signals

Answers

Cyber security is an important part of sending information using digital signals. Because it keeps data safe while stored in the cloud and when they are transmitted. Option D is correct.

What are cybersecurity functions?

Analysts in cybersecurity defend an organization's hardware and network infrastructure against hackers and cybercriminals looking to harm them or steal confidential data.

When conveying information via digital signals, cyber security is a crucial component. because it protects data as it is sent and stored in the cloud.

Hence, option D is correct.

To learn more about cybersecurity  refer;

https://brainly.com/question/27560386

#SPJ1

Spectrum Technologies uses SHA 256 to share confidential information. The enterprise reported a breach of confidential data by a threat actor. You are asked to verify the cause of the attack that occurred despite implementing secure cryptography in communication. Which type of attack should you consider first, and why?

Answers

The type of attack in the case above that a person need to consider first, is Misconfiguration attack.

Why Misconfiguration attack?

Due to the fact that the company need to have configured a higher security hash algorithm instead of using the less-secure SHA 256 and as such the attack occurred.

Therefore, The type of attack in the case above that a person need to consider first, is Misconfiguration attack.

Learn more about Misconfiguration attack from

https://brainly.com/question/15702398

#SPJ1

Nolan is writing an after action report on a security breach that took place in his organization. The attackers stole thousands of customer records from the organization's database. What cybersecurity principle was most impacted in this breach

Answers

The cybersecurity principle was most impacted in this breach is known to be confidentiality.

What is confidentiality?

Confidentiality is a term that connote the act of respecting a person's privacy, and not sharing personal or any sensitive information about a person to others.

Note that, The cybersecurity principle was most impacted in this breach is known to be confidentiality.

Learn more about confidentiality from

https://brainly.com/question/863709

#SPJ1

A value that is used in a computation is known as an _____. Group of answer choices operand operator function clause

Answers

A value that is used in a computation is known as an operand .

What is an operand value?

This is seen in assembly language as it is defined as a value or an argument via through which the instruction is said to operate.

Note therefore that A value that is used in a computation is known as an operand.

Learn more about operand from

https://brainly.com/question/6381857

#SPJ1

A company's prospectus includes:
A) The company's investment options.
B) The company's guaranteed return strategy.
C) The company's revenue and net worth.
D) The company's research.

Answers

A company's prospectus includes: A. The company's investment options.

What is a prospectus?

A prospectus can be defined as a legal document that is formally required of companies by and filed with the Securities and Exchange Commission (SEC), so as to provide information about its investment options and offering that are for sale to the public.

This ultimately implies that, a company's prospectus must include information about the company's investment options.

Read more on prospectus here: https://brainly.com/question/27245796

#SPJ1

could you tell me the family link app code to unlock a phone please?

Answers

The family link app code needed to unlock a child's phone is typically generated on the parent's device.

Family Link

The family link app is an innovative feature which allows parents to lock and control their child's devices such as restricting the contents or apps on their child's phone, setting screen times, and many other parental control features.

You can learn more from a related question about parental control options here https://brainly.com/question/23509933

#SPJ1

Describe two features of a digital audio workstation that can be used to enhance a podcast

Answers

The two features of a digital audio workstation that can be used to enhance a podcast are DAW is truly vital in case you need expert sounding song. Or in case you need an unprofessional-sounding song.

What are the blessings of the use of a virtual audio workstation?

Digital audio workstations have revolutionized the manner song and audio recordings are made. With surely limitless tune counts, lightning-quick, specific modifying capabilities, plugins, and more, all of us can bounce in and begin recording and mixing.

Regardless of configuration, cutting-edge DAWs have a relevant interface that lets in the consumer to adjust and blend more than one recordings and track right into a very last produced piece. A computer-primarily based totally DAW has a few primary components: a computer, a legitimate card or audio interface, a virtual audio modifying software, and an audio or midi source.

Read more about the workstation :

https://brainly.com/question/24540334

#SPJ1

What is the missing line of code? >>>from math th import >>> Point = [1,5) >>> bPoint [4.9]​

Answers

Answer:

I believe import math.

Do let me know if its correct.

2. How can Tailwind Traders ensure applications use geo-redundancy to create highly available storage applications?

Answers

Tailwind Traders CAN ensure applications use geo-redundancy to create highly available storage applications by:

Running one's application in read-only mode.Enforcing its use.

What is geo redundant storage?

Geo-redundant storage (GRS) is known to be a device that tends to copy one's data synchronously three times in the same or inside a single physical location in the primary region via the use of LRS.

Note that in the case above,  Tailwind Traders CAN ensure applications use geo-redundancy to create highly available storage applications by:

Running one's application in read-only mode.Enforcing its use.

Learn more about Geo-redundant storage from

https://brainly.in/question/6073238

#SPJ1

Given class triangle (in files triangle.h and triangle.cpp), complete main() to read and set the base and height of triangle1 and of triangle2, determine which triangle's area is larger, and output that triangle's info, making use of triangle's relevant member functions.
ex: if the input is:
3.0 4.0
4.0 5.0
where 3.0 is triangle1's base, 4.0 is triangle1's height, 4.0 is triangle2's base, and 5.0 is triangle2's height, the output is:
triangle with larger area:
base: 4.00
height: 5.00
area: 10.00
given (in main.cpp):
#include
#include "triangle.h"
using namespace std;
int main(int argc, const char* argv[]) {
triangle triangle1;
triangle triangle2;
// todo: read and set base and height for triangle1 (use setbase() and setheight())
// todo: read and set base and height for triangle2 (use setbase() and setheight())
// todo: determine larger triangle (use getarea())
cout << "triangle with larger area:" << endl;
// todo: output larger triangle's info (use printinfo())
return 0;
}

Answers

The C++ program that would complete the main () and set the base and height of triangle1 and of triangle2 is:

main.cpp

#include <iostream>

#include "Triangle.h"

using namespace std;

int main()

{

   Triangle Tri1;  

Triangle Tri2;

   double base1, height1, base2, height2;

   cout << "Enter a base for your Triangle1: ";

   cin >> base1;

   cout << "Enter a height for your Triangle1: ";

   cin >> height1;

   cout << endl;

   cout << "Enter a base for your Triangle2: ";

   cin >> base2;

   cout << "Enter a height for your Triangle2: ";

   cin >> height2;

   cout << endl;

   

   cout << "################################" << endl;

   

   cout << "Triangle with larger area:" << endl;

   if ((0.5)*base1*height1 > (0.5)*base2*height2){

      Tri1.setValues(base1, height1);

      Tri1.getValues();

      cout << "Area: " << Tri1.getArea() << endl << endl;

}

else{

 Tri2.setValues(base2, height2);

 Tri2.getValues();

    cout << "Area: " << Tri2.getArea() << endl;

}

   

   return 0;

}

Read more about C++ programs here:

https://brainly.com/question/20339175

#SPJ1

For which three everyday activities do people most typically use computers?

Answers

Answer:

Explanation:

People use computers to :

1. Communicate

2. Research

3. To better understand different aspects of their domain or just something they want to know.

4. Computers have the power to be obedient and do whatever people want, which makes them very efficient for a lot of tasks.

5. The fact that computers can run complex algorithms at an incredible speed is something that would be impossible for a person.

6. Computers can make people better understand the world.

7. An interesting fact, is that the brain works on electricity just like a computer, but also works like a computer. (imagine the neurons of the brain being bits.)

8. With the help of computers, we discovered more than 60 trillion of Pi's digits.

9. AI is a very powerful concept for computers because they can learn about anything over time, and get better than people at doing real-life tasks, which would make the overall human civilization better.

10. Computers could help us mathematically find Earth-like planets, which will be useful since in billions of years the sun will die.

11. The human robots, which would get one of the best human-made inventions, could simply change the world, into a way more efficient one, and the fact that our brain works just like the computer, makes us more like robots.

But, what if robots take over the world and kill all humans? Is that possible?

Nope. A robot will never kill anyone. Know why? Because robots will always be obedient to the code we write into them. Whatever if write into their chip, they will run(the code) that.

If a robot is coded to not kill anyone and kills someone, it is just like we wouldn't live in real life. No robot can overthink the code we put into them. People just think that robots will overtake control because of films and stories. That will never happen.

That's just how robots work. Humans are robots. But we can do whatever we want because the DNA doesn't program us to not do something. As humans, we can do whatever we think because we are programmed to not have limits in thinking. But, the robots have a limit. That limit is the script written into it.

Computers and AI have just advantages. No one will kill someone.

Given the doubt and uncertainty of a relational exchange, what is necessary to ensure the customer's ongoing commitment to the Spero brand?

Answers

The factor that is necessary to ensure the customer's ongoing commitment to the Spero brand is that:

Know your Customer Expectations.Study your Customer types and Journeys.Examine How Brand Perception Has been altered Over Time, etc.

How do one show commitment to customers?

This can be done by:

Giving your customer relevant and valuable content/brand.Form a customer community.Share success stories linked to the brand.

Therefore, The factor that is necessary to ensure the customer's ongoing commitment to the Spero brand is that:

Know your Customer Expectations.Study your Customer types and Journeys.Examine How Brand Perception Has been altered Over Time, etc.

Learn more about brand from

https://brainly.com/question/25689052

#SPJ1

There are a number of Dealership stores opening, so a decision is made that when a car is created, it should be passed a pointer to its dealership along with its make and model. It should store the dealership pointer in an appropriate data member. Write the data member and necessary constructor declarations in the space provided.

Answers

The data member based on the information about the dealership stores is illustrated below.

What are data members?

Data members are the members that are declared with any of the fundamental types like the pointer, reference, array types, and user-defined types.

The data members and necessary constructor declaration will be:

class Car{

public :

string m_make ;

string m_model;

double m_earnedOnCar;

//Added data member for the car dealership

Car* m_dealerShip;

public :

Car(string str1,string str2){

this->m_make=str1;

this->m_model=str2;

}

//Address constructor to add the dealership to the car

Car(Car* car){

this->m_dealerShip=car;

}

//copy constructor to copy dealership of the car

Car(const Car &car) {

this->m_dealerShip=car.m_dealerShip;

}

//add method to add the dealership of the car

void add(Car* car){

this->m_dealerShip=car;

}

double getAmmountEarnedOnCar(){

return this->m_earnedOnCar;

}

Learn more about data on:

https://brainly.com/question/4219149

#SPJ1

A security specialist discovers a malicious script on a computer. The script is set to execute if the administrator's account becomes disabled. What type of malware did the specialist discover

Answers

The security specialist has discovers a malicious script on a computer known as a logic bomb.

Is logic bomb a type of malware?

A logic bomb is known to be a form of a malicious program that is set up or ignited if a logical condition is met, such as after a series of transactions have been done, or on a given date.

Therefore, The security specialist has discovers a malicious script on a computer known as a logic bomb.

Learn more about malware from

https://brainly.com/question/399317

#SPJ1

Answer:

Logic Bomb

Explanation:

PHOTOGRAPHY: In 200 words or more explain the difference between deep and shallow depth field and when would you use either technique when taking a photograph?

Answers

The differences are:

A shallow depth of field is said to be a small area in view and its background is always blurred but a A deep depth of field is known to be one that captures a bigger area in view and its image are said to be sharp and clear.

What is the difference between deep and shallow focus?

The Images gotten in shallow focus is one that needs little or shallow depths of field, and its lenses also needs long focal lengths, and big apertures. But Deep focus images needs small focal lengths and long  depths of field.

In the case above i recommend deep depth field and therefore, The differences are:

A shallow depth of field is said to be a small area in view and its background is always blurred but a A deep depth of field is known to be one that captures a bigger area in view and its image are said to be sharp and clear.

Learn more about photograph from

https://brainly.com/question/13600227

#SPJ1

Write a function named swapFrontBack that takes as input a vector of integers. The function should swap the first element in the vector with the last element in the vector. The function should check if the vector is empty to prevent errors. Test your function with vectors of different length and with varying front and back numbers.

Answers

Answer:

#include <iostream>

#include <vector>

using namespace std;

void swapFrontBack(vector<int>& nums) {

if(nums.size() < 2) {

return;

}

swap(nums[0], nums[nums.size()-1]);

}

void printit(vector<int>& arr) {

for(int i = 0; i < arr.size(); i++) {

cout << arr[i] << " ";

}

cout << endl;

}

int main() {

vector<int> num1;

swapFrontBack(num1);

printit(num1);

num1.push_back(1);

swapFrontBack(num1);

printit(num1);

num1.push_back(2);

swapFrontBack(num1);

printit(num1);

vector<int> num2(10, 1);

num2[9] = 2;

swapFrontBack(num2);

printit(num2);

return 0;

}

Explanation:

Which kind of license is a legal agreement that allows multiple users to access the software on the server simultaneously?.

Answers

Answer:

A network license

Explanation:

Make up a python program that can do the following
Write a program to ask the user to input the number of hours a person has worked in a week and the pay rate per hour.​

Answers

The program to ask the user to input the number of hours a person has worked in a week and the pay rate per hour is as written below.

How to write a Python Program?

To write this program, we will pay the hourly rate for the hours up to 40 and 1.5 times the hourly rate for all hours worked above 40 hours. Thus

hrs = input("Enter Hours:")

h = float(hrs)

xx = input("Enter the Rate:")

x = float(xx)

if h <= 40:

 print( h  * x)

elif h > 40:

print(40* x + (h-40)*1.5*x)

Read more about Python Program at; https://brainly.com/question/26497128

#SPJ1

Write, compile, and test the MovieQuoteInfo class so that it displays your favorite movie quote, the movie it comes from, the character who said it, and the year of the movie: I GOT IT DONT WATCH AD.

class MovieQuoteInfo {
public static void main(String[] args) {
System.out.println("Rosebud,");
System.out.println("said by Charles Foster Kane");
System.out.println("in the movie Citizen Kane");
System.out.println("in 1941.");
}
}

Answers

Using the knowledge of computational language in JAVA it is possible to write a code that removes your favorite phrase from the movie. It consists of two classes in which one is driver code to test the MovieQuoteInfo class.

Writing code in JAVA:

public class MovieQuoteInfo { //definition of MovieQuoteInfo class

//All the instance variables marked as private

private String quote;

private String saidBy;

private String movieName;

private int year;

public MovieQuoteInfo(String quote, String saidBy, String movieName, int year) { //parameterized constructor

 super();

 this.quote = quote;

 this.saidBy = saidBy;

 this.movieName = movieName;

 this.year = year;

}

//getters and setters

public String getQuote() {

 return quote;

}

public void setQuote(String quote) {

 this.quote = quote;

}

public String getSaidBy() {

 return saidBy;

}

public void setSaidBy(String saidBy) {

 this.saidBy = saidBy;

}

public String getMovieName() {

 return movieName;

}

public void setMovieName(String movieName) {

 this.movieName = movieName;

}

public int getYear() {

 return year;

}

public void setYear(int year) {

 this.year = year;

}

//overriden toString() to print the formatted data

public String toString() {

 String s = quote+",\n";

 s+="said by "+this.saidBy+"\n";

 s+="in the movie "+this.movieName+"\n";

 s+="in "+this.year+".";

 return s;

}

}

Driver.java

public class Driver { //driver code to test the MovieQuoteInfo class

public static void main(String[] args) {

 MovieQuoteInfo quote1 = new MovieQuoteInfo("Rosebud", "Charles Foster Kane", "Citizen Kane", 1941);//Create an object of MovieQuoteInfo class

 System.out.println(quote1); //print its details

}

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

/* Stretch 1: Create a function called `getCountryWins` that takes the parameters `data` and `team initials` and returns the number of world cup wins that country has had.

Hint: Investigate your data to find "team initials"!
Hint: use `.reduce` */


fifa.js:
export const fifaData = [
{
Year: 1930,
Datetime: "13 Jul 1930 - 15:00",
Stage: "Group 1",
Stadium: "Pocitos",
City: "Montevideo",
"Home Team Name": "France",
"Home Team Goals": 4,
"Away Team Goals": 1,
"Away Team Name": "Mexico",
"Win conditions": "",
Attendance: 4444,
"Half-time Home Goals": 3,
"Half-time Away Goals": 0,
Referee: "LOMBARDI Domingo (URU)",
"Assistant 1": "CRISTOPHE Henry (BEL)",
"Assistant 2": "REGO Gilberto (BRA)",
RoundID: 201,
MatchID: 1096,
"Home Team Initials": "FRA",
"Away Team Initials": "MEX",
},

Answers

The function called `getCountryWins` which takes the parameters `data` and `team initials` and returns the number of world cup wins that country has had is:

The function

function getCountryWins(FRA) {

initialValue,

currentIndex,

return total + currentValue getCountryWins(FRA);

"World Cup wins": 2,

array.reduce(function(total, currentValue, currentIndex, arr), initialValue)

}

The above function calls the function that contains the data and team initials of the country France and then uses the reduce() method executes a reducer function for the array element.

Read more about javascript here:

https://brainly.com/question/16698901

#SPJ1

In _________, the process requests permission to access and modify variables shared with others. A) entry section B) critical section C) exit section D) remainder section

Answers

In entry section, the process requests permission to access and modify variables shared with others.

What is Entry section?

Entry Section is known to be an aspect of any given process that tells the entry of a specific process.

Note that it often allows one process to enter and alter the shared variable and as such, In entry section, the process requests permission to access and modify variables shared with others.

Learn more about entry section from

https://brainly.com/question/1637572

#SPJ1

Other Questions
which is a stretch of an exponential decay function ? 1. How to prepare 15ml of 20% w/v NaCl solution?2. How many grams of NaCl are required to prepare 45g of NaCl solution (35% w/w)?3. Calculate the molarity of 0.289 moles of FeCl3 dissolved in 120 ml of solution.4. How many moles of NaCl are present in 600 ml of a 1.55 M NaCl solution?5. What is the molarity of 650 ml of solution containing 63 grams of NaCl?6. How many grams of CaCO3 are needed to produce 500 ml of 1.66 M CaCO3solution? How to prepare this solution?7. What volume of a 0.88 M solution can be made using 130 grams of FeCl2?8. Prepare 70ml of 1.5M NaCl solution from a 3M solution.9. What is the volume of a 2 M H2SO4 solution prepared using 3 ml of 6 M H2SO4 solution?10.What is the molarity of a 17 ml solution used to prepare 65 ml of 2.4 M solution Suppose that $7000 is placed in an account that pays 9% interest compounded each year. Assume that no withdrawals are made from the account. please answer correctly. Find the area of the trapezoid Quick factorisation question can someone pls help and also provide a step by step explanation? Thank you! Surveys should be worded so that participants will? QUESTION 141. W. E. B. DuBois' discussion of "twoness" refers to a nation divided by race. an African American's inner turmoil. lack of educational opportunity for all in America. lack of political opportunity for all in America.1 points QUESTION 151. The gangrene in Harry's leg ("Snows of Kilimanjaro") may represent his lack of medical preparedness during the trip. Harry's previous writings, which were not his best work. the dangers of big game hunting in Africa. what Harry's life has become because of choosing comfort over meaning.QUESTION 161. Nature in Frost's "Mending Wall" seems to participate in the destruction of the wall, be indifferent to humanity, require that humanity protect itself from changing conditions. Both a and b1 points QUESTION 171. The crab in Eliot's "Love Song of J. Alfred Prufrock" functions as a metaphor for how Prufrock moves through time. Prufrock's love of staying hidden. Prufrock's willingness to "scavenge" from what life brings him. Both a and cQUESTION 181. Which of the following characteristics does not describe the speaker in "The Love Song of J. Alfred Prufrock?" Alienated Impotent Determined Uncommitted1 points QUESTION 191. The lame balloonman in "in -Just" could represent all of the following except youth and innocence. a type of Peter Pan. a mythological Satyr. a reminder that youth and innocence do not last.QUESTION 201. The speaker in "Mending Wall" believes that fences make good neighbors. the wall is no longer necessary to separate him from his neighbor. the wall protects from wild animals. the wall shows the property line division so there will be no discord.1 points QUESTION 211. Which of the following are symbols of death in "The Snows of Kilimanjaro?" The hyenas The vultures The airplane All are symbols of deathQUESTION 221. How many versions of Marianne Moore's "Poetry" did she publish? 2 3 4 51 points QUESTION 231. Anton Rosicky in "Neighbour Rosicky" can best be described as interesting, charismatic, and well mannered. hard working, thoughtful, and optimistic. playful, considerate, and humorous. jealous, suspicious, and harsh.QUESTION 241. The character of Dr. Burleigh in "Neighbour Rosicky" serves to help foreshadow Rosicky's illness and death. provide a foil for Polly. help the reader appreciate Rosicky's character. Both a and c1 points QUESTION 251. In "The Snows of Kilimanjaro," the mountains may represent good times. the difficulty of the journey of life. ideal life achievements. Both a and c In Maslow's hierarchy of needs, the desire for love and acceptance would fall into the category of __________ needs. Please helpWhich quadrilaterals are not rhombuses?Choose each correct answer. The characters seemed disillusioned with life.The characters didn't believe that their liveshad a true purpose.The authors opposed war.The authors believed that many people livedlife to excess.The authors were part of the "LostGeneration."DONE A soccer ball is kicked from the top of one building with a height of H1 = 30.2 m to another building with a height of H2 = 12.0 m. (It is not a very smart idea to play soccer on the roof of tall buildings.)The ball is kicked with a speed of v0 = 15.10 m/s at an angle of = 74.1 with respect to the horizontal. The mass of a size 5 soccer ball is m = 450 g. When the ball lands on the other building, its speed is 19.89 m/s. How much energy was lost to air friction? The ball is kicked without a spin.37.71 J is incorrect. What was Germanys main goal after WW1 help!! find the volume of the cone Faruq has a identical markers, b identical pencils, and no other writing utensils in his locker. How many different collections of writing utensils could Faruq bring to class if he doesn't want to show up empty-handed?Your answer should be an expression, which might involve the variables a and/or b. Question 4(Multiple Choice Worth 2 points)(02.04 MC)Beginning with the graph of f(x) = x, what transformations are needed to form g(x) = 3(x + 2)2-1? Find the surface area. Round your answer to the nearest hundredths, if necessary. Leave your answer in terms of for answers that contain . After being fired from her job two months ago, Melanie began spending almost every day at a casino. She tells her husband she's out looking for a job because she is embarrassed about how she's been spending her time. Should Melanie be diagnosed with gambling disorder In the years that followed, I failed her many times, each time asserting my will, my right to fall short of expectations. I didn't get straight As. I didn't become class president. I didn't get into Stanford. I dropped out of college.Which characterization technique does the author use?Indirect characterizationImplicit descriptionDirect characterizationSensory detail Fill in the blanks with the correct form ofthe verb in parentheses. Remember youwill need a pronoun AND a verb in thespaces.