OPPS-IT-B-B1 QUIZ-2

OPPS-IT-B-B1 QUIZ-2

University

10 Qs

quiz-placeholder

Similar activities

Sharepoint - Wildfly

Sharepoint - Wildfly

University

10 Qs

หลักการทำงานของคอมพิวเตอร์ (ปวส.1/2 สาย ม.6)

หลักการทำงานของคอมพิวเตอร์ (ปวส.1/2 สาย ม.6)

University

15 Qs

Java Reserved Words

Java Reserved Words

University

10 Qs

Microcontroller 8051 6th Sem Section H

Microcontroller 8051 6th Sem Section H

University

10 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

University

12 Qs

JavaScript - WAC (Day 2)

JavaScript - WAC (Day 2)

10th Grade - University

8 Qs

VCS QUIZ 6

VCS QUIZ 6

University

10 Qs

TikTok Game Group F(3)

TikTok Game Group F(3)

University

6 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?