Answer:
I don't know you should figure that out good luck
Explanation:
good luck
Write a python program to print the square of all numbers from 0 to 10.
Answer:
for i in range(11):
print(i^2)
It goes through printing the square of each number with a range of 11 since 0 is also included
2-3 Calculating the Body Mass Index (BMI). (Programming Exercise 2.14) Body Mass Index is a measure of health based on your weight. It can be calculated by taking your weight in kilograms and dividing by the square of your height in meters. Write a program that prompts the user to enter a weight in pounds and height in inches and displays the BMI. Note: One pound is 0.45359237 kilograms and one inch is 0.0254 meters. Hint: Convert the pounds entered into kilograms also convert the height in inches into meters Example: If you entered in pounds your weight as 95.5 and your height as 50 inches then the calculated BMI is 26.8573 FYI: BMI < 18.5 is underweight BMI >
Answer:
weight = float(input("Enter your weight in pounds: "))
height = float(input("Enter your height in inches: "))
weight = weight * 0.45359237
height = height * 0.0254
bmi = weight / (height * height)
print("Your BMI is: %.4f" % bmi)
Explanation:
*The code is written in Python.
Ask the user to enter weight in pounds and height in inches
Convert the weight into kilograms and height into meters using given conversion rates
Calculate the BMI using given formula
Print the BMI
c Write a recursive function called PrintNumPattern() to output the following number pattern.Given a positive integer as input (Ex: 12), subtract another positive integer (Ex: 3) continually until 0 or a negative value is reached, and then continually add the second integer until the first integer is again reached.
Answer:
def PrintNumPattern(a,b):
print(a)
if (a <= 0): return
PrintNumPattern(a-b,b)
print(a)
PrintNumPattern(12,3)
Explanation:
Recursive functions are cool.
Suppose class Person is the parent of class Employee. Complete the following code:
class Person :
def __init__(self, first, last) :
self.firstname = first
self.lastname = last
def Name(self) :
return self.firstname + " " + self.lastname
class Employee(Person) :
def __init__(self, first, last, staffnum) :
Person.__init__(self,first, last) self.staffnumber = staffnum
def GetEmployee(self) :
return self.Name() + ", " + self.staffnumber
x = Person("Sammy", "Student")
y = Employee("Penny", "Peters", "805")
print(x.Name())
print(y.GetEmployee())
Answer:
Explanation:
There is nothing wrong with the code it is complete. The Employee class is correctly extending to the Person class. Therefore, the Employee class is a subclass of Person and Person is the parent class of Employee. The only thing wrong with this code is the faulty structure such as the missing whitespace and indexing which is crucial in Python. This would be the correct format. You can see the output in the picture attached below.
class Person :
def __init__(self, first, last) :
self.firstname = first
self.lastname = last
def Name(self) :
return self.firstname + " " + self.lastname
class Employee(Person) :
def __init__(self, first, last, staffnum) :
Person.__init__(self,first, last)
self.staffnumber = staffnum
def GetEmployee(self) :
return self.Name() + ", " + self.staffnumber
x = Person("Sammy", "Student")
y = Employee("Penny", "Peters", "805")
print(x.Name())
print(y.GetEmployee())
What was the Internet originally created to do? (select all that apply)
The Internet was initially constituted for various purposes. it is was originally created to options a, c and d:
share researchcommunicateshare documentsWhat is InternetCommunication: The Internet was planned to aid ideas and data exchange 'tween analysts and chemists. It proposed to combine various calculating and networks to authorize logical ideas and cooperation.
Research and Development: The Internet's production was driven for one need to share research verdicts, experimental dossier, and possessions among academies, research organizations, and administration institutions.
Read more about Internet here:
https://brainly.com/question/21527655
#SPJ4
You have read about the beginnings of the Internet and how it was created. What was the Internet originally created to do? (select all that apply)
share research.
Play games.
Communicate.
Share documents.
Sell toys
What is lossy compression
A. It is a technique that results in the loss of all files on a computer.
B. It is a technique that reduces the file size by permanently removing some data
C. It is a method of combining the memories of the ram and the rom
D. It is a method that stores data dynamically requiring more power
Answer:
B. It is a technique that reduces the file size by permanently removing some data
Answer:
B. It is a technique that reduces the file size by permanently removing some data
Explanation:
function of mini computer?
A mini computer, also known as a minicomputer or midrange computer, is a type of computer that falls between mainframe computers and microcomputers in terms of processing power, storage capacity, and overall size. The function of a mini computer is to provide computing capabilities for tasks that require more processing power and storage than microcomputers can offer, but are not as resource-intensive as those handled by mainframe computers. Here are some key functions of mini computers:
1. Data processing and analysis: Mini computers excel at handling complex calculations, data processing, and analysis tasks. They are capable of executing multiple tasks concurrently and can efficiently process and manipulate large datasets.
2. Server applications: Mini computers can serve as powerful servers, handling tasks such as network management, file sharing, and hosting websites or applications for small to medium-sized organizations.
3. Scientific and engineering applications: Mini computers are well-suited for scientific research, engineering simulations, and other technical applications that require substantial computational power and memory.
4. Database management: Mini computers can efficiently manage and process large databases, making them suitable for database-intensive applications such as inventory management, customer relationship management (CRM), and financial systems.
5. Control systems: Mini computers are often used in industrial settings to control and monitor processes, machinery, and equipment. They can handle real-time data acquisition, monitoring, and control, ensuring smooth operations in manufacturing, automation, and other industrial sectors.
6. Multi-user environments: Mini computers support multiple users simultaneously, allowing them to share system resources and access the same computing environment, making them suitable for collaborative work and multi-user applications.
Overall, the function of a mini computer is to provide a balance between processing power, storage capacity, and cost-effectiveness, making it a suitable choice for a wide range of applications that require moderate to high computing capabilities but do not warrant the use of mainframe computers or supercomputers.
For more such questions on microcomputers, click on:
https://brainly.com/question/5154911
#SPJ11
software 8. Computers that are used in large organizations such as insurance companies and banks_ where many people frequently need to use same data, are A. mainframe computers B. super computers C. hybrid computers D. desktop computers
Computers that are used in large organizations such as insurance companies and banks, where many people frequently need to use the same data, are typically A. mainframe computers.
What is a main frame computer?A mainframe computer is a high-performance,large- scale computer system designed for handling complex processing tasks and managing extensive amounts of data.
It is characterized by its ability to support multiple users concurrently and provide centralized data access.Mainframes are known for their reliability, scalability, and robustness.
Learn more about mainframe computers at:
https://brainly.com/question/14480599
#SPJ1
How do I write this program?
def goingUp(n): # prints the stars from the row with 1 until a row with n
def goingDown(n): # prints the stars from the row with n to the row with 1
If the user enters a negative value, your program should print nothing.
If the user enters 0, your program should print nothing.
If the user enters 1, your program should print a single line with one star.
If the user enters any number greater than 1, your program should print according to the pattern shown above.
The prompt to the user must be Please enter a value
Answer:
Sorry but I don't know this
If an online program does not cater to disabled students, the program is not ✓
essential
equal
equitable
Answer: gggggggggggggg
Explanation:
What is a rule of solid database design regarding calculated values?
They should be stored in a database.
O They should not be stored in a database.
O They should be hidden from query results.
O They should be eliminated from query results.
Answer:
They should not be stored in a database.
Explanation:
Question 41
What is an another name of Personal Computer?
A OMicro-Computer
BOPrivate Computer
CODistinctive Computer
DOIndividual Computer
A personal computer, also known as a micro-computer, is a type of computer designed for individual use by a single person. Option A
It is a general-purpose computer that is meant to be used by an individual for various tasks, such as word processing, web browsing, gaming, and multimedia consumption. Personal computers are widely used by individuals in homes, offices, and educational institutions.
Option B, "Private Computer," is not a commonly used term to refer to a personal computer. The term "private" does not accurately describe the nature or purpose of a personal computer.
Option C, "Distinctive Computer," is not an appropriate term to refer to a personal computer. The term "distinctive" does not convey the common characteristics or usage of personal computers.
Option D, "Individual Computer," is not a commonly used term to refer to a personal computer. While the term "individual" implies that it is meant for individual use, the term "computer" alone is sufficient to describe the device.
Therefore, the most accurate and commonly used term to refer to a personal computer is A. Micro-Computer. This term highlights the small size and individual-focused nature of these computers. Option A
For more such questions micro-computer visit:
https://brainly.com/question/26497473
#SPJ11
ethical issues of cyber bullying
Answer:
Explanation: As a student, I am aware of the existence of Cyber-bullying and the manner in which it can be carried out. I am also sensitive to the serious nature of the problem. However, I realise that I need to know more about the issue if I am to be effective in fostering a supportive learning environment in which students can grow as good digital citizens.
Cyber-bullying is similar to traditional psychological bullying in that-
There is an imbalance of power between the victim & perpetrator.
Victims draw negative attention & are isolated from their peer group.
Perpetrators are often encouraged & supported by their peer group.
The actions of the perpetrator are deliberate, repeated & relentless.
The negative attention is uninvited & unwanted by the victim.
The effects often cause depression, anxiety, low self-esteem, poorer mental & physical health and school avoidance.
TCP is more dependable protocol than UDP because TCP is
Explanation:
because TCP creates a secure communication line to ensure the reliable transmission of all data.
Consider the following code:
start = int(input("Enter the starting number: "))
stop = int(input("Enter the ending number: "))
x = -10
sum = 0
for i in range (start, stop, x):
sum = sum + i
print(sum)
What is output if the user enters 78 then 45?
Please help me !
Answer:
The output is 252
Explanation:
To get the output, I'll analyze the lines of code one after the other.
Here, user enters 78. So, start = 78
start = int(input("Enter the starting number: "))
Here, user enters 45. So, stop = 45
stop = int(input("Enter the ending number: "))
This initializes x to -10
x = -10
This initializes sum to 0
sum = 0
This iterates from 78 to 46 (i.e. 45 + 1) with a decrement of -10 in each successive term
for i in range (start, stop, x):
This adds the terms of the range
sum = sum + i
This prints the calculated sum
print(sum)
The range starts from 78 and ends at 46 (i.e. 45 + 1) with a decrement of -10.
So, the terms are: 78, 68, 58 and 48
And Sum is calculated as:
\(Sum = 78 + 68 + 58 +48\)
\(Sum = 252\)
Hence, 252 will be printed
PLEASE HELP
6.22 LAB: Swapping variables
Define a function named SwapValues that takes four integers as parameters and swaps the first with the second, and the third with the fourth values. Then write a main program that reads four integers from input, calls function SwapValues() to swap the values, and prints the swapped values on a single line separated with spaces.
Ex: If the input is:
3 8 2 4
function SwapValues() returns and the main program outputs:
8 3 4 2
The program must define and call a function:
void SwapValues(int& userVal1, int& userVal2, int& userVal3, int& userVal4)
Function SwapValues() swaps the values referenced by the parameters.
in c++
Create function SwapValues with 4 integer parameters that swaps the 1st with 2nd and 3rd with 4th values. Read and print swapped values.
In C++, we can define the function SwapValues() that takes four integer parameters as references.
The function swaps the first with the second, and the third with the fourth values.
We can then write a main program that reads four integers from input, calls the SwapValues() function passing in the input integers as arguments, and then prints the swapped values on a single line separated by spaces.
Here's how the SwapValues() function can be defined:
void SwapValues(int& userVal1, int& userVal2, int& userVal3, int& userVal4) {
int temp = userVal1;
userVal1 = userVal2;
userVal2 = temp;
temp = userVal3;
userVal3 = userVal4;
userVal4 = temp;
}
And here's the main program:
int main() {
int num1, num2, num3, num4;
cin >> num1 >> num2 >> num3 >> num4;
SwapValues(num1, num2, num3, num4);
cout << num1 << " " << num2 << " " << num3 << " " << num4 << endl;
return 0;
}
When given the input '3 8 2 4', the program will output '8 3 4 2'.
For more such questions on SwapValues:
https://brainly.com/question/28809963
#SPJ11
What additional uses of technology can u see in the workplace
Answer:
Here are some additional uses of technology in the workplace:
Virtual reality (VR) and augmented reality (AR) can be used for training, simulation, and collaboration. For example, VR can be used to train employees on how to operate machinery or to simulate a customer service interaction. AR can be used to provide employees with real-time information or to collaborate with colleagues on a project.Artificial intelligence (AI) can be used for a variety of tasks, such as customer service, data analysis, and fraud detection. For example, AI can be used to answer customer questions, identify trends in data, or detect fraudulent activity.Machine learning can be used to improve the accuracy of predictions and decisions. For example, machine learning can be used to predict customer churn, optimize marketing campaigns, or improve product recommendations.Blockchain can be used to create secure and transparent records of transactions. For example, blockchain can be used to track the provenance of goods, to manage supply chains, or to record financial transactions.The Internet of Things (IoT) can be used to connect devices and collect data. For example, IoT can be used to monitor equipment, track assets, or collect data about customer behavior.These are just a few of the many ways that technology can be used in the workplace. As technology continues to evolve, we can expect to see even more innovative and creative uses of technology in the workplace.
Please tell us your thoughts on one recently purchased product or service you believe can be improved.
Inflation everything is going up because of inflation
hoped that helped!
Which four of the following are true about fair use?
D,C,B
Should be the correct answers. I'm not the best when it comes to copyright but I believe those are correct.
New forensics certifications are offered constantly. Research certifications online and find one not discussed in this chapter. Write a short paper stating what organization offers the certification, who endorses the certification, how long the organization has been in business, and the usefulness of the certification or its content. Can you find this certification being requested in job boards?
Answer:
Computer forensics is gathering information or evidence from a computer system in order to use it in the court of law. The evidence gotten should be legal and authentic.
These organization gives certifications for computer forensics
1. Perry4law: they provide training to students, law enforcement officers. There services includes forensics training, research and consultancy.
2. Dallas forensics also offers similar services
3. The New York forensics and electronic discovery also teach how to recover files when deleted, how to get information from drives and how to discover hidden information.
In a Java conditional statement, on what does the value of the variable depend?
whether the string variable can be solved
whether the Boolean expression is true or false
whether the Boolean expression can be solved
whether the string variable is true of false
Answer:
whether the Boolean expression is true or false
Starting a corporation is ________.
DIFFICULT
FAIRLY SIMPLE
ALWAYS NON-PROFIT
Starting a corporation is FAIRLY SIMPLE. (Option B). This is because there is such a vast amount of information and paid guidance that is available to those who want to start a corporation.
What is a corporation?A corporation is an organization—usually a collection of individuals or a business—that has been permitted by the state to function as a single entity and is legally recognized as such for certain purposes.
Charters were used to form early incorporated companies. The majority of governments currently permit the formation of new companies through registration.
It should be emphasized that examples of well-known corporations include Apple Inc., Walmart Inc., and Microsoft Corporation.
Learn more about Corporation:
https://brainly.com/question/13551671
#SPJ1
What is cybersecurity? Cybersecurity refers to the protection of hardware?
Cybersecurity is the practice of safeguarding computer systems, networks, and mathematical data from unauthorized approach, theft, damage, or additional malicious attacks.
What is cybersecurity?It involves the use of differing technologies, processes, and practices to secure digital maneuvers, networks, and data from a wide range of dangers, including cybercrime, cyber-spying, cyber-terrorism, and different forms of malicious endeavor.
While cybersecurity does involve protecting fittings, it also involves looking after software, networks, and digital dossier. In addition to protecting against external warnings, etc.
Learn more about cybersecurity from
https://brainly.com/question/28004913
#SPJ1
Write a program that prompts the user to enter integers in the range 1 to 50 and counts the occurrences of each integer. The program should also prompt the user for the number of integers that will be entered. As an example, if the user enters 10 integers (10, 20, 10, 30, 40, 49, 20, 10, 25, 10), the program output would be:
Answer:
import java.util.Scanner; public class Main { public static void main(String[] args) { int num[] = new int[51]; Scanner input = new Scanner(System.in); System.out.print("Number of input: "); int limit = input.nextInt(); for(int i=0; i < limit; i++){ System.out.print("Input a number (1-50): "); int k = input.nextInt(); num[k]++; } for(int j=1; j < 51; j++){ if(num[j] > 0){ System.out.println("Number of occurrence of " + j + ": " + num[j]); } } } }Explanation:
The solution is written in Java.
Firstly, create an integer array with size 51. The array will have 51 items with initial value 0 each (Line 5).
Create a Scanner object and get user entry the number of input (Line 6-7).
Use the input number as the limit to control the number of the for loop iteration to repeatedly get integer input from user (Line 9-13). Whenever user input an integer, use that integer, k, as the index to address the corresponding items in the array and increment it by one (LINE 11-12).
At last, create another for loop to iterate through each item in the array and check if there is any item with value above zero (this means with occurrence at least one). If so, print the item value as number of occurrence (Line 14-17).
What is application software used for?
A. To make certain tasks easier for the computer user
B. To help computer users fill out employment applications
C. To help computer users apply their knowledge in new ways
D. To make certain tasks more challenging for the computer user
Answer: c
Explanation:
What is generated from the following HTML code:
Hello
Answer:
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
Explanation:
the h1 tag is depending on what size you want it to be. You can go from h1 to h6 and beyond
Answer: Hi, Hello, whatsup, konichiwa, sup,
Which of the following tactics can reduce the likihood of injury
The tactics that can reduce the likelihood of injury in persons whether at work, at home or wherever:
The Tactics to reduce injury risksWearing protective gear such as helmets, knee pads, and safety goggles.
Maintaining proper body mechanics and using correct lifting techniques.
Regularly participating in physical exercise and strength training to improve overall fitness and coordination.
Following traffic rules and wearing seatbelts while driving or using a bicycle.
Ensuring a safe and well-lit environment to minimize the risk of falls or accidents.
Using safety equipment and following guidelines in sports and recreational activities.
Being aware of potential hazards and taking necessary precautions in the workplace or at home.
Read more about injuries here:
https://brainly.com/question/19573072
#SPJ1
What is the core function of an enterprise platform
Answer:
The core function of an enterprise platform is that it connects the supplier with the consumer
How could a computer more closely match a sound wave to produce a quality digital copy of a sound?
Answer:
have more time samples that are closer together.
Explanation:
To improve the quality and store the sound at a higher quality than the original, use more time samples that are closer together. More detail about the sound may be collected this way so that when it is converted to digital and back to analog, it does not lose as much quality.
I hope this helps you!!! Sorry for being late.
Answer: By increasing the sample rate of the recording
Explanation:
We can sell the Acrobat Reader software to the other users”. Do you agree with this statement? Justify your answer.
No, as a User, one CANOT sell Acrobat Reader software to the other users.
What is Adobe Reader?Acrobat Reader is a software developed by Adobe and is generally available as a free PDF viewer.
While individuals can use Acrobat Reader for free,selling the software itself would be in violation of Adobe's terms of use and licensing agreements.
Therefore, selling Acrobat Reader to other users would not be legally permissible or aligned with Adobe's distribution model.
Learn more about Adobe Reader at:
https://brainly.com/question/12150428
#SPJ1