Trending ▼   ResFinder  

ICSE Class X Prelims 2018 : Computer Applications (The Hyderabad Public School (HPS), Begumpet, Hyderabad)

3 pages, 29 questions, 0 questions with responses, 0 total responses,    1    0
Radhika Jawaji
The Hyderabad Public School (HPS), Begumpet, Hyderabad
+Fave Message
 Home > radumasup >   F Also featured on: School Page

Formatting page ...

Pre-Board-2 January 2017 COMPUTER APPLICATIONS Class: 10 Time: 2 Hr Date: 27/ 01/ 2017 Max Marks: 100 Answers to this paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent in reading the question paper. The time given at the head of this paper is the time allowed for writing the answers. This paper is divided into two Sections. Attempt all questions from Section A and any four questions from Section B. SECTION - A (40 Marks) Attempt ALL questions from the following. Question 1 a) Mention any two rules for naming identifiers. b) How do we invoke a constructor? Explain with an example. c) Write a Java statement to create an object named 'jfs' of a class 'Computer' that invokes a parameterized constructor that accepts two integer type values. d) Given that int y[][]={{2,4,6},{2,6,89}}; what will be the value of y[1][0] and y[1][2]? e) Write the expression for the absolute value of 2a 3+ 3 b4 Question 2 a) What is the purpose of this keyword in java? b) What will the following function return? System.out.print(Math.sqrt(Math.abs(-5)+20)); c) What is a wrapper class? Give an example. d) Convert the following segment into equivalent for loop. int k=1,i=2; while(++i<6) k*=i; e) Give output of the following code snippet [2] [2] [2] [2] [2] [1] [2] [2] [2] [3] String str = new String("IPSC Principal's Conclave 2017"); System.out.println(Integer.parseInt(str.substring(str.length()-3))+ str.length()+ 30 + str.substring(17,25)); System.out.println(str.substring(0,4)+"-"+str.lastIndexOf("C")); Question 3 a) What is a default constructor? b) State the difference between final and finally{ }. c) Give the size in bytes, of the arrays a[5] of int data type and d[4] of double data type. Page 1 of 3 [2] [2] [2]

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

radumasup chat