4.5 code practice phython code answers
Answer:
count = 0
data = input('Please enter the next word: ')
while data!= "DONE":
count = count + 1
print("#" + str(count) +": You entered the word " + data)
data = input("Please enter the next word: ")
print("A total of "+ str(count) + " words were entered.")
Explanation:
So the code is asking us to put in words from the user and then it will count those words in total.
so first we want the code to start from 0 to get an accurate count
count = 0
boom, first line.
second you will ask the user to input a word with a data string on it to then have it stored
data = input('Please enter the next word: ')
now if the user enters DONE the code will know to stop and give the total
while data != "DONE":
then we will have the code count the words we inputed,
count = count + 1
next we want to know how many words we put in "the whole point of the code.
print("#" + str(count) +": You entered the word " + data)
the data is very important
if the user didnt enter DONE we want the code to continue so we ask the user to enter another word
data = input("Please enter the next word: ")
now we do the same thing as the code before, now we show how many words were entered in total
print("A total of "+ str(count) + " words were entered.")
Stay blessed
Stay up
For business networks, which of the following is NOT one of the main cable types?
A) Twisted-pair
B) Polyvinyl
C) Coaxial
D) Fiber-optic
The correct answer is (B), Polyvinyl is NOT one of the primary cable types used for corporate networks.
What is network?Two or more computers linked together to pool resources (such printer and CDs), exchange information, or enable electronic communications make up a network. A network's connections to its computers can be made by cables, telephone line, radio frequencies, satellite, or infrared laser pulses.
What is the most common network?Though LAN & WAN networks are the two most common, the following network types may also be mentioned: A LAN that uses Wi-Fi wirelessly network infrastructure is known as a "wireless local area network." Metropolitan Area Networks: A network which covers a geographical area that is wider than that of a LAN but smaller than a WAN, like a city.
To know more about network visit :
https://brainly.com/question/24279473
#SPJ4
First to put f in the comments for will get brainliest no cap
Answer:
F
Explanation: Can I get brainliest pls I am big brain
A Windows 10 PC on the network is only able to connect to other resources, both public and private, by using IP addresses. What setting needs to be checked via the NIC (Network Interface Card) properties
The setting that needs to be checked via the NIC (Network Interface Card) properties on a Windows 10 PC in order to connect to other resources using IP addresses is the network adapter's IP configuration.
Specifically, the IP address, subnet mask, and default gateway should be checked to ensure they are correctly configured and match the settings of the network to which the PC is connected. NIC stands for "Network Interface Card." It is a hardware component that connects a computer to a network. It typically includes a connector for a cable, as well as the electronics necessary to transmit data over the network. NICs can be built into a computer's motherboard, or they can be added as a separate expansion card. They may also be built into other devices, such as routers and servers, to provide network connectivity.
Learn more about NIC, here https://brainly.com/question/30087617
#SPJ4
You ask one of your technicians to get the IPv6 address of a new Windows Server 2016 machine, and she hands you a note with FE80::0203:FFFF:FE11:2CD on it. What can you tell from this address?
This is a link-local address In EUI-64 format, you can see the MAC address of the node can tell from the address.
Link-local addresses are intended to be used for addressing a single link in situations without routers or for automatic address setup. It can also be used to interact with other nodes connected to the same link. An automatic link-local address is assigned.
In order to automatically configure IPv6 host addresses, we can use the EUI-64 (Extended Unique Identifier) technique. Using the MAC address of its interface, an IPv6 device will generate a unique 64-bit interface ID. A MAC address is 48 bits, whereas the interface ID is 64 bits.
To learn more about address
https://brainly.com/question/29065228
#SPJ4
Which option is the primary means of communication for coauthors working on PowerPoint presentations?
1. Sections
2. Comments
3. Instant Messaging
4. Email
Answer:
Comments
Explanation:
The fastest method of communication, and allows everyone that has access to the PowerPoint to see it.
Some one help pls will mark brainless !!!!!
Which of the following is a result of implementing business intelligence systems and tools allowing business users to receive data for analysis? Question options: Reliable Understandable Easily Manipulated All of the above
D: 'All of the above' is the correct choice because the implementation of business intelligence systems and tools allows business users to receive data for analysis in reliable, understandable, and easily manipulated ways.
Business intelligence systems are software systems that combine data gathering, data storage, and knowledge management with data analysis in order to evaluate and transform complex data into actionable, meaningful information. As a result, this information can be used to support more effective tactical, strategic, and operational insights and decision-making.
Business intelligence systems and tools allow businesses to retrieve data for analysis in a more reliable, understandable, and easily manipulated way.
You can learn more about business intelligence systems at
https://brainly.com/question/13263825
#SPJ4
¿Cuál es la función que cumplía los sofistas y Porque eran tan importantes?
Los sofistas oradores públicos, bocas a sueldo en una cultura oral. Estaban dotados de habla.
An operation that copies a value into a variable is called a(n) ________ operation.
a. equals
b. copy
c. declaration
d. cout
e. assignment
Answer:
e
Explanation:
In which situation is coauthoring of presentations primarily utilized?
1. A reviewer must be able to make changes to a presentation after an author creates it.
2. Multiple authors must be able to simultaneously make changes to a presentation.
3. Multiple reviewers have to be able to view one another’s changes after they are made.
4. One author and one reviewer work on a presentation at different times.
Answer:
Multiple reviews have to be able to view one anthers changes after they are made
Explanation:
To have more options
You are a server virtualization consultant. During a planning meeting with a client, the issue of virtual machine point-in-time snapshots comes up. You recommend careful use of snapshots because of the security ramifications. Which security problem is the most likely to occur when using snapshots
When employing snapshots, the security issue that is most likely to arise will have less patch updates than invoked snapshots.
What kind of hypervisor would be necessary to use an existing server running an existing operating system?Typically, a Type 2 hypervisor is set up on top of an existing OS. It is frequently referred to as a hosted hypervisor since it uses the pre-existing OS of the host system to control calls to CPU, memory, storage, and network resources.
What does server virtualization primarily provide users of cloud computing?What are the advantages of server virtualization? It makes cloud computing more practical and effective. Any machine to which the user has access can access the virtual desktop.
To know more about invoked snapshots visit :-
https://brainly.com/question/5244511
#SPJ4
COP 2930 - Individual Programming Assignment #2Due date: Please consult WebCourses for your due date/timeObjectives1. To give students practice at typing in, compiling and running simple programs.2. To learn how to read in input from the user.3. To learn how to use assignment statements and arithmetic expressions to makecalculationsProblem A: Biggest Yard (bigyard.py)You must fence off an area for your dogs to play freely and you have a fixed amount offencing. You have decided that you want the fenced off area to be in the shape of a rectanglewith an integer number of feet for both dimensions. Write a program that outputs all of thepossible dimensions of the fenced off area as well as the area of each of those possibilities.Input SpecificationNote: It is guaranteed that whoever uses your program will adhere to these specifications.This means that you do NOT have to check for them!The amount of fencing will be a positive even integer in between 4 and 100, inclusive.Output SpecificationWrite out a single line of the formX by Y with area Zwhere X is the smaller dimension, in feet, Y is the larger dimension in feet, and Z is thecorresponding area, for every possible rectangle. Order the rectangles by increasing orderof X. Also, the last line may have X = Y.Output SampleBelow is one sample output of running the program. Note that this sample is NOT acomprehensive test. You should test your program with different data than is shown herebased on the specifications given above. In the sample run below, for clarity and ease ofreading, the user input is given in italics while the program output is in bold. (Note: Whenyou actually run your program no bold or italics should appear at all. These are simply usedin this description for clarity’s sake.)Sample Run #1How much fencing do you have, in feet?101 by 4 with area 42 by 3 with area 62Sample Run #2How much fencing do you have, in feet?161 by 7 with area 72 by 6 with area 123 by 5 with area 154 by 4 with area 16Problem B: Tennis Scorer (tennis.py)In the game of tennis, a match is a series of sets and a set is a series of games. A typicalmatch winner is the player who first wins 2 sets. (Thus, all typical matches last either 2 or3 sets long.) To win a set, a player either has to be the first to win six games and also winby a margin of at least two games, or, if a set is tied at 6 - 6, then the winner of the nextgame wins the set 7 - 6. (If this confuses you, just ask me in class to explain further!)Serena and Roger are playing a match.Write a program that prompts the user to enter who won each game and then reads in eachresponse and determines who won the match. Your program MUST end right after the lastgame of the match is entered and you must display both the winner and how many setsboth players won.Input SpecificationNote: It is guaranteed that whoever uses your program will adhere to these specifications.This means that you do NOT have to check for them!Every line of input will either be "SERENA" or "ROGER", depending on who won thecorresponding game.Output SpecificationProduce a single line of output with the following format:PLAYER won the match 2 sets to X sets.where PLAYER is the winner of the match and X is the number of sets won by the loser.Output SampleBelow is one sample output of running the program. Note that this sample is NOT acomprehensive test. You should test your program with different data than is shown herebased on the specifications given above. In the sample run below, for clarity and ease ofreading, the user input is given in italics while the program output is in bold. (Note: Whenyou actually run your program no bold or italics should appear at all. These are simply usedin this description for clarity’s sake.3Sample Run #1Please enter the game winners, in sequenceROGERSERENAROGERSERENASERENASERENAROGERSERENAROGERSERENASERENASERENASERENASERENASERENASERENASERENA won the match 2 sets to 0 sets.RestrictionsPlease IDLE 3.6 (or higher) to develop your program. Write each in a separate file with thenames specified previously, bigyard.py and tennis.py.Each of your programs should include a header comment with the following information:your name, course number, assignment title, and date. Also, make sure you includecomments throughout your code describing the major steps in solving the problem.Grading DetailsYour programs will be graded upon the following criteria:1) Your correctness2) Your programming style and use of white space. Even if you have a plan and yourprogram works perfectly, if your programming style is poor or your use of white space ispoor, you could get 10% or 15% deducted from your grade.3) Compatibility to IDLE.
A Math Academy introduction Your community is getting a brand-new tutoring facility.
What is Math Academy?Math can be challenging for many children, thus the operators of this institution would want to provide a variety of activities to complement their Math Academy. You have been engaged by The Math Academy to assist them in developing educational software that will enable them to monitor the progress of their students.The Math Academy first requests a quick software that calculates the distance between two points on a Cartesian Plane so they can test their hypothesis. The pupils are supposed to solve their own problems on paper and then contrast their solutions with those provided by your application. X1 and Y1 are two Cartesian points that your software will take into account (X2, Y2). Following that, your application must use the method below to determine how far apart these two locations are. d=√(X2−X1)2+ ¿¿Each X or Y will be an integer between -100 and 100 according to input specification Specifications for Output : Output the outcome in the following manner: Z.ZZ units separate the coordinates (X1, Y1) and (X2, Y2).The output sample Some examples of the program's outputs are shown below. You should be aware that these samples are NOT an exhaustive test. Based on the above-mentioned parameters, you should test your application with data other than what is displayed here. For readability and clarity, the user input and programme output are separated by bold text in the sample run that follows. (Note: Neither bold nor italics should appear when your application is actually run. For the purpose of clarity, these are merely used in this description.To Learn more About Math Academy Refer To:
https://brainly.com/question/27894163
#SPJ4
is one of the video file types format .
a) gif
b) bmp
c) mp4
d) jpg
Answer:
Mp4
Explanation:
As gif is graphic interchange format is bitmap of image format
Also bmp is for image format
Jpg is image format
A ___________ is a large group of software applications that run without user intervention on a large number of computers.
a sizable collection of software programs that operate automatically on a lot of computers and are referred to as robots or bots. viral encryption.
Which of the following types of malware can operate without user interaction?Worms. A computer worm that replicates automatically distributes to other systems. This virus can infect computers via malicious URLs, files, or security holes. Inside, worms look for networked devices to attack.
a sizable collection of software programs that operate automatically on a lot of computers and are referred to as robots or bots. Applying computer systems and methods to acquire prospective legal evidence is a niche area of law enforcement used to combat high-tech crime.
To know more about software applications visit:-
https://brainly.com/question/29854571
#SPJ4
All of the following are types of potential risks associated with cloud computing EXCEPT: A. Security Risks B. Performance Risks C. Operational Risks D. Legal Risks
The following list includes every form of potential risk connected to cloud computing, with one exception (B). performance hazards.
What does "cloud computing" mean?Cloud computing, in its most basic form, is the provision of computing services over the web ("the cloud"), which includes servers, storage, networking, and other resources, in order to deliver rapid innovation, adaptive resources, and scale economies. store, analytics, networking, software, statistics, and intelligence.
How do IT systems function and what is cloud computing?Simply described, cloud computing is the delivery of a variety of services via the internet, or "the cloud." So instead relying on local disks and personal datacenters, it entails leveraging computer systems to retrieve and store data.
To know more about Cloud Computing visit :
https://brainly.com/question/29737287
#SPJ4
mwing questions:
What type of computer is the special purpose computer
Los elementos de la comunicación técnica son el medio, el código y el contenido, ¿Esta información es falsa o verdadera?
?
la respuesta es verdadera
Explanation:
V
While browsing the Internet on a Windows 10 workstation, the Internet Explorer browser window hangs and stops
responding. Which Task Manager tab would you use to end Internet Explorer?
Answer:
applications tab
Explanation:
A device designed to filter and transfer IP packets between dissimilar types of computer networks is called a:
A device designed to filter and transfer IP packets between dissimilar types of computer networks is called a Router.
Which gadget increases network performance by creating distinct collision domains for a given network segment?The bridge enhances network performance by dividing two or more LAN segments into different collision domains, which lowers the potential for collisions (fewer LAN speakers on the same segment). The network switch was the subsequent evolution.
Which network gadget enables interaction between many IP networks?Two or more data lines from distinct IP networks are connected to a router. The router examines the network address information from the packet header when a data packet arrives on one of the lines to ascertain the final destination.
To know more about IP address visit:
https://brainly.com/question/14219853
#SPJ4
the ____ option can be used with the tar command to extract a specified archive.
Note that the -x option can be used with the tar command to extract a specified archive.
What is a Tar Command?The tar command is used to create an archive from a collection of files. Tar archives can also be extracted, maintained, or modified with this command. Tar archives group together several files and/or directories into a single file.
A command-line utility for extracting files and creating archives. There was no method to extract a file from cmddotexe without using PowerShell or installing third-party software.
Learn more about Archive:
https://brainly.com/question/5813220
#SPJ1
ll books are made of acid-free paper. Most newspapers are printed on acidic paper. A bin has a mix of acidic and non-acidic paper. Which of the following must hold
Newspapers started using cheap, machine-produced wood pulp paper in the middle of the 19th century, but it wasn't meant to last. These newspapers are naturally acidic because of the intrinsic chemical instability of such poor-quality wood pulp materials.
How acidic is newspaper paper?Since most paper includes acid, over time it will deteriorate and become brittle. Because newsprint has such a high acid content, ancient death notices, birth announcements, and other documents like these deteriorate very fast.
When was paper first made acidic?Prior to the 1980s, alum-rosin size was added to wood pulp paper to lessen absorbency and ink leakage. When moisture is present, this sizing produces sulfuric acid, which contributes to the wood pulp paper's tendency to be acidic.
To know more about Newspapers visit:-
https://brainly.com/question/1681854
#SPJ4
the method "someOtherMethod" is NOT defined as static. This means...
1) the method is an accessor method
2) the method is accessible outside SomeClass
3) the method is not accessible outside SomeClass
4) the method is accessible without instantiating a SomeClass object
5) the method is accessible only by using a previously instantiated SomeClass object
public class SomeClass
{
public static final int VALUE1 = 30;
public static int value2 = 10;
private int value3 = 5;
private double value4 = 3.14;
public static void someMethod()
{
// implementation not shown
}
public void someOtherMethod()
{
// implementation not shown
}
}
Answer:
3
Explanation:
Nathan would like to save his PowerPoint presentation as a video that can be replayed easily on any device at full quality. Which option should he use?
1. Low Quality
2. Internet Quality
3. Presentation Quality
4. Secured Quality
Answer:
Presentation Quality
Explanation:
Fred has saved a large number of Word documents on his computer running Windows 7 Home Edition. He installs Windows 10 on his computer, using the same partition on which Windows 7 was installed. He does not reformat this partition. What happens to these documents
These documents are placed in the Windows.old\Documents and Settings\Fred\My Documents folder.
Which Windows 10 installations demand that you submit a product key before they may be installed?You will require a product key to do a clean install of Windows 10 on a computer when you are utilizing bootable installation media that has never been upgraded to the operating system and activated. Windows 10, as well as a compatible edition of Windows 7, Windows 8, or Windows 9, can be used to enter a product key. 1
Which approach from the list below is used to install Windows 10 completely from scratch on a new computer?Migration via wiping and loading The user data and settings must be backed up to an external place before you may install Windows 10 on an already-existing PC using this approach. The user data and settings need to be restored after that.
To know more about Windows visit
brainly.com/question/13502522
#SPJ4
Digital recorder, internet, discussion boards, journal, cell phone, and video recorder are all tools used by
crowdsourcer
backpack journalist
public relation
ombudsman
Digital recorders, the internet, discussion boards, journals, cell phones, and video recorders are all tools used by crowdsourcers. Thus, the correct option for this question is A.
What do you mean by Crowdsourcing?Crowdsourcing may be characterized as a type of influencing people through involves seeking knowledge, goods, or services from a large body of people.
These people submit their ideas in response to online requests made either through social media, smartphone apps, or dedicated crowdsourcing platforms. The types of crowdsourcing may significantly include Wisdom of the crowd, crowd creation, crowdfunding, and voting.
Therefore, digital recorders, the internet, discussion boards, journals, cell phones, and video recorders are all tools used by crowdsourcers. Thus, the correct option for this question is A.
To learn more about Crowdsources, refer to the link:
https://brainly.com/question/11356413
#SPJ1
Describe an implementation of the PositionalList methods add_last and add_before realized by using only methods in the set {is empty, first, last, prev, next, add after, and add first}.
provide output with driver code.
We shall employ Python programming output along with driver code, as stated in the statement.
What does a driver mean in computer language?In software, a driver offers a programming interface for managing and controlling particular lower-level interfaces that are frequently connected to a particular kind of hardware or other reduced function.
Briefing :class _DoublyLinkedBase:
class _Node:
__slots__ = '_element','_prev', '_next'
def __init__(self,element, prev, nxt):
self._element = element
self._prev = prev
self._next = nxt
def __init__(self):
self._header =self._Node(None, None, None)
self._trailer =self._Node(None, None, None)
self._header._next =self._trailer
self._trailer._prev =self._header
self._size =0
def __len__(self):
return self._size
def is_empty(self):
return self._size ==0
def _insert_between(self, e, predecessor,successor):
newest = self._Node(e,predecessor, successor)
predecessor._next =newest
successor._prev =newest
self._size += 1
return newest
def _delete_node(self, node):
predecessor =node._prev
successor =node._next
predecessor._next =successor
successor._prev =predecessor
self._size -= 1
element =node._element
node._prev = node._next= node._element = None
return element
class PositionalList(_DoublyLinkedBase):
class Position:
def __init__(self,container, node):
self._container = container
self._node = node
def element(self):
return self._node._element
def __eq__(self,other):
return type(other) is type(self) and other._Node isself._node
def __ne__(self,other):
return not (self == other)
def _validate(self, p):
if not isinstance(p,self.Position):
p must have the correct Position type, raise TypeError
if p._container is notself:
raise ValueError "p must not fit this container"
if p._node._next isNone:
raise ValueError('p is no longer valid')
return p._node
def _make_position(self, node):
if node is self._headeror node is self._trailer:
return None
else:
return self.Position(self, node)
def first(self):
returnself._make_position(self._header._next)
def last(self):
returnself._make_position(self._trailer._prev)
def before(self, p):
node =self._validate(p)
returnself._make_position(node._prev)
def after(self, p):
node =self._validate(p)
returnself._make_position(node._next)
def __iter__(self):
cursor =self.first()
while cursor is notNone:
yield cursor.element()
cursor =self.after(cursor)
def _insert_between(self, e, predecessor,successor):
node =super()._insert_between(e, predecessor, successor)
returnself._make_position(node)
def add_first(self, e):
returnself._insert_between(e, self._header, self._header._next)
def add_last(self, e):
returnself._insert_between(e, self._trailer._prev, self._trailer)
def add_before(self, p, e):
original =self._validate(p)
returnself._insert_between(e, original._prev, original)
def add_after(self, p, e):
original =self._validate(p)
returnself._insert_between(e, original, original._next)
def delete(self, p):
original =self._validate(p)
returnself._delete_node(original)
def replace(self, p, e):
original =self._validate(p)
old_value =original._element
original._element =e
return old_value
To know more about Driver Code visit :
https://brainly.com/question/29468498
#SPJ4
A counterfeit currency printer is operating in country XYZ, and all of the banks must try to identify the bad currency. Every note has a serial number that can be used to determine whether it is valid. The serial number also can be used to determine the denomination of the notes. A valid serial number will have the following characteristics:
1. There are 10 to 12 characters
2. The first 3 characters are distinct uppercase English letters
3. The next 4 characters represent the year the note was printed and will always be between 1900 and 2019 inclusive.
4. The next characters represent the currency denomination and may be any one of (10. 20, 50, 100, 200, 500, 1000)
5. The last character is an uppercase English letter.
Determine the value of the valid currency
The value of the valid currency can be determined by looking at the last 4 characters of the serial number. If the characters represent the currency denomination and may be one of (10, 20, 50, 100, 200, 500, 1000) then the last 4 characters will indicate the denomination of the note.
The key point in determining the denomination of a note is the next characters after the year of the note, which represent the denomination, they may be one of (10, 20, 50, 100, 200, 500, 1000). Based on this information, the denomination of a note can be determined by looking at the last 4 characters of the serial number, if this characters match one of the denomination options then the note is a valid note and the denomination can be determined.
Learn more about value, here https://brainly.com/question/10416781
#SPJ4
Which application intercepts user requests from the secure internal network and then processes them on behalf of the user
The forward proxy server application catches user requests coming from the safe internal network and executes them on the user's behalf.
What is the name of the instruction that halts the execution of a program and requests assistance from the operating system?The swi instruction enables the programmer to ask for an interruption. The programmer can request services from the operating system in this way, almost identically to how a device can. Typically, a programmer would place code on the stack or in one of the processor's registers before executing a swi.
What does the processor's code that responds to an interrupt signal call the instructions that it follows?A software process called the Interrupt Service Routine (ISR) is launched by the CPU to handle an interrupt.
To know more about proxy server visit :-
https://brainly.com/question/14403686
#SPJ4
Select the correct answer.Sherry wants to transfer photographs from her phone to her computer. She finds various files in several formats. Which format most likely contains her photographs
A file including images will be in the JPEG file format. JPEG is the format name for any file that is in the image form.
A picture is what kind of a format?Joint Photographic Experts Group, also known as JPEG or JPG, is an acronym. In both color and black and white, they perform best with images. Additionally, we print JPEGs for our clients the majority of the time.
Which file type offers the greatest image detail to photographers?Due of the format's ability to capture the greatest amount of detail, many seasoned photographers utilize RAW. Using a RAW file makes it frequently simpler to modify exposure later.
To know more about JPEG file visit :-
https://brainly.com/question/9925804
#SPJ4
Answer:
B. JPEG
Explanation: Fromat that always includes photography. Right on edmentum or plato.