Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Best Practices to Improve The Performance Of The System

Total questions: 7

Worksheet time: 4mins

Name
Class
Date
1.

From the choices below, which are practical applications of Indexing? Choose all that apply.

a)

Phonebook

b)

Essay

c)

Table of Contents

d)

Philippine History Timeline

2.

Fill in the blank. Choose the most appropriate word.


Definition of Indexing


The way to get an unordered table into an order that will ________ the query’s efficiency while searching

a)

Reduce

b)

Escalate

c)

Maximize

d)

Lessen

3.

In the Lua function GetDLDObjectInfo(), which property should be added/used and should be set to "true" if you want to get the information of the objects inside a specific object?

a)

bool addProperty

b)

bool includeParent

c)

string objectChildren

d)

bool includeChildren

4.

Which of the following statements are true about indexing?

a)

It makes the reading and writing faster.

b)

It makes the writing faster but makes the reading slower.

c)

It makes the reading faster but makes the writing slower.

d)

It makes both the reading and writing slower.

5.

In this MongoDB Create Index command, which is the table name?

db.getCollection("TN_Meritize").ensureIndex({"ActiveAppsFlag":1, "system.hidden":1}, {name: "InactiveTables", background: false });

a)

"TN_Meritize"

b)

"InactiveTables"

c)

"ensureIndex"

6.

Which MySQL DROP Index command is correct?

a)

ALTER sampledb.sampletable DROP INDEX findRecord;

b)

DROP INDEX findRecord IN sampledb.sampletable;

c)

ALTER TABLE sampledb.sampletable DROP INDEX findRecord;

d)

IN TABLE sampledb.sampletable DROP INDEX findRecord;

7.

You have a source connector that still process all the code in the output parsing script even if there is no data stream returned which results to slow performance. What can you do to improve the performance of it?

a)

Create a conditional statement and an error flag that will be used to prevent running the succeeding codes if the error flag is empty

b)

Rearrange the code so that the data stream will be supplied with a value even if the data source don't send anything

c)

Create a conditional statement and an error flag that will be used to prevent running the succeeding codes if the data stream is empty