Trending ▼   ResFinder  

ICSE Class X Mid-term 2025 : Computer Applications (Nalanda International School, Vadodara)

2 pages, 13 questions, 1 questions with responses, 1 total responses,    2    0
Kinjal Ahuja
Nalanda International School, Vadodara
+Fave Message
 Home > kinjalahuja087 >   F Also featured on: School Page

Formatting page ...

Q.A. 1. 2. 3. 4. 5. 6. 7. 8. 9. Name: Class: 10 Subject: Computer Applications Topic: UT I Date: 11 th June 24 Evaluation Choose the correct answers to the questions from the given options. The method of Scanner class used to accept a double value is: a. nextInt() b. nextDouble() c. next() d. nextInteger() Assertion (A): The last element in Array has index n-1 where n is number of array elements. Reason (R): Array will always begin with the 0 th subscript. a. Both Assertion (A) and Reason (R) b. Both Assertion (A) and Reason (R) are true and Reason (R) is a correct are true and Reason (R) is not a explanation of Assertion (A) correct explanation of Assertion(A) c. Assertion (A) is true and Reason (R) d. Assertion (A) is false and Reason (R) is false is true Choose the correct way to initialize a two-dimensional array in Java? a. int a[][] myArray = {{1,2},{3,4}}; b. int a[2][2] = {{1,2},{3,4}}; c. int a[2][2] myArray; d. None of above myArray[0][0]=1; myArray[0][1]=2; myArray[1][0]=3; myArray[1][1]=4; Which of these is an incorrect array declaration? a. int arr[] = new int[5] b. int [] arr = new int[5] c. int arr[] = int [5] new d. All are correct What is the output of the Java code given below? String color[]={ blue , red , violet }; System.out.println(color[2].length()); a. 6 b. 5 c. 3 d. Error Predict the output of the following code snippet: String P = "20", Q ="24"; int a = Integer.parseInt(P); int b = Integer.valueOf(Q); System.out.println(a+""+b); a. 20 b. 24 20 c. 2024 d. 24 Cell number of a dimensional array is also known as a. Packets b. Blocks c. Subscripts d. compartments Read the following text and choose the correct answer: It is also an infixed or unknown iterative loop i.e., the user may not be aware of the number of times the iterations will take place. In this loop, the condition is checked at first before entering into the loop. Which of the following options best describes the above given text? a. for loop b. do-while loop c. while loop d. switch construct What is the final value stored in variable x? double a=-8.35 double x=Math.abs(Math.floor(a)); a. 9.0 b. 7.0 c. 6 d. 7 [9]

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Kinjal Ahuja

(1)

ResPaper Admins

(1)

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : ICSE Class X Mid-term 2025 : Computer Applications : UT paper
Tags : ICSE Class X Mid-term 2025 : Computer Applications : UT paper,  

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

 

kinjalahuja087 chat