Basic java

Quiz
•
Computers
•
University
•
Medium
NANDHINI T
Used 193+ 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
15 questions
Java Programming - Set 1

Quiz
•
University
15 questions
Java Quiz based on array

Quiz
•
University
15 questions
Mobile Application Development Quiz1

Quiz
•
University
15 questions
TEST-1-PREP

Quiz
•
University
12 questions
CSUG Spring 2024 GIM Trivia

Quiz
•
University
10 questions
SPRING INTRODUCTION

Quiz
•
University
10 questions
Java MCQ Test on Control Statements

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade