Answer: The math module is a standard module in Python and is always available. To use mathematical functions under this module, you have to import the module using import math .
Explanation:
x = 9 % 2
if (x == 1):
print ("ONE")
else:
print ("TWO")
Answer:
Hewo There!!
_______________________
Simplify 9 % ⋅ 2 .
x = 0.18
_______________________
“One’s life has value so long as one attributes value to the life of others, by means of love, friendship, indignation and compassion.” — Simone De Beauvoir
_______________________
Think of life as a mytery because well it sort of is! You don't know what may happen may be good or bad but be a little curious and get ready for whatever comes your way!! ~Ashlynn
What was the main limitation of computer networking that the invention of the Robert website of the 1990s
Answer:
The TCP/IP protocol could only be used in universities, governments, and businesses. People around the world could not send data to one another.
Suppose a password must have at least 8, but no more than 12 characters, where each character can be either:
Answer:
A combination of uppercase letters, lower case letters, numbers, and special characters.
Explanation:
A password is a word that permit you to register, log or sign in a site.
Complete the sentence based on the given information.
______ are responsible for analyzing the client business model, whereas _____ are responsible for identifying errors in the software product to confirm that it meets the client model.
Answer:
blank answer so brainly doesnt delete your question.
Explanation:
displaying advertisements specific or users internet based on their buy preference is called ._________.
A new printer has recently been installed in the office, but it does not print. What is the first source to check for information about the problem? *
The manufacturer's website
Tech support forums
The OS website
POST card
Every device connected to the public Internet is assigned a unique number known as: a. an Internet Protocol (IP) addres
Answer:
yes
Explanation:
its the number used to identify the devise connected to the internet
A user is complaining that an external web page is taking longer than normal to load.The web page does eventually load on the user machine. Which tool should the technician use with administrator privileges in order to locate where the issue is in the network
The tool that the technician should use is TRACERT. It is a network diagnostic command for tracing the path of an Internet Protocol packet to its corresponding destination.
The Internet Protocol is the network protocol on the Internet, which is used for relaying data across network boundaries.
TRACERT is a network diagnostic command used to trace the path of an Internet Protocol packet to its corresponding destination.
This tool (TRACERT) is useful for defining response delays and routing loops in a network pathway across different nodes.
Learn more about TRACERT here:
https://brainly.com/question/5699061
Implement a class named BankAccount. Every bank account has a starting balance of $0.00. The class should implement methods to accept deposits and make withdrawals. __init__(self): Sets the balance to 0. deposit(self, amount): Deposits money. Return True if transaction is successful. Return False if amount is less than 0 and ignore the transaction. widthdraw(self, amount): Withdraws money. Return True if transaction is successful. Return False if amount is more than the balance and ignore the transaction.
The BankAccount class implementation in Python 3.8 is found in the attached image
The deposit method uses an if statement to check if the amount to be deposited is negative. If so, it does nothing, but returns False signifying that the transaction failed.
However, if the test finds out that the amount to deposit is positive or zero, the deposit method increments the balance, then returns True, signifying a successful transaction.
The withdraw method is similar, but this time, it tests if the amount to be withdrawn is greater than the available balance. If so, it ignores the transaction, and returns False.
If the withdrawal amount is less or equal to the available balance, the withdraw method decrements the available balance, then returns True, signifying a successful transaction.
Learn more about Python programming here https://brainly.com/question/20379340
Write a program that reads the student information from a tab separated values (tsv) file. The program then creates a text file that records the course grades of the students. Each row of the tsv file contains the Last Name, First Name, Midterm1 score, Midterm2 score, and the Final score of a student. A sample of the student information is provided in StudentInfo.tsv. Assume the number of students is at least 1 and at most 20.
The program performs the following tasks:
Read the file name of the tsv file from the user.
Open the tsv file and read the student information.
Compute the average exam score of each student.
Assign a letter grade to each student based on the average exam score in the following scale:
A: 90=
B: 80=< X < 90
C: 70=< X < 80
D: 60=< X < 70
E: X < 60
Compute the average of each exam.
• Output the last names, first names, exam scores, and letter grades of the students into a text file named report.txt.
• Output one student per row and separate the values with a tab character.
• Output the average of each exam, with two digits after the decimal point at the end of report.txt. Hint: Use the setprecision manipulator to format the output.
Ex: If the input of the program is:
StudentInfo.tsv
and the contents of Studentinfo tsv are:
Barrett Edan 70 45 59
Bradshaw Reagan 96 97 88
Charlton Caius 73 94 80
Mayo Tyrese 88 61 36
Stern Brenda 90 86 45
the file report.txt should contain:
Barrett Edan 70 45 59 F
Bradshaw Reagan 96 97 88 A
Charlton Caius 73 94 80 B
Mayo Tyrese 88 61 36 D
Stern Brenda 90 86 45 C
Averages: midtermi 83.40, midterm2 76.60, final 61.60
13) You notice that the row labels in your spreadsheet are 1, 2, 3, 8, 9.
Row labels 4 through 7 are missing. What could cause this?
Possible reasons for missing out row 4 to 7 are as follows,
Chance of rows from 4 to 7 contain incorrect/ non formatted data.Chance of rows from 4 to 7 are in hidden state.Chance of rows from 4 to 7 are assigned to some other user which does not belongs to your current user.Chance of rows from 4 to 7 were deleted from the sheet.These are all the possible reasons for missing of row 4 to 7.
Learn more: https://brainly.com/question/24504878
Why linked list is better than an array?
what is office course
how to learn office course
Answer:
It includes Word, to create, polish, and share documents; Excel, to analyze and visualize data; PowerPoint, to create, collaborate, and effectively present ideas; OneNote, to organize ideas into a digital notebook; Outlook, to organize email, coordinate schedules, and stay up to date with contacts; Access, to create .Hope this helps you XD ✌️1. Import it into Eclipse. Open the file in Eclipse 2. Edit the file to add comments to identify the instance variables, constructors headings and method headings 3. Edit the file to build and add the UML in the Header comment of the code. You must do a very thorough job and be sure to pay attention to the details. 4. Save your Flower.java file. 5. Upload your updated Flower.java file here.package during_class_session;public class Flower{private String NameofFlower;private double PriceofFlower;public Flower() {this.setNameofFlower("No name yet");this.setPriceofFlower(0.0);}public Flower(String nameofFlower_initial, double priceofFlower_initial) {this.setNameofFlower(nameofFlower_initial);this.setPriceofFlower(priceofFlower_initial);}public String getNameofFlower() {return NameofFlower;}public void setNameofFlower(String nameofFlower) {NameofFlower = nameofFlower;}public double getPriceofFlower() {return PriceofFlower;}public void setPriceofFlower(double priceofFlower) {PriceofFlower = priceofFlower;}}
Answer:
/
Explanation:
Where is the option to set Conditional Formatting rules found?
O Insert tab in the Formatting group
O Page Layout tab in the Styles group
O Home tab in the Styles group
Formulas tab in the Formatting group
Answer:
C
Explanation:
the person above me is correct, you should mark them brainliest
Filtering is a function of _____.
Write a program that generates 100 random numbers and keeps a count of how many of those random numbers are even and how many of them are odd.
Answer:
import random
numbers = []
even = 0
odd = 0
for i in range(100):
numbers.append(random.randint(1, 200))
for i in range(100):
if numbers[i] % 2 == 0:
even += 1
else:
odd += 1
print("Even:", even)
print("Odd:", odd)
Explanation:
Gg ez.
An ATM allows a customer to withdraw maximum amount of 500
Answer:
true
Explanation:
employees information system source code ..please
Answer:
def greetuser(username)
CAN SOMEONE PLEASE HELP ME WRITE AN INTRODUCTION ??? COMMENT FOR TOPIC
Answer:
Introductions
1.Attract the Reader's Attention. Begin your introduction with a "hook" that grabs your reader's attention and introduces the general topic. ...
2.State Your Focused Topic. After your “hook”, write a sentence or two about the specific focus of your paper. ...
3.State your Thesis. Finally, include your thesis statement.
Explain if a company is responsible for using computer components manufactured using fair trade practices. [9 marks]
Answer:
Fair trade practices aims at promoting the fair relationships between the buyers and producers. It is a kind of a social movement that makes the producers to provide the better conditions and humane working environment in case of developing countries.
• It also favors and supports the proper and substantial payment to the manufacturers and wages to the labors.
• It is a trading partnership that states the manufacturers to analyze and check their supply sources or resources and provide disclosure if the materials were produced or mined in the areas of conflict or areas of extreme poverty.
Explanation:
can you mark me as brainlist
Answer:
It is a trading partnership that states the manufacturers to analyze and check their supply sources or resources and provide disclosure if the materials were produced or mined in the areas of conflict or areas of extreme poverty.
in which country was Abacus build
if ur smart don't searh
Answer:
Abacus many be built first in China
Explanation:
I know Abacus ^o^
Answer:
Hewo There!!!!
__________________
China- i thinkkk maybe?
__________________
“Hold fast to dreams,
For if dreams die
Life is a broken-winged bird,
That cannot fly.”
― Langston Hughes
__________________
Think of life as a mytery because well it sort of is! You don't know what may happen may be good or bad but be a little curious and get ready for whatever comes your way!! ~Ashlynn
Write a program that reads the student information from a tab separated values (tsv) file. The program then creates a text file that records the course grades of the students. Each row of the tsv file contains the Last Name, First Name, Midterm1 score, Midterm2 score, and the Final score of a student. A sample of the student information is provided in StudentInfo.tsv. Assume the number of students is at least 1 and at most 20.
The program performs the following tasks:
Read the file name of the tsv file from the user.
Open the tsv file and read the student information.
Compute the average exam score of each student.
Assign a letter grade to each student based on the average exam score in the following scale:
A: 90 = < X o
B: 80 = < x < 90
C: 70 = < X < 80
D: 60 = < x < 70
E: X < 60
• Compute the average of each exam.
• Output the last names, first names, exam scores, and letter grades of the students into a text file named report.txt. Output one student per row and separate the values with a tab character.
• Output the average of each exam, with two digits after the decimal point, at the end of report.txt. Hint: Use the setprecision manipulator to format the output.
Ex: If the input of the program is:
StudentInfo.tsv
and the contents of StudentInfo.tsv are: 70 45 59
Barrett Edan 96 97 88
Bradshaw Reagan 73 94 80
Charlton Caius 88 61 36
Mayo Tyrese 90 86 45
the file report txt should contain
Barrett Edan 70 45 59 F
Baadha Boagan 9e 157 89 A
Charlton Caius 73 94 80 B
Mayo and Tyrese 58 61 36 D
Stern and Brenda 90 36 45 C
Average midterm 83.40, midterm2 76.60, final 61.60
In this exercise we have to use the knowledge of the JAVA language to write the code, so we have to:
The code is in the attached photo.
So to make it easier the code can be found at:
using namespace std;
// Class student required to store the data
class Student{
public:
string lname;
string fname;
int marks[3];
char grade;
// Function which generates the grade for student
void calculate_grade(){
double sum = 0;
for(int i=0;i<3;i++){
sum+= marks[i];
}
double average = sum/3;
if(average>=90 && average<100)
this->grade = 'A';
else if(average>=80)
this->grade = 'B';
else if(average>=70)
this->grade = 'C';
else if(average>=60)
this->grade= 'D';
else this->grade = 'F';
}
};
// This function reads the file , and creates a vector of Students data
vector read_file(string fileName){
// Opening the file
fstream fin;
fin.open(fileName);
// Temp variables
vector list;
vector row ;
string line, word, temp;
// Read the data into vector
while(getline(fin,line)){
row.clear();
stringstream s(line);
while(getline(s,word,'\t')){
row.push_back(word);
}
Student st;
st.fname = row[0];
st.lname = row[1];
st.marks[0] = stoi(row[2]);
st.marks[1] = stoi(row[3]);
st.marks[2] = stoi(row[4]);
st.calculate_grade();
list.push_back(st);
}
fin.close();
return list;
}
// This function takes filname to be output as input, and list of student
void writeFile(string filename, vector list){
// Opening the new file
ofstream fin(filename);
for(int i=0;i string line = list[i].fname+"\t"+list[i].lname+"\t"+to_string(list[i].marks[0])+"\t"
+to_string(list[i].marks[1])+"\t"+to_string(list[i].marks[2])+"\t"+list[i].grade+"\n";
fin<
}
// Find the stats required
double average1 =0,average2 =0 ,average3 = 0;
for(int i=0;i average1+=list[i].marks[0];
average2+=list[i].marks[1];
average3+=list[i].marks[2];
}
average1/=list.size();
average2/=list.size();
average3/=list.size();
// Writting the stats
fin<<"\n"<<"Average: "<<"mid_term1 "<
// Closing the file
fin.close();
}
int main(){
// Taking the input
cout<<"Enter the filename: ";
string filename;
cin>>filename;
vector list;
// Reading and Writting to the file
list = read_file(filename);
writeFile("report.txt",list);
}
See more about JAVA at brainly.com/question/2266606
What is it called when a unique letter is assigned to a shared drive
Answer:
Assigning a drive letter to a network drive is called mapping the drive, or linking the drive, by network nerds.
Explanation:
Complete the statement using the correct term.
The [blank] of the site is what will be displayed on the web page.
answer is Body
The BODY of the site is what will be displayed on the web page. It contains most of the distinctive content of the web page.
A web page refers to a document exhibited by the browser, which is generally written in the HTML language.
The body of a web page is a big area in the center that contains the most important and distinctive content of a web page.
The body will determine the central content of the HTML document, which will be observable on the web page (e.g., a photo gallery).
Learn more about a web page here:
https://brainly.com/question/16515023
The internet advertisement below is known as a __________. CSS tag web banner title sequence hotspot
The internet advertisement that is illustrated in the image attached below is known as a: B. web banner.
An internet advertisement can be defined as a promotional multimedia message (information) that is designed and developed with the intention to make products or services that are offered by a business firm to become known and familiar to all of its customers and potential customers over the Internet.
Generally, there are various techniques used by web developers for internet advertisements and these include:
CSS tagTitle sequenceHotspotWeb bannerA web banner is a form of advertising which embeds an advertisement that is delivered by a web server into a webpage over the Internet or the World Wide Web (www).
In conclusion, the internet advertisement that is illustrated in the image attached below is known as a web banner.
Read more on web banner here: https://brainly.com/question/10196860
What type of control system has the ability to measure the controlled variable and the system output and dynamically adjust the setpoint to achieve more precise control
Proportional integral derivative (PID) control can measure the controlled variable and the system output and dynamically adjust the setpoint to achieve more precise control. It is an algorithm used in the industry.
An algorithm can be defined as a well-established list of rules/steps to follow to solve a given problem.
Proportional integral derivative (PID) control is the most widely used algorithm used in industry.
This type of control (PID) has different coefficients, i.e., proportional, integral and derivative coefficients, which vary in order to obtain an optimal response.
Learn more about proportional integral derivative control here:
https://brainly.com/question/20164864
seven characteristics of information
Answer:
1.Accuracy and Precision.
2.Legitimacy and Validity.
3.Reliability and Consistency.
4.Timeliness and Relevance.
5.Completeness and Comprehensiveness.
6.Availability and Accessibility.
7.Granularity and Uniqueness.
Explanation:
#carry on learning
RAM or RIM is correct?
Please debbug this code for me
public class SavingAccount { // interest rate for all accounts private static double annualInterestRate = 0; private final double savingsBalance; // balance for currrent account // constructor, creates a new account with the specified balance public void SavingAccount( double savingsBalance ) { savingsBalance = savingsBalance; } // end constructor // get monthly interest public void calculateMonthlyInterest() { savingsBalance += savingsBalance * ( annualInterestRate / 12.0 ); } // end method calculateMonthlyInterest // modify interest rate public static void modifyInterestRate( double newRate ) { annualInterestRate = ( newRate >= 0 && newRate <= 1.0 ) ? newRate : 0.04; } // end method modifyInterestRate // get string representation of SavingAccount public String toString() { return String.format( "$%.2f", savingsBalance ); } // end method toSavingAccountString } // end class SavingAccount
Answer:
/
Explanation: