2. write a Python program to calculate the area of a circle. -Artificial Intelligence

1 Answer

Answer :

# Python Program to find Area Of Circle using Radius PI = 3.14 radius = float(input(' Please Enter the radius of a circle: ')) area = PI * radius * radius circumference = 2 * PI * radius print(" Area Of a Circle = area + "sq ms") print(" Circumference Of a Circle = circumference +"cms")

Related questions

Description : 1. Write a program to take a number and print whether it is an odd number or even number. -Artificial Intelligence

Last Answer : num = int(input("Enter a number: ")) mod = num % 2 if mod > 0: print("This is an odd number.") else: print("This is an even number.")

Description : Care to comment on Steven Hawking's latest assertion that the rise of artificial intelligence will mean extinction for the human race?

Last Answer : answer:Hawking could have gone a bit farther with his concern: The rise of human intelligence will mean extinction for the human race. That is, as our intelligence improves (in any of the various ... Our weapons systems continue to improve, but our diplomatic skills are stuck in the Dark Ages.

Description : What is your take on defeat of Go World Champion by Alpha Go System designed by google?

Last Answer : One day we will be able to threaten an ATM and get money.

Description : If a chatterbot were answering some of the Fluther questions, would the moderators detect it?

Last Answer : Not directly. The user agent string would (hopefully, if they knew what they were doing) make the bot appear to be a normal user, and it would post at a rate that would make it appear to be human. ... ban them , it's more about looking to say this user posts garbage, so we should ban them .

Description : How to write a Python program (i)to calculate area of a circle and (ii)to find if a given number is even or odd. -Python

Last Answer : (i) # 1.Circle pi = 3.14 r = int(input("Please enter the Radius of the circle:")) area = pi*r*r print("Area of the circle is" + str(area) + "sq ms") (ii) # 2. Odd Number & Even Number Number = int( ... Number % 2 == 0): print("This is an Even Number") else: print("It's an Odd Number")

Description : Write a C++ program to declare a class ‘circle’ with data members as radius and area. Declare a function getdata to accept radius and putdata to calculate and display area of circle.

Last Answer : #include<iostream.h> #include<conio.h> class circle { float radius,area; public: void getdata() { cout<<"Enter radius:"; cin>>radius; } void putdata() { area=3 ... { circle c; clrscr(); c.getdata(); c.putdata(); getch(); }

Description : Write a program to calculate area of circle and area of rectangle using function overloading. 

Last Answer : #include<iostream.h> #include<conio.h> float area(float a) { return (3.14*a*a); } int area(int p,int q) { return(p*q); } void main() { clrscr(); cout< ... ;<<area(6); cout<<"Area of Rectangle:"<<area(5,6); getch(); }

Description : What are the composition for agents in artificial intelligence? a) Program b) Architecture c) Both Program & Architecture d) None of the mentioned

Last Answer : c) Both Program & Architecture

Description : What is the name of the computer program that contains the distilled knowledge of an expert? a) Database management system b) Management information System c) Expert system d) Artificial intelligence

Last Answer : c) Expert system

Description : Artificial intelligence is A . It uses machine-learning techniques. Here program can learn From past experience and adapt themselves to new situations B. Computational procedure that takes some ... performs tasks that would require intelligence when performed by humans D . None of these

Last Answer : C. Science of making machines performs tasks that would require intelligence when performed by humans

Description : What is the name of the computer program that contains the distilled knowledge of an expert? ⮚ Management information System ⮚ Expert system ⮚ Data base management system ⮚ Artificial intelligence

Last Answer : Expert system

Description : Write an algorithm to calculate the area of a circle and display the result . Use the formulae A=¶r where ¶ is equal to 3.1416?

Last Answer : 10001/999900

Description : Define a class circle having data members pi and radius. Initialize and display values of data members also calculate area of circle and display it.

Last Answer : class abc {  float pi,radius; abc(float p, float r) { pi=p; radius=r; } void area() { float ar=pi*radius*radius; System.out.println("Area="+ar); } void display() { System.out.println("Pi="+pi ... void main(String args[]) { abc a=new abc(3.14f,5.0f); a.display(); a.area(); } }

Description : What is artificial intelligence?

Last Answer : Artificial intelligence is the simulation of human intelligence processes by machines, especially computer systems, and is an important concept in computer science and robotics.

Description : What is artificial intelligence?

Last Answer : Artificial intelligence is the development of computer systems and software that are able to perform tasks that normally require human intelligence, such as recognizing speech and images, making decisions, and learning from experience.

Description : What is artificial intelligence?

Last Answer : Artificial intelligence (AI) is the simulation of human intelligence in machines, enabling them to perform tasks that typically require human intelligence, such as visual perception, speech recognition, and decision-making.

Description : What is artificial intelligence?

Last Answer : Artificial intelligence (AI) is the development of computer systems that can perform tasks that would normally require human intelligence, such as learning, reasoning, and decision-making.

Description : What is artificial intelligence?

Last Answer : Artificial intelligence (AI) is the development of computer systems that can perform tasks that normally require human intelligence, such as speech recognition, decision-making, and language translation.

Description : What do you think, is the best explanation for the contrasting attitudes towards artificial intelligence in Star Trek TOS vs TNG?

Last Answer : ~Gene Roddenberry probably realized that we might be in the Matrix, and didn’t want to make enemies with our future overlords.~ Star Trek is all about the Federation being in front of rights and freedoms.( The good guy’s). Including machines, that could be our future slaves.

Description : Have you ever been fired by an artificial intelligence algorithm?

Last Answer : Heh. No. But I’ve had my insurance cancelled by rules and formulas, which I think is a similar issue, and part of why I think insurance is mostly problematic.

Description : How do you see artificial intelligence systems affecting your life, or society in general over the coming years?

Last Answer : My son works advanced AI. We just finished a week long road trip moving him from Palo Alto to another state, where he is to start up a new department for a major corporation. We talked a lot about ... you with After all, its well being may be dependent upon your own well being for a minute.

Description : Would you vote for an artificial intelligence to run your country?

Last Answer : No. We have that already, basically, with far leftists and far rightists. The AI would never understand compromise.

Description : How long do you think will the period of slavery following the emergence of sapient Artificial Intelligence last?

Last Answer : It would take another civil war. Or peaceful protests.

Description : Why do dramatizations of artificial intelligence nearly always depict it as violently over-throwing humanity?

Last Answer : General fear of technology and the unknown. The automation during the industrial revolution had the same effect.

Description : What would be the best programming language for artificial intelligence and environment simulation?

Last Answer : Flexsim might be worth a look. I think for anything as complex as a planetary ecosystem you will need a language capable of running continuous simulation. This is a hybrid language with continuous plus discrete event simulation capability.

Description : What computer Role Playing Games have the best Artificial Intelligence and Artificial Wisdom?

Last Answer : None. It currently takes a supercomputer to approach AI and a large bank of machines to handle impressive AI jobs such as machine learning. There are no AW (Artificial Wisdom) machines Yet. What ... Afghanistan under his belt, so he has a pretty good idea of how successful team leaders behave.

Description : Can we use Artificial Intelligence to discover laws of nature from the scratch?

Last Answer : answer:I hope I am answering your question in some manner with the following: I absolutely think we could. However, We tend to be narrow-minded due to our knowledge and beliefs'. I believe ... consider the AI to be faulty if the insight provided were too divergent with our knowledge and beliefs.

Description : Is artificial intelligence theoretically possible?

Last Answer : Yes. I think so. ‘Ventually.

Description : ____ is defined as the set of technologies that can construct physical solid models from CAD data a.Rapid Production b.Rapid prototyping c.Lean Manufacturing d.Artificial intelligence

Last Answer : b.Rapid prototyping

Description : What is Flow chart in Artificial Intelligence -AI Class 9th

Last Answer : A flowchart is a picture of the separate steps of a process in sequential order. It is a generic tool that can be adapted for a wide variety of purposes, and can be used to describe various processes, such as a manufacturing process, an administrative or service process, or a project plan.

Description : Who coined the term "Artificial Intelligence" in 1955 ? -AI Class 9th

Last Answer : John McCarthy is the correct answer

Description : Which one of these refers to all objects that have sensors,network connectivity,software,and so on to connect to the network ? :- a) Internet of Things b) Artificial Intelligence c) Machine Learning d) Deep Learning -Technology

Last Answer : internet of things is the correct answer option a

Description : ____________ is quite relevant in Modern Times :- a)Artificial Intelligence b) IoT C) Both a, and b. d) None of these -Technology

Last Answer : c) Both a and b

Description : What is artificial intelligence? -AI Class 9th

Last Answer : Artificial intelligence (AI) is wide-ranging branch of computer science concerned with building smart machines capable of performing tasks that typically require human intelligence. ... It is the endeavor to replicate or simulate human intelligence in machines.

Description : Name some companies Hiring for Artificial Intelligence Roles?

Last Answer : MicrosoftIBMNVIDIAAmazonIntelLenovoWells FargoSamsungAdobeAccentureFacebookMoTek TechnologiesUber

Description : What are the top 5 careers in Artificial Intelligence?

Last Answer : Following are the topmost career in Artificial Intelligencedata analytics 2. Machine learning engineer 3.data scientist 4.Computer science and artifical intelligence Research and 5. Software Engineering

Description : What is Artificial Intelligence ?

Last Answer : Artificial intelligence is a knowledge based system

Description : What is Artificial Intelligence ?

Last Answer : Answer : Artificial intelligence is the process of artificially shaping the way a person thinks on a computer .

Description : Which generation of computer language is associated with artificial intelligence ?

Last Answer : Fifth generation computer language related to artificial intelligence .

Description : Who is considered as the 'father of artificial intelligence' ?

Last Answer : John McCarthy is considered the 'father of artificial intelligence'.

Description : What is used to apply artificial intelligence ?

Last Answer : Programming language is used to apply artificial intelligence.

Description : Which computer will have artificial intelligence ?

Last Answer : 5th generation computers will have artificial intelligence.

Description : What is the difference between human intelligence and artificial intelligence ?

Last Answer : There are several differences between human intelligence and artificial intelligence. These are mentioned below: Human intelligence 1. Human intelligence demonstrates its mastery by directly using the experience of the senses. 2. Human intelligence ... so expensive.

Description : How many major areas can the use of artificial intelligence be grouped ?

Last Answer : The use of artificial intelligence can be grouped into three main areas. These are: a. Cognitive Science b . Robotics c . Natural Interfaces

Description : Which technology company is providing AI (Artificial Intelligence) technology to Bangladesh to deal with Corona ?

Last Answer : Huawei is offering AI (Artificial Intelligence) technology to Bangladesh to tackle Corona.

Description : What does artificial intelligence mean ?

Last Answer : The best creatures of human creation. Humans have intelligence and creativity ; Despite being much more powerful than humans, other living things do not. So everything is defeated by human ... computer can solve complex problems by judging and analyzing the information stored in its memory cell.

Description : How is Artificial Intelligence related to medical services ? Explain. ?

Last Answer : Artificial intelligence is implemented through human thinking machine. Mycenae is an efficient artificial artificial system. Mycenae can act as a physician in a significant number of medical solutions.

Description : What is artificial intelligence ?

Last Answer : Artificial intelligence is the process of artificially transforming human thoughts into a computer.

Last Answer : Artificial Super Intelligence or ASI or Strong AI ( Strong ) AI ) Artificial Intelligence 2nd Step.

Last Answer : Artificial Intelligence Father British Scientist, Mathematician Alan Turing.