Search Header Logo

Quiz-O-Tech Round 2

Authored by S D Keerthiga Devi

Computers

University

Used 1+ times

Quiz-O-Tech Round 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 20 pts

When traversing a binary tree, which diagram is post-order?

Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

2 mins • 20 pts

Given a sequence of number below:

50,60,40,70,45,55,30,80,65,35,25,75,85


When creating a binary search tree, what is the height of the tree?

3

4

5

6

3.

MULTIPLE CHOICE QUESTION

2 mins • 20 pts

Media Image

Given a binary search tree, insert 27, 15, 63, 99, 70 and 85 (in this order) into the binary search tree. What is the post-order traversal?

5,15,27,34,47,54,63,70,72,75,83,85,88,94,99,101

72,54,34,5,27,15,47,63,70,83,75,88,85,101,94,99

15,27,5,47,34,70,63,54,75,85,99,94,101,88,83,72

15,27,5,47,34,63,54,70,75,85,99,94,101,88,83,72

none of the above

4.

MULTIPLE CHOICE QUESTION

2 mins • 20 pts

In Java, which of the following is the correct syntax to create a new thread?

Thread t = new Thread(); t.start();

Thread t = new Thread(); t.run();

Thread.start();

new Thread().begin();

5.

MULTIPLE CHOICE QUESTION

2 mins • 20 pts

In an exhibition seven brands have put up their stalls

- Each of these stalls are facing east.

-The seven brands which have put up a stall include: Titan, Biba, Landmark, Adidas, Puma, Zara and Reebok.

-Titan is next to the right of Reebok

-Reebok is fourth to the right of Landmark

-Adidas is between Biba and puma

-Landmark which is third to the left of Biba, is at one end

Which brand is displayed on the immediate right of Titan?

Puma

Reebok

Adidas

Zara

6.

MULTIPLE CHOICE QUESTION

2 mins • 20 pts

Media Image

Consider the following table Employee.

Which query will return the second highest salary?

SELECT MAX(Salary) FROM Employee;

SELECT Salary FROM Employee WHERE Salary < MAX(Salary);

SELECT MAX(Salary) FROM Employee WHERE Salary < (SELECT MAX(Salary) FROM Employee);

SELECT DISTINCT Salary FROM Employee ORDER BY Salary DESC LIMIT 2;

7.

MULTIPLE CHOICE QUESTION

2 mins • 20 pts

Media Image

What will the following query do?

Return orders placed on 2023-01-01 or 2023-12-31 only

Return orders placed before 2023-01-01

Return orders placed in the year 2023, including 2023-01-01 and 2023-12-31

Return orders placed after 2023-12-31

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?