Entries by Student

write my assignment 29280

commentscreenshotsource code.

  • Attachment 1
  • Attachment 2
  • Attachment 3
  • Attachment 4

For this part you can choose to write a playable game of Black jack for extra credit . In Blackjack the players is dealt a series of cards that have an associated point value . The goal isto collect a hand of cards that comes as close to 21 points as possible without going over 21 .In a Blackjack deck of cards every card has an associated value . All of the possible cards and the corresponding values can be found in the following lists . Note that the card atposition 0 ( 10 of hearts ) has it’s point value at position O in the second list :"cards = [’10 of Hearts ‘ , ‘ 9 of Hearts ‘ , ‘ 8 of Hearts ‘ , ‘7 of Hearts ‘ , ‘6 of Hearts ‘ , ‘5 of Hearts ‘ , ‘ 4 Of Hearts ‘ , ‘3 of Hearts ‘ , ‘ 2 of Hearts "’ Ace of Hearts ‘ , ‘ King of Hearts ‘ , ‘ Queen of Hearts ‘ ,`" Jack of Hearts ‘ , ‘ 10 of Diamonds ‘ , ‘ 9 of Diamonds ‘ , ‘ 8 of Diamonds ‘ , ‘ 7 of Diamonds ‘6 of Diamonds ‘ , ‘5 of Diamonds ‘ , ‘ 4 of Diamonds " ,13 of Diamonds ‘ , ‘ 2 of Diamonds ‘ , ‘ Ace of Diamonds ‘ , ‘ King of Diamonds ‘ , " Queen of Diamonds ‘" Jack of Diamonds ‘ , ‘ 10 of Clubs ‘ ,`’9 of Clubs ‘ , ‘8 of Clubs ‘ , ‘7 of Clubs ‘ , ‘6 of Clubs ‘ , ‘5 of Clubs’ ,\’4 Of Clubs ‘ ,’ Ace of Clubs ‘ , ‘ King of Clubs ‘ ,S ‘, ‘3 of Clubs ‘ , ‘ 2 of Clubs" Queen of Clubs ‘ , ‘ Jack of Clubs ‘ , ‘ 10 of Spades ‘ , ‘9 of Spades’ , ‘ 8 of Spades’ ,`’7 of Spades ‘ , ‘6 of Spades15 of Spades’ , ‘4 of Spades’ , ‘3 of Spades’ , ‘2 Of Spades’, ‘ Ace of Spades’, ‘ King of Spades’, " Queen of Spades’, ‘ Jack of Spades ‘ ]Values = [10 , 9 , 8 , 7 , 6 ,|5 , 4 , 3 , 2 , 1 , 10 , 10 , 10 , 10 , 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 10 , 10 , 10 , 10 , 9 , 8, 7 , 6, 5 , 4 , 3 , 2, 1 , 10 , 10 , 10 , 10 , 91 8 , 7 , 6 , 5 , 4 , 3 , 2, 1 , 10 , 10 , 101Write a game of Blackjack that functions as follows :". Start by dealing two cards at random to the player . Store these cards and the associated values in separate lists . You should remove the two cards from the deck once theyhave been dealt to the player so they cannot be dealt a second time .. Report the player’s hand as well as the value of their hand .. Next , ask the player if they want to " hit " or " stand " . " Hitting " means that the player wants another card . " Standing " means that the player is happy with their hand and doesn’twant any more cards .*. If the player chooses to " hit " you should deal them another card ( and remove it from the main deck ) . If their hand is worth 21 points they win the game . If their hand is over 21points they lose the game ( they went " bust " ) . If they have less than 21 points the process should be repeated ( they should be re-prompted to see if they want to " hit " or " stand " ). If the player chooses to " stand " they will have less than 21 points . Next , you need to give the computer the opportunity to beat the player’s score . Begin by dealing two cards*to the computer and report the computer’s hand and point value .". The computer should continually " hit " until one of the following conditions is met :". The computer gets 21 points ( blackjack )|. The computer earns more points than the player. The computer goes " bust " ( over 21 points ). If the computer did not go bust then you will need to make a final determination to see who is the winner . You can do this by seeing which player has more points .Here are some sample runnings of your program

 

"Not answered?"


Get the Answer

write my assignment 25899

Complete 5 page APA formatted essay: How do Confucianism and the philosophies of the superior man and the sage influence the candidates during their preparation and sitting for the examinations and in their subsequent professional or other careers.

Much credit is given to the ethical philosophies of Confucianism that espoused the concept of the superior man and social responsibility.

The civil service exams started in the year 605 AD, during the time of the&nbsp.Sui Dynasty. During the&nbsp.Song dynasty, the emperors revised the examinations and the civil administration system in order to avert the increasing power of military officials. They did this by allowing more people to pass the exams compared to that of previous dynasties. The result of this system led to the materialization of the scholar-officials who played a large role in the civil affairs of Chinese society. However, the period of the&nbsp.Ming Dynasty&nbsp.and&nbsp.Qing Dynasty made the civil service exam system contribute to the constriction of intellectual growth and added to the despotic power of the emperor.

Any male citizen can take the civil service examination for government or civil administrative positions, regardless of social or economic class in society. However, it is most likely that the candidates with the better chance of passing the exams are at least the middle class gentry since they can afford to hire teachers or acquire study materials in preparation for the examinations. Making the right connections often attain recommendations from members of the higher levels of society. Although, there are limitations as to who are particularly restricted from taking the civil service examination due to social ethical reasons. There is a firm ruling that restricts the undesirables of society from taking the examinations for the sake of integrity. Only people with the right moral lifestyle and culture are deemed worthy to undertake the exams. As Huang Liu-Hung stated:

While waiting for selection, the first thing he should do is firmly resolve to conduct himself properly. If he can apply this resolution unswervingly in his administration and his dealings with the people throughout his tenure, he will not be easily swayed by evil influences

 

"Not answered?"


Get the Answer

write my assignment 2576

Phil and Linda are 25 year-old newlyweds and file a joint tax return. Linda is covered by a retirement plan at work, but Phil is not.a. Assuming Phil’s wages were $27,000 and Linda’s wages were $18,500 for 2010 and they had no other income, what is the maximum amount of their deductible contributions to an IRA for 2010?b. Assuming Phil’s wages were $49,000 and Linda’s wages were $63,000 for 2010 and they had no other income, what is the maximum amount of their deductible contributions to an IRA for 2010?

Solution:a. Phil’s wagesLinda’s wages 270001850045500 The maximum amount of their deductible contributions to an IRA for 2010 is b. Phil’s wagesLinda’s wages 10%15% 1675028750 16754313…

 

"Not answered?"


Get the Answer

write my assignment 20174

Create a 5 page essay paper that discusses Expectations of High School Graduates from Inner City Public Schools.

This report is based on research work that involved the design of a testing instrument that was used in an organizational psychology project at a high school. The gathered data is then analyzed and our findings and discussion compiled. The project report will include a test construct, test specifications and test items. It will also have statistical analysis of the dataset provided, including factor analysis, classical statistics, and reliability and validity measures. The report will describe the construction of our test. the results from our analysis of the provided data set. including validity, reliability, and factor analysis interpretation.

Numerous studies and research work have been conducted in regards to industrial and organizational psychology. Industrial and Organization psychology traces its roots nearly of the beginning of the science of psychology. In 1876, Wilhelm Wundt founded a laboratory in Leipzig Germany which was one of the first psychological laboratories in the world. Wundt would eventually train two psychologists who had a huge influence in the emergence of industrial and organizational psychology. Industrial and organizational psychologists use a variety of methodology to conduct research. Common study designs deployed in this field of psychology include experiments, observational studies, surveys, and quasi-experiments. Researchers rely on varied data sources such as historical databases, questionnaires, human judgments, surveys, and objective measures of performance such as subscription volume.

Industrial and organizational psychologists deploy both quantitative and qualitative research methodologies. Quantitative methods employed in this field of psychology include both descriptive and inferential statistics such as analysis of variance, correlation and multiple regressions. Other

 

"Not answered?"


Get the Answer