Loops and operators java

Loops and operators java

University

13 Qs

quiz-placeholder

Similar activities

Week 2 - A2 Languo Unit 3 Vocabulary

Week 2 - A2 Languo Unit 3 Vocabulary

University

12 Qs

Information And Communication Technology

Information And Communication Technology

University

10 Qs

The Egypt Game - Chaps. 5-8

The Egypt Game - Chaps. 5-8

KG - University

10 Qs

U10AjarnNan

U10AjarnNan

University

10 Qs

Reading Comprehension FS

Reading Comprehension FS

University

15 Qs

Q:Skills Advanced Reading Unit 1 Vocabulary #1

Q:Skills Advanced Reading Unit 1 Vocabulary #1

University

12 Qs

security in IT

security in IT

University

12 Qs

English Vocab quiz

English Vocab quiz

1st Grade - Professional Development

10 Qs

Loops and operators java

Loops and operators java

Assessment

Quiz

English

University

Practice Problem

Hard

Created by

Abdul Rahman

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to get 'char' input from the user?

next();

nextLine();

next(0);

next.charAt(0);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the encoding system used in 'char' datatype in java

Unicode

ASCII

Jcode

JavaEncoding

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for(int i=0;i++ < 5;i++){

System.out.print(i);

}

135

error

12345

1234

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for(int i=0;i< 5 || i++< 7;){

System.out.print(i);

}

135

1234567

01234567

infinite loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a=5;

System.out.println(a++ + ++a - a-- - --a);

0

1

2

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

if(1){

System.out.println("hello");

}

error

hello

no output

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a=5;

if(a==5){

System.out.println("five");

}

a=6;

else{

System.out.println("fivefive");

}

error

five

fivefive

5

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?