Which of the following statements are true about routers and routing on the Internet.

a. Protocols ensure that a single path between two computers is established before sending packets over it.
b. Routers are hierarchical and the ""root"" router is responsible for communicating to sub-routers the best paths for them to route internet traffic.
c. A packet traveling between two computers on the Internet may be rerouted many times along the way or even lost or ""dropped"".
d. Routers act independently and route packets as they see fit.

Answers

Answer 1
A packer traveling between two computers will always have two router’s. The original one that the information is sent from and the one that received it to be able to communicate with. Answer C.
Answer 2

A packet traveling between two computers on the Internet may be rerouted many times along the way or even lost or ""dropped"" is the statements are true about routers and routing on the Internet. Hence, option C is correct.

What is routers?

A router can connect one or more packet-switched networks or subnetworks. It controls traffic between several networks and enables multiple devices to share an Internet connection by transmitting data packets to their intended IP addresses.

In addition to VPN routers, wired, wireless, core, and edge routers are also included.

In order to transfer data between two or more packet-switched computer networks, a router—either real or virtual—is used. A router looks at the destination's Internet Protocol address and chooses the best route for the data packet to take in order to get there.

Thus, option C is correct.

For more information about routers, click here:

https://brainly.com/question/15851772

#SPJ12


Related Questions

What is output by following code?

C=c+2

Answers

The output of the C++ code is 21.

What is C++?
C++
has changed significantly over time, and modern C++ has object-oriented, generic, and functional features, as well as low-level memory manipulation capabilities. It is always implemented as a compiled language, and various manufacturers, including the Free Software Foundation, LLVM, Microsoft, Intel, Embarcadero, Oracle, and IBM, provide C++ compilers, allowing it to be used on a wide range of systems.

Let first write the question

C=1

sum = 0

while(C<10):

C=C+3

sum=sum + C

print(sum)

Now Focus on

while(C<10):

C=C+3

sum=sum + C

The value of C is initially 1

C=1+3

Sum= 0+4

In second loop the value of C will become 4

c=4+3

sum=4+7

In third loop the value of C will be 7

c=7+3

sum=11+10

so the answer is 11+10=21

To learn more about C ++
https://brainly.com/question/28185875
#SPJ13

Question 7 of 10
is a rate that charges interest on the interest that accumulates on debt.
O A. Simple interest
OB. Variable interest
O C. Principal interest
OD. Compound interest
SUBMIT

Answers

Compound interest is a rate that charges interest on the interest that accumulates on debt.

What is an interest?

Interest is the payment of an amount above the principal sum by a borrower or deposit-taking financial institution to a lender or depositor at a specific rate. It differs from a fee that the borrower may pay to the lender or a third party. It is also distinct from a dividend, which is paid by a company to its shareholders (owners) from its profit as well as reserve, but not at a fixed rate, but rather on a pro rate basis as a share of the reward gained by risk-taking entrepreneurs when revenue exceeds total costs.

When interest is compounded on the principal amount invested as well as borrowed, the interest rate is applied to the new (larger) principal. It's essentially interest on interest, which leads to exponential growth over time.

So, D is the right answer.

To learn more about interest

https://brainly.com/question/16134508

#SPJ9

Which type of footwear should be worn while working on hybrid electric vehicles (HEVs) and electric vehicles (EVs)

Answers

Answer: Insulated safety footwear.

Explanation: While working on a hybrid electric vehicle (HEV) or an electric vehicle (EV) you should wear Insulated safety footwear.

I would like to create crossword puzzles in Java. Two 4X4 and two 6X6 puzzles. How do I go about it?

Answers

One of the ways to create crossword puzzles in Java using GUI is given below:

The Program

import java.awt.BorderLayout;

import java.awt.FlowLayout;

import java.awt.GridLayout;

import java.awt.event.ActionEvent;

import java.awt.event.ActionListener;

import java.util.Random;

The program is attached in the file below as the profanity counter is rejecting the code here, so I cannot post it here.

Read more about java programming here:

https://brainly.com/question/18554491

#SPJ1

Create a program that will allow user to input arithmetic operator, first number and second number
then perform a result based on the condition.

and produce the output below.
• When arithmetic operator "+" or "addition" perform addition for first number and second number and
use (for loop) to display count down from result to 1.
• When arithmetic operator "x" or "multiplication" perform multiplication for first number and second
number and use (for loop) to display from 1 to result.
• When arithmetic operator "-" or "subtraction" perform subtraction for first number and second
number and use (while loop) to count down from result to 0.
• When arithmetic operator "/" or "division" perform division for first number and second number and
use (while loop) to display from 0 to result.
• When arithmetic operator "%" or "modulo" perform modulo for first number and second number and
use (do while loop) to display from 0 to result, Otherwise Access Denied

Answers

A program that will allow the user to input the arithmetic operator, the first number, and the second number and then perform a result based on the condition that when the arithmetic operator "+" or "addition" performs addition for the first number and second number and use (for loop) to display count down from result to 1 is given below:

The Program

a = int(input("Enter First Number: "))

b = int(input("Enter Second Number: "))

print("Enter which operation would you like to perform?")

ko = input("Enter any of these char for specific operation +,-,*,/: ")

result = 0

if ko == '+':

   result = a + b

elif ko == '-':

   result = a - b

elif ko == '*':

   result = a * b

elif ko == '/':

  result = a / b

else:

   print("Error")

print(a, ko, b, ":", result)

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

write a statement that retrieves the image stored at index 0 from an imagelist control named slideshowimagelist and displays it in a picturebox control named slideshowpicturebox.

Answers

The statement that retrieves the image stored at index 0 from an image list control named slideshowimagelist and displays it in a picturebox control named slideshowpicturebox are:

{

slideshowPictureBox.Image = slideShowImageList.Images [0];

}

What is picturebox?

The PictureBox control is used to display photos on a Windows Form. The PictureBox control provides an image property that allows the user to set the image at runtime or design time. It acts as a container control, uses memory to hold the picture, and allows for image manipulation in the picture box. It also has an auto size property but no stretch feature.

To learn more about picturebox
https://brainly.com/question/27064099

#SPJ4

Given the array, var a = [20, 40, 60, 80, 100], which line of code accesses the value 40?

Answers

Answer:

1

0 = 20

1=40

2=60

3=80

4=100

etc..


What type of function does a project management tool have that a task management
tool does not?
file sharing
Oprogress tracking
commenting
budgeting

Answers

The type of function does a project management tool have that a task management tool does not use  is option C; commenting.

What is the project management tool from Microsoft?

To develop timetables, project plans, manage resources, and keep track of time, project managers utilize Microsoft Project. For project management experts, it contains features like Gantt charts, kanban boards, and others.

Therefore, This project management tool enables your engineering team to keep tabs on each undertaking. Every component of any project your engineering team is working on may be managed by a single system and commenting is not one of it.

Learn more about  project management tool  from

https://brainly.com/question/6500846
#SPJ1

What is the easiest way to create a resume in Word with predefined content that can be replaced with your information?

Answers

The easiest way to create a resume in Word with predefined content that can be replaced with your information is to use a resume template.

What is resume?

A resume, often known as a curriculum vitae (CV) in English outside of North America, is a document written and utilised by an individual to present their background, abilities, and accomplishments. Resumes can be used for a variety of reasons, but they are most commonly utilised to find new job. A CV often includes a "summary" of relevant employment experience and education. The resume is frequently one of the first items a potential employer sees about the job seeker, along with a cover letter and sometimes an application for employment, and is typically used to screen applicants, often followed by an interview.

To learn more about resume

https://brainly.com/question/14178136

#SPJ13

if you're connected to a switch and your nic is in promiscuous mode, what traffic would you be able to capture? check all that apply.

Answers

If one is connected to a switch and the NIC is in promiscuous mode, the traffic that one would be able to capture are:
"packets transmitted to your switch port, which means traffic to or from your computer or broadcast packets. This is because one is connected to a switch.

What is a promiscuous mode in Networking?

"Promiscuous mode" is a mode of operation as well as a security, monitoring, and management strategy in computer networking. In promiscuous mode, a network device, such as an adapter on a host system, can intercept and read each network packet that comes in its entirety.

Promiscuous mode on a network permits a network device to intercept and read each network packet that comes in its entirety. Promiscuous mode is a mode of operation in an Ethernet local area network (LAN) in which every data packet delivered can be received and read by a network device.

You can use any of the following commands to put an interface into idle mode, the latest way is to use the "ip" command. Use the ifconfig command to determine if the NIC is set to promiscuous mode.

Learn more about Switches:
https://brainly.com/question/1147908
#SPJ1

Define a computer system, and describe its components.

Answers

Answer: The text file

Explanation: Brainly won't let me put in such a big answer.

HELP!

What is a central processing unit? Select two options.

the electronic circuitry that receives data and transforms it to human-readable form


the electronic circuitry that stores data and instructions so they can be processed


the electronic circuitry that handles all the instructions it receives from hardware


the electronic circuitry that stores information for immediate use by software


the electronic circuitry that handles all the instructions it receives from software

Answers

It is right to state that a central processing unit (CPU) is;

the electronic circuitry that handles all the instructions it receives from hardware; (Option C)the electronic circuitry that handles all the instructions it receives from software. (Option E)

What is a CPU?

A processor's four fundamental functions are retrieve, decode, execute, and write back. Fetch- is the operation that gets instructions from a system's RAM from program memory.

A CPU, or central processing unit, is the computer's brain. The CPU, like that of a human brain, regulates all computer processes. The CPU's role is to monitor input data from devices such as mice and other applications. Then it seeks up instructions for that data and executes them.

Learn more about central processing units:
https://brainly.com/question/28548014
#SPJ1

Answer:

C and E

Explanation:

A function's return data type must be the same as the function's
parameter(s).
True
False



// For C++

Answers

The given statement of data type is false.

What is data type?

A data type is a set of possible values and operations that may be performed on it in computer science and programming. A data type specifies how the programmer intends to use the data to the compiler or interpreter. Most programming languages support integer numbers (of various sizes), floating-point numbers (which approximate real numbers), characters, and Booleans as basic data types. A data type limits the potential values of an expression, such as a variable or a function. This data type specifies the actions that may be performed on the data, its meaning, and how values of that kind can be stored.

To learn more about data types

https://brainly.com/question/179886

#SPJ13

Question # 2 Multiple Choice Do you think it is acceptable to copy and paste material from a web page into a term paper?
Yes, because information on the internet is free for everyone to use.
Yes, because information on the internet is free for everyone to use.
Yes, if you paste of where you got it from but do not quote it.
Yes, if you paste of where you got it from but do not quote it.
No, because you should not pass other people’s work off as your own.
No, because you should not pass other people’s work off as your own.
No, because you can get sued by the owner of the material.

Answers

Do you think it is acceptable to copy and paste material from a web page into a term paper: No, because you should not pass other people’s work off as your own.

What is plagiarism?

Plagiarism simply refers to an act of representing or using an author's literary work, thoughts, ideas, language, or expressions without their consent, permission, acknowledgement or authorization.

This ultimately implies that, plagiarism is an illegal act that involves using another author's intellectual work or copyrighted items word for word without getting an authorization and permission from the original author.

In this context, we can reasonably infer and logically deduce that it is very wrong to copy and paste material from a web source into a term paper without an accurate citation or reference to the original author.

Read more on plagiarism here: brainly.com/question/397668

#SPJ1

Answer:

C. No, because you should not pass other people’s work off as your own.

Explanation:

Discuss in brief the major of components of computer network?

Answers

The major components required to install software are computer network components. NIC, switch, cable, hub, router, and modem are all important network components. Some network components can be removed depending on the type of network that needs to be installed. A wireless network, for example, does not require a cable.

The following are the major components needed to set up a network:

1)NIC: NIC is an abbreviation for network interface card. A network interface card (NIC) is a piece of hardware that connects one computer to another on a network. It has a transfer rate range of 10,100 to 1000 Mb/s.

2)Hub: A hub is a piece of hardware that divides a network connection among multiple devices. When a computer requests information from a network, it first sends the request via cable to the Hub. This request will be broadcast to the entire network by Hub.

3)Switch:A switch is a piece of hardware that connects multiple devices on a computer network. A Switch has more sophisticated features than a Hub.

4)Router: A router is a piece of hardware that connects a local area network (LAN) to the internet. It receives, analyses, and forwards incoming packets to another network. A router operates on the OSI Reference Model's Layer 3. A router routes a packet based on the information in the routing table.

5)Modem: A modem is a piece of hardware that allows a computer to connect to the internet via an existing telephone line. A modem is not built into the motherboard; rather, it is installed in a PCI slot on the motherboard.

6)Cables: A cable is a type of signal transmission medium.

What is computer network?

A computer network is a group of computers that share resources on or provided by network nodes.

To learn more about computer network

https://brainly.com/question/1167985

#SPJ9

1_>circle 2_>retangle 3->triangle 4_>square 5_>trapezoid 6_>parallelogram enter the figure code 2 enter the breadth and length​

Answers

# define a function for calculating

# the area of a shapes

def calculate_area(name):

 

 # converting all characters

 # into lower cases

 name = name.lower()

 

 # check for the conditions

 if name == "rectangle":

   l = int(input("Enter rectangle's length: "))

   b = int(input("Enter rectangle's breadth: "))

   

   # calculate area of rectangle

   rec area = l * b

   print(f"The area of rectangle is: rec area")

 

 elif name == "square":

   s = int(input("Enter square's side length: "))

     

   #calculate area of square

   sqt_area = s * s

   print(f"The area of square is

         {sqt_area}.")

 elif name == "triangle":

   h = int(input("Enter triangle's height length: "))

   b = int(input("Enter triangle's breadth length: "))

     

   # calculate area of triangle

   tri_area = 0.5 * b * h

   print(f"The area of triangle is

         {tri_area}.")

 elif name == "circle":

   r = int(input("Enter circle's radius length: "))

   pi = 3.14

       

   # calculate area of circle

   circ_area = pi * r * r

   print(f"The area of circle is

         {circ_area}.")

       

 elif name == 'parallelogram':

   b = int(input("Enter parallelogram's base length: "))

   h = int(input("Enter parallelogram's height length: "))

   

   # calculate area of parallelogram

   para_area = b * h

   print(f"The area of parallelogram is

         {para_area}.")

   

 else:

   print("Sorry! This shape is not available")

# driver code

if __name__ == "__main__" :

 

 print("Calculate Shape Area")

 shape_name = input("Enter the name of shape whose area you want to find: ")

 

 # function calling

 calculate_area(shape_name)

Output:

Calculate Shape Area

Enter the name of shape whose area you want to find: rectangle

Enter rectangle's length: 20

Enter rectangle's breadth: 15

The area of rectangle is 300.

What is code?

In computing, source code, is any collection of code, with or without comments, written in a human-readable programming language. The source code of a programme is specially designed to aid the work of computer programmers, who write source code to specify the actions to be performed by a computer.

To learn more about code

https://brainly.com/question/26134656

#SPJ9

Write an outdoor temperature monitoring application that allows a user to keep entering daily high temperature readings (in Fahrenheit) until the user enters 888.
If the temperature entered is less than -20 or more than 120, display an appropriate message and do not use the temperature.

Answers

An outdoor temperature monitoring application  is given below:

package pack10;

import java.util.Scanner;

public class Main {

public static void main(String[] args) {

Scanner sc = new Scanner(System.in);

System.out.println("Enter daily high temperature readings (in Fahrenheit) ");

int input;

int numDays=0;

int highTemp=-999;

int lowTemp=999;

double average=0;

while(true) {

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

input = sc.nextInt();

if(input==555) {

break;

}

if(input<-20 || input>120) {

System.out.println("Error!!! Please enter temperatur in range -20 to 120 exclusive");

}else {

numDays++;

if(input>highTemp) {

highTemp = input;

}

if(input<lowTemp) {

lowTemp = input;

}

average += input;

}

}

System.out.println("Number of days the temperature entered : "+numDays);

System.out.println("The minimum temperature is : "+lowTemp);

System.out.println("The maximum temperature is : "+highTemp);

average/=numDays;

System.out.println("The average of the temperature is : "+average);

}

}

What is a program?

A computer program is a set of instructions written in a programming language that a computer can execute. Software includes computer programs as well as documentation and other intangible components. Source code refers to a computer program in its human-readable form.

The outdoor temperature monitoring application that allows a user to keep entering daily high temperature readings is illustrated above.

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1`

A function's return data type must be the same as the function's
parameter(s).
True
False


// For c++

Answers

Answer:

False

Explanation:

Return data type has no relation with the function's parameter

this answer would be false.

many people are now using the web not simply to download content, but to build communities and upload and share content they have created. this trend has been given the name

Answers

The term "Web 1.0" describes the early development of the World Wide Web. In Web 1.0, the vast majority of users were content consumers and there were very few content creators.

Personal websites were widespread and mostly included static pages maintained on free web hosts or web servers controlled by ISPs.

Web 1.0 forbids the viewing of ads while browsing websites. Ofoto, another online digital photography websites from Web 1.0, allowed users to store, share, view, and print digital images. Web 1.0 is a content delivery network (CDN) that allows websites to present the information. One can use it as their own personal webpage.

The user is charged for each page they see. Users can access certain pieces of information from its directories. Web 1.0 was prevalent from around 1991 until 2004.

Four Web 1.0 design requirements are as follows:

1.static web pages

2.The server's file system is used to serve content.

3.Pages created with the Common Gateway Interface or Server Side Includes (CGI).

4.The items on a page are positioned and aligned using frames and tables.

To know more about Web 1.0 click on the link:

https://brainly.com/question/14411903

#SPJ4


A hotel chain is using AI to enhance its booking services. Its system can locate each of its users using their mobile GPS location.

Which AI application is used to perform this task?

A) prediction
B) profiling
C) tracking
D) voice or facial recognition

Answers

The AI application that is used to perform this task is tracking. The correct option is C.

What is AI technology?

In its most basic form, AI (artificial intelligence) refers to systems or machines that mimic human intelligence in order to perform tasks and can iteratively improve themselves based on the data they collect.

Tracking is used to increase or decrease the amount of text on a page by increasing or decreasing the amount of space between letters.

It differs from kerning in that it affects an entire font or range of text, whereas kerning only affects specific letter pairs.

Tracking is the AI application that is used to perform the task using their mobile GPS location.

Thus, the correct option is C.

For more details regarding artificial intelligence, visit:

https://brainly.com/question/22678576

#SPJ1

So I'm doing a coding project again and I have to recreate a website I'm having difficulty getting my website to look like the one I'm recreating I have put a screenshot of the website I need I recreate and a picture of the code I have so far

Answers

HTML and CSS tutorials

Explanation:

Search for website tuturials

The US Centers for Disease Control and Prevention (CDC) said in a statement on October 22 local time that the director of the agency, Wollensky, tested positive for COVID-19 on the evening of the 21st and had mild symptoms. Wolenski has been vaccinated with the latest COVID-19 vaccine, and is currently isolated at home and will participate in the meeting online.

Answers

The director of the Centers for Disease Control and Prevention and the administrator of the Agency for Toxic Substances and Disease Registry, Rochelle Paula Walensky, is an American physician and scientist.

How long after taking Covid may you test positive?

You might continue to test positively for a while after receiving a positive test result. After your initial positive result, you can test positive for antigens for a few weeks. NAAT results can remain positive for up to 90 days.

CDC works around-the-clock to safeguard America from threats to its health, safety, and security, both domestically and abroad.

The CDC battles disease whether it originates domestically or overseas, whether it is acute or chronic, curable or preventable, caused by human error or malicious attack and encourages residents and communities to do the same.

To learn more about Covid-19 refer to:

https://brainly.com/question/28347122

#SPJ1

Answer:

Explanation:

Answer:

The director of the Centers for Disease Control and Prevention and the administrator of the Agency for Toxic Substances and Disease Registry, Rochelle Paula Walensky, is an American physician and scientist.

What is Covid-19?

Different people are affected by COVID-19 in various ways. The majority of infected individuals will experience mild to moderate sickness and recover without being hospitalized.

Most typical signs:

fever \scough \stiredness

loss of scent or taste.

Less frequent signs:

throat infection headache aches and discomfort

diarrhea, a skin rash, discoloration of the fingers or toes, or red or itchy eyes.

To learn more about covid-19 refer to the:

https://brainly.in/question/49728785

#SPJ1

you are working in the most recent version of excel provided by your company. why would you use the save as type pull-down menu?

Answers

Since  you are working in the most recent version of excel provided by your company, the reason why you would  use the save as type pull-down menu is because You are said to be saving the file for a person with an older  type/version of Excel.

What is the oldest version of Excel?

The Excel 97 Viewer was the first version issued by Microsoft. In Windows CE for Handheld PCs, the Excel 97 Viewer was also supported.

Note that Users can arrange, organize, and calculate data in a spreadsheet using Microsoft Excel.

Hence, Data analysts and other users can make information easier to examine as data is added or updated by arranging it using software such as Excel. Excel has many boxes called cells that are organized in rows and columns.

Learn more about Excel from

https://brainly.com/question/25863198
#SPJ1

I really need help with this what are 4 things that show you this email is a scam

Answers

Answer:

1. Grammar errors and misspelled words.

Example: if no action is "taking" we will be "force"

Correct words are supposed to be taken and forced.

2. Name of sender "Email_Service" The underscore brings a little suspicion and it doesn't match the name of the email its being sent from.

3. Urgency. In other words this is an "ACT NOW, ACTION REQUIRED" email, which normally come from scams.

4. Threats – LAST WARNING,  IF NO ACTION IS TAKEN YOUR EMAIL WILL BE BLACKLISTED.

Explanation:

Test if a number grade is an F (less than or equal to 65). If so, print "That’s not good.". (Python)


Hint: Grades may be decimals.


Sample Run

Enter a Number: 60


Sample Output

That's not good.

Answers

Answer:

grade = float(input(Enter a number grade: "))

if grade <= 65:

     print("That's not good")

Explanation:

Answer:

grade=float(input("Enter a number grade:"))

if grade<=65:

    print("That's not good.")

Explanation:

I got a 100% on the question. The first answer had a few mistakes in it.

Sincerely,

         Dangerous Gem

Helppp pleaseee help pleaseee look at picture

Answers

Answer:

C & E

Explanation:

Brainlest, Please!

Answer:

C and E

Explanation:

Our goal is to develop a very simple English grammar checker in the form of a boolean function, isGrammatical(wordList). To begin, we will define a sentence to be grammatical if it contains three words of form: determiner noun verb. Thus
[“the”, “sheep”, “run”] is grammatical but [“run”, “the”, “sheep”] is not grammatical nor is
[“sheep”, “run”]. By tagging convention, determiners are tagged as DT, nouns as NN, verbs as VB, and adjectives (which we discuss later) as JJ. The tagSentence function from the tagger module will help you convert your wordlist to tags; a challenge is that some words (such as swing) have multiple definitions and thus multiple parts of speech (as swing is a noun and swing is a verb). Carefully examine the results returned by tagSentence when defining the logic of isGrammatical.

Note that by our current definition, we are not concerned with other aspects of grammar such as agreement of word forms, thus “an sheep run” would be considered as grammatical for now. (We will revisit this concern later.)


[3 points]
Add the words “thief”, “crisis”, “foot”, and “calf” to the lexicon.txt file, and modify wordforms.py so that it generates their plural forms correctly (“thieves”, “crises”, “feet”, “calves”). In terms of categories for the lexicon.txt, thief is a person, crisis and feet are inanimates. Interestingly, ‘calf’ might be an animal (the young cow) but might be an inanimate (the part of the body).

We are not yet using plurals in our sentences, but you should be able to add additional tests within the wordforms.py file to validate that these new words and forms are handled properly.


[3 points]
The original lexicon includes singular nouns such as cat but not plural forms of those nouns such as cats, and thus a sentence such as “the cats run” is not yet deemed as grammatical. However, the wordforms module does include functionality for taking a singular noun and constructing its plural form.

Modify the code in tagger.py so that it recognizes plural forms of nouns and tags them with NNS. We recommend the following approach:


update the loadLexicon function as follows. Every time you encounter a word that is a noun from the original lexicon.txt file, in addition to appending the usual (word,label), add an extra entry that includes the plural form of that noun, as well as a label that adds an ‘s’ to the original label. For example, when encountering ‘cat’ you should not only add (‘cat’,’animal’) to the lexicon but also (‘cats’,’animals’).


Then update the the labelToTag function to return the new tag NNS when encountering one of those plural labels such as ‘animals’.


Test your new functionality on sentences such as “the cats run” as well as with your new plurals such as “thieves”.

[2 points]
The original lexicon includes verbs such as run but not 3rd person singular forms of those verbs that end in -s such as runs, and thus a sentence such as “the cat runs” is not yet deemed as grammatical. As you did with nouns in the previous step, modify the software so that 3rd person singular verbs are added to the lexicon and tagged as VBZ. Test this new functionality on sentences such as “the cat runs” and
“the sheep runs”.


[2 points]
Now we have both plural nouns and 3rd person singular verbs, however the grammar checker currently doesn’t match them and thus accepts sentences like
“the cat run” and “the cats runs”, neither of which is truly grammatical. Update the rules so that it requires the tag VBZ on the verb if the noun has the singular tag NN, and requires the tag VB on the verb if the noun has the plural tag NNS. Add some test cases to ensure the program is working as intended. Include tests with unusual forms such as the noun “sheep” that can be singular or plural; thus “the sheep runs” and “the sheep run” are grammatical. Make sure to update any previous tests to conform to these new expectations.


[2 points]
Update your grammar to allow any number of optional adjectives between the determiner and noun in a sentence, thereby allowing sentences such as
“the big sheep run” and “the big white sheep run”, though disallowing sentences such as “the cat sheep run”.

Answers

Using the knowledge in computational language in python it is possible to write a code that form of a boolean function, isGrammatical(wordList). To begin, we will define a sentence to be grammatical if it contains three words of form: determiner noun verb.

Writting the code:

# importing the library  

import language_tool_python  

 

# creating the tool  

my_tool = language_tool_python.LanguageTool('en-US')  

 

# given text  

my_text = 'A quick broun fox jumpps over a a little lazy dog.'  

 

# correction  

correct_text = my_tool.correct(my_text)  

 

# printing some texts  

print("Original Text:", my_text)  

print("Text after correction:", correct_text)  

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

#SPJ1

1.Create a new password
1-Develop an algorithm using pseudocode and a flowchart that asks the user to
create a new password.
The algorithm should:
• get the user to enter a password
● get the user to re-enter the password
• repeat the two bullet points above until both entered passwords are
identical
output "password created" when they are identical

Answers

The algorithm of the question will be:

1. Start

2. get the user to enter a password

3. get the user to re-enter the password

4. if the passwords are not identical, repeat steps 1 and 2

5. output "password created" when the passwords are identical.

6. End

Algorithm:

An algorithm in computer science is a finite sequence of strict instructions that is often used to solve a class of specialised problems or to execute a computation. Algorithms serve as specifications for calculating and processing data. Advanced algorithms can execute automated deductions and apply mathematical and logical tests to direct code execution through several paths.

To learn more about algorithm

https://brainly.com/question/24953880

#SPJ13

Write a program to display the s
tandard/deviation of 100 sets of numbers already stored in an array​

Answers

import random

import statistics

number = [1, 2, 3, 4, 5]

print("Standart deviation is: ", statistics.stdev(number))

Please edit the array before compiling the code.

Question 2 (1 point)
In a worksheet, the vertical spaces with headings A, B, C, and so on.
columns
cells
rows
labels

Answers

In a worksheet, the vertical spaces with headings A, B, C, are columns.

What do you mean by worksheet?

Spreadsheet software in computing displays a user interface on a computer monitor that resembles one or more paper accounting worksheets. A single spreadsheet (more formally, a two-dimensional matrix or array) is referred to as a worksheet in Microsoft Excel, while a collection of worksheets is referred to as a workbook.

A column in a spreadsheet is defined as the vertical space that runs up and down the window. Each column's location is denoted by a letter.

So, A is the right answer.

To learn more about worksheet

https://brainly.com/question/25130975

#SPJ13

Other Questions
24. How many gallons of ethanol are in a 100 gal mixture that is 10%ethanol? 15. I need help on this question. How do you do it? In the ________ activity of scm, supply chain managers develop processes for managing their goods and services inventory, including receiving and verifying shipments, transferring the shipped materials to manufacturing facilities, and authorizing supplier payments. given the function r(t)=t^2, solve for r(t)=4 A savings account increases from 250$ to 265$. What is the percent increase of the savings account? a bond issued by the state of alabama is priced to yield 6.25%. if you are in the 28% tax bracket, this bond would provide you with an equivalent taxable yield of . 4.5% 7.25% 8.68% none of these options Please help asap will give Brainly!!! a client has just given birth to a healthy baby boy, but the placenta has not yet delivered. what stage of labor does this scenario represent? What is the answer to 6x + =5 write a summary of the moral of the moral logic of survivor guilt that includes key ideas and details. Several vertical and horizontal rectangles where each edge connects to another rectangle. they are various shades of gray. look closely at this piece. describe what you see. you will want to include the following principles of design in your answer: balance, proportion, harmony, variety, and movement. What could happen if the global temperature rises just a few degrees? Question #1Long Text (essay)Pretend you are a financial counselor and the Johnsons have come to you for help with constructing an estate plan. You will makerecommendations to them for an estate plan to protect and prepare themselves and their family in the event of their passing. Yourrecommendations will take the form of a two-page report, listing areas of concern and action items. a carpentar has 16 1/2m of wood he cuts the wood into peices that are each 2 3/4m long PLSSSSS HURRY!!!!!!!! To pass a bill that raises taxes in Nevada the state constitution require to pass bill Cardiovascular endurance refers to the ability of the heart lungs and blood vessels to supply oxygen and nutrients to the muscles during long periods of exercise What is the volume of a piece of iron ( = 7.9 g/cm3) that has a mass of 0.75 kg? (Enter your answer in cm3.) answer in: cm3 33Select the correct answer from each drop-down menu.A75B40AoIn the figure, line segment AB is parallel to line segment CD.DdegreesThe measure of angle Cisdegrees, and the measure of angles Dis>254075ResetNext the product of (2-x)and (1-x)is equal to x^2-3x+2 the price of a gallon of unleaded gas has risen to $2.92 today. yesterday's price was $2.85. find the percentage increase. round to the nearest 10th of a percent