Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
8 views
Computer Applications
Uploaded by
aneeshms2007
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Computer Applications For Later
Download
Save
Save Computer Applications For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
8 views
Computer Applications
Uploaded by
aneeshms2007
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Computer Applications For Later
Carousel Previous
Carousel Next
Save
Save Computer Applications For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 4
Search
Fullscreen
CARMEL ENGLISH SCHOOL Padmanabhanagar,Bengaluru ~70 PREPARATORY EXAMINATION-2022 -23 STANDARD: X [ ICSE] SUBJECT: COMPUTER APPLICATIONS Time:? hr: ‘MaxMarks:100 ‘Answers to this Paper must be written on the paper provided separately. You will not be allowed 10 write during the first ISminutes. This time isto be spent in reading the question paper. The time given at the head of this paper is the time allowed for writing the answers. Section A(10 marks) Attempt all the questions Question ‘Choose the correct answers to the questions from the given options. (Do not copy the question, Write the correct answer only.) (20) 1) Which of the following is a valid java keyword? a) int ') System. ~ String 4) All of the above 2) double x=150.50; Which of the following methods can be used to convert x to String object. a) Double.parseDouble() ») String. valueOR) ©) Double.toString() @) Both b and c 3) The variables x and y in the statement, void cale( int x, int y) are called as_ a) Actual Parameters b) Instance variables ©) Static variables 4) Formal Parameters 4) Choose the correct output for th String s1="provide", s2="prope System.out.printin(s1.compareTo(s2)); a6 br o-6 dl 5) What is the maximum value that the following statement will evaluate to? X = (int)(Math.random()*6); following code. as b) 5.0 6 60 > 6) Memory space allocated for float data type i * bits. a4 b) 32 ©)8 d) 64 7) The return type of trim() function is ) boolean b) int ) double 4) String 8) The appropriate statement to extract the last character of a steing Str is, 4) char c= Str.chart(Str.length()); ») char c= Str.charAt(Str.length( )-1); ¢) char e= Str.charAt(Str-length( )-2); 4) char c= Str.charAt(Strlength-1); 9) The output of the following code is__. char af] = {65/2',b"}; System.out.printin(af !}+af2]); A a) 195 b) ab ©) 162 4d) error 10) Converting int variable to an object of Integer class is an example of a) Type casting ) autoboxing ©) unboxing, 4) None of the above11) A data member declared as public is accessible 8) within the class ») within the package c) outside the package d) All of the above 12) is an exit-controlled loop. 2) for loop ) while loop c) do..while loop d) All of the above 13) The return type of Math.round() is__ a) double b) int c)long — d) both bande 14)____ is the result of "Dedication" substring (4,8). a) catio b) icati c) cati d) icat 15) The principle that is implemented through function overloading 2) abstraction ») encapsulation ) polymorphism 4d) inheritance 16)___ is the output on executing the following code. int a= -7; if{a>10) if{a % 3 == 0) System.out.printin(Math.sqrt(25)); else System.out printin(Math.cbri(8)); else System.out printin(Math.ceil(-17.8)); a)5.0 b) 2.0 ©) 170 4) error 1» operator has the higher precedence from the following list of operators. 1 ay+ b< °) d)% 18) Determine how many times the following loop will be executed and state the output. int sum=0: for(int i= 1:i<=5;i++) { sumt=+4i; 3 System. out printin(sum); a) 5 times of execution & the output is 15 __b) 3 times of execution and the output is 12 ©) 4 times of execution and the output is 16d) None of the above 19)__ is the output on executing the following statement:- System.out.printIn("run".compareTo Ignore Case("RUNNER")); a3 b)-32 b)-3 4) 32 20) Wrapper classes are defined in the package. a) lang b) util c)default d) io Question 2 1) Define Operator. Give two examples for logical operators 2) Give the memory size of the following(in terms of bytes). a) String a= "run"; b) Boolean b{] ~ new boolean{5}; 3) Write the equivalent java expression for the following:- 2) (2) 12]4) Give the output for the following:- 2] a) int x=1500, y=500; X=XHH2 + yt; System.out printin (x+"\n"+y); b) String x="125", y="2.345"; ‘System. out.printin (Integer. valueOf(x)/2); ‘System. out.printin(x.ends With("S")&&y.endsWith("5")); 2) ©) int a=60, result; (1) result= (a>= 80)24:((a>=60)26:8); System.out printin(result); 5) Name the keyword:- RI a) That forces early iteration of the loop. b) That is used to define symbolic constants in the program. 6) Rewrite using while loop: 22] for(int i1i<=S;i+4)5 System.out printin(“Hello”); 7) Observe the following code and answer the questions given below:~ Execute(char a) { x=a; } a) Write the statement to invoke the above uni tw b) Name the class name of the above unit and its data member. Qi 8) Rewrite the following code using if else if statement:- 2 switch(ratings) { case 1 case 2: amt = 2000; break; case 3: amt = 4000; break; default :System.out.printin(“Invalid”); 3 SECTION-B (60Marks) Attempt any four questions The answers in this section should consist of the programs in either BlueJ environment or ‘any program environment with Java as the base. Each program should be written using Variable description / Mnemonic codes such that the logic of the program is clearly depicted. Flowcharts and algorithms are no required. Question3 [15] Define a class cyber having the following description: Data members/Instance variables String name- user’s name int hours- number of hours worked int bill- amount to be paidMember functions: a) parameterized constructor — to initialize the user's name and the number of hours worked. ’b) void calculate()- to calculate the amount to be paid based on the following criteria: Number of hours worked Amount/hr (in Rs) For the first 2 hours 20 For the next 3 hours 10 For the remaining hours 8 ©) void display()- to display the bill in the following format: SLNo Username ‘Time Amount Write a main () method to create an object for the above class and call the functions. Question 4 {15} Design a class with the following overloaded functions:- a) void perform(int n) To display the sum of all odd factors of the argument n ifn is an odd number otherwise display product of even factors of n. b) void perform(int m, int n) To display the sum of m! and n! Hint: 4! = 1*2*3*4 ©) void perform(int m, int n, int q) ‘To display the maximum of the three numbers using Math class method. ‘Question § 115) Write a menu driven to perform the following: a) To display the given series 9, 99, 8, 89, 7, 79, 6, 69, 5, 59, 4, 49, 3, 39, 2, 29, 1, 19 b) To evaluate the series S=24+4+6+.......upto n terms ‘Question 6 [15] Write a program to accept 30 integer elements in an array and perform the following:~ a) Sum of the last 10 elements b) Count of negative numbers present in the first 10 elements. Question 7 [1s7~ Write a program to store the given 10 country names in an array and arrange in the reverse alphabetical order using bubble sort. Also display the number of country names that has at least $ alphabets in it. India, Bangladesh, Nepal, Pakistan, Canada, Egypt, Spain, Zimbabwe, Russia, Hungary uestion 8 {15} Write a program to accept a string(str)and perform the following:- 1) Display the number of double letter sequence characters present in it, For example:- The number of double sequence characters in grasshopper is 2. 2) Create a new string by converting all the alphabets present in odd index position to uppercase using wrapper class method. “EE +
You might also like
10 Icse
PDF
No ratings yet
10 Icse
6 pages
Computer practice paper
PDF
No ratings yet
Computer practice paper
4 pages
Std. 10 - Computer Applications
PDF
No ratings yet
Std. 10 - Computer Applications
6 pages
BCGS CA I10 ME Jan23
PDF
No ratings yet
BCGS CA I10 ME Jan23
4 pages
10 Computer Applications HY 23-24
PDF
No ratings yet
10 Computer Applications HY 23-24
7 pages
lokhandwala school_comp
PDF
No ratings yet
lokhandwala school_comp
6 pages
Class 10 1st Term Paper - Retest
PDF
No ratings yet
Class 10 1st Term Paper - Retest
8 pages
Preparatory 1
PDF
No ratings yet
Preparatory 1
6 pages
Cps+X-Computer+Applications-I-Prep
PDF
No ratings yet
Cps+X-Computer+Applications-I-Prep
8 pages
COMPUTER Class 10
PDF
No ratings yet
COMPUTER Class 10
21 pages
COMPUTER PRACTICE
PDF
No ratings yet
COMPUTER PRACTICE
9 pages
Computer Mcs Paper
PDF
No ratings yet
Computer Mcs Paper
8 pages
grade-10-ca-qp
PDF
No ratings yet
grade-10-ca-qp
8 pages
100 mks test std-9-1 - answers
PDF
No ratings yet
100 mks test std-9-1 - answers
5 pages
Test Paper 1 for 2023-1
PDF
No ratings yet
Test Paper 1 for 2023-1
4 pages
COMPUTER APPLICATIONS prac
PDF
No ratings yet
COMPUTER APPLICATIONS prac
9 pages
AOASS Selection
PDF
No ratings yet
AOASS Selection
8 pages
10th Computer FLT Paper 22.09.2024
PDF
No ratings yet
10th Computer FLT Paper 22.09.2024
6 pages
GR 10 CTA QP Sample Paper
PDF
No ratings yet
GR 10 CTA QP Sample Paper
9 pages
78717_Class_X, KISA Computer Applications Preparatory Exam Question paper
PDF
No ratings yet
78717_Class_X, KISA Computer Applications Preparatory Exam Question paper
4 pages
Group_1_2_3_4_5_7_Model_1_2025_20_01
PDF
No ratings yet
Group_1_2_3_4_5_7_Model_1_2025_20_01
5 pages
PreBoard___02 (1)
PDF
No ratings yet
PreBoard___02 (1)
6 pages
10 Computer Application Mock Test
PDF
No ratings yet
10 Computer Application Mock Test
6 pages
2018 Icse
PDF
No ratings yet
2018 Icse
23 pages
42ee4513-7a82-4221-bc3a-ceeb1fcfe462
PDF
No ratings yet
42ee4513-7a82-4221-bc3a-ceeb1fcfe462
8 pages
compt 1
PDF
No ratings yet
compt 1
5 pages
10th 1st Term Paper 2023-24
PDF
No ratings yet
10th 1st Term Paper 2023-24
8 pages
Class Xpre2017-18
PDF
No ratings yet
Class Xpre2017-18
3 pages
Comp_StXavier
PDF
No ratings yet
Comp_StXavier
4 pages
9th 1st Term Paper 2023-24
PDF
No ratings yet
9th 1st Term Paper 2023-24
10 pages
SXCS RE Computer 2024
PDF
No ratings yet
SXCS RE Computer 2024
4 pages
Icse Sample Paper-1 For Computer Applications
PDF
No ratings yet
Icse Sample Paper-1 For Computer Applications
5 pages
sxcs_x_sem1_2021
PDF
No ratings yet
sxcs_x_sem1_2021
5 pages
ICSE 10th Board Exam
PDF
No ratings yet
ICSE 10th Board Exam
4 pages
PreBoard_24_25
PDF
No ratings yet
PreBoard_24_25
5 pages
com2016
PDF
No ratings yet
com2016
13 pages
Grade 9 Computer Sample Paper
PDF
No ratings yet
Grade 9 Computer Sample Paper
6 pages
X ICSE-practice sheet-1
PDF
No ratings yet
X ICSE-practice sheet-1
5 pages
Comp App Practise 6 Papers
PDF
No ratings yet
Comp App Practise 6 Papers
32 pages
Isce Computer Previous Yr Question Ppr. (2019-2014)
PDF
No ratings yet
Isce Computer Previous Yr Question Ppr. (2019-2014)
123 pages
Icse Sample Paper-5 For Computer Applications
PDF
No ratings yet
Icse Sample Paper-5 For Computer Applications
4 pages
X-CTA-Second-Prep QP-24-25
PDF
No ratings yet
X-CTA-Second-Prep QP-24-25
8 pages
Grade 9 -Revision Sheet_ThirdTerm
PDF
No ratings yet
Grade 9 -Revision Sheet_ThirdTerm
7 pages
10 ICSE - Computer Application - I Preparatory Exam - 2024-25
PDF
No ratings yet
10 ICSE - Computer Application - I Preparatory Exam - 2024-25
6 pages
Paper Class 10th 2024-25
PDF
No ratings yet
Paper Class 10th 2024-25
6 pages
Class-9, Computer Applications
PDF
75% (4)
Class-9, Computer Applications
3 pages
la martiniere for boys,kolkata - answer
PDF
No ratings yet
la martiniere for boys,kolkata - answer
4 pages
10-Computer Applications 22-23
PDF
No ratings yet
10-Computer Applications 22-23
7 pages
COMPUTER X 1st Term
PDF
No ratings yet
COMPUTER X 1st Term
5 pages
Prep2 QP
PDF
No ratings yet
Prep2 QP
8 pages
Sample QP-Comp-X
PDF
No ratings yet
Sample QP-Comp-X
5 pages
CBS Computer Application
PDF
No ratings yet
CBS Computer Application
5 pages
CTA Prep QP
PDF
No ratings yet
CTA Prep QP
4 pages
Selection Question 2024 (1)
PDF
No ratings yet
Selection Question 2024 (1)
10 pages
Compter App - Specimen Paper
PDF
No ratings yet
Compter App - Specimen Paper
9 pages
2022-23
PDF
No ratings yet
2022-23
10 pages
Mock 6
PDF
No ratings yet
Mock 6
5 pages
10 ICSE - Midterm
PDF
No ratings yet
10 ICSE - Midterm
4 pages
Related titles
Click to expand Related Titles
Carousel Previous
Carousel Next
10 Icse
PDF
10 Icse
Computer practice paper
PDF
Computer practice paper
Std. 10 - Computer Applications
PDF
Std. 10 - Computer Applications
BCGS CA I10 ME Jan23
PDF
BCGS CA I10 ME Jan23
10 Computer Applications HY 23-24
PDF
10 Computer Applications HY 23-24
lokhandwala school_comp
PDF
lokhandwala school_comp
Class 10 1st Term Paper - Retest
PDF
Class 10 1st Term Paper - Retest
Preparatory 1
PDF
Preparatory 1
Cps+X-Computer+Applications-I-Prep
PDF
Cps+X-Computer+Applications-I-Prep
COMPUTER Class 10
PDF
COMPUTER Class 10
COMPUTER PRACTICE
PDF
COMPUTER PRACTICE
Computer Mcs Paper
PDF
Computer Mcs Paper
grade-10-ca-qp
PDF
grade-10-ca-qp
100 mks test std-9-1 - answers
PDF
100 mks test std-9-1 - answers
Test Paper 1 for 2023-1
PDF
Test Paper 1 for 2023-1
COMPUTER APPLICATIONS prac
PDF
COMPUTER APPLICATIONS prac
AOASS Selection
PDF
AOASS Selection
10th Computer FLT Paper 22.09.2024
PDF
10th Computer FLT Paper 22.09.2024
GR 10 CTA QP Sample Paper
PDF
GR 10 CTA QP Sample Paper
78717_Class_X, KISA Computer Applications Preparatory Exam Question paper
PDF
78717_Class_X, KISA Computer Applications Preparatory Exam Question paper
Group_1_2_3_4_5_7_Model_1_2025_20_01
PDF
Group_1_2_3_4_5_7_Model_1_2025_20_01
PreBoard___02 (1)
PDF
PreBoard___02 (1)
10 Computer Application Mock Test
PDF
10 Computer Application Mock Test
2018 Icse
PDF
2018 Icse
42ee4513-7a82-4221-bc3a-ceeb1fcfe462
PDF
42ee4513-7a82-4221-bc3a-ceeb1fcfe462
compt 1
PDF
compt 1
10th 1st Term Paper 2023-24
PDF
10th 1st Term Paper 2023-24
Class Xpre2017-18
PDF
Class Xpre2017-18
Comp_StXavier
PDF
Comp_StXavier
9th 1st Term Paper 2023-24
PDF
9th 1st Term Paper 2023-24
SXCS RE Computer 2024
PDF
SXCS RE Computer 2024
Icse Sample Paper-1 For Computer Applications
PDF
Icse Sample Paper-1 For Computer Applications
sxcs_x_sem1_2021
PDF
sxcs_x_sem1_2021
ICSE 10th Board Exam
PDF
ICSE 10th Board Exam
PreBoard_24_25
PDF
PreBoard_24_25
com2016
PDF
com2016
Grade 9 Computer Sample Paper
PDF
Grade 9 Computer Sample Paper
X ICSE-practice sheet-1
PDF
X ICSE-practice sheet-1
Comp App Practise 6 Papers
PDF
Comp App Practise 6 Papers
Isce Computer Previous Yr Question Ppr. (2019-2014)
PDF
Isce Computer Previous Yr Question Ppr. (2019-2014)
Icse Sample Paper-5 For Computer Applications
PDF
Icse Sample Paper-5 For Computer Applications
X-CTA-Second-Prep QP-24-25
PDF
X-CTA-Second-Prep QP-24-25
Grade 9 -Revision Sheet_ThirdTerm
PDF
Grade 9 -Revision Sheet_ThirdTerm
10 ICSE - Computer Application - I Preparatory Exam - 2024-25
PDF
10 ICSE - Computer Application - I Preparatory Exam - 2024-25
Paper Class 10th 2024-25
PDF
Paper Class 10th 2024-25
Class-9, Computer Applications
PDF
Class-9, Computer Applications
la martiniere for boys,kolkata - answer
PDF
la martiniere for boys,kolkata - answer
10-Computer Applications 22-23
PDF
10-Computer Applications 22-23
COMPUTER X 1st Term
PDF
COMPUTER X 1st Term
Prep2 QP
PDF
Prep2 QP
Sample QP-Comp-X
PDF
Sample QP-Comp-X
CBS Computer Application
PDF
CBS Computer Application
CTA Prep QP
PDF
CTA Prep QP
Selection Question 2024 (1)
PDF
Selection Question 2024 (1)
Compter App - Specimen Paper
PDF
Compter App - Specimen Paper
2022-23
PDF
2022-23
Mock 6
PDF
Mock 6
10 ICSE - Midterm
PDF
10 ICSE - Midterm