Trending ▼   ResFinder  

ICSE Class X Board Exam 2019 : Computer Applications (Solved Paper)

12 pages, 22 questions, 0 questions with responses, 0 total responses,    1    0
Sumanta Pan
Oxford High School, Howrah
+Fave Message
 Home > sumanta4evr >

Formatting page ...

ICSE 10th Computer Applications 2019 Solved Paper SECTION A (40 Marks) Answer all questions from this Section Question 1: (a) Name any two basics Principle of Object-Oriented Programming [2] Ans. Encapsulation and Polymorphism (b) Write a difference between Unary and Binary Operator [2] Ans. Operators that acts on one operand are referred to as Unary Operators while Binary Operators acts upon two operand Unary + or Unary , increment/decrement are the example of Unary operator While binary operator +,-,*,/ and % are the example of binary operators , (+) adds values of its operands (c) Name the keywords which: [2] (i) indicates that a method has no return type (ii) makes the variable as a class variable Ans. (i)void (ii) static (static variables are also known as Class variables.) (d) Write the memory capacity (storage size) of short and float data type in bytes [2] Ans. short data type is of 2 bytes and float is of 4 bytes (e) Identify and name the following tokens: [2] (i) public (ii) a (iii) == (iv) { } Ans. (i) public- Access Specifier (ii) a - character (iii) == is a Relational operator (iv) { } is a Curly braces, Java uses them for surrounding the bodies of loops, methods and classes. Question 2 (a) Differentiate between if else if and switch case statements [2] Ans. Expression inside if or else if statement decide whether to execute the statements inside if block or under else if block. On the other hand, expression inside switch statement decide which case to execute. You can have multiple if statement for multiple choice of statements. In switch you only have one expression for the multiple choices. (b) Give the output of the following code[2] String P= 20 ,Q= 19 ; int a=Integer.parseInt(P); int b=Integer.valueOf(Q); System.out.println(a+ +b); Ans. 2019 (c) What are the various types of errors in Java [2] Ans. (i) Syntax or Compile time error

Formatting page ...

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


 

Additional Info : ICSE Class X Board Exam 2019 : Computer Applications with Solutions
Tags : ICSE Class X Board Exam 2019 : Computer Applications with Answers,  

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

 

sumanta4evr chat