Search Header Logo

QA test (LNU 2021)

Authored by Volodymyr Gura

Computers

KG

Used 6+ times

QA test (LNU 2021)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is Z?


X + X + Z = 17

Y + Y + Z = 17

X + Y = 10

3

5

6

7

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many swaps are required to sort the given array using bubble sort ascending - { 2, 5, 1, 3, 4}

4

5

6

7

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the program?&nbsp;</p>


boolean bool = true;

if (bool = false) {

System.out.println("a");

} else if (bool) {

System.out.println("b");

} else if (!bool) {

System.out.println("c");

} else {

System.out.println("d");

}

a

b

c

d

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

java.util.Collections is a

Class

Interface

Object

None of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of those allows duplicate elements?

Set

List

All

None of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Object-Oriented Programming means

being objective about what you develop

designing the application based on the objects discovered when analyzing the problem

writing an algorithm before writing your program and having a test plan

writing a program composed of Java classes

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a Java keyword?

static

try

Integer

new

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?