Answer:
1. in compatible adaptor
2. bad cable
3. software issues
4. damaged laptop battery
Explanation:
there are several reasons why this might be happening.
if this message is being displayed it means that the adaptor may not be compatible. this implies that it is spoilt or the laptop just needs to be shutdown. if this fails, then adaptor needs replacing.
the adaptor cable itself may be faulty and needs changing. the laptop's battery may be too old or damaged and needs replacing. also the laptop may be having software issues and needs updating.
Next, copy in your strip_punctuation function and define a function called get_pos which takes one parameter, a string which represents one or more sentences, and calculates how many words in the string are considered positive words. Use the list, positive_words to determine what words will count as positive. The function should return a positive integer - how many occurrences there are of positive words in the text. Note that all of the words in positive_words are lower cased, so you’ll need to convert all the words in the input string to lower case as well.
punctuation_chars = ["", ","," 3 # list of positive words to use 4 positive_words = 0 5 with open ("positive_words.txt") as pos_f: for lin in pos_f: if lin[0] != ';' and lin[0] != '\n': positive_words.append(lin.strip) 6 7 8 9 10
Answer:
Here is the get_pos function:
def get_post(string): #function that takes string as parameter
string=string.lower() #converts the string to lower case
string=strip_punctuation(string) #calls strip_punctuation to remove punctuation from string
string=string.split() #split the string into a list
count_positive=0 #counts the occurrences of positive words
for word in string: #loops through the string
if word in positive_words: #if a word in a string is a positive words
count_positive=count_positive+1 #adds 1 to the count of count_positive each time a positive word appears
return count_positive #returns the positive integer - how many occurrences there are of positive words in the string
Explanation:
In order to explain the working of this function lets suppose the punctuation_chars list contains the following punctuation characters:
punctuation_chars = ["'", '"', ",", ".", "!", ":","?", ";", '#']
Lets suppose the positive_words.txt file contains the following two words i.e. yes okay
Lets suppose the string is Hi! I am okay, see you later.
string = " Hi! I am okay, see you later. "
string=string.lower() statement converts the string to lower case:
string = hi! i am okay, see you later.
string=strip_punctuation(string) this statement calls strip_punctuation method to remove the punctuation from string.
string = hi i am okay see you later
string=string.split() this statement splits the sentence into list
['hi', 'i', 'am', 'okay', 'see', 'you', 'later']
for word in string: this loop iterates through the string
At first iteration if condition checks if word "hi" is in positive_words. This is not true because positive_words only contain the words okay and yes.
At next iteration if condition checks if word "i" is in positive_words. This is not true because positive_words only contain the words okay and yes.
At next iteration if condition checks if word "am" is in positive_words. This is also not true.
At next iteration if condition checks if word "okay" is in positive_words. This is true because positive_words contains the words okay. So count_positive=count_positive+1 statement executes which adds 1 to the count of count_positive so
count_positive = 1
At next iteration if condition if word in positive_words checks if word "see" is in positive_words. This is not true.
At next iteration if condition checks if word "you" is in positive_words. This is also not true.
At next iteration if condition checks if word "later" is in positive_words. This is also not true.
Now the statement: return count_positive returns the occurrence of positive words in the string which is 1. So the output of this is 1.
Here is the strip_punctuation method:
def strip_punctuation(word): #removes punctuation from words
New_word="" #initializes new word string to empty
print("Word is: ",word) #prints the word
for w in word: #iterates through words
if w not in punctuation_chars: #if word is not in punctuation_char list
New_word=New_word+w #adds that word to new word string
return New_word #returns word after removing punctuation
What allows you to create a wireless connection among your smart devices.
Answer:
Probably Wi-Fi or a network but if you need more specific i'm not sure
Explanation:
Raw facts, or ____
are the input for a computer process.
O data
O software
O output
O peripherals
You download a game from the Internet since it looks fun to play. As you begin to play the game, your computer begins
to act erratically and finally crashes. Which of the following types of malware did you download?
Trojan horse
Virus
Worm
O Spyware
HElp
Answer:
Trojan Horse
Explanation:
A trojan horse is something that looks different than what it really is; it's deceptive.
You're a short-order cook in a pancake restaurant, so you need to cook pancakes as fast as possible. You have one pan that can fit capacity pancakes at a time. Using this pan you must cook pamCakes pancakes. Each pancake must be cooked for five minutes on each side, and once a pancake starts cooking on a side it has to cook for five minutes on that side. However, you can take a pancake out of the pan when you're ready to flip it after five minutes and put it back in the pan later to cook it on the other side. Write the method, minutes Needed, that returns the shortest time needed to cook numCakes pancakes in a pan that holds capacity pancakes at once.
Answer:
Explanation:
The shortest time needed means that we are not taking into account the amount of time it takes to switch pancakes, flip them, or take them out of the pan, etc. Only cooking them. Therefore, written in Java would be the following...
public static int minutesNeeded (int numCakes, int panCapacity) {
int minutesNeededtoCook = 0;
while (numCakes != 0) {
if (numCakes > panCapacity) {
numCakes -= panCapacity;
minutesNeededtoCook += 10;
} else {
numCakes = 0;
minutesNeededtoCook += 10;
}
}
return minutesNeededtoCook;
}
The code takes in the amount of pancakes and the pan capacity, then compares them and adds 10 minutes (5 on each side) per pancake batch that is being made until all the pancakes are made.
A non-abstract class that implements an interface: __________
a. can use any constants defined by the interface
b. must provide an implementation for each abstract method
c. defined by the interface must inherit the interface
d. all of the above
e. a and b only
Answer:
b
Explanation:
because i think i go with my gut
Shut down and unplug the computer. Remove the CPU case lid. Locate the various fans, and then use compressed air to blow dirt out through the internal slits from inside the case.
✔ cleaning the fan
Save files to an external storage device to aid in file recovery.
✔ backup
This process allows you to permanently delete files you no longer need.
✔ cleaning out unneeded files
This mini program may be an unwanted application.
✔ widget
Remove programs you accidentally downloaded when you purchased an e-book.
✔ removing unwanted applications
This application scans, locates, and makes needed repairs on the hard drive.
✔ checking the hard drive for errors
I DID THIS CAUSE TI COULDNT FIND THE ANSWERS SO I WANTED TO HELP ANYONE WHO NEEDS THIS
the answers are:
- cleaning the fan
- backup
- cleaning out unneeded files
- widget
- removing unwanted applications
- checking the hard drive for errors
fill in the blanks to save a file in Paint used...... key combination
explain working principle of computer?
Answer:
The working principle of the computer system. Computers do the work primarily in the machine and we can not see, a control center that converts the information data input to output. This control center, called the central processing unit (CPU), How Computers Work is a very complex system.
Explanation:
Serveral cheetas are growling at each other while hunting for animals.for which need are they competing?
Answer:
prey
Explanation:
Answer:
food plis let me now if am wrong
Explanation:
Question 7 of 10
When is it more professional not to send a business email?
O A. When a number of people should be included.
B. When the content is highly sensitive or emotional.
O C. When a written record is needed.
D. As a cover letter for an attachment
Answer:
B. When the content is highly sensitive or emotional
Explanation:
B. When the content is highly sensitive or emotional.
Write a function that takes two integer lists (not necessarily sorted) and returns true precisely when the first list is a sublist of the second.
The first list may appear anywhere within the second, but its elements must appear contiguously.
HINT: You should define and test a helper function that you can use in sublist.
Answer:
The function written in Python is as follows:
def checksublist(lista,listb):
if(all(elem in lista for elem in listb)):
print("The first list is a sub list of the second list.")
else:
print("The first list is not a sub list of the second list.")
Explanation:
This line defines the function
def checksublist(lista,listb):
The following if condition checks if list1 is a subset of list2
if(all(elem in lista for elem in listb)):
print("The first list is a sub list of the second list.")
The following else statement is executed if the above if statement is not true
else:
print("The first list is not a sub list of the second list.")
The function that takes two integer lists (not necessarily sorted) and returns true precisely when the first list is a sub list of the second is as follows:
def check_sublist(x, y):
if(set(x).issubset(set(y))):
return "The first list is a sublist of the second"
else:
return "The first list is not a sublist of the second"
print(check_sublist([2, 3, 5], [1, 2, 3, 4, 5, 6, 7]))
The code is written is python.
Code explanation:A function is declared called check_sublist. The function accept two parameters namely x and y.if the parameter x is a subset of y then the it will return "The first list is a sublist of the second"Else it will return "The first list is not a sublist of the second"Finally, we use the print statement to call our function with the required parameter.learn more on python code here; https://brainly.com/question/25797503?referrer=searchResults
The email application used by Jim’s office is sending emails with viruses attached to them to user’s computers. What step should Jim try first to resolve the issue?
Downgrade the email software to an older, previous version
Buy a newer email program and migrate the office computers to that program
Switch from open source software to proprietary software
Check for and install patches or software updates
The step that Jim should try first to resolve the issue is to check for and install patches or software updates. Thus, the correct option for this question is D.
What is a Software update?A software update may be defined as a sequence of changes to the software in order to update, fix or improve it. Changes to the software will usually either fix bugs, fix security vulnerabilities, provide new features or improve performance and usability.
The process of software update usually fixes bugs in your current operating system and secures your phone from malicious attacks by fixing any security lapses. G-Pixel handsets receive security updates every month. However, that's not the case with all Android phones.
Therefore, checking for and installing patches or software updates is the step that should Jim try first in order to resolve the issue. Thus, the correct option for this question is D.
To learn more about Software updates, refer to the link:
https://brainly.com/question/5057366
#SPJ2
Microsoft
is one of the world's most popular operating systems.
Answer:
The answer is "Cooperation
"
Explanation:
Answer:
Microsoft Windows is one of the world most popular operating system
. answer is windows please mark me brain list
true false are computer has four main parts
Answer:
It is true because computer have four main parts
There are 12 inches in a foot and 3 feet in a yard. Create a class named InchConversion. Its main() method accepts a value in inches from a user at the keyboard, and in turn passes the entered value to two methods. One converts the value from inches to feet, and the other converts the same value from inches to yards. Each method displays the results with appropriate explanation.
Answer:
import java.util.Scanner;
public class InchConversion
{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Enter inches: ");
double inches = input.nextDouble();
inchesToFeet(inches);
inchesToYards(inches);
}
public static void inchesToFeet(double inches){
double feet = inches / 12;
System.out.println(inches + " inches = " + feet + " feet");
}
public static void inchesToYards(double inches){
double yards = inches / 36;
System.out.println(inches + " inches = " + yards + " yards");
}
}
Explanation:
In the inchesToFeet() method that takes one parameter, inches:
Convert the inches to feet using the conversion rate, divide inches by 12
Print the feet
In the inchesToYards() method that takes one parameter, inches:
Convert the inches to yards using the conversion rate, divide inches by 36
Print the yards
In the main:
Ask the user to enter the inches
Call the inchesToFeet() and inchesToYards() methods passing the inches as parameter for each method
What is the purpose of application software
Answer:
Explanation:
type of computer program that performs a specific personal, educational, and business function. Each program is designed to assist the user with a particular process, which may be related to productivity, creativity, and/or communication.
Plz answer me will mark as brainliest
Answer:
D is the answer
Explanation:
because arteriales don't requare valves because they only go to one direction
Joe just joined a new team at his marketing firm, which has been working on a campaign ad for the new Elmo doll. Everyone in the group has children except for Joe, and thus they are familiar with the doll. Joe has never seen an Elmo doll before. How should he deal with the situation?
Answer: ask someone to show or explain the doll to him
Explanation:
edmentum
Answer: ask someone to show or explain the doll to him
Explanation:
If Joe asks his teammates to show or explain the doll to him, he too can contribute ideas for the successful completion of the project.
Consider a banking system with ten accounts. Funds may be transferred between two of those accounts by following these steps:
lock A(i); lock A(j);
Update A(i); Update A(j);
Unlock A(i); Unlock A(j);
Required:
a. Can this system become deadlocked? If yes, show how. If no, explain why not?
b. Could the numbering request policy (presented in the chapter discussion about detection) be implemented to prevent deadlock if the number of accounts is dynamic? Explain why or why not?
Answer:
qegfds
Explanation:
How to give brainliest?
Answer:
Once two people answer a question, it'll have a bar on each answer that says Mark As Brainliest. Click that and it'll make it the Brainliest answer
Answer:
when two people answer there would be a white crown at the bottom right corner (of the answer) when you click on it it turns yellow/gold which means that you have marked that answer brainliest.
Pick the better answer (in your opinion) and then mark it brainliest.
Which of the following statements BEST describe why Agile is winning?
Answer:
nunya
Explanation:
ILL MARK BRAINEST.
What must a new object have in Turtle Graphics? O Export O Name Title O Rank
Answer:
Name
Explanation:
Answer:
name
Explanation:
brain
true false the table can have only one primary key
Which is smaller - 1 PB or 1,000 TB? *
1 PB
1,000 TB
O They're equal
PLEASE HELP 10points
Answer:
they are all equal
Explanation:
I did this before
What is the shortcut for inserting fraction in word?(except insert equation)
Answer:
\frac is the shortcut for inserting fraction in ms-word
e.g of a/b = \frac {a}{b}
What are sums of money that are given out for specific reasons?
conventional loans
grants
venture capitals
angel fundings
Answer:
B. grants
Explanation: This is the correct answer on Edge 2021, just did the assignment. Hope this helps ^-^.
3. An open source software operating system
TYPE THE ANSWER
Answer:
Linux
Explanation:
I read the reading
A software program designed to simplify communication between various hospital systems such as ADT (Admission-Transfer-Discharge), Pharmacy, LIS (Lab Information System), RIS (Radiology Information System) and etc. is called
Answer:
"HL7 Translator" seems to be the appropriate answer.
Explanation:
HL7 would be a universal, user-friendly protocol that allows collaboration across two or maybe more programs for health administration. Throughout the context through one and sometimes more HL7 communications, including billing healthcare and customer data, health-related data will be transmitted. The implementation of HL7 includes the participation of clinical technology analysts, integration professionals, system administrators including analysts.2 paragraphs of shooting games doesn’t make you violent
Answer:
Video games. A common pastime for the American people, children and adults alike. However, one thing many people confuse about video games is the false notion that violent ones carry over into real life behavior. For example, are you a culinary chef after you play Overcooked? Are you a professional soccer player after playing FIFA? If the answers to those are no, or something of the sort, then shooter games should not be tied to school shootings and things of the such.
For one, shooter games are not realistic scenarios that children and adults will be played in. As for Counter Strike, players can play as police men and defend the people from terrorists who attack them, which is a positive message to send out. Another example would be Doom Eternal, which is a game about fighting demons, which at the end of the day is quite a religious and healthy message to spread to children. Even for more realistic shooter games, children are not likely to find a gun laying around, and by the chance that they do and they know how to use it, their judgment is greater than their anger at that age if they are knowledgeable in how to use a gun.
In conclusion, shooter games do not make people violent. The notion that they do is absurd, as it is, as parents say "not real", and therefore shouldn't have so much time invested in it. But, if a child is doing good in school and well behaved, there is no problem with letting them play shooter games. If anything, they build experiences with friends when they play with them. Isn't that what childhood is about, playing with friends? Adults are typically good with judgment in these sorts of things, and they should know better. For adulthood is full of freedom, and they should be able to do what they need to enjoy it.
Explanation: