Java
Create a Project named Chap4b
1. Create a Student class with instance data as follows: student id, test1, test2, and test3.
2. Create one constructor with parameter values for all instance data fields.
3. Create getters and setters for all instance data fields.
4. Provide a method called calcAverage that computes and returns the average test score for an object to the driver program.
5. Create a displayInfo method that receives the average from the driver program and displays student ID, all test scores, and the average test score. Create a driver program named TestScores
1. Create 2 student objects as follows: Student FC123 is created with test scores: 100, 80, 94 Student FC456 is created with test scores: 78, 92, 80
2. Call calcAverage() and displayInfo() for both student objects from the driver program.
Expected Output:
Student ID: FC123
Test 1 score: 100
Test 2 score: 80
Test 3 score: 94
Average test score: 91.33
Student ID: FC456
Test 1 score: 78
Test 2 score: 92
Test 3 score: 80
Average test score: 83.33
In: Computer Science
In the recursive version of binary search each function call reduces the search size by half. Thus in the worst case for a sorted list of length n. The algorithm makes log n calls. Is it possible to make fewer than log n calls?
Group of answer choices
1) Yes, depends on when it finds the element it is looking for
2) No, it will always make log n calls.
In: Computer Science
I have 3 classes in the same package called Product, Products and ProductCart. Here are my codes->
Product
public class Product { //instance variables private int id; private String name; private double price; private int quantity; //constructor public Product(int id, String name, double price, int quantity) { this.id = id; this.name = name; this.price = price; this.quantity = quantity; } //all setters and getters public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public double getPrice() { return price; } public void setPrice(double price) { this.price = price; } public int getQuantity() { return quantity; } public void setQuantity(int quantity) { this.quantity = quantity; } //toString @Override public String toString() { return id + ", " + name + ", $" + price + ", " + quantity+"pc"; } }
Products
import java.util.ArrayList; public class Products { //for holding items private ArrayList productList; //initializing the products list public Products() { productList = new ArrayList<>(); } //getter the product list public ArrayList getProductList() { return productList; } }
ProductCart
public class ProductCart { //products vairable private Products prod; public ProductCart() { prod = new Products(); } //adding items public void addItems(Product item) { prod.getProductList().add(item); } //removing items public boolean removeItem(Product item) { return prod.getProductList().remove(item); } //displaying items public void displayItem() { for(Product item: prod.getProductList()) System.out.println(item); } //getting price of the item public double getPriceOfAnItem(Product item) { int index = prod.getProductList().indexOf(item); if(index == -1) { System.out.println("Product not found"); return -1; } else return prod.getProductList().get(index).getPrice(); } }
Now I want to create class where I ask the user to choose options to perform these tasks->
1. Display Store Products
2. Display Cart
0. Exit
(example if you choose 1 the console will display this-> 1 Chips 40.0 10, 2 Chocolate 60.0 6, 3 Milk 30.0 10)
(example if you choose 2 the console will display this-> 3. Add to Cart 4. Remove From Cart 0. Exit)
This is my code so far but it's not working well because i can not fix "case 4". Please modify it and fix case 4 or write a code that will help me solve the problem (you may write if else statements instead if you want)->
public static void main(String[] args) {
int user_choice = 5;
Scanner sc = new Scanner(System.in);
ProductCart pc = new ProductCart();
while (user_choice != 0) {
System.out.println("Please choose an option");
System.out.println("1.Display Store Products 2.Display Cart 3.Add
to cart 4.Remove from cart 0.Exit");
user_choice = sc.nextInt();
switch(user_choice) {
case 1:
pc.displayItem();
break;
case 2:
System.out.println("3.Add to cart 4.Remove from cart
0.Exit");
break;
case 3:
System.out.println("enter id");
int id = sc.nextInt();
System.out.println("enter name");
String name = sc.next();
System.out.println("Enter price");
double price = sc.nextDouble();
System.out.println("Enter quantity");
int quantity = sc.nextInt();
Product product = new Product(id, name, price, quantity);
pc.addItems(product);
break;
case 4:
System.out.println("enter id");
int id2 = sc.nextInt();
pc.removeItem(product);
break;
case 0:
System.out.println("Finish the operations and exit");
System.out.println("closing now");
System.exit(0);
break;
default:
System.out.println("Enter your choice again");
}
}
}
}
In: Computer Science
3. Describe how to deploy applications over commercial cloud computing infrastructures:
1) Amazon Web Services,
2) Windows Azure,
3) Google AppEngine
In: Computer Science
Part 1: Write a recursive function that will calculate Fibonacci numbers using a recursive definition. Write a short program to test it. The input of this program must be a positive integer n; the output is the corresponding Fibonacci number F(n)
Part 2: Write an iterative function to calculate Fibonacci numbers. Write a test driver for it. The input of this program must be a positive integer n; the output is the corresponding Fibonacci number F(n).
Part 3: Write a program that will compare running time of the recursive and iterative functions for calculating Fibonacci numbers. Call each function for the same size of input n and find their running times. For part (E) of this project you will have to run this program multiple times to find out how the running time of each function depends on the value of n
Part 4: This part of the project is a written analysis of two algorithms of calculating Fibonacci numbers: recursive (part 1) and iterative (part 2). Show the theoretical order of growth of the running time for both algorithms. Then include experimental results based on part (3) and explain them
Write the Test programs in C..
In: Computer Science
25:Any white space beyond what it takes to make words clearly
readable is wasteful, and only serves to unnecessarily lengthen the
document.
A:true
B:false
26:Repeating information within a document should be avoided, as it
doesn't add anything to the message and it will lower reader
attention levels.
A:true
B:false
27:What is the maximum number of items you want in an unbroken
list?
a. 10
b. 8
c. 7
d. 6
e. 9
28:What should you do if you have a list that is long and difficult
to read?
a. Combine entries
b. Add subgroups
c. Remove the least relevant entries
d. Switch to a narrative form, or partial narrative form
e. Use pictures instead
In: Computer Science
1. In this assignment, you will use MARS(MIPS Assembler and Runtime Simulator) to write and run a program that reads in a string of ASCII characters and converts them to Integer numbers stored in an array.
There are two different ways to convert the number into ASCII, subtraction and “masking”.
If your student ID ends in an odd number, then use subtraction.
If your student ID ends in an even number, then use masking.
Write a program that:
1.Inputs a 1x8vector of single-digit integers
2.Storestheminto an 8-entry 32-bit Integer array, “V”.
It is not completely trivial to do this given the Syscalls available and the desired input format.
Hint: Use Read String and not Read Integer, then convert from ASCII to integer before storing into the integer array, “V”. Use the ASCII table in the book to determine how to convert from ASCII to integer (there are two ways, both very easy, select the method as per the introduction).
After storing the integers in the array:
1.Read the same values using Read Integer and store them in a 32-bit integer array, “VPrime”.
2.Subtract the two arrays integer by integer and put the results into a third 32-bit integer array, “VCheck”.
3.Sum all the values in VCheck and using Write Integer, display the result.
When you run the program, the input should look something like this with a space between numbers:
Input V: 1 4 0 2 7 3 8 4 (this is just an example vector; it can be any string of single digit integers)
Input VPrime:
1
4
0
2
7
3
8
4
(Where the integers: 0 1 2 3 4 ... 8 9 or whatever vector values the user wants to input are input by the user on the “console.”)
And the output will look like:
Check Result: 0
In: Computer Science
This question is about java program. Please show the output and the detail code and comment of the each question and each Class and interface.
And the output (the test mthod )must be all the true! Thank you!
Question1
Create a class Animal with the following UML
specification:
+-----------------------+
| Animal |
+-----------------------+
| - name: String |
+-----------------------+
| + Animal(String name) |
| + getName(): String |
| + getLegs(): int |
| + canFly(): boolean |
| + testAnimal(): void |(this is the
static method)
+-----------------------+
where the name instance variable stores a name for
the animal, the getLegs method returns as result
the animal's number of legs, and the canFly method
returns as result a boolean indicating whether the animal can fly
or not. The testAnimal method is static.
Should the getLegs method be abstract? Why or why
not?
Should the canFly method be abstract? Why or why
not?
Should the Animal class be abstract? Why or why
not?
What kinds of tests can you write inside the
testAnimal method?
Add the following code to your program to test the
Animal class:
public class Start {
public static void main(String[] args) {
Animal.testAnimal();
}
}
Question 2
Add a class Dog to your program. Dogs are animals.
The constructor for the Dog class takes the name
of the dog as argument. Dogs have four legs and cannot fly.
Do not forget to change the main method of the
Start class to run the unit tests of the new Dog
class.
Question 3
Add a class Bird to your program. Birds are
animals. The Bird class must have a private
instance variable called
numOfEggs which is an integer indicating how many
eggs the bird has. The constructor for Bird takes
as arguments a
name and a number of eggs. The Bird class has a
public method called getNumOfEggs that takes zero
arguments
and returns as result the bird's number of eggs. All birds have two
legs. Some birds can fly (for example magpies) and
some birds cannot fly (for example ostriches).
Do not forget to change the main method of the
Start class to run the unit tests of the new Bird
class.
Question 4
Add a class Magpie to your program. Magpies are
birds. The constructor for Magpie takes as
argument only a name.
Magpies always have 6 eggs. Magpies can fly.
Do not forget to change the main method of the
Start class to run the unit tests of the new
Magpie class.
Question 5
Add a class Ostrich to your program. Ostriches are
birds. The constructor for Ostrich takes as
argument only a
name. Ostriches always have 10 eggs. Ostriches cannot fly.
Do not forget to change the main method of the
Start class to run the unit tests of the new
Ostrich class.
Question 6
Add a class Pegasus to your program. Pegasi are
birds (a pegasus has the wings of a bird so for this lab we will
assume
that pegasi are birds). The constructor for
Pegasus takes as argument only a name. Pegasi have
four legs (not two legs
like other birds). Pegasi can fly.
Pegasi do not lay eggs so the getNumOfEggs method
of the Pegasus class should just print a message
"Pegasi do
not lay eggs!" and return zero as a result.
Do not forget to change the main method of the
Start class to run the unit tests of the new
Pegasus class.
Question 7
Add an interface Flyer with the following UML
specification:
+-----------------------+
| <<interface>> |
| Flyer |
+-----------------------+
| + getName(): String |
| + canFly(): boolean |
+-----------------------+
The Bird class implements the
Flyer interface.
Change the main method of the
Start class to tests magpies, ostriches, and
pegasi when viewed through the Flyer
interface.
Can you test objects from the Animal,
Dog, or Bird classes through the
Flyer interface? Why or why not?
Question 8
Add a class Airplane that implements the Flyer interface. The
constructor for Airplane takes as argument only
a
name. An airplane is not an animal.
Do not forget to change the main method of the
Start class to run the unit tests of the new
Airplane class. Also
make sure to test it when viewed through the Flyer
interface.
Question 9
Add a method isDangerous to the
Flyer interface. This method returns a boolean as
result, indicating whether the
corresponding object is dangerous or not. Only ostriches are
dangerous.
Which classes need to be changed? Which classes do not need to be
changed?
Do not forget to add new tests for the isDangerous
method.
In: Computer Science
4:Which set of documentation organization rules should you
follow during employment?
A:The way my boss/organization wants
b. The way Professor taught us
c. Whatever is most effective
d. Standard Practices
5:Technical communication concerns itself with getting things
done, and isn't bothered with the field of decision making.
A:true
B:false
6:A startup will generally have a more agile and risk taking
culture than a long-established firm.
A:true
B:false
7:Without a purpose statement written down, it is easy to lose
track of the basic intent behind a document.
A:true
B:false
In: Computer Science
Let L = {x = a^rb^s | r + s = 1mod2}, I.e, r + s is an odd number. Is L regular or not? Give a proof that your answer is correct.
In: Computer Science
Write a complete C++ program that prompts the user for and takes as input, numbers until the user types in a negative number. the program should add all of the numbers together. Then if the result is less than 20 the program should multiply the result by 3, otherwise subtract 2 from the result. Finally, the program should printout the result.
In: Computer Science
It is important to test for the ping of death attack. Explain why this test is predominantly historical, and not necessarily relevant to most modern systems.
In: Computer Science
I want to return a query that returns film titles that contain letter 'a' followed by repeating characters from the table below.
For example, Married Go (a film in the table) has repeating characters following the letter a.
Table:
CREATE TABLE film_cat_rate (
category character varying(25),
title character varying(255),
rental_rate numeric(4,2)
);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('New', 'Amistad Midsummer', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Drama', 'Apollo Teen', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Family', 'Bedazzled Married', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Family', 'Blood Argonauts', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Sports', 'California Birds', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Sci-Fi', 'Camelot Vacation', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Sports', 'Caribbean Liberty', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Animation', 'Champion Flatliners', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Drama', 'Conquerer Nuts', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Documentary', 'Dozen Lion', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Classics', 'Dracula Crystal', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Music', 'Elf Murder', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Foreign', 'Fiction Christmas', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Animation', 'Fight Jawbreaker', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Comedy', 'Freedom Cleopatra', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Travel', 'Games Bowfinger', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Foreign', 'Gentlemen Stage', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Action', 'Gosford Donnie', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Games', 'Grinch Massage', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Action', 'Handicap Boondock', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Documentary', 'Hardly Robbers', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Foreign', 'Hoosiers Birdcage', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Documentary', 'Hunter Alter', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Documentary', 'Independence Hotel', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Travel', 'Italian African', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Classics', 'Jerk Paycheck', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Children', 'Jumping Wrath', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Classics', 'League Hellfighters', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Foreign', 'Lost Bird', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Sci-Fi', 'Married Go', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Action', 'Midnight Westward', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Horror', 'Motions Details', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Family', 'Music Boondock', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Documentary', 'North Tequila', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Animation', 'Oz Liaisons', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Games', 'Panky Submarine', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Foreign', 'Pearl Destiny', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Games', 'Private Drop', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Action', 'Quest Mussolini', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Children', 'Sabrina Midnight', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('New', 'Salute Apollo', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Sports', 'Saturday Lambs', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Children', 'Scarface Bang', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Drama', 'Something Duck', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Travel', 'Tomatoes Hellfighters', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Foreign', 'Town Ark', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Children', 'Uptown Young', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Sci-Fi', 'Vacation Boondock', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Foreign', 'Vision Torque', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Animation', 'Wait Cider', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Drama', 'Wardrobe Phantom', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Sci-Fi', 'Weekend Personal', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Foreign', 'Whale Bikini', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Documentary', 'Wife Turn', 4.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Family', 'Willow Tracy', 2.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Comedy', 'Wisdom Worker', 0.99);
INSERT INTO film_cat_rate (category, title, rental_rate) VALUES
('Music', 'Won Dares', 2.99);
Below is what I have, but I am returning no output. I am using postgres.
select regexp_matches(title, '.{2,}+')
from film_cat_rate
where title like '%a%';
In: Computer Science
Write a C++ app to read both files, store them into parallel vectors, sort the list of people in alphabetical order, display the new sorted list of names with their corresponding descriptions. Use the Bubble Sort strategy to rearrange the vector(s).
File 1:
Marilyn Monroe
Abraham Lincoln
Nelson Mandela
John F. Kennedy
Martin Luther King
Queen Elizabeth II
Winston Churchill
Donald Trump
Bill Gates
Muhammad Ali
Mahatma Gandhi
Margaret Thatcher
Mother Teresa
Christopher Columbus
Charles Darwin
Elvis Presley
Albert Einstein
Paul McCartney
Queen Victoria
Pope Francis
Jawaharlal Nehru
Leonardo da Vinci
Vincent Van Gogh
Franklin D. Roosevelt
Pope John Paul II
Thomas Edison
Rosa Parks
Lyndon Johnson
Ludwig Beethoven
Oprah Winfrey
Indira Gandhi
Eva Peron
Benazir Bhutto
George Orwell
Desmond Tutu
Dalai Lama
Walt Disney
Neil Armstrong
Peter Sellers
Barack Obama
Malcolm X
J.K.Rowling
Richard Branson
Pele
Angelina Jolie
Jesse Owens
John Lennon
Henry Ford
Haile Selassie
Joseph Stalin
Lord Baden Powell
Michael Jordon
George Bush Jnr
Vladimir Lenin
Ingrid Bergman
Fidel Castro
Leo Tolstoy
Greta Thunberg
Pablo Picasso
Oscar Wilde
Coco Chanel
Charles de Gaulle
Amelia Earhart
John M Keynes
Louis Pasteur
Mikhail Gorbachev
Plato
Adolf Hitler
Sting
Mary Magdalene
Alfred Hitchcock
Michael Jackson
Madonna
Mata Hari
Cleopatra
Grace Kelly
Steve Jobs
Ronald Reagan
Lionel Messi
Babe Ruth
Bob Geldof
Leon Trotsky
Roger Federer
Sigmund Freud
Woodrow Wilson
Mao Zedong
Katherine Hepburn
Audrey Hepburn
David Beckham
Tiger Woods
Usain Bolt
Carl Lewis
Prince Charles
Jacqueline Kennedy Onassis
C.S. Lewis
Billie Holiday
J.R.R. Tolkien
Billie Jean King
Anne Frank
Simon Bolivar
File 2:
(1926 - 1962) American actress, singer, model
(1809 - 1865) US President during American civil war
(1918 - 2013) South African President anti-apartheid
campaigner
(1917 - 1963) US President 1961 - 1963
(1929 - 1968) American civil rights campaigner
(1926 - ) British monarch since 1954
(1874 - 1965) British Prime Minister during WWII
(1946 - ) Businessman, US President.
(1955 - ) American businessman, founder of Microsoft
(1942 - 2016) American Boxer and civil rights campaigner
(1869 - 1948) Leader of Indian independence movement
(1925 - 2013) British Prime Minister 1979 - 1990
(1910 - 1997) Macedonian Catholic missionary nun
(1451 - 1506) Italian explorer
(1809 - 1882) British scientist, theory of evolution
(1935 - 1977) American musician
(1879 - 1955) German scientist, theory of relativity
(1942 - ) British musician, member of Beatles
( 1819 - 1901) British monarch 1837 - 1901
(1936 - ) First pope from the Americas
(1889 - 1964) Indian Prime Minister 1947 - 1964
(1452 - 1519) Italian, painter, scientist, polymath
(1853 - 1890) Dutch artist
(1882 - 1945) US President 1932 - 1945
(1920 - 2005) Polish Pope
( 1847 - 1931) American inventor
(1913 - 2005) American civil rights activist
(1908 - 1973) US President 1963 - 1969
(1770 - 1827) German composer
(1954 - ) American TV presenter, actress, entrepreneur
(1917 - 1984) Prime Minister of India 1966 - 1977
(1919 - 1952) First Lady of Argentina 1946 - 1952
(1953 - 2007) Prime Minister of Pakistan 1993 - 1996
(1903 - 1950) British author
(1931 - ) South African Bishop and opponent of apartheid
(1938 - ) Spiritual and political leader of Tibetans
(1901 - 1966) American film producer
(1930 - 2012) US astronaut
(1925 - 1980) British actor and comedian
(1961 - ) US President 2008 - 2016
(1925 - 1965) American Black nationalist leader
(1965 - ) British author
(1950 - ) British entrepreneur
(1940 - ) Brazilian footballer, considered greatest of 20th
century.
(1975 - ) Actress, director, humanitarian
(1913 - 1980) US track athlete, 1936 Olympics
(1940 - 1980) British musician, member of the Beatles
(1863 - 1947) US Industrialist
(1892 - 1975) Emperor of Ethiopia 1930 - 1974
(1879 - 1953) Leader of Soviet Union 1924 - 1953
(1857 - 1941) British Founder of scout movement
(1963 - ) US Basketball star
(1946 - ) US President 2000-2008
(1870 - 1924) Leader of Russian Revolution 1917
(1915 - 1982) Swedish actress
(1926 - ) President of Cuba 1976 - 2008
(1828 - 1910) Russian author and philosopher
(2003 - ) Environmentalist activist)
(1881 - 1973) Spanish modern artist
(1854 - 1900) Irish author, poet, playwright
(1883 - 1971) French fashion designer
(1890 - 1970) French resistance leader and President 1959 -
1969
(1897 - 1937) Aviator
(1883 - 1946) British economist
(1822 - 1895) French chemist and microbiologist
(1931 - ) Leader of Soviet Union 1985 - 1991
(423 BC - 348 BC) Greek philosopher
(1889 - 1945) leader of Nazi Germany 1933 - 1945
(1951 - ) British musician
(4 BCE - 40CE) devotee of Jesus Christ
(1899 - 1980) English / American film producer, director
(1958 - 2009) American musician
(1958 - ) American musician, actress, author
(1876 - 1917) Dutch exotic dancer, executed as spy
(69 - 30 BCE) Queen of Egypt
(1929 - 1982) American actress, Princess of Monaco
(1955 - 2012) co-founder of Apple computers
(1911 - 2004) US President 1981-1989
(1987 - ) Argentinian footballer
(1895 - 1948) American baseball player
(1951 - ) Irish musician, charity worker
(1879 - 1940) Russian Marxist revolutionary
(1981 - ) Swiss Tennis player
(1856 - 1939) Austrian psychoanalyst
(1856 - 1924) US president 1913 - 1921
(1893 - 1976) Leader of Chinese Communist revolution
(1907 - 2003) American actress
(1929 - 1993) British actress and humanitarian
(1975 - ) English footballer
(1975 - ) American golfer
(1986 - ) Jamaican athlete and Olympian
(1961 - ) US athlete and Olympian
(1948 - ) Heir to British throne
(1929 - 1994) American wife of JF Kennedy
(1898 - 1963) British author
(1915 - 1959) American jazz singer
(1892 - 1973) British author
(1943 - ) American tennis player and human rights activist
(1929 - 1945) Dutch Jewish author who died
(1783 - 1830) Venezuelan independence activist in South America
In: Computer Science
In C#
Start to develop a registration program for Continental University. At this stage of development, the program only needs to keep track of some basic information about a student, including first name, last name, and number of credits taking. You will gradually enhance the program in subsequent assignments. You need to implement a class named Student that represents a student, and a testing program. The testing program should prompt the user to enter the data about a student and then display a summary.
Sample Dialog
Welcome to the Continental University Registration System!
Enter data about a student
First Name: Tom
Last Name: Evans
Credits Taking: 12
Evans, Tom Credits Taking: 12
In: Computer Science