Basic java

Quiz
•
Computers
•
University
•
Hard
NANDHINI T
Used 197+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of short data type in Java
-128 to 127
-32768 to 32767
-2147483648 to 2147483647
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What is the range of byte data type in Java?
a) -128 to 127
b) -32768 to 32767
c) -2147483648 to 2147483647
d) None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An expression involving byte, int, and literal numbers is promoted to which of these?
Int
Long
Byte
Float
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these literals can be contained in float data type variable?
a) -1.7e+308
b) -3.4e+038
c) +1.7e+308
d) -3.4e+050
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these operators is used to allocate memory to array variable in Java?
malloc
alloc
new
new malloc
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is necessary to specify at time of array initialization?
Row
Column
Both row and column
None of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these have highest precedence?
()
++
*
>>
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Basics of C

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
10 questions
Java_2

Quiz
•
University
12 questions
JavaScript Quiz

Quiz
•
University
10 questions
Overview of Java Web Development

Quiz
•
University
8 questions
CSE 15L Lab 9

Quiz
•
University
10 questions
JAVA FOR ANDROID-JAVA

Quiz
•
University
13 questions
JavaScript Variables

Quiz
•
3rd Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University