QA test (LNU 2021)

QA test (LNU 2021)

KG

20 Qs

quiz-placeholder

Similar activities

Java Base

Java Base

9th - 12th Grade

19 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

Java Array Basics

Java Array Basics

10th - 12th Grade

15 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Pretest C++

Pretest C++

11th Grade

20 Qs

Single Array

Single Array

10th - 12th Grade

15 Qs

Examen sobre Arrays y Matrices

Examen sobre Arrays y Matrices

University - Professional Development

20 Qs

Array

Array

University

18 Qs

QA test (LNU 2021)

QA test (LNU 2021)

Assessment

Quiz

Computers

KG

Hard

Created by

Volodymyr Gura

Used 6+ times

FREE Resource

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

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?