Trending ▼   ResFinder  

ICSE Class X Mid-term 2021 : Computer Applications

2 pages, 7 questions, 0 questions with responses, 0 total responses,    0    0
Koshin
Nurture International School, Kanpur Nagar
1st to 10th Medical
+Fave Message
 Home > keppop >

Formatting page ...

COMPUTER APPLICATIONS (2020-2021) MODEL TEST PAPER CLASS-10 Time:1 hr SECTIONA(20 Marks) Attempt al the questionsfrom SECTION A Q1 What is Wrapper class? Name The keyword which makes the variable as a class variable. The method which terminates the entire program from any stage. i) MM:50 [2*5-10 What is the difference between Unary and Binary operator? d) State the data type and value of res after the following is executed char ch='a; res=Character.isDigit(ch); e Explain default constructor. Q2 . (2 5-10] Write the return type of the following methods isWhitespace() compareTolgnoreCasel) b) Give the output of: i) Math.pow(36, 10.5)+ Math.cbrt(125); Math.ceil(4.2)+ Math.floor(7.9); Rewrite the if(n1>n2) following using ternary operator. r=true; else r=false; Write in java expression. la+b i )b-4ac+2a Give the output ofthe following program segment and mention how many times the loop will execute int k; for(k 5 ;k<=20;k+ =7) if(k % 6 == 0) continue; System.out.printin(k); SECTION B (30 Marks) Each program should be written using Variable description /Mnemonic codes so that the logic of the program is clearly depicted.Attempt any 3 questions from section B. 9W rite a program to sort the given elements in descending order. 10) 32,76,1,4,87, 29} 02 a) Write a program to display the following pattern using for loop. [5*2=10 A B ABC ABCD b) ABCDE Write a program to check whether entered number is prime or not. Q3 A private cab service provides service within the city at the following rates: AC Car NONAC Car Distance Upto 5 km Beyond 5 km Rs 150 Rs10/-per km Design a class CabService with the following description: Member variable/Data members: Rs 120 Rs 08/-per km [10

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

keppop chat