Theory Questions

Computer Ethics

Computer Ethics Q. What do you mean by ethics? What is it necessary? Ans: Ethics is the classical sense, refers to the rules and standards governing the conduct of an individual with others. In order to keep healthy environment in computer room, to make good relation co-workers and to improve the working efficiency some basic …

Computer Ethics Read More »

Arrays

Arrays [ICSE Syllabus on this Topic] Array and their usage, sorting algorithm – selection sort and bubble sort, search in sorted array. The class objects compatible with all the class. Q. What do you understand by Arrays? How you declare an Array? Ans: An Array is a collection of variables of the same data type …

Arrays Read More »

Encapsulation

Encapsulation [ICSE Syllabus on this Topic] private, public, scope and visibility rules. packages and package level access. Q. Explain the term ‘Encapsulation’ with an example? Ans: The wrapping up to data and methods into a single units (called class) is known as encapsulation. For example an engine of car or any vehicle contains many small …

Encapsulation Read More »

Using Library Classes

Using Library Classes [ICSE Syllabus on this Topic] Simple input, output. String, static variables and static methods, packages and import statements. Q. What is the difference between byte oriented IO and character oriented IO? How are these two performed in Java? OR Q. What are the two ways of obtaining input in Java? Ans: Byte …

Using Library Classes Read More »