Formatting page ...
Shri Vile Parle KelavaniMandal s C.N.M.School & N.D.ParekhPre-PrimarySchool Std. X Academic Year 2017 18 Subject : Computer Applications (Group III) Must know question .. Section A Q1. a) b) c) d) e) f) g) h) Explain four OOP s principle with an example. Differentiate with an example of a primitive data type and composite data type. Differentiate between call by value or pass by value and call by reference or pass by reference. What is a compound statement? Give an example. State the difference between Constructor and Method. What is meant by an infinite loop? Give one example. State one similarity and one difference between while and do while loop. Differentiate between static and non-static data members. a) b) c) d) e) f) g) h) i) j) k) What is the difference between an object and a class? Differentiate between private and public visibility modifiers. Why class is also known as object factory? State the difference between entry controlled loop and exit controlled loop. Write differences between Linear Search and Binary Search. Differentiate between actual parameter or argument and formal parameter or parameter. What are libraryclasses? Give an example. Define wrapper class with an example. Differentiate between private and protected visibility modifiers. Why is an object called as instance of a class? Describe the function of following keywords: i) void iv) static ii) return v) this iii) import vi) token Q2. Q3. a) State the purpose and return data type of the following String functions: (i) indexOf ( ). (iv) charAt( ) (ii) compareTo ( ) (v) replace( ) (iii) substring(n,n1) (vi) length( ) b) Rewrite the syntax in for and do while. int i=1, j=2; while(i<=25) { i++; j=j+2; } c) Write function prototype -inverse, which accept two floating value (x, y) with a string (str) and return a boolean value. d) Rewrite the following segment in ternary operator if(marks>40&&marks<=100) Grage= A ; else Garde= F ;
|