stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Class Test Chp 1 to 5 Flashcards | StudBud
Explore
/
Class Test Chp 1 to 5
Class Test Chp 1 to 5
20 terms
·
StudBud Administration
·
1 play
Imported from external platform
Flashcards
20 cards
F
Practice quiz
P
Host live
L
Questions
20
Answers
1
Java concepts that's implemented by: The act of representing essential features without including background details.
Abstraction
Inheritance
Polymorphism
Encapsulation
2
Name the two-character sets that Java supports?
ASCII character set
UPPER CASE character set
Unicorn character set.
LOWER CASE character set
3
? : operators is called
The modulus operators
Conditional Operator
The Division Operator
Question Operator
4
Which two factors are considered when two or more operators are used in an expression?
Associativity & Precedence
No such order
First Come First Serve
Last Come First Serve
5
Name any two Object Oriented Programming principals.
Data Abstraction
Compiler
Interpreter
Data Handling
6
Arrange the following primitive data type based on their range. (i) boolean (ii) float (iii) long (iv) short
I, iv,ii,iii
iv,ii,I,iii
iii,I,iv,ii
I,ii,iii,iv
7
Unary Operator.
$
&
++
%
8
How do multiple objects interact with each other in a program?
Message between objects
Message between interpreter
Message between compiler
Objects Never interacts
9
Produce an audible bell(beep sound)
\a
\r
\\
\t
10
! operators is called
Question Operator
Logical NOT Operator
Exclamation Marking Operator
Conditional Operator
11
Name translator programs.
Core Java
Interpreter and Compiler
None
Advance Java
12
Evaluate the value of m, if value of a=89, b=23 int m=(a-b) < (b-a)? (a-b): (b-a)
89
23
-66
66
13
Identify the string literals listed below.
Baby\’s day out'
“Baby\’s day out”
765693
765693'
14
% operators is called
The Division Operator
Bitwise Operator
Unary Operator
The modulus operators
15
/ operators is called
The modulus operators
Bitwise Operator
Unary Operator
The Division Operator
16
Evaluate the value of m, if value of a=20. m = ++a + a--
40
42
41
20
17
operand1 ||operand2
Logical NOT Operator
Logical OR Operator
Logical Yes Operator
Logical AND Operator
18
Java concepts that is implemented through "A super class and a subclass"
Polymorphism
Encapsulation
Inheritance
Abstraction
19
Inserts a carriage return
\r
\d
\a
\\
20
(data-type) expression
variable declation
Explicit Type Conversion
constant declaration
Implicit Type Conversion