SlideShare a Scribd company logo
1 of 7
CIS 256 Lab 2
Getting Started
---------------
The files in the lab2 directory contain classes for two different
types of
doubly-linked list. The DList1 class does not use a sentinel,
whereas the
DList2 class does. The DList1 class is not circularly linked, but
the DList2
class is (through the sentinel). Compile DList1.java and
DList2.java (using
"javac -g DList1.java DList2.java".)
Your task is to implement two insertFront() and two
removeFront() methods--one
of each for each list class. insertFront() and removeFront()
insert or remove
an item at the beginning of a list. Make sure your
implementations work for
empty lists, one-node lists, and larger lists.
The main() methods of DList1 and DList2 include test code,
which you can run
with "java DList1" and "java DList2".
Part I: insertFront in DList1 (1 point)
----------------------------------------
Write a method called DList1.insertFront() that inserts an int at
the front of
"this" DList1.
Part II: removeFront in DList1 (1 point)
-----------------------------------------
Write a method called DList1.removeFront() that removes the
first item (and
node) from "this" DList1.
Part III: insertFront in DList2 (1 point)
------------------------------------------
Write a method called DList2.insertFront() that inserts an int at
the front of
"this" DList2. Your code should NOT use any "if" statements
or conditionals.
Part IV: removeFront in DList2 (2 points)
------------------------------------------
Write a method called DList2.removeFront() that removes the
first item (and
non-sentinel node) from "this" DList2. Your code should not
require separate
branches for the one-node case and the more-than-one-node
case. (You will
need one "if", to handle the zero-node case.)
Check-off
---------
Run the DList1 and DList2 test code.
1 point: DList1.insertFront().
1 point: DList1.removeFront().
1 point: DList2.insertFront().
1 point: DList2.removeFront().
Page 1 of 2
Child, Family, and Community Relationships
©2013 Argosy University
Case Studies for LASA1 and LASA2
Pick one case study and use it for completing both assignments:
Case study 1:
Brandy is a Caucasian girl, who just celebrated her sixth
birthday, and is one of the youngest kids in her
first-grade class. Most of the school year has gone fairly well,
but she lately has been having trouble at
school. Last week she disrupted class and threw her pencil
across the room.
The teacher explained to the parents that she has been a bit
“emotional” lately, but did not know why. Her
mom wondered if it was because she has recently transitioned
from graduate school to a new job that
keeps her away from home a bit more than before.
Brandy generally likes school, but gets pulled out once or twice
a week for special speech therapy as she
occasionally has some problems with a lisp. Her parents were
hesitant about Brandy being pulled out of
class, but when she reported she was getting picked on at school
by some classmates, they agreed to the
speech therapy.
At home, she has a supportive family and siblings (younger and
older) with whom she gets along well.
Occasionally she will get into trouble for lying, but most often
feels pretty badly about it once she is caught.
Her father also has a master’s degree with a full-time job, and
she and her siblings attend an after-school
daycare program for a couple hours. She plays with the
neighborhood kids and her siblings; however
sometimes Brandy has communication struggles with others due
to her lisp. She loves sports, and just
finished playing soccer and is set to start t-ball within the next
week or two.
Case study 2:
Brandon is an African-American eight-year-old child in third
grade, who is in danger of having to repeat the
grade. He continues to struggle with being able to concentrate
in class, and says he is “bored” when
students have to just sit and read; sometimes he talks and walks
around the class and other times he draws
pictures and pays no attention at all. He frequently gets sent to
the principal’s office for this behavior, but
does not seem to mind because the principal lets him play and
gives him snacks (as he always complains
about being hungry). Often the principal compliments him on
his artwork.
When his parents were told about his behavior, they were
exasperated. The parents said he behaves even
more poorly at home, stealing and breaking his siblings’ things
and sneaking food into his room. He even
has nightly bed-wetting accidents on a fairly regular basis (the
doctor has ruled out physical problems as a
reason for these).
His mother works a part-time job at a local gas station when the
kids are in school. His father used to come
home around dinnertime and was often tired; but he was
recently laid off and is depressed and spends a lot
of time in bed.
Case study 3:
Jayant (or “Jay”) is a seventeen-year-old Indian student in his
senior year in high school. He is taking
several classes at the local community college as part of an
accelerated honors program. He never really
wanted to take these college classes, but was pressured by his
extremely domineering father, who is a
professor of physics at one of the local universities.
Page 2 of 2
Child, Family, and Community Relationships
©2013 Argosy University
2 Case Studies for LASA1 and LASA2
Johnny is falling behind with all his courses, particularly his
psychology coursework. He says it is because
he keeps relating what he reads to his own life situation and
problems. He tends to be alone most of the
time, although he is very curious about people and watches
others interact. Jay has a social immaturity
about him that prevents him from making many friends. If he
complains about not getting along with others,
his father reminds him he is not in school to socialize but to
succeed in life.
He feels like he does not fit in anywhere at the school because
his few acquaintances are not in the
accelerated honors program. This adds to the stress at home
because he has no outlets from the constant
pressure and criticism from his father. He is often reminded that
if his mother were still alive, she’d be a
resource and a buffer from his father.
Recently, he had to volunteer at a local community center as
part of a course assignment, and chose to
work with the local Boys and Girls Club. He enjoyed this so
much that he has decided to continue
volunteering even when the class ends.
Case study 4:
Soo-Kyung (or “Sue”) is a sixteen-year-old Korean student,
with a history of self-harm, drug abuse, and
theft. She has to go to counseling at the school as a condition of
her probation, and to have any chance of
having her record expunged when she is an adult.
Sue is usually shabbily dressed, has bad body odor, is hostile
and refuses to open up or discuss anything
at length with her counselor. She has been seen around school
with one kid and was seen talking to that
kid in the hall before she came into your office. You have found
some information in her school file that
apprises you of some pertinent details of her past experiences:
You learn that she had an alcoholic mother,
who was in and out of a series of relationships when Sue was a
child, resulting in frequent moves and a
string of different schools. A period of sexual abuse by one of
her mother’s boyfriends at the age of 14 led
Sue to attempt suicide. Subsequently, she has frequently
inflicted injuries on herself.
She finally moved out of her mother’s house and is living with
an aunt, who although she does not have a
drug problem, works three jobs to provide for Sue and her five
nieces and nephews, and is rarely home.
Sue loves helping out with the kids and likes her aunt. Her aunt
comes to the school occasionally for
parent-teacher conferences, and will ask for suggestions or help,
stating that she is trying to help Sue, but
has limited resources in terms of time and money.
Some ideas were used from Psychology Applied Learning
Scenarios (PALS): A practical introduction to
problem-based learning using vignettes for psychology lecturers
by Lin Norton funded by LTSN
Psychology. “All the materials provided in this pack are free to
use in their original format or can be
adapted, giving acknowledgment to LTSN Psychology.”

More Related Content

Similar to CIS 256 Lab 2Getting Started---------------The fil.docx

Child and Adolescent Counseling Cases Mood Disorders and Self.docx
Child and Adolescent Counseling Cases Mood Disorders and Self.docxChild and Adolescent Counseling Cases Mood Disorders and Self.docx
Child and Adolescent Counseling Cases Mood Disorders and Self.docxchristinemaritza
 
answers to questions on anxiety disorders.docx
answers to questions on anxiety disorders.docxanswers to questions on anxiety disorders.docx
answers to questions on anxiety disorders.docxwrite12
 
Page 520-521 Turner, F. J. (Ed.). (2017). Social work treatment.docx
Page 520-521 Turner, F. J. (Ed.). (2017). Social work treatment.docxPage 520-521 Turner, F. J. (Ed.). (2017). Social work treatment.docx
Page 520-521 Turner, F. J. (Ed.). (2017). Social work treatment.docxLacieKlineeb
 
ECE430 Week Two Case Study Focus Students Each.docx
ECE430 Week Two Case Study Focus  Students Each.docxECE430 Week Two Case Study Focus  Students Each.docx
ECE430 Week Two Case Study Focus Students Each.docxjack60216
 
ECE430 Week Two Case Study Focus Students Each.docx
ECE430 Week Two Case Study Focus  Students Each.docxECE430 Week Two Case Study Focus  Students Each.docx
ECE430 Week Two Case Study Focus Students Each.docxSALU18
 
Instructions Read the case study to inform the assignment that foll.docx
Instructions Read the case study to inform the assignment that foll.docxInstructions Read the case study to inform the assignment that foll.docx
Instructions Read the case study to inform the assignment that foll.docxlanagore871
 
mother in caregiver Fill in the answers.docx
mother in caregiver Fill in the answers.docxmother in caregiver Fill in the answers.docx
mother in caregiver Fill in the answers.docxstirlingvwriters
 
ECE430 Week Three Case Study Focus Families M.docx
ECE430 Week Three Case Study  Focus  Families   M.docxECE430 Week Three Case Study  Focus  Families   M.docx
ECE430 Week Three Case Study Focus Families M.docxjack60216
 
ECE430 Week Three Case Study Focus Families M.docx
ECE430 Week Three Case Study  Focus  Families   M.docxECE430 Week Three Case Study  Focus  Families   M.docx
ECE430 Week Three Case Study Focus Families M.docxSALU18
 
Each day Mrs. Ashland enters her classroom excited to make a diffe.docx
Each day Mrs. Ashland enters her classroom excited to make a diffe.docxEach day Mrs. Ashland enters her classroom excited to make a diffe.docx
Each day Mrs. Ashland enters her classroom excited to make a diffe.docxsagarlesley
 
FDR Cinderella Man Essay Watch one scene of your choice from C.docx
FDR Cinderella Man Essay Watch one scene of your choice from C.docxFDR Cinderella Man Essay Watch one scene of your choice from C.docx
FDR Cinderella Man Essay Watch one scene of your choice from C.docxssuser454af01
 
atividade 2ºs e 3ºs anos -TEXT COMPREHENSION -.docx
atividade 2ºs e 3ºs anos -TEXT COMPREHENSION -.docxatividade 2ºs e 3ºs anos -TEXT COMPREHENSION -.docx
atividade 2ºs e 3ºs anos -TEXT COMPREHENSION -.docxLeah Prado
 
Part of a special educator’s responsibilities include understand
Part of a special educator’s responsibilities include understandPart of a special educator’s responsibilities include understand
Part of a special educator’s responsibilities include understandtwilacrt6k5
 
Choose one of the parenting dilemmas. In 3 pages1. Explain in .docx
Choose one of the parenting dilemmas. In 3 pages1. Explain in .docxChoose one of the parenting dilemmas. In 3 pages1. Explain in .docx
Choose one of the parenting dilemmas. In 3 pages1. Explain in .docxchristinemaritza
 
· Select and focus on one of four case studies listed in the Learn.docx
· Select and focus on one of four case studies listed in the Learn.docx· Select and focus on one of four case studies listed in the Learn.docx
· Select and focus on one of four case studies listed in the Learn.docxlillie234567
 
Ide 401 5th session1
Ide 401 5th session1Ide 401 5th session1
Ide 401 5th session1Pat Luo
 
Assignment 2 LASA 1 Case Study of Behavioral DisordersIn this as.docx
Assignment 2 LASA 1 Case Study of Behavioral DisordersIn this as.docxAssignment 2 LASA 1 Case Study of Behavioral DisordersIn this as.docx
Assignment 2 LASA 1 Case Study of Behavioral DisordersIn this as.docxchandaronald
 
© Walden University, LLC 1 Theory Into Practice Four S
© Walden University, LLC    1 Theory Into Practice Four S© Walden University, LLC    1 Theory Into Practice Four S
© Walden University, LLC 1 Theory Into Practice Four Sdaniatrappit
 
In your response ask Foster 2 questions that should help him explain.docx
In your response ask Foster 2 questions that should help him explain.docxIn your response ask Foster 2 questions that should help him explain.docx
In your response ask Foster 2 questions that should help him explain.docxlanagore871
 
Cases on Overt Conduct Disorders.docx
Cases on Overt Conduct Disorders.docxCases on Overt Conduct Disorders.docx
Cases on Overt Conduct Disorders.docxwrite12
 

Similar to CIS 256 Lab 2Getting Started---------------The fil.docx (20)

Child and Adolescent Counseling Cases Mood Disorders and Self.docx
Child and Adolescent Counseling Cases Mood Disorders and Self.docxChild and Adolescent Counseling Cases Mood Disorders and Self.docx
Child and Adolescent Counseling Cases Mood Disorders and Self.docx
 
answers to questions on anxiety disorders.docx
answers to questions on anxiety disorders.docxanswers to questions on anxiety disorders.docx
answers to questions on anxiety disorders.docx
 
Page 520-521 Turner, F. J. (Ed.). (2017). Social work treatment.docx
Page 520-521 Turner, F. J. (Ed.). (2017). Social work treatment.docxPage 520-521 Turner, F. J. (Ed.). (2017). Social work treatment.docx
Page 520-521 Turner, F. J. (Ed.). (2017). Social work treatment.docx
 
ECE430 Week Two Case Study Focus Students Each.docx
ECE430 Week Two Case Study Focus  Students Each.docxECE430 Week Two Case Study Focus  Students Each.docx
ECE430 Week Two Case Study Focus Students Each.docx
 
ECE430 Week Two Case Study Focus Students Each.docx
ECE430 Week Two Case Study Focus  Students Each.docxECE430 Week Two Case Study Focus  Students Each.docx
ECE430 Week Two Case Study Focus Students Each.docx
 
Instructions Read the case study to inform the assignment that foll.docx
Instructions Read the case study to inform the assignment that foll.docxInstructions Read the case study to inform the assignment that foll.docx
Instructions Read the case study to inform the assignment that foll.docx
 
mother in caregiver Fill in the answers.docx
mother in caregiver Fill in the answers.docxmother in caregiver Fill in the answers.docx
mother in caregiver Fill in the answers.docx
 
ECE430 Week Three Case Study Focus Families M.docx
ECE430 Week Three Case Study  Focus  Families   M.docxECE430 Week Three Case Study  Focus  Families   M.docx
ECE430 Week Three Case Study Focus Families M.docx
 
ECE430 Week Three Case Study Focus Families M.docx
ECE430 Week Three Case Study  Focus  Families   M.docxECE430 Week Three Case Study  Focus  Families   M.docx
ECE430 Week Three Case Study Focus Families M.docx
 
Each day Mrs. Ashland enters her classroom excited to make a diffe.docx
Each day Mrs. Ashland enters her classroom excited to make a diffe.docxEach day Mrs. Ashland enters her classroom excited to make a diffe.docx
Each day Mrs. Ashland enters her classroom excited to make a diffe.docx
 
FDR Cinderella Man Essay Watch one scene of your choice from C.docx
FDR Cinderella Man Essay Watch one scene of your choice from C.docxFDR Cinderella Man Essay Watch one scene of your choice from C.docx
FDR Cinderella Man Essay Watch one scene of your choice from C.docx
 
atividade 2ºs e 3ºs anos -TEXT COMPREHENSION -.docx
atividade 2ºs e 3ºs anos -TEXT COMPREHENSION -.docxatividade 2ºs e 3ºs anos -TEXT COMPREHENSION -.docx
atividade 2ºs e 3ºs anos -TEXT COMPREHENSION -.docx
 
Part of a special educator’s responsibilities include understand
Part of a special educator’s responsibilities include understandPart of a special educator’s responsibilities include understand
Part of a special educator’s responsibilities include understand
 
Choose one of the parenting dilemmas. In 3 pages1. Explain in .docx
Choose one of the parenting dilemmas. In 3 pages1. Explain in .docxChoose one of the parenting dilemmas. In 3 pages1. Explain in .docx
Choose one of the parenting dilemmas. In 3 pages1. Explain in .docx
 
· Select and focus on one of four case studies listed in the Learn.docx
· Select and focus on one of four case studies listed in the Learn.docx· Select and focus on one of four case studies listed in the Learn.docx
· Select and focus on one of four case studies listed in the Learn.docx
 
Ide 401 5th session1
Ide 401 5th session1Ide 401 5th session1
Ide 401 5th session1
 
Assignment 2 LASA 1 Case Study of Behavioral DisordersIn this as.docx
Assignment 2 LASA 1 Case Study of Behavioral DisordersIn this as.docxAssignment 2 LASA 1 Case Study of Behavioral DisordersIn this as.docx
Assignment 2 LASA 1 Case Study of Behavioral DisordersIn this as.docx
 
© Walden University, LLC 1 Theory Into Practice Four S
© Walden University, LLC    1 Theory Into Practice Four S© Walden University, LLC    1 Theory Into Practice Four S
© Walden University, LLC 1 Theory Into Practice Four S
 
In your response ask Foster 2 questions that should help him explain.docx
In your response ask Foster 2 questions that should help him explain.docxIn your response ask Foster 2 questions that should help him explain.docx
In your response ask Foster 2 questions that should help him explain.docx
 
Cases on Overt Conduct Disorders.docx
Cases on Overt Conduct Disorders.docxCases on Overt Conduct Disorders.docx
Cases on Overt Conduct Disorders.docx
 

More from AASTHA76

(APA 6th Edition Formatting and St.docx
(APA 6th Edition Formatting and St.docx(APA 6th Edition Formatting and St.docx
(APA 6th Edition Formatting and St.docxAASTHA76
 
(a) Thrasymachus’ (the sophist’s) definition of Justice or Right o.docx
(a) Thrasymachus’ (the sophist’s) definition of Justice or Right o.docx(a) Thrasymachus’ (the sophist’s) definition of Justice or Right o.docx
(a) Thrasymachus’ (the sophist’s) definition of Justice or Right o.docxAASTHA76
 
(Glossary of Telemedicine and eHealth)· Teleconsultation Cons.docx
(Glossary of Telemedicine and eHealth)· Teleconsultation Cons.docx(Glossary of Telemedicine and eHealth)· Teleconsultation Cons.docx
(Glossary of Telemedicine and eHealth)· Teleconsultation Cons.docxAASTHA76
 
(Assmt 1; Week 3 paper) Using ecree Doing the paper and s.docx
(Assmt 1; Week 3 paper)  Using ecree        Doing the paper and s.docx(Assmt 1; Week 3 paper)  Using ecree        Doing the paper and s.docx
(Assmt 1; Week 3 paper) Using ecree Doing the paper and s.docxAASTHA76
 
(Image retrieved at httpswww.google.comsearchhl=en&biw=122.docx
(Image retrieved at  httpswww.google.comsearchhl=en&biw=122.docx(Image retrieved at  httpswww.google.comsearchhl=en&biw=122.docx
(Image retrieved at httpswww.google.comsearchhl=en&biw=122.docxAASTHA76
 
(Dis) Placing Culture and Cultural Space Chapter 4.docx
(Dis) Placing Culture and Cultural Space Chapter 4.docx(Dis) Placing Culture and Cultural Space Chapter 4.docx
(Dis) Placing Culture and Cultural Space Chapter 4.docxAASTHA76
 
(1) Define the time value of money.  Do you believe that the ave.docx
(1) Define the time value of money.  Do you believe that the ave.docx(1) Define the time value of money.  Do you believe that the ave.docx
(1) Define the time value of money.  Do you believe that the ave.docxAASTHA76
 
(chapter taken from Learning Power)From Social Class and t.docx
(chapter taken from Learning Power)From Social Class and t.docx(chapter taken from Learning Power)From Social Class and t.docx
(chapter taken from Learning Power)From Social Class and t.docxAASTHA76
 
(Accessible at httpswww.hatchforgood.orgexplore102nonpro.docx
(Accessible at httpswww.hatchforgood.orgexplore102nonpro.docx(Accessible at httpswww.hatchforgood.orgexplore102nonpro.docx
(Accessible at httpswww.hatchforgood.orgexplore102nonpro.docxAASTHA76
 
(a) The current ratio of a company is 61 and its acid-test ratio .docx
(a) The current ratio of a company is 61 and its acid-test ratio .docx(a) The current ratio of a company is 61 and its acid-test ratio .docx
(a) The current ratio of a company is 61 and its acid-test ratio .docxAASTHA76
 
(1) How does quantum cryptography eliminate the problem of eaves.docx
(1) How does quantum cryptography eliminate the problem of eaves.docx(1) How does quantum cryptography eliminate the problem of eaves.docx
(1) How does quantum cryptography eliminate the problem of eaves.docxAASTHA76
 
#transformation10EventTrendsfor 201910 Event.docx
#transformation10EventTrendsfor 201910 Event.docx#transformation10EventTrendsfor 201910 Event.docx
#transformation10EventTrendsfor 201910 Event.docxAASTHA76
 
$10 now and $10 when complete Use resources from the required .docx
$10 now and $10 when complete Use resources from the required .docx$10 now and $10 when complete Use resources from the required .docx
$10 now and $10 when complete Use resources from the required .docxAASTHA76
 
#MicroXplorer Configuration settings - do not modifyFile.Versio.docx
#MicroXplorer Configuration settings - do not modifyFile.Versio.docx#MicroXplorer Configuration settings - do not modifyFile.Versio.docx
#MicroXplorer Configuration settings - do not modifyFile.Versio.docxAASTHA76
 
#include string.h#include stdlib.h#include systypes.h.docx
#include string.h#include stdlib.h#include systypes.h.docx#include string.h#include stdlib.h#include systypes.h.docx
#include string.h#include stdlib.h#include systypes.h.docxAASTHA76
 
$ stated in thousands)Net Assets, Controlling Interest.docx
$ stated in thousands)Net Assets, Controlling Interest.docx$ stated in thousands)Net Assets, Controlling Interest.docx
$ stated in thousands)Net Assets, Controlling Interest.docxAASTHA76
 
#include stdio.h#include stdlib.h#include pthread.h#in.docx
#include stdio.h#include stdlib.h#include pthread.h#in.docx#include stdio.h#include stdlib.h#include pthread.h#in.docx
#include stdio.h#include stdlib.h#include pthread.h#in.docxAASTHA76
 
#include customer.h#include heap.h#include iostream.docx
#include customer.h#include heap.h#include iostream.docx#include customer.h#include heap.h#include iostream.docx
#include customer.h#include heap.h#include iostream.docxAASTHA76
 
#Assessment BriefDiploma of Business Eco.docx
#Assessment BriefDiploma of Business Eco.docx#Assessment BriefDiploma of Business Eco.docx
#Assessment BriefDiploma of Business Eco.docxAASTHA76
 
#include stdio.h#include stdint.h#include stdbool.h.docx
#include stdio.h#include stdint.h#include stdbool.h.docx#include stdio.h#include stdint.h#include stdbool.h.docx
#include stdio.h#include stdint.h#include stdbool.h.docxAASTHA76
 

More from AASTHA76 (20)

(APA 6th Edition Formatting and St.docx
(APA 6th Edition Formatting and St.docx(APA 6th Edition Formatting and St.docx
(APA 6th Edition Formatting and St.docx
 
(a) Thrasymachus’ (the sophist’s) definition of Justice or Right o.docx
(a) Thrasymachus’ (the sophist’s) definition of Justice or Right o.docx(a) Thrasymachus’ (the sophist’s) definition of Justice or Right o.docx
(a) Thrasymachus’ (the sophist’s) definition of Justice or Right o.docx
 
(Glossary of Telemedicine and eHealth)· Teleconsultation Cons.docx
(Glossary of Telemedicine and eHealth)· Teleconsultation Cons.docx(Glossary of Telemedicine and eHealth)· Teleconsultation Cons.docx
(Glossary of Telemedicine and eHealth)· Teleconsultation Cons.docx
 
(Assmt 1; Week 3 paper) Using ecree Doing the paper and s.docx
(Assmt 1; Week 3 paper)  Using ecree        Doing the paper and s.docx(Assmt 1; Week 3 paper)  Using ecree        Doing the paper and s.docx
(Assmt 1; Week 3 paper) Using ecree Doing the paper and s.docx
 
(Image retrieved at httpswww.google.comsearchhl=en&biw=122.docx
(Image retrieved at  httpswww.google.comsearchhl=en&biw=122.docx(Image retrieved at  httpswww.google.comsearchhl=en&biw=122.docx
(Image retrieved at httpswww.google.comsearchhl=en&biw=122.docx
 
(Dis) Placing Culture and Cultural Space Chapter 4.docx
(Dis) Placing Culture and Cultural Space Chapter 4.docx(Dis) Placing Culture and Cultural Space Chapter 4.docx
(Dis) Placing Culture and Cultural Space Chapter 4.docx
 
(1) Define the time value of money.  Do you believe that the ave.docx
(1) Define the time value of money.  Do you believe that the ave.docx(1) Define the time value of money.  Do you believe that the ave.docx
(1) Define the time value of money.  Do you believe that the ave.docx
 
(chapter taken from Learning Power)From Social Class and t.docx
(chapter taken from Learning Power)From Social Class and t.docx(chapter taken from Learning Power)From Social Class and t.docx
(chapter taken from Learning Power)From Social Class and t.docx
 
(Accessible at httpswww.hatchforgood.orgexplore102nonpro.docx
(Accessible at httpswww.hatchforgood.orgexplore102nonpro.docx(Accessible at httpswww.hatchforgood.orgexplore102nonpro.docx
(Accessible at httpswww.hatchforgood.orgexplore102nonpro.docx
 
(a) The current ratio of a company is 61 and its acid-test ratio .docx
(a) The current ratio of a company is 61 and its acid-test ratio .docx(a) The current ratio of a company is 61 and its acid-test ratio .docx
(a) The current ratio of a company is 61 and its acid-test ratio .docx
 
(1) How does quantum cryptography eliminate the problem of eaves.docx
(1) How does quantum cryptography eliminate the problem of eaves.docx(1) How does quantum cryptography eliminate the problem of eaves.docx
(1) How does quantum cryptography eliminate the problem of eaves.docx
 
#transformation10EventTrendsfor 201910 Event.docx
#transformation10EventTrendsfor 201910 Event.docx#transformation10EventTrendsfor 201910 Event.docx
#transformation10EventTrendsfor 201910 Event.docx
 
$10 now and $10 when complete Use resources from the required .docx
$10 now and $10 when complete Use resources from the required .docx$10 now and $10 when complete Use resources from the required .docx
$10 now and $10 when complete Use resources from the required .docx
 
#MicroXplorer Configuration settings - do not modifyFile.Versio.docx
#MicroXplorer Configuration settings - do not modifyFile.Versio.docx#MicroXplorer Configuration settings - do not modifyFile.Versio.docx
#MicroXplorer Configuration settings - do not modifyFile.Versio.docx
 
#include string.h#include stdlib.h#include systypes.h.docx
#include string.h#include stdlib.h#include systypes.h.docx#include string.h#include stdlib.h#include systypes.h.docx
#include string.h#include stdlib.h#include systypes.h.docx
 
$ stated in thousands)Net Assets, Controlling Interest.docx
$ stated in thousands)Net Assets, Controlling Interest.docx$ stated in thousands)Net Assets, Controlling Interest.docx
$ stated in thousands)Net Assets, Controlling Interest.docx
 
#include stdio.h#include stdlib.h#include pthread.h#in.docx
#include stdio.h#include stdlib.h#include pthread.h#in.docx#include stdio.h#include stdlib.h#include pthread.h#in.docx
#include stdio.h#include stdlib.h#include pthread.h#in.docx
 
#include customer.h#include heap.h#include iostream.docx
#include customer.h#include heap.h#include iostream.docx#include customer.h#include heap.h#include iostream.docx
#include customer.h#include heap.h#include iostream.docx
 
#Assessment BriefDiploma of Business Eco.docx
#Assessment BriefDiploma of Business Eco.docx#Assessment BriefDiploma of Business Eco.docx
#Assessment BriefDiploma of Business Eco.docx
 
#include stdio.h#include stdint.h#include stdbool.h.docx
#include stdio.h#include stdint.h#include stdbool.h.docx#include stdio.h#include stdint.h#include stdbool.h.docx
#include stdio.h#include stdint.h#include stdbool.h.docx
 

Recently uploaded

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

CIS 256 Lab 2Getting Started---------------The fil.docx

  • 1. CIS 256 Lab 2 Getting Started --------------- The files in the lab2 directory contain classes for two different types of doubly-linked list. The DList1 class does not use a sentinel, whereas the DList2 class does. The DList1 class is not circularly linked, but the DList2 class is (through the sentinel). Compile DList1.java and DList2.java (using "javac -g DList1.java DList2.java".) Your task is to implement two insertFront() and two removeFront() methods--one of each for each list class. insertFront() and removeFront() insert or remove an item at the beginning of a list. Make sure your implementations work for empty lists, one-node lists, and larger lists. The main() methods of DList1 and DList2 include test code, which you can run with "java DList1" and "java DList2". Part I: insertFront in DList1 (1 point) ---------------------------------------- Write a method called DList1.insertFront() that inserts an int at the front of "this" DList1. Part II: removeFront in DList1 (1 point)
  • 2. ----------------------------------------- Write a method called DList1.removeFront() that removes the first item (and node) from "this" DList1. Part III: insertFront in DList2 (1 point) ------------------------------------------ Write a method called DList2.insertFront() that inserts an int at the front of "this" DList2. Your code should NOT use any "if" statements or conditionals. Part IV: removeFront in DList2 (2 points) ------------------------------------------ Write a method called DList2.removeFront() that removes the first item (and non-sentinel node) from "this" DList2. Your code should not require separate branches for the one-node case and the more-than-one-node case. (You will need one "if", to handle the zero-node case.) Check-off --------- Run the DList1 and DList2 test code. 1 point: DList1.insertFront(). 1 point: DList1.removeFront(). 1 point: DList2.insertFront(). 1 point: DList2.removeFront(). Page 1 of 2 Child, Family, and Community Relationships
  • 3. ©2013 Argosy University Case Studies for LASA1 and LASA2 Pick one case study and use it for completing both assignments: Case study 1: Brandy is a Caucasian girl, who just celebrated her sixth birthday, and is one of the youngest kids in her first-grade class. Most of the school year has gone fairly well, but she lately has been having trouble at school. Last week she disrupted class and threw her pencil across the room. The teacher explained to the parents that she has been a bit “emotional” lately, but did not know why. Her mom wondered if it was because she has recently transitioned from graduate school to a new job that keeps her away from home a bit more than before. Brandy generally likes school, but gets pulled out once or twice a week for special speech therapy as she occasionally has some problems with a lisp. Her parents were hesitant about Brandy being pulled out of class, but when she reported she was getting picked on at school by some classmates, they agreed to the speech therapy. At home, she has a supportive family and siblings (younger and
  • 4. older) with whom she gets along well. Occasionally she will get into trouble for lying, but most often feels pretty badly about it once she is caught. Her father also has a master’s degree with a full-time job, and she and her siblings attend an after-school daycare program for a couple hours. She plays with the neighborhood kids and her siblings; however sometimes Brandy has communication struggles with others due to her lisp. She loves sports, and just finished playing soccer and is set to start t-ball within the next week or two. Case study 2: Brandon is an African-American eight-year-old child in third grade, who is in danger of having to repeat the grade. He continues to struggle with being able to concentrate in class, and says he is “bored” when students have to just sit and read; sometimes he talks and walks around the class and other times he draws pictures and pays no attention at all. He frequently gets sent to the principal’s office for this behavior, but does not seem to mind because the principal lets him play and gives him snacks (as he always complains about being hungry). Often the principal compliments him on his artwork. When his parents were told about his behavior, they were exasperated. The parents said he behaves even more poorly at home, stealing and breaking his siblings’ things and sneaking food into his room. He even has nightly bed-wetting accidents on a fairly regular basis (the doctor has ruled out physical problems as a reason for these).
  • 5. His mother works a part-time job at a local gas station when the kids are in school. His father used to come home around dinnertime and was often tired; but he was recently laid off and is depressed and spends a lot of time in bed. Case study 3: Jayant (or “Jay”) is a seventeen-year-old Indian student in his senior year in high school. He is taking several classes at the local community college as part of an accelerated honors program. He never really wanted to take these college classes, but was pressured by his extremely domineering father, who is a professor of physics at one of the local universities. Page 2 of 2 Child, Family, and Community Relationships ©2013 Argosy University 2 Case Studies for LASA1 and LASA2 Johnny is falling behind with all his courses, particularly his psychology coursework. He says it is because he keeps relating what he reads to his own life situation and problems. He tends to be alone most of the time, although he is very curious about people and watches others interact. Jay has a social immaturity about him that prevents him from making many friends. If he complains about not getting along with others, his father reminds him he is not in school to socialize but to
  • 6. succeed in life. He feels like he does not fit in anywhere at the school because his few acquaintances are not in the accelerated honors program. This adds to the stress at home because he has no outlets from the constant pressure and criticism from his father. He is often reminded that if his mother were still alive, she’d be a resource and a buffer from his father. Recently, he had to volunteer at a local community center as part of a course assignment, and chose to work with the local Boys and Girls Club. He enjoyed this so much that he has decided to continue volunteering even when the class ends. Case study 4: Soo-Kyung (or “Sue”) is a sixteen-year-old Korean student, with a history of self-harm, drug abuse, and theft. She has to go to counseling at the school as a condition of her probation, and to have any chance of having her record expunged when she is an adult. Sue is usually shabbily dressed, has bad body odor, is hostile and refuses to open up or discuss anything at length with her counselor. She has been seen around school with one kid and was seen talking to that kid in the hall before she came into your office. You have found some information in her school file that apprises you of some pertinent details of her past experiences: You learn that she had an alcoholic mother, who was in and out of a series of relationships when Sue was a child, resulting in frequent moves and a string of different schools. A period of sexual abuse by one of
  • 7. her mother’s boyfriends at the age of 14 led Sue to attempt suicide. Subsequently, she has frequently inflicted injuries on herself. She finally moved out of her mother’s house and is living with an aunt, who although she does not have a drug problem, works three jobs to provide for Sue and her five nieces and nephews, and is rarely home. Sue loves helping out with the kids and likes her aunt. Her aunt comes to the school occasionally for parent-teacher conferences, and will ask for suggestions or help, stating that she is trying to help Sue, but has limited resources in terms of time and money. Some ideas were used from Psychology Applied Learning Scenarios (PALS): A practical introduction to problem-based learning using vignettes for psychology lecturers by Lin Norton funded by LTSN Psychology. “All the materials provided in this pack are free to use in their original format or can be adapted, giving acknowledgment to LTSN Psychology.”