Basic java

Basic java

University

10 Qs

quiz-placeholder

Similar activities

JAVA QUIZ-1

JAVA QUIZ-1

University

10 Qs

JAVA UNIT 1 PART 3

JAVA UNIT 1 PART 3

University

13 Qs

Java Identifier & Datatype

Java Identifier & Datatype

University

10 Qs

Android Fundamentals - Day 2 : Android Basics

Android Fundamentals - Day 2 : Android Basics

University - Professional Development

10 Qs

PBD Pertemuan 03

PBD Pertemuan 03

University

10 Qs

Programming Standard Input

Programming Standard Input

University

10 Qs

Chapter 1 Introduction to Computers and Java

Chapter 1 Introduction to Computers and Java

University

15 Qs

OOPJ- Data Types-Java

OOPJ- Data Types-Java

University

10 Qs

Basic java

Basic java

Assessment

Quiz

Computers

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?