Assume you are an instructor of Java and that you have been given a chance to se
ID: 3756585 • Letter: A
Question
Assume you are an instructor of Java and that you have been given a chance to set your own test. Which topics or content in Java do you prefer to include in your test? Provide and describe at least 10 of those topics in the range (from chapter one to chapter three of the Big Java 6th ed book). Tip: These should be content that you understand very well.
Browsing the API Documantation S0 1 INTRODUCTION 2.7 Implementing a Test Program STI Tasting Classes In an Interacthve 53 1.2 The Anatomy ofa Computer 3 1.3 The Java Programming Language 1.4 Becoming Familiar with Your WEI How Many Days Have You Baen Alva? 2.8 Object References 55 1.5 Analyzing Your First Program 11 1.6 Errors 14 1.7 PROBLEM SOLVINC Algorithm Design 15 Drawing on a Component Displaying a Component In a Frame 63 64 2.10 Ellipses, Lines, Text, and Color From Algorthms to Programs 18 HT1 Describing an Algorlthm with WEI Writing an Algorthm for Tling a Floor 21 2 USING OBJECTS 31 Pseudocoda 19 3 IMPLEMEN TING CLASSES 79 .1 Instance Variables and Encapsulation 80 The Mathods of the Counter Class 82 2.1 Objects and Classes 32 Using the Publkc Interface 87 Commanting the Public Interface Providing the Class Implementation 87 3.3 91 2.3 Calling Methods 41 The Public Interface of a class41 Method Arguments 42 HTI Implementing aClass 96 Mathod Declarations 45 2.4 Constructing Objects 46Explanation / Answer
Any topic is good for conducting test as they deal with the knowledge of the student at basic level.
IF I have been give the option of choosing topic for the Test, I will prefer Using Object, because it is going to test the basic knowledge of students related to the classes and object
Classes: Classes are the blueprints for the object and specify the properties of the object. It can also be termed as the collection of object.
Object: Object are the instance of the classes. They store the information at a given point of time. They are used for intanstiating the class.
Variable: They are used to store the values in a program for processing. For processing we need to access the memory where the values are stored, It is easier to access the values if we identify it with a name, which is called as varible
Variable declaration: It scpecify, how to declare the varible, the valid variable names and how to initialize them.
Variable Type: The variable may be static (defined for class), non static(defined for object), function(defined in function parameters) and local variable (defined inside a local scope)
Calling Methods: How we can call a method to execute its operation. how to define the method and what are the valid names of the methods
Method argument: It may be required to pass some value to the methodfor processing, which are called as the method argument. Whenever we will call the method we need to specify the required value as argument to the method
Return Value: Whenever a method is called then after processing it may either return the value or display it. Show we need to identify the type of values returned by the method and have to specify return type accordingly
Method declaration: We have to specify the format of the method and its working.
Constructing object: It specify how to create the object. We create the object by calling the constructor of the class. It will have all the features specified in the class.