Formatting page ...
Class X Subject COMPUTER APPLICATIONS Attempt all the questions from Group-A and any four from Group-B. This is mandatory for mentioning the group before to write any answer. Maintain sequence of writing answers. Group-A (4x10=40) Question 1: a) Define an Identifier. Give example. b) What is case sensitivity? Is java a case sensitive programming language? c) List the main features of OOPs. d) What is this key word? e) What are the different types of constructors used in a class? Question 2: a) Differentiate between Binary and Linear search. b) Distinguish between = and == operators. c) Differentiate between static and instance variable. d) Differentiate between equals() and compareTo() function. e) Distinguish exit and entry control loop. Question 3: a) Math.max(Math.min(60,75),5) b) (int) ( computer .charAt(4)) c) INDIA .substring(2,3) d) THAN .compareTo( THEN ) e) A=2,b=5,c=7 then a + (b++) * (c++) and a * (- - b) % c Question 4: a) Math.sqrt(Math.floor(Math.ceil(15.3))); b) What is the purpose of new operator? c) If(num<=100) num=num+1; else n=num; convert it into do while d) in tar[]={1, 2, 3, 4, 5}; int i=2; ar[i] += ar[i++] + 1 - ++ar[i-1]; e) for(i=1;i<=3;i++) System.out.print(ar[i]); Group-B Attempt any four (4x15=60) Question 5: Create a menu driven program to enter a number and check whether the number is Armstrong or Krishnamurthy or wrong choice.
|