Formatting page ...
Shri Vile Parle Kelavani Mandal s C.N.M.School & N.D.Parekh Pre-Primary School Academic Year 2016 17 Std. X Subject: Computer Applications (Group III) Section A Q1. Write one word/keyword answer of the following: 1) 2) 3) 4) 5) 6) 7) 8) 9) Stores the address of the currently calling object. A Package that contain scanner class. Convert a variable into a constant. A package that is invoked by default. Pass the control to the calling method. Used for allocating memory to an array Indicates that a method has no return type. Unit of the class gets called, when the object of the class is created. Distinguishes between instance variable and class variables. Q2. Answer the following: 1) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) 13) 14) 15) 16) 17) 18) 19) 20) 21) 22) What is a compound statement? Give an example. Give the prototype of a function search which receives a sentence sentnc and a word wrd and returns 1 or 0? State the difference between Constructor and Method. What is meant by an infinite loop? Give one example. How is implicit conversion different from explicit conversion? Differentiate between static and non-static data members. What is the difference between an object and a class? Differentiate between private, public and protected visibility modifiers. Define Instance Variable. Give an example of the same. 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. Give default values of different data types. What are library classes? Give an example. Define wrapper class with an example. Why is an object called as instance of a class? What is meant by precedence of operators? 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. Describe the function of following keywords: Identifier, return, Operator, new, Literal, Comment, this, Token, Expression, break and continue, void, operand, 23) Write the corresponding expression for the following mathematical operations: 1. (b2-4ac) 2. Z=x4 + y4 xy/y 24) State the purpose and return data type of the following String functions: indexOf ( ) replace( ) replace( ) compareTo ( ) length( ) valueOf() substring(n,n1) substring( ) trim( ) charAt( ) equals( )
|