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 String carType -To store the type of car(AC or NON AC) double km double bill To store the km travelled. to calculate and store the bill amount. Member methods: CabService() Default constructortoinitialize data members.String to "" and double to 0.0. void accept() to accept car type and km (using Scanner class only) void calculate () - To calculate the bill as per the rules given above. void display() To display the bill as per the following format CAR TYPE: KM TRAVELLED: TOTAL BIL Q3.Write a menu driven program to do the following series: i)2+4+ 6.. .n ii) 1! +2!+3! ..... n! 95aWrite a program to check whether entered number is a palindrome or not? Write a program to input a string and display each word in separate line. [5*2=10] Eg INPUT: ILOVE INDIA OUTPUT: LOVE INDIA ----XX-- 5*2-101

Formatting page ...

Related ResPapers
ICSE Class X Mid-term 2023 : Computer Applications(S.J. Education centre ,kanpur)India
by akhil1434 
ICSE Class X Mid-term 2024 : Computer Applications (St. Francis Convent School, Meerut)
by alka12345 
ICSE Class X Mid-term 2025 : Computer Applications : Jsss
by pawanhava 
ICSE Class X Mid-term 2023 : Computer Applications : Half yearly paper with Marking scheme
by amritapandey1 

 

  Print intermediate debugging step

Show debugging info


 

 


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

 

keppop chat