Write a program that allows the user to input his/her full name (assuming that the last
word will be the surname). The program should then respond by telling the user the
following:
i) The number of names that he/she has.
ii) The user’s firstname.
iii) The user’s surname.
iv) The full name without the spaces.
v) The number of characters in the name.
vi) The number of unique characters in the name.
a. Create an abstract class called GeometricFigure. Each figure includes a height, a width, a figure type, and an area. Include an abstract method to determine the area of the figure. Create two subclasses called Square and Triangle. Create an application that demonstrates creating objects of both subclasses, and store them in an array. Save the files as GeometricFigure.java, Square.java, Triangle.java, and UseGeometric.java.
b. Modify Exercise a, adding an interface called SidedObject that contains a method called displaySides(); this method displays the number of sides the object possesses. Modify the GeometricFigure subclasses to include the use of the interface to display the number of sides of the figure. Create an application that demonstrates the use of both subclasses. Save the files as GeometricFigure2.java, Square2.java, Triangle2.java, SidedObject.java, and UseGeometric2.java.
1. Draw the gates required to build a half adder are
Write a Python program that does the following.
Part 2
Create your own examples using python lists
Provide the Python code and output for your program and all your examples.
create a java program for Two Way Chat Application using Java Socket Programming