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
BASIC PROGRAMMING QUIZ by Group 5

Quiz
•
University
10 questions
java script

Quiz
•
University
8 questions
Java operators

Quiz
•
University
12 questions
Java

Quiz
•
University
10 questions
Golang Complete Guide for Back End

Quiz
•
University
15 questions
MultiThreading Quiz

Quiz
•
University
10 questions
Java

Quiz
•
University
10 questions
C++ Variables, Literals, and Constants Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University