Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this programming assignment, students will show mastery over loops, string methods, and simple list methods. You will be writing the processing section of the

In this programming assignment, students will show mastery over loops, string methods, and simple list methods. You will be writing the processing section of the code -- you should not make any changes to the output section. You may add several more sample port summary
Using the provided input and output section, develop a processing section to handle the following scenario:
You are working for a major networking company that stores the VLAN configuration of their switches in a compact format. The format is a list of strings. Each string has the following format: port number state. The port number can be a single digit or a start/end range. The state can be one of the following: untagged, excluded, tagged -- the list may change. The ports will always be in order.
Rules of Engagement
Violating the rules of engagement will lead to a grade of zero.
The first three lines of the program should be comments that show: student name, course, and assignment.
There should be three sections with a comment label: Input, Processing, and Output - the code should be beneath the comment.
Input -- code that gathers information from the user.
Processing -- code that uses the input to support the output.
Output -- code that displays the results.
The following data types are allowed: string, integer, float, and Boolean. A list may be used to support the output.
Only print statements are allowed in the Output section - each print statement is permitted a single string literal with variables. The variables may be in-line or in a format list. Print statements with expressions are not allowed this includes functions.
You should not be writing any functions.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

2. Do the easy questions first.

Answered: 1 week ago