Trending ▼   ResFinder  

Computer Applications: Predictive Paper 2016

3 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
Arpan Bhattacharya
St. Xavier's School, Durgapur,  Durgapur 
+Fave Message
 Home > arpan82000 >

Formatting page ...

COMPUTER APPLICATIONS SUGGESTIVE QUESTION PAPER Arpan Prepared by: ================================================= ============ Section A (40 marks) All questions are compulsory. (10+10+20) 2mks/subpart ================================================= ============ Question 1 a) Differentiate between an object and a class. b) Objects encapsulate state and behaviour Explain and give two real world examples. c) Name the following: 1. Non-static variables that define the characteristics of an object of a class 2. Static variables that can be accessed without creating an object 3. Variables declared inside methods, which are not assigned a default value automatically 4. A user-defined data type that has its own functionality d) Differentiate between primitive data types and composite data types. e) Name the OOP principle that deals with... 1. Super-classes and sub-classes. 2. Method overloading 3. Data hiding; Access modifiers like public, private, protected et cetera. 4. Interfaces and abstract classes ================================================= ============ Question 2 a) Differentiate between the access specifiers public, protected and private. b) Name the following: 1. A brute force search algorithm that runs in linear time 2. A dichotomic divide-and-conquer search algorithm that works only for sorted data 3. Two O(n2) sorting algorithms, unsuitable for large datasets. c) Name the package that contains: 1. The InputStreamReader class 2. The Scanner class 3. Wrapper classes of primitive types 4. The String class d) With reference to method valueOf in java.lang.String, answer the following questions: 1. Is this method static or non-static? Give an example of its usage. ons: ==============

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 


Tags : icse, icse_prelims, panga_icse,  

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

arpan82000 chat