Trending ▼   ResFinder  

model questions: Computer Applications (Modern High School for Girls (MHS), Kolkata)

12 pages, 51 questions, 7 questions with responses, 7 total responses,    0    0
Sarashika
Modern High School for Girls (MHS), Kolkata
5th to 10th
+Fave Message
 Home > saika >   F Also featured on: School Page

Formatting page ...

Computer Application ICSE Model Questions Section 1 a) b) a. b. c) d) e) Question 1: Class is a user defined data type. Explain. What will the following function return when execute? Math.rint(17.6); Math.ceil(-7.8); Explain the term for loop with an example. State the difference between Constructor and Method. Explain with the help of an example, the purpose of default in switch statements. a) b) c) d) e) a. b. Question 2: Difference between operator and expression. Explain the meaning of break and continue statement. State one similarity and one difference between while and do while loop. What is call by value? Write a statement to perform the given task: To generate random number between 0 and 1. To find the value of Sin300. a) b) a. b. c. c) d) Question 3: What is fall through? Give an example. Write down the syntax to perform the following: to create a Scanner object. to accept an integer through Scanner class to accept a word through Scanner class Differentiate between isLowerCase() and toUpperCase() methods. What is function prototype? a) b) Question 4: Enter any two variables through parameterized constructor. Write a method to swap and print the values. Predict the output for the following functions: String st1= India ; String st2= wins ; String st3= World Cup Cricket 2011 ; i) System.out.println(st1+st2+st3); ii) System.out.println(st3.length()); iii) System.out.println(st3.substring(0,10)); iv) System.out.println(st3.charAt(0)+st3.charAt(6)+st3.charAt(10)); c) What do you understand by return statement in a method? If a number of return statements are used in a program, how many of them can be executed at a time? Question 5 (a) State the difference between while and do-while statement. (b) What is break in switch statement. (c) What do you mean by this keyword. (d) What is meant by an infinite loop? Give an example. (e) State the difference between constructor and function (method). Page 1 of 12

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Vaidehi Mishra

(4)

Shania Pais

(2)

jdmanhere

(1)

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

saika chat