week 4:
This is java programming principles of software design week 4 quiz answers. you will not need any other answers to solve this java programing questions.
1.What is the name of the method that starts a Java program?
the answer is here:
2.What argument type should the method that starts a Java program take?
the answer is here:
an array of Strings
3.What effect comes from declaring a field "static"?
the answer is here:
There is only one copy of that field for the entire class, not one per instance.
4.In Java, how is the keyword "throw" used?
the answer is here:
To make an exception occur when the program detects a problematic circumstance that it cannot directly handle.
5.Creating a new socket, as with:
can throw an IOException according to the documentation of the java.net.Socket class.
Which of the following structures is the best way to create a socket while handling the exception?
the answer is here:
6.In Java, how is the keyword "finally" used?
the answer is here:
In exception handling to specify code that should be executed regardless of whether an exception happened or not.
7.If you wanted to read the contents of a file without using the edu.duke package, you might call Files.newBufferedReader.
What would you pass into Files.newBufferedReader?
the answer is here:
8.If you need to read data from a website without using the edu.duke package, you would probably want to use classes found in which package?
the answer is here:
java.net
9.You saw that a BufferedReader can be used to read data from a file on the local computer, as well as from a website. You could also use it with other sources of data, as long as you have an appropriate Reader class to access the data.
These capabilities are a great example of the benefits of which programming principles? Select the two best options.
the answer is here:
Abstraction: the BufferedReader class can work with any class that conforms to a specific interface, and does not need to know the details of how/where it reads data
You need to know about this java programming course that make you good in learning how to design a system.
introduction...
About this Course
Solve real world problems with Java using multiple classes. Learn how to create programming solutions that scale using Java interfaces. Recognize that software engineering is more than writing code - it also involves logical thinking and design. By the end of this course you will have written a program that analyzes and sorts earthquake data, and developed a predictive text generator.
After completing this course, you will be able to:
java programing principles of software design learn you to get your programming skills by solving some quiz by week.
1. Use sorting appropriately in solving problems. 2. Develop classes that implement the Comparable interface. 3. Use timing data to analyze empirical performance. 4. Break problems into multiple classes, each with their own methods. 5. Determine if a class from the Java API can be used in solving a particular problem.
this course show you skills you need to solve any problem in programing language with some algorithms.
6. Implement programming solutions using multiple approaches and recognize tradeoffs.
7. Use object-oriented concepts including interfaces and abstract classes when developing programs.
8. Appropriately hide implementation decisions so they are not visible in public methods; and
9. Recognize the limitations of algorithms and Java programs in solving problems.
10. Recognize standard Java classes and idioms including exception-handling, static methods, java.net, and java.io packages.
some task you will learn to solve anther time graph needed to wright with coding. anther courses help you explore high level tools to make development and help any web site developed by adding new features. and computer science is very enjoyable capturing various information, it's like university to you help you practice getting natural job. you can look or search about java programing, and you can choose to start today or not developing android, but you have to make correct decision and discover projects (written specialization, designed content).
cited for generate and engine building collaborative machine, using software programming techniques.
some reviews:
-My confidence level in Java programming has grown significantly since completing this specialization, It gave me the necessary knowledge and practice I need to take up a role as a software engineer.
-I was more difficult than the previous three courses in the specialization, but all in all, I enjoyed it very much and learned a lot! Thanks for such a great course, keep up the good work! :)
-Well designed and well structured with the packages, resources, programming exercises and practice quiz. I appreciate the team's hard work in delivering good knowledge on the subject efficiently.
-These set of four made not only learning Java fun and also explored on the applications software engineering it has on the real world, touching a little bit of everything in the same field.
so for sure java programing principles of software design course is the best course to get to do some developments in your programming skills.
Post a Comment
Leave a message