
JAVA QUIZ-I
Authored by Mahaboob Shaik
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the size of char data type in java
16 bytes
8 bits
16 bits
1 byte
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Standard code used to represent character in java
ASCII
IEEE
Unicode
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
byte b=123;
b+=5
What is the value of b
128
error
-127
-128
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is true
bytecode is platform independent
JDK is platform independent
javac is platform independed
JRE is platform independent
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which are the following is not a feature of java
Dynamic Linking
Dynamic Typing
Object Oriented
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int a=0;
if(a)
System.out.println("Yes");
else
System.out.println("No");
What is the output of the above code
Yes
No
Error
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following for loop declaration is not valid?
for ( int i = 99; i >= 0; i / 9 )
for ( int i = 7; i <= 77; i += 7 )
for ( int i = 20; i >= 2; - -i )
for ( int i = 2; i <= 20; i = 2* i )
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
19 questions
DSA Quest 1.0
Quiz
•
University
10 questions
cp06-01-1D-Array
Quiz
•
University
20 questions
DreamWeaver CS6
Quiz
•
University
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
18 questions
Hardware/Software
Quiz
•
9th Grade - University
10 questions
kuis cepat sejarah perkembangan komputer
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade