Trending ▼   ResFinder  

ICSE Class X Prelims 2021 : Computer Applications (Oxford High School, Howrah)

11 pages, 40 questions, 3 questions with responses, 3 total responses,    0    0
Sumanta Pan
Oxford High School, Howrah
+Fave Message
 Home > sumanta4evr >   F Also featured on: School Page

Formatting page ...

ICSE Question Paper 2017 (Solved) Computer Applications Class X SECTION A (40 Marks) Answer all questions from this Section SECTION A (40 MARKS) Attempt all questions Question 1: a) What is Inheritance ? [2] Ans. Inheritance is the process by which one class extends another class to inherit the variables and functions and add any additional variables and methods. b) Name the operators listed below [2] i) < ii) ++ iii) && iv) ?: Ans. i) Less than comparison operator ii) Increment operator iii) And logical operator iv) Ternary operator c) State the number of bytes occupied by char and int data types.[2] Ans. char occupies two bytes and int occupied 4 bytes. d) Write one difference between / and % operator. [2] Ans. / is division operator while % is modulus operator which gives the remainder on dividing two numbers. e) String x[] = { SAMSUNG , NOKIA , SONY , MICROMAX , BLACKBERRY }; Give the output of the following statements:[2] i) System.out.println(x[1]); ii) System.out.println(x[3].length()); Ans. i) NOKIA ii) MICROMAX .length() = 8 Question 2: a) Name of the following: [2] i) A keyword used to call a package in the program. ii) Any one reference data types. Ans. i) import ii) String b) What are the two ways of invoking functions? [2] Ans. Call by value and call by reference c) State the data type and value of res after the following is executed : [2] char ch = t ; res = Character.toUpperCase(ch); Ans. Data type of res is char and value is T d) Give the output of the following program segment and also mention the number of times the loop is executed: [2] int a,b;

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Sumanta Pan

(3)

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 - 2020 ResPaper. Terms of ServiceContact Us Advertise with us

 

ICSE Q&A - Ask and Answer
sumanta4evr chat