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)
16 views
Computer Application
Uploaded by
shauryasahu2004
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Computer_Application For Later
Download
Save
Save Computer_Application For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
16 views
Computer Application
Uploaded by
shauryasahu2004
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Computer_Application For Later
Carousel Previous
Carousel Next
Save
Save Computer_Application 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
DUBAI MODERN HIGH SCHOOL Preliminary Examination, 2013 COMPUTER APPLICATION Grade: 10 Time: 2 hours Date: 14/01/13 ‘Max. Marks: 100 The time stated above is the time allowed for writing the examination. In addition, the first 15 minutes will be the time given for reading the question paper J Answer ALL questions in Part 4 (compulsory) and FOUR questions from Part Il All working, including rough work must be on the same sheet as the rest of the The intended marks for questions are given in [] brackets PARTI Answer All Questions ‘While answering this Section, indicate briefly the working and reasoning QUESTION 1 a) State the rules for nesting of a loop 2 ») Differentiate giving example: indexOf( ) and lastindexOf{) (2 il) equals( ) anc compareTo{ ) 2] ¢) Name the keyword that 2) i) is used for allocating memory to an array, ii) causes the control to transfer back to the method call 4d) What is meant by exit controlied loop. Expiain with example, 2] QUESTION 2 2) Write a java statement to print the following: Q To find the absolute value of a number x To find out e to the power of the number 2 b) Explain the term data hiding in java. 1 ©) Differentiate between: i) type casting and type conversion, 2) i) class variable, local variable and instance variable 3) ) Rewrite the program segment using nested if-construct: 2] if n%2==088 n>35 &B n<67) Page ofQUESTION 3 @) Determine the output i) int(]a= (533.96) (al intx for (x=0:x<=3:x+4) {alx+ 1] = ( alx]%2==0 ? ++afx): ~aly] ) System out print(alx+"",} ji) switeh(num) 2] { case 5: num++; System.out printin(aum); case 6: System out printin('SIX"); case 7: System out printin(num) case 0: num=+; System.out printin('ZERO"+num); break; case ~1: num++; num*=2; System. out printin(num); default ‘System out printin("Case is not matching’), } | assume num as -1 |. assume num as 6 b) How many times does the loop iterate? Aso give the output for the following forint x=1:x<=20;x=x+3) (4) fot: System outprintin(x+); } ©) Consider the following data type and answer the following: 2) String str = “Mahatma’; () Write @ code to print the word atma 7 (il) Write a code to print Mahatmaji using literal str? ¢ Give the output after the execution of the following statement i) functionx(25,30) 2] public boolean functionxint aint 9) {boolean c=false; wnile(a>5 && b>5) Page 2 of 42) Give the output of the following program segment i. double x=2.9, y=2.5 ca) ‘System cut printin(Math min(Math floor(x),y)) ‘System.out printin(Math.max(Math.ceil(x),y)) ) Write a program code segment that prints all the elements of the 3rd row of a two dimensional array named matrix of order 10 x § containing integer data ny 9) Write a program segment to print all the words of a sentences’ that start with a vowel and end with a consonant 3] Part Il Ani uestions Each program should be written in such a way that it clearly depicts logic of program and supported by sufficient comments and declaration of variables used. The program must be written in JAVA QUESTION 4 115) Design A class amicable with a default constructor, a parameterized constructor and the following function Data Members: a and b boolean checkAmicable(intint) ~ this function returns true if the two arguments are amicable otherwise it returns false. Create an object in the main to accept two numbers and check whether numbers are amicable or not using above class. Hint : a pair of numbers are amicable if the sum of the factors of one number (excluding itself) is equal to the second number and vice-versa. [e.g. For example, the smallest pair of amicable numbers is (220,284); for the proper factors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110, of which the sum is 264 and the proper factors of 284 are 1, 2, 4, 71 and 142, of which the sum is 220, ‘The first few amicable pairs are: (220, 284), (1184, 1210), (2620, 2924) etc] Page 301 4QUESTION 5 15) ‘Accompany produces 25 items. Accept the quantity and unit price in two different arrays. Find the amount for each item and store them in another array. Display the following a) Total amount of all items produced by the company. b) Quantity of the most expensive item, QUESTION 6 13) Write a program which inputs a positive natural no N and output all combinations of consecutive naturals which add up to give N. Example if N 5 then output should be 12345 456 78 QUESTION 7 15) Write @ program to input a name and display name in following format. e.g. Input name = “Amit Kumar Verma” Output “Verma, AK” name = “Ajay Yadav" Output “Yadav, A” QUESTION 8 115) Write @ program using function overloading to perform the following void pattern(int char)- To print the accepted character in the following format for Nines. void computetint) — To print the following format for N lines ' qs as gto srs eee QUESTION 8 13) Accept an array of characters and sort the array in the descending order using the bubble sort technique. KRERE Page 4 of 4
You might also like
Compter App - Specimen Paper
PDF
No ratings yet
Compter App - Specimen Paper
9 pages
IX-CMP-AMS-FINAL-2018
PDF
No ratings yet
IX-CMP-AMS-FINAL-2018
4 pages
Gundecha Comp Prelim 2
PDF
No ratings yet
Gundecha Comp Prelim 2
8 pages
Sample Papers: Icse Class 10
PDF
No ratings yet
Sample Papers: Icse Class 10
8 pages
Class-X (Two Hours) : Section B
PDF
No ratings yet
Class-X (Two Hours) : Section B
4 pages
grade 9 computer assignments _ guidelines - Term 2 (2025)
PDF
No ratings yet
grade 9 computer assignments _ guidelines - Term 2 (2025)
6 pages
Computer Applications Project-Class X SESSION 2021-22
PDF
No ratings yet
Computer Applications Project-Class X SESSION 2021-22
9 pages
IX-CMP-AMS-FINAL-2017
PDF
No ratings yet
IX-CMP-AMS-FINAL-2017
4 pages
compt 1
PDF
No ratings yet
compt 1
5 pages
Computer Question Paper ICSE
PDF
No ratings yet
Computer Question Paper ICSE
4 pages
ASG202406050946164687_1_17_
PDF
No ratings yet
ASG202406050946164687_1_17_
19 pages
AOASS Selection
PDF
No ratings yet
AOASS Selection
8 pages
Paper 2
PDF
No ratings yet
Paper 2
3 pages
19348CompXSet1 (1)_decrypted
PDF
No ratings yet
19348CompXSet1 (1)_decrypted
5 pages
ICSE Class 10 Computer Application 2007
PDF
No ratings yet
ICSE Class 10 Computer Application 2007
4 pages
com2016
PDF
No ratings yet
com2016
13 pages
Class 10th icse 2025 computer question paper.
PDF
100% (1)
Class 10th icse 2025 computer question paper.
12 pages
Cts 1 Specimen 2010
PDF
No ratings yet
Cts 1 Specimen 2010
9 pages
Moye Moye
PDF
No ratings yet
Moye Moye
7 pages
Computer App - Question Paper
PDF
No ratings yet
Computer App - Question Paper
5 pages
Output Based Questions
PDF
No ratings yet
Output Based Questions
33 pages
COM 1202 Introduction To Programming PAPER
PDF
No ratings yet
COM 1202 Introduction To Programming PAPER
5 pages
CS140 3738 10 F Sol
PDF
No ratings yet
CS140 3738 10 F Sol
6 pages
9 Computer Applications
PDF
No ratings yet
9 Computer Applications
5 pages
Class 10 Revision Paper 1
PDF
No ratings yet
Class 10 Revision Paper 1
10 pages
Past Year Question
PDF
No ratings yet
Past Year Question
11 pages
Target ISC 2012 Computer Science
PDF
50% (2)
Target ISC 2012 Computer Science
11 pages
Computer Application ICSE E
PDF
No ratings yet
Computer Application ICSE E
5 pages
Fall16 Final
PDF
No ratings yet
Fall16 Final
10 pages
ICSE COMPUTER PROJECT WORK 2024-2025
PDF
No ratings yet
ICSE COMPUTER PROJECT WORK 2024-2025
4 pages
XC350 Final Exam Abdullah Khalid
PDF
No ratings yet
XC350 Final Exam Abdullah Khalid
5 pages
COMPUTER X 1st Term
PDF
No ratings yet
COMPUTER X 1st Term
5 pages
Std X Project Details 2024 - 2025
PDF
No ratings yet
Std X Project Details 2024 - 2025
8 pages
CTA Prep QP
PDF
No ratings yet
CTA Prep QP
4 pages
Computer Applications
PDF
No ratings yet
Computer Applications
7 pages
ICT ANNUAL EXAM
PDF
No ratings yet
ICT ANNUAL EXAM
5 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
CTA Prep QP
PDF
No ratings yet
CTA Prep QP
4 pages
Mock 1
PDF
No ratings yet
Mock 1
4 pages
Medium Programs in Java
PDF
No ratings yet
Medium Programs in Java
13 pages
Class IX sample
PDF
No ratings yet
Class IX sample
3 pages
Computer Applications (2023)
PDF
No ratings yet
Computer Applications (2023)
8 pages
Mock 6
PDF
No ratings yet
Mock 6
5 pages
1462_r4yro7neqy_augustassesmentanswerkey
PDF
No ratings yet
1462_r4yro7neqy_augustassesmentanswerkey
8 pages
COMPUTER Class 10
PDF
No ratings yet
COMPUTER Class 10
21 pages
9th 1st Term Paper 2023-24
PDF
No ratings yet
9th 1st Term Paper 2023-24
10 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
Icse 2023 Specimen Cta
PDF
No ratings yet
Icse 2023 Specimen Cta
9 pages
Mock 3
PDF
No ratings yet
Mock 3
7 pages
ICSE Question Paper Computer Application 2012
PDF
0% (1)
ICSE Question Paper Computer Application 2012
16 pages
100 mks test std-9-1 - answers
PDF
No ratings yet
100 mks test std-9-1 - answers
5 pages
computer paper
PDF
No ratings yet
computer paper
10 pages
Computer Project 12th UPDATE
PDF
No ratings yet
Computer Project 12th UPDATE
151 pages
Adobe Scan 7 Nov 2024
PDF
No ratings yet
Adobe Scan 7 Nov 2024
5 pages
Computer - IX
PDF
No ratings yet
Computer - IX
4 pages
ICSE 9
PDF
No ratings yet
ICSE 9
4 pages
Computer Application Examination: (Email ID:)
PDF
No ratings yet
Computer Application Examination: (Email ID:)
3 pages
Selection Question 2024 (1)
PDF
No ratings yet
Selection Question 2024 (1)
10 pages
Computer Application Project For Class X (2010-21) : (Mid Term)
PDF
No ratings yet
Computer Application Project For Class X (2010-21) : (Mid Term)
10 pages
Ecosys Copy Wlawla I Wodner
PDF
No ratings yet
Ecosys Copy Wlawla I Wodner
3 pages
Ewhds
PDF
No ratings yet
Ewhds
4 pages
ICSE 10th MP-V
PDF
No ratings yet
ICSE 10th MP-V
5 pages
Computer Apllication
PDF
No ratings yet
Computer Apllication
4 pages
Icse 2023 - 861 Cta
PDF
No ratings yet
Icse 2023 - 861 Cta
8 pages
Icse 2023 - 582 HGT2
PDF
No ratings yet
Icse 2023 - 582 HGT2
11 pages