bcpoker
OPEN
crypto games
Capsule
Capsule 55
55
Full Name: Shreejeet
5 Nov 2024 - 01:05
AM
Score
Correct
67.7% 21
Wrong
32.3% 10
21
68%
Skipped
0% 0 31
Note: This score is not final
1. Identify the conversion
applicable in the given statement
::- char n=(char)4.5;
Explicit conversion
1/1Marks
2. (b) Arrange the operators
given in order of higher
precedence to lower
precedence.::- (i) || (ii) * (iii) <= (iv)
--
https://quizzory.in/answer-sheet/6729221edbef2a742705c299 05/11/24, 1 07 AM
Page 1 of 7
:
(ii) --> (iii) --> (i) --> (iv)
0/1Marks
(iv) --> (ii) --> (iii) --> (i)
3. (c) Which of the following
keyword is used to create a class
function?
class
0/1Marks
static
4. (d) What is the final value
stored in variable x ? double a =
-117.88; double x =
Math.abs(Math.floor(a));
117.0
0/1Marks
118.0
5. Select the Runtime error in the
options given below
int r=578/0;
1/1Marks
6. Wrapping of data members
and member functions into a
single unit is called_________
Encapsulation
1/1Marks
https://quizzory.in/answer-sheet/6729221edbef2a742705c299 05/11/24, 1 07 AM
Page 2 of 7
:
7. The number of bytes occupied
by boolean data type
is_____byte/s
2
0/1Marks
1
8. The is called an Object factory
Class
1/1Marks
9. _______in Java are symbolic
names used for identification.
Identifiers
1/1Marks
10. Method that accepts a string
with space is _____
nextLine()
1/1Marks
11. The wrapper class to which
the method parseLong() belongs
to
Long
1/1Marks
12. Code obtained after the
execution of interpreter
https://quizzory.in/answer-sheet/6729221edbef2a742705c299 05/11/24, 1 07 AM
Page 3 of 7
:
Source code
0/1Marks
Object code
13. The _____with the different
name as of the class and which
does/does not have a return data
type.
Method
1/1Marks
14. The keyword is used to stop
the execution of a method
immediately
break
0/1Marks
return
15. Invoking a function by
passing the primitive data type as
arguments termed as
Call by value
1/1Marks
16. short is non-primitive data
type
false
1/1Marks
17. !((21>3&&44>61 )||
https://quizzory.in/answer-sheet/6729221edbef2a742705c299 05/11/24, 1 07 AM
Page 4 of 7
:
17. !((21>3&&44>61 )||
(11<14&&5==5))
true
0/1Marks
false
18. Scope of instance variable is
with in a class.
true
1/1Marks
19. The else statement is
optional in if-else
true
1/1Marks
20. y*=y-- + --y + ++y - 5; [when
initially y=3]
3
1/1Marks
21.
System.out.print((200*0.1>50*…
200:50))
200
1/1Marks
22. Choose the odd one
Robust
https://quizzory.in/answer-sheet/6729221edbef2a742705c299 05/11/24, 1 07 AM
Page 5 of 7
:
0/1Marks
Inheritence
23. The least number of
arguments that a constructor can
have is
one
0/1Marks
zero
24. What do we call a function
that can cause a change of state
in the object
Impure function
1/1Marks
25. (b) The functions that are
readily available for use are
called:
User defined
1/1Marks
26. (c) _____functions are
readymade in Java library
Package defined
0/1Marks
System defined
27. (d) The functions of a class
https://quizzory.in/answer-sheet/6729221edbef2a742705c299 05/11/24, 1 07 AM
Page 6 of 7
:
can be imported by the clause
import
1/1Marks
28. (e) Classes are bundled
inside________
package
1/1Marks
29. (f) import is a ______
Keyword
1/1Marks
30. println() is a function of which
class
System
1/1Marks
31. _____ is a static final double
constant in Java, equivalent to in
π Mathematics.” Provided by
java.lang.Math class
Math.PI
1/1Marks
Powered by 'SurveyHeart'
https://quizzory.in/answer-sheet/6729221edbef2a742705c299 05/11/24, 1 07 AM
Page 7 of 7
: