OPPS-IT-B-B1 QUIZ-2

OPPS-IT-B-B1 QUIZ-2

University

10 Qs

quiz-placeholder

Similar activities

Capitulo 4

Capitulo 4

University

9 Qs

Cuestionario de Computación

Cuestionario de Computación

University

10 Qs

AD-SESION_4-USA-G35

AD-SESION_4-USA-G35

University

10 Qs

IF

IF

University

10 Qs

Demo 2

Demo 2

University

11 Qs

MODULO 2_2 Cuestionario_1

MODULO 2_2 Cuestionario_1

University

15 Qs

GE201 Coding

GE201 Coding

University

10 Qs

8051 microcontroller basics

8051 microcontroller basics

University - Professional Development

10 Qs

OPPS-IT-B-B1 QUIZ-2

OPPS-IT-B-B1 QUIZ-2

Assessment

Quiz

Education

University

Hard

Created by

roja laveti

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of the long variable in java

4 bytes

8 Bytes

2 Bytes

6 Bytes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the range of the short variable in java

-128 To 127

-32768 To 32767

0 to 65535

-32767 To 32768

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not primitive types in java.

boolean

Integer

float

double

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to store low precision floating numbers .

double

float

int

long

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid java identifier ?

my_var

_myvar

$myvar

3myVar

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not valid way to declare long type variable

long x=123L

long x=0x123

long x=123.0

long x=123

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

class char_increment

{

public static void main(String a[])

{

char c1='D';

char c2=84;

c2++;

c1++;

System.out.println(c1+" " c2);

}

}

E U

U E

V E

U F

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?