(English Medium)
Academic Year: 2022-2023
Date & Time: 23rd March 2023, 11:00 am
Duration: 2h
Advertisements
- Answers to this Paper must be written on the paper provided separately.
- You will not be allowed to write during the first 15 minutes.
- This time is to be spent reading the question paper.
- The time given at the head of this Paper is the time allowed for writing the answers.
- This Paper is divided into two Sections.
- Attempt all questions from Section A and any four questions from Section B.
- The intended marks for questions or parts of questions are given in brackets [ ].
A mechanism where one class acquires the properties of another class:
Polymorphism
Inheritance
Encapsulation
Abstraction
Chapter: [0.0101] Introduction to Object Oriented Programming Concepts
A Identify the type of operator &&:
ternary
unary
logical
relational
Chapter: [0.0104] Operators in Java
The Scanner class method used to accept words with space:
next()
nextLine()
Next()
nextString()
Chapter: [0.0106] Input in Java
The keyword used to call package in the program:
Extends
Export
Import
Package
Chapter: [0.0105] Introduction to Java
What value will Math.sqrt (Math.ceil (15.3)) return?
16.0
16
4.0
5.0
Chapter: [0.010700000000000001] Mathematical Library Methods
The absence of which statement leads to fall through situation in switch case statement?
Continue
Break
Return
System.exit(0)
Chapter: [0.0108] Conditional Statements in Java
State the type of loop in the given program segment
for (int i = 5; i l = 0; i =2)
System.out.println(i);
finite
null
infinite
fixed
Chapter: [0.0109] Iterative Constructs in Java
Write a method prototype name check() which takes an integer argument and returns a char:
char check()
void check (int x)
check (int x)
char check (int x)
Chapter: [0.05] User - Defined Method
The number of values that a method can return is ______.
1
2
3
4
Chapter: [0.05] User - Defined Method
Predict the output of the following code snippet: String P = "20", Q = "22";
int a = Integer.parseInt(P);
int b = Integer.value0f(Q);
System.out.println(a + " " + b);
20
2220
20 22
22
Chapter: [0.02] Library Classes
The String class method to join two strings is ______.
concat(String)
<string>.joint(string)
concat(char)
Concat()
Chapter: [0.04] String Handling
The output of the function "COMPOSITION". substring(3, 6):
POST
MPO
POS
MPOS
Chapter: [0.04] String Handling
int x = (int) 32.8; is an example of ______ typecasting.
impiicit
automatic
explicit
coercion
Chapter: [0.0103] Values and Data Types
The code obtained after compilation is known as ______.
source code
object code
machine code
java byte code
Chapter: [0.0104] Operators in Java
Advertisements
Missing a semicolon in a statement is what type of error?
Logical
Syntax
Runtime
No error
Chapter: [0.0106] Input in Java
Consider the following program segment and select the output of the same when n = 10:
switch(n)
{Case 10: System.out.println(0*2);
case 4: System.out.println(n*4); break;
default : Syslem.out.println(n);
}
20
40
10
4
20, 40
10
10
Chapter: [0.0108] Conditional Statements in Java
A method which does not modify the value of variables is termed as ______.
Impure method
Pure method
Primitive method
User defined method
Chapter: [0.05] User - Defined Method
When an object of a Wrapper class is converted to its corresponding primitive data type, it is called as ______.
Boxing
Explicit type conversion
Unboxing
Implicit type conversion
Chapter: [0.02] Library Classes
The number of bits occupied by the value 'a' is ______.
1 bit
4 bits
2 bits
16 bits
Chapter: [0.0103] Values and Data Types
Method which is a part of a class rather than an instance of the class is termed as ______.
Static method
Non static method
Wrapper class
String method
Chapter: [0.05] User - Defined Method
Write the Java expression for (a + b)x.
Chapter: [0.0104] Operators in Java
Evaluate the expression when the value of x = 4;
x* = - - x + x + + + x
Chapter: [0.0104] Operators in Java
Convert the following do...while loop to for loop:
int x = - 10;
do
{x - -;
System.out.print(x);
}while(r >= 1);
Chapter: [0.011000000000000001] Nested Loop
Give the output of the following Character class method:
Character.toUpperCase('a')
Chapter: [0.02] Library Classes
Give the output of the following Character class method:
Character.isLetterOrDigit('W')
Chapter: [0.02] Library Classes
Rewrite the following code using the if-else statement:
int m = 400;
double cl). = (m>300) ? (m/10.0) * 2; (m/20.0) - 2;
Chapter: [0.0108] Conditional Statements in Java
Give the output of the following program segment:
int n = 4279; int d;
while(n>0)
(d=n%10;
System.out.println(d);
n=n/100;
}
Chapter: [0.0108] Conditional Statements in Java
Advertisements
Give the output of the following String class method:
"COMMENCEMENT".lastIndexOf('M')
Chapter: [0.04] String Handling
Give the output of the following String class method:
"devote". compareTo("DEVOTE")
Chapter: [0.04] String Handling
Consider the given array and answer the question given below:
int x[ ] {4; 7,9,66,72,0,16);
What is the length of the array?
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
Consider the given array and answer the question given below:
int x[ ] {4; 7,9,66,72,0,16);
What is the value in x[4]?
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
Name the following:
What is an instance of the class called?
Chapter:
Name the following:
The method which has same name as that of the class name.
Chapter: [0.07] Constructors
Write the value of n after execution:
char ch = 'd';
int n = ch + 5;
Chapter: [0.02] Library Classes
Design a class with the following specifications:
Class name: | Student |
Member variables: | name - name of student age - age of student mks - marks obtained stream - stream allocated (Declare,the, variables using appropriate data types) |
Member methods:
void accept() - | Accept name, age and marks using methods of Scanner class. |
void allocation() - | Allocate the stream as per following criteria: |
" mks | stream |
>=300 | Science and Computer |
>=200 and <300 | Commerce and Computer |
>=75 and 200 | Arts and Animation |
<75 | Try Again |
void print() Display student name, age, mks and stream allocated.
Call all the above methods in main method using an object.
Chapter: [0.06] Class as the Basis of All Computation
Define a class to accept 10 characters from a user. Using bubble sort technique arrange them in ascending order. Display the sorted array and original array.
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
Define a class to overload the function print as follows:
void print() | to print the following format | |||
1 | 1 | 1 | 1 | |
2 | 2 | 2 | 2 | |
3 | 3 | 3 | 3 | |
4 | 4 | 4 | 4 | |
5 | 5 | 5 | 5 |
void print(int n) | To check whether the number is a lead number. A lead number is one whose sum of even digits is equal to the sum of odd digits. |
e.g. 3669 odd digits sum = 3 + 9 = 12 |
Chapter: [0.05] User - Defined Method
Define a class to accept a String and print the number of digits, alphabets and special characters in the string.
Example: | S = "KAPILDEV@83" |
Output: | Number of digits - 2 ' Number of Alphabets - 8 Number of Special characters - 1 |
Chapter: [0.04] String Handling
Define a class to accept values into an array of double data type of size 20. Accept a double value from user and search in the array using linear search method. If value is found display message "Found" with its potiition where it is present in the array. Otherwise display message "not found".
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
Define a class to accept values in integer array of size 10. Find sum of one digit number and sum of two digit numbers entered. Display them separately.
Example: Input: a[ ] = {2, 12, 4, 9, 18, 25; 3, 32, 20, 1}
Output: Sum of one digit numbers : 2 + 4 + 9 + 3 + 1 = 19
Sum of two disit numbers: 12 + 18 + 25 + 32 + 20 = 107
Chapter:
Other Solutions
Submit Question Paper
Help us maintain new question papers on Shaalaa.com, so we can continue to help studentsonly jpg, png and pdf files
CISCE previous year question papers ICSE Class 10 Computer Applications with solutions 2022 - 2023
Previous year Question paper for CISCE ICSE Class 10 Computer Applications-2023 is solved by experts. Solved question papers gives you the chance to check yourself after your mock test.
By referring the question paper Solutions for Computer Applications, you can scale your preparation level and work on your weak areas. It will also help the candidates in developing the time-management skills. Practice makes perfect, and there is no better way to practice than to attempt previous year question paper solutions of CISCE ICSE Class 10 .
How CISCE ICSE Class 10 Question Paper solutions Help Students ?
• Question paper solutions for Computer Applications will helps students to prepare for exam.
• Question paper with answer will boost students confidence in exam time and also give you an idea About the important questions and topics to be prepared for the board exam.
• For finding solution of question papers no need to refer so multiple sources like textbook or guides.