Automata Fix - Unit 1

Automata Fix - Unit 1

University

10 Qs

quiz-placeholder

Similar activities

OOP Module 3 Tutorial (Quiz)

OOP Module 3 Tutorial (Quiz)

University

10 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

R Quiz

R Quiz

University

10 Qs

Cloud Computing Quiz

Cloud Computing Quiz

University

10 Qs

TIU Quiz-9

TIU Quiz-9

University

10 Qs

Mapeamento e Normalização BD

Mapeamento e Normalização BD

University - Professional Development

15 Qs

python basics

python basics

11th Grade - University

15 Qs

Automata Fix - Unit 1

Automata Fix - Unit 1

Assessment

Quiz

Computers

University

Hard

Created by

Dr. Geetha

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

public class A {

public static void main(String[] args)

{

if (true)

break;

}

}

Nothing

Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

public class A {

public static void main(String[] args)

{

System.out.println('j' + 'a' + 'v' + 'a');

}

}

java

Some other

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

public class Demo{

public static void main(String[] arr){

Integer num1 = 100;

Integer num2 = 100;

Integer num3 = 500;

Integer num4 = 500;


if(num1==num2){

System.out.println("num1 == num2");

}

else{

System.out.println("num1 != num2");

}

if(num3 == num4){

System.out.println("num3 == num4");

}

else{

System.out.println("num3 != num4");

}

}

}

num1 == num2

num3 == num4

num1 == num2

num3 != num4

num1 != num2

num3 == num4

num1 != num2

num3 != num4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following program ?

public class Prg {

public static void main(String args[]){

System.out.print('A' + 'B');

}

}

AB

195

131

Error

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of following program?

public class Prg { public static void main(String args[]){ System.out.print(20+ 1.34f + "A" + "B"); }}

201.34AB

201.34fAB

21.34AB

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of following program?

public class prg {

public static void main(String[] args) {

System.out.print("Hello");

System.out.println("Guys!");

}

}

HelloGuys!

Hello Guys!

Hello

Guys!

Compile with a Warning

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

String x = new String("xyz");

String y = "abc";

x = x + y;

How many String objects have been created?

2

3

4

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?