Question

In: Computer Science

AUse the following questions as guides to self-reflection during this week: Briefly describe what programming you...

AUse the following questions as guides to self-reflection during this week: Briefly describe what programming you did this week. Describe any problems you have had and how you solved your problems. Describe any feedback you received in class and discuss how it was or was not helpful. What skills and knowledge do you recognize that you are gaining, and how will these skills and knowledge be useful in school and as a professional after school?Learning Objectives for the Week: Apply sound program design techniques including flowcharting or pseudocode and naming conventions. Implement basic executable programs. Apply object-oriented design notions, classes, and methods in designing and implementing programs. Apply programming constructs including assignments, loops, and conditions. Write a complete structured program that includes methods.

Solutions

Expert Solution

In recent week I have done object oriented programming using Java language.Every time when I do programming,faced new challenges.I think it is a good practice to make the programming better.In recent week when I was performing Object class methods such as equals,tostring,hashcode etc. I had problem during implementation of them so I have searched for it over the internet and read book that is complete java reference,it helped me a lot.Programming is just about practicing,reading,surfing and experiments.This knowledge really helps me to easily study and understand other programming languages.This is because every programming language has same basic techniques,criteria and especially object oriented languages are so relatable with each other so learning one language really makes it easy to learn other ones.

Here following am sharing two java programs which covers different concepts such as class,object,methods,loops.


1) public class Demo
{
   int id;
   String name;
  
   public void set(int id,String name)
   {
       this.id=id;
       this.name=name;   
      
   }
  
   int getid()
   {
       return id;
   }
   String getname()
   {
       return name;
   }
  
   public static void main(String[] args) {
      
       Demo d=new Demo();
       d.set(1, "abc");
       System.out.println("Id="+d.getid());
       System.out.println("name="+d.getname());
      
      
   }
  
}

2) public class Exceptiondemp
{
   int arr[]={2,5,7,8,9};
  
  
   void show()
   {
       try
       {
  
       for (int i = 0; i <5 ; i++)
       {
       System.out.println(arr[i]);  
       }
      
       }
       catch (Exception e)
       {
           e.printStackTrace();
           System.out.println("array size is greter or smaller");
          
       }

   }
   public static void main(String[] args) {
      
       Exceptiondemp e=new Exceptiondemp();
       e.show();
      
   }
}


Related Solutions

In this Assignment, you will use self-reflection and self-assessment methods to describe how you have integrated...
In this Assignment, you will use self-reflection and self-assessment methods to describe how you have integrated holistic nursing principles into your professional practice. 1. Develop your self-assessment/self-reflection statement according to the guidelines of Holistic Nursing Certification Examinations Handbook for Candidates and Application 2. Think about an extant holistic nursing theory or theories and related concepts and assess how they guide your life and practice (e.g., Watson, Newman, Erickson, Parse, Rogers, and Nightingale). 3. How does your selected theory support your...
Explain comparison and reflection processes Describe the Self-Evaluation Maintenance Model and give examples Describe self-serving biases...
Explain comparison and reflection processes Describe the Self-Evaluation Maintenance Model and give examples Describe self-serving biases and their purpose
Describe two models of self-reflection that you can use to guide your own reflective practice?
Describe two models of self-reflection that you can use to guide your own reflective practice?
What is a program format? CNC programming is based on what current standard? Briefly describe the...
What is a program format? CNC programming is based on what current standard? Briefly describe the Word address format. Define each of the following as they pertain to CNC programming.Explain G code? 1.Character 2.Address 3.Word 4.Block 5.Program Explain what a G code is? The difference between modal and nonmodal G codes? Explain the mode and use of each of the following G codes.Explain what an M code is. G 49 G1 G80 G0 G92 Explain what a M code is....
There are many theoretical models of professional reflection. Briefly describe two models. You may use graphics...
There are many theoretical models of professional reflection. Briefly describe two models. You may use graphics in your description if you wish. Professional reflection model 1 Professional reflection model 2
Recall the survey you took during the first week of class. Oneof the questions was...
Recall the survey you took during the first week of class. One of the questions was “do you agreethat it is inappropriate to speak on a cellphone while at a restaurant?” Of the 1913 females thatresponded to the survey, 1729 agreed with this statement. Of the 1276 males that responded to thissurvey, 1111 agreed with this statement. Test to see if there is any difference between males andfemales with respect to how they feel about this issue. Use a significance...
How would you evaluate through peer assessment, audit and self reflection?
How would you evaluate through peer assessment, audit and self reflection?
Respond to all of the following questions in your posting for this week: Describe the characteristics...
Respond to all of the following questions in your posting for this week: Describe the characteristics of the F distribution. Provide examples. What are we testing when we test for two population variances? Explain your answer and provide an example. What are the assumptions of an ANOVA, and when would you use an ANOVA?
Briefly describe what must happen molecularly for the following transitions during the cell cycle: a. G1...
Briefly describe what must happen molecularly for the following transitions during the cell cycle: a. G1 to S b. G2 to M c. M to G1
urgent please answer the following questions based off the reflection below. ? What strengths are at...
urgent please answer the following questions based off the reflection below. ? What strengths are at the core of your best self? ? How will this project help you become a better manager? ? What are your top 3 lessons learned from the semester? ? What are 1-2 actions you will take this summer to work toward a management position and/or improve your management skills? Commonality / Theme Examples Analysis 1. Problem solving 1. He is Able to identify and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT