- (a)100
- (b)150.0
- (c)100.0
- (d)150
Library Classes
Appeared in 11 of the 11 available papers.
Appears almost every year — treat as core
Average per paper it appears in · 82 marks in total
39% of this chapter's 51 questions
No diagram questions in this chapter
Question-type distribution
- MCQ20
- Short answer17
- Output10
- Difference2
- Definition2
Most frequent topics
Showing 25 of 51 matching questions (82 marks).
25 questions
Choose the correct answers to the questions from the given options. (Do not copy the questions, write only the correct answers.)
Choose the correct answer:
- (a)7.0
- (b)8.0
- (c)6.0
- (d)9.0
A school is giving away merit certificates for the students who have scored 90 percentage and above in class 10. The following program is based on the specification given below. Fill in the blanks with appropriate Java statements. class name : Student Member variables: String name, double per, String cer Member methods: void input(), void merit(), void display(), void main() import java.(i) __________ .*; class Student { String name; double per; String cer; void input() { Scanner obj = new Scanner(System.in); System.out.println("Enter name, Percentage"); name = obj.next(); per = (ii) __________ } void merit() { if( (iii) __________ ) cer = "AWARDED"; else cer = (iv) __________ } void (v) __________ { System.out.println(name); System.out.println(per); System.out.println(cer); } void main() { Student s = new (vi) __________ s.input(); s.merit(); s.display(); } }
- (a)utility
- (b)Util
- (c)util
- (d)UTILITY