• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/3

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

3 Cards in this Set

  • Front
  • Back

ECET 370 Week 1 Lab

This work of ECET 370 Week 1 Lab consists of:Exercise 1Exercise 2Exercise 3Exercise 4Exercise 5Exercise 6Exercise 7Exercise 8User Defined ClassesUsing Interfaces

ECET 370 Week 1 Lab

General InstructionsExercises 1, 2, 4, and 5 use the programs in DocSharing labeled “User-defined classes."Exercises 7 and 8 use the programs in DocSharing labeled “Using interfaces."Exercise 1: Review of classes Create a project using the classes in the DocSharing area labeled “User-defined classes." Compile it, run it, and review the code that is given carefully.Exercise 2: User-defined methods The function area of the Triangle class is the framework of the actual method. Modify it so that it calculates the area of the triangle. Write a Main class to test your area method. Note: to calculate the area of a triangle from the vertices, first find the distances between each pair of vertices to obtain the length of the sides of the triangle. Then apply Heron’s formula to calculate the area given the length of the sides.Exercise 3: Shallow versus deep copy Provide an example of shallow copy of objects and an example of deep copy of objects.Exercise 4: Passing parameters to methods Write a function that swaps two Point objects. Use the code given below: import java.util.*- public class Main { public Main() { Scanner Scanner(System.in)- System.out. print("Enter x and y coordinates of first point: ")- Point Point (in.nextDouble(), in.nextDouble())- System.out. print("Enter x and y coordinates of second point: ")- Point Point (in.nextDouble(), in.nextDouble())- swap(p1, p2)- System.out.println(" Compile it, run it, and review the code that is given carefully. Note: The class Point implements the Comparable interface. The Comparable interface contains a single method: compareTo, which is used to compare two objects p and q of the same class type. When calling p.compareTo(q), it returns an integer. If this value is negative it means that p is smaller- if it is equal to zero then , and if the value is positive, it indicates that p is greater than q.Exercise 8: Implementation of interfaces Using the class Point in the DocSharing area labeled “Using interfaces," write an application that declares an array of Points, fills the array with random points, and finds the smallest point in the array.

SOC 305 Entire Course

Moral Panic. After viewing the video, Gender & Crime, please address each of the following questions:a. Is crime normal in a society?b. What is the purpose of crime and punishment?c. How much crime is “enough,” and how would this be measured?d. How is crime defined?e. What problems are defined as worthy of social control?f. What is the influence of the media?Race and Death Row. This discussion focuses on topics addressed in several chapters of your text – the death penalty and discrimination. Although first discussed in Chapter 2, the death penalty is also discussed in Chapter 4. Rather than thinking in rigid terms about reading assignments, please use your textbook as a resource. After reading the text and watching the video, Injustice for Blacks in Alabama, respond to each of the following questions:a. What do you think best explains high incarceration rates for Blacks compared to their percent of the general population?b. What do you think explains high incarceration rates for Blacks on death row?c. Is institutionalized racism to blame for these disparate rates? Please explain.d. Are genuinely high rates of Black crime to blame? Why or why not?e. What other factors explain the high incarceration rates for Black men?f. How can this problem be solved?Legal Representation and Social Class. After listening to the interview with Stephen B. Bright, The quality of a legal defense: Does it matter if you’re rich or poor?, please respond to the following:a. How does geographic location play a role in the quality of representation provided by the public defender?b. How does the overburdened public defense system in many areas contribute to issues of wrongful conviction?c. Contrast the legal representation described by Bright to the level of representation available to white-collar, corporate, and environmental crimes.d. This discussion highlights two issues – wrongful conviction and the overburdened public defender system. How can these problems be solved?The War on Drugs. After reading this week’s required text, please respond to the following:a. In your opinion, what have been among the main outcomes of the War on Drugs?b. How close has it come to its original goals of reducing drug use and punishing drug suppliers?c. How has this “war” impacted African-American males?d. How has this “war” impacted immigration policy?e. How will this “war” end?Final Paper Preparation. To prepare for your Final Paper (due in Week Five), complete the following assignment and submit it to your instructor for feedback. Your paper should include a problem statement, outline, and annotated bibliography.Problem Statement: Describe the social problem selected for your paper.Outline: Using the sample below as a guide, provide an outline for your Final Paper. Remember that papers are expected to define a significant problem faced by the justice system, describe the scope and consequences of the problem, and discuss society’s responses to the problem (including public policies and other less formal responses). Your paper should also present a clearly reasoned alternative, supported by scholarly research.1. Title2. Abstract3. What is the problem? Be sure to narrow your problem enough to allow a focused examination.4. What are the individual and social implications of this problem? Discussion of implications should be supported by accurate research data.5. What do the experts say about the problem?6. What have we, as a society, done about this problem? Consider public policies and other, less formal responses.7. How are public policies and other, less formal responses working?8. Describe an alternative solution to the problem.9. Discuss why the alternative is, or can be, an effective response to the problem. Remember to consider negative consequences of the alternative response.10. Conclude with your thoughts about your chosen social problem. This is a good place to include personal opinions, assuming you wish to share them in a research paper.11. ReferencesIn short, define a problem, discuss the response, and provide alternative responses to the problem. For example, your problem could be drug use/abuse, with a focus on prescription drug abuse among teenagers. Your description of the problems should be fact based, relying on expert opinion. Your alternative can be an adjustment of current policy or a new direction. For example, your may propose longer prison sentences, or legalization of all drugs. Be creative, although suggestions must be supported by scholarly research.Annotated Bibliography: The purpose of creating a list of sources is to assist you in organizing and evaluating your research. The list should include the following information for each source (minimum of five):a. Name of the source, including the complete bibliographic citation in proper APA format.b. Summary of the source (at least one paragraph) including how this source will contribute to your paper.The paper must be three to five pages in length and formatted according to APA style. You must use at least five scholarly resources (at least three of which can be found in the Ashford Online Library) other than the textbook to support your claims and subclaims. Cite your resources in text and on the reference page. For information regarding APA samples and tutorials, visit the Ashford Writing Center, within the Learning Resources tab on the left navigation toolbar, in your online course.Child or Adult? Determining whether to try a child in the juvenile or the criminal justice system will have an impact on every step of his or her experience. Although the exact laws and practices of the systems vary from state to state, broad underlying beliefs differentiate the two systems. While the juvenile system is often thought to be more lenient in its punishments, there are often stricter regulations throughout the process. In the juvenile system a child may not have a right to a jury trial or bail. Juvenile records are not open to public access like criminal records and parole is very different between the two systems. When the child in question is considered a child, the courts act as more of a parent attempting to punish but also protect.Differences between juvenile and adult criminal justice systems exist at every step of the way. Follow how each system handles bail, parole, and other aspects of the process by reading the article, Juvenile vs adult justice.a. What are the main similarities and differences in these two systems?b. Which system is best equipped to handle the case of Cristian Fernandez from the beginning of Chapter 5? Explain why.c. For what type of crimes would it be better to be in the criminal justice system? In the juvenile justice system?Relationships in Prison. Women’s relationships in prison commonly fulfill an emotional need. They are different from men’s sexual relationships in prison in that they are less likely to involve coercion or be motivated by power and status grabs. In addition to romantic relationships, female inmates are also likely to form prison families with roles that mimic mothers, sisters, and even grandmothers. For many inmates, their prison family is the first positive female role modeling they have encountered.In the article, Inside a maximum security women’s prison, reporter Diane Sawyer spent a day and a night inside a prison to explore the relationships of female prisoners, particularly as they pertain to sex. In addition, read the report, Managing sexual relationships in a female prison, that takes a deeper look at the culture from the perspective of the guards of Bandyup Women’s Prison in Washington.a. Should guards allow or encourage familial and/or sexual relationships in prison? What are the pros and cons?b. Why do you think women who are straight in the community choose to enter into homosexual relationships in prison?c. How might prison families help women cope with incarceration?Myths and Reality of Crime. As we learn in the video, Crimes of the Powerful, our justice system tends to focus on street crime, often ignoring much more significant problems such as white-collar, corporate, and state crime. The video also discusses euthanasia, although the point of this reference is to illustrate how the law can be used as a tool for social change. The video also discusses moral values with a focus on media coverage of harm to children. Laws have changed in direct response to these incidents and the resulting media coverage. In effect, this coverage becomes an engine for social change. The video ends with a discussion of crime theory, reminding us that many criminological theories fall short when applied to people with wealth and high status.Write a paper discussing the myths and realities of crime. Please elaborate on the following points in your essay:a. Imagine asking 100 strangers to describe a criminal. Are these descriptions likely to focus on street criminals, or the variety of topics covered in this video?b. How does society define crime? Do not provide a definition – instead, describe how the definition is reached.c. How does society decide what to define as a crime?d. Provide a clear statement about a particular crime – something we know to be absolutely true. How do we know this is an accurate statement?e. Provide an example of a widely held myth or misconception about crime and society. How do we know this is a myth? Why is this myth so difficult to abandon?The paper must be three to four pages in length and formatted according to APA style. You must use at least two scholarly resources other than the textbook to support your claims and subclaims. Cite your resources in text and on the reference page. For information regarding APA samples and tutorials, visit the Ashford Writing Center, within the Learning Resources tab on the left navigation toolbar, in your online course.Honor Killings. After reading the articles, Are honor killings simply domestic violence? and ‘Honour’ crimes are domestic abuse, plain and simple, please respond to each of the following questions:a. Are honor killings simply domestic violence?b. What similarities do honor killings have with other forms of interpersonal crime? What differences do they exhibit?c. In your opinion, what is the best way for the criminal justice system to treat and respond to honor killings?Hate Groups and Hate Crime. Please view the video, Inside USA – Rise of hate, Part 1, or read the article, Number of U.S. hate groups is rising, report says, in preparation for this discussion.Were you aware of the number and range of recognized hate groups in these states? This video helps us learn about hate groups in the United States. In addition, please visit the Teaching Tolerance website and view the Hate Map. Please review the maps for the state in which you live, or a state of your choice. Respond to each of the following questions:a. Were you aware of the number and range of recognized hate groups in these states?b. Why would individuals make the decision to associate with these groups?c. As we see, every one of us is a target in one way or another. How does this targeting turn to hate crime?d. How has the definition and prosecution of hate crimes evolved?School Shootings. As we learn in the readings, media reports of school crime tend to create misconceptions of a danger that is actually quite small for the overwhelming majority of school users. In fact, given the number of students, teachers, and other personnel in schools on any given day, it is quite astounding how few violent episodes there are. To track violence in schools, read the US Department of Justice and US Department of Education report, Indicators of School Crime and Safety: 2011. After reading the report, please address each of the following:a. Refer to a specific statistic found on the site, with proper citation. Tell us why this statistic surprised you, confirmed your belief, etc.b. In 81% of violent, targeted school attacks, at least one person knew someone was conceiving of or planning an attack. In most cases no one came forward with this information. Why do you think this is?c. What are some significant differences between on-campus crime and crime in the general population?d. Discuss the challenged inherent in preventing school and workplace violence.Privatization. After reading the two articles addressing privatization, Arizona’s private prisons: A bad bargain and The case for privatizing California’s prisons, respond to each of the following questions:a. In your opinion, what groups of people benefit most when the prison system is capitalized? What groups or people benefit least?b. In your informed opinion, are private prisons a bargain? Why or why not? Has the general public reached the same conclusion? Why or why not?c. Has your opinion about private prisons changed as a result of this research?d. What problems come with privatizing traditional government services like incarceration, military work, or policing? What benefits?e. What do for-profit prisons say about society’s expectations of incarceration and criminal activity? What do they say about society’s opinion of inmates? Focus of the Final PaperSelect and then define a significant issue faced by the justice system, describe the scope and consequences of the issue, and discuss society’s responses to the issue (including public policies and other less formal responses). Papers should also present a clearly reasoned alternative, supported by scholarly research.While the following example can be modified to suit your needs, this outline is likely to result in a high-quality Final Paper:1. Title2. Abstract3. What is the problem? Be sure to narrow your problem enough to allow a focused examination.4. What are the individual and social implications of this problem? Discussion of implications should be supported by accurate research data.5. What do the experts say about the problem?6. What have we, as a society, done about this problem? Consider public policies and other, less formal responses.7. How are public policies and other, less formal responses working?8. Describe an alternative solution to the problem.9. Discuss why the alternative is, or can be, an effective response to the problem. Remember to consider negative consequences of the alternative response.10. Conclude with your thoughts about your chosen social problem. This is a good place to include personal opinions, assuming you wish to share them in a research paper.11. ReferencesIn short, define a problem, discuss the response, and provide alternative responses to the problem. For example, your problem could be drug use/abuse, with a focus on prescription drug abuse among teenagers. Your description of the problems should be fact based, relying on expert opinion. Your alternative response can be an adjustment of current policy or a new direction. For example, your may propose longer prison sentences, or legalization of all drugs. Be creative, although suggestions must be supported by scholarly research.