You are on page 1of 30

IONtox 01 rounsunn@gmail.

com End test

6_ Simple Interest earned on a principal of Question 8 Max score: 2.00 0


INR 6500 over a period of one year is
What is the output of the following Java code:

7 What is the outputof the following Java + 4.0


code: import java. util.*'
import java. lang.*
8. What is the output of the following
Java code:
public classStringMatch

public static void main(stringt] args)


9_ The following graph represents the
revenue generated by a digital
Strang regex =
regex);
10_ Which of the following statements 'Will" regex);
you consider to determine how many
_StringMatch . tpmpare ( "Java@Program" regex) ;

11. A bank gives a loan of amount INR 3 public static void compare(Stringstr, String regex)
- lakhs to a man at the rate of 8% p.a.
if (str.matches(regex))
12- The following graph represents the
expenditureof the top five automobile System. out. printlh(str + matches " ) ;

13- You have two tables called Employee


and Department,
System. + ' does not match");
14 In Java, you have createda program
that can convert your variable of the
6 SempieInterest earned on a principal of
lt€R 6500 over e period of one year is
Hacker@Earth. com does not match
a@Nmatches
7 Vöat is of the followingJava
Java@Programdoes not match

S. What is the output of the following


Java code:
Hacker@Earth.comdoes not match
a@Nmatches
9_ The following graph represents the Java@Programmatches
revenue generated by a digital

10. Which of the following statements will


you consider to determine how many Hacker@Earth.com matches
natches
Java@Program matches
11_A bank gives a loan of amount INR 3
- lakhs to a man at the rate of 8% p.a.

- 12_The following graph represents the


expenditure of the top five automobile

13- You have two tables called Employee


and Department.

14. In Java, you have created a program + 4.0


that can convert your variable of the
Compilation error
Question 9 Max score: 2.00 0
6. Simple Interest eamed on a principal of 20
INR 6500 over a period of one year is
The following graph representS the revenue generated by a digital marketing company named DigiMagic by the selling two of its tools-CRM and
MarketingAutomationin the period 2013-2017.What was the percentage increase in the revenue generated from Marketing Automationtool
7 What is the output of the following Java
between years 2013 to 2014?
code:

Revenue in $ million
8_ What is the output of the following • 2.0
125
Java code: 120
115

100
100
9. The following graph representsthe
revenue generated by a c*gital

10. Which of the following statements will


you consider to determine how many
40

50
Il A bank gives a loan of amount INR 40
lakhs to a man at the rate of 8% p.a.
2013 2014 2015 2016 2017
• CRM Sottwae MarkdmgAlforrøbon
12- The following graph represents the
expenditureof the top five automobile
15%

13- You have two tables called Employee


and Department.
20%

14- In Java, you have created a program + 4.0


25%
that can convert your variable of the

15. Based On the following tables,


6 Smple Interesteamed on a principal of The following qtapln tepresents the revenue generated by a digital marketing company named DigiMagic by the selling two of its tools-CRM and
INR 6500 over a period of one year is Marketing Automation in the period 2013-2017.What was the percentage increase in the revenue generated from Marketing Automation tool
between years 2013 to 2014?
7 What is the output of the following Java
Revenue in $ million

120
115
8. What is the output of the following • 2.074
Java code: 100
100

9. The following graph represents the


revenue generated by a digital

40
10. Which of the following statements will + 2.0
you consider to determine how many

11_A bank gives a loan of amount INR 3 2013 2014 2015 2016 2017
lakhs to a man at the rate of 8% p.a. CRM Sottv.ae

12. The following graph represents the 15%


expenditure of the top five automobile

20%
13. You have two tables called Employee
and Department.

25%

14- In Java, you have created a program


that can convert your variable of the
27%
10N tox Challenge 01 rounsunn@gmajl.com End test

6. Simple Interest earned on a principal of


INR 6500 over a period of one year is Question 10 Max.score:2.00 0

7 What is the outputof the followingJava Which of the following statements willyoufonsider to determine -how many daughters John has:
code:
1. Donna vand Linda are Kevin's siSters.
2. Kevin is John's only son.
8. What is the output of the following
Java code:
Statement 1,only

9_ The following graph represents the


revenue generated by a digital Statement 2 only

10, Which of the following statements will - Neither statement 1 nor 2


you consider to determinehow many

Both statements 1 and 2


11_A bank gives a loan of amount INR 3
lakhs to a man at the rate of 8% p.a.
c ) ResetAnswer

12- The following graph represents the


expenditure of the top five automobile

13 You have two tables called Employee


and Department.

14. In Java, you have created a program


that can convert your variable of the

151 Based On the following


6. Simple Interest earned on a principal of •2.0
INR 6500 over a period of one year is Question 11 Max. score: 4.00 0

7 What is the output of the following Java A bank gives a loan of amount INRO lakhs to a man at the rate of 8% p.a. simple interest. After every three years, the rate becomes double for the
code: same amountof money.
What is the total amount-theman will håve tqoay after 8 years?

8. What is the output of the following


Java code: INR 3.60,OOO

9. The following graph represents the INR 4,92.OOO


revenue generated by a digital

INR
10. Which of the following statements will
you consider to determine how many
'NR 7.08,OOO

Il. A bank gives a loan of amount INR 3


lakhs to a man a the rate of 8% p.a O Reset Answer

12. The following graph represents the


expenditure of the top five automobile

13. You have two tables called Employee


and Department.

14. In Java, you have created a program


that can convert your variable of the

BÅSéd folloWing tables, what is


6_ Simple Interest earned on a principal of
INR 6500 over a period of one year is Question 11 Max. score: 4.00 0

7 What is the output of the following Java A bank gives a loan of amount;iNR iak11Sto a man at thé rate of 896p.a. simple interest. After every three years, the rate becomes double for the
code: same amountof mone

8. What is the output of the following +20


Java code: INR

9_ The following graph represents the 492,000


revenue generated by a digital

INR
10. Which of the following statements will 2.0

you consider to determine how many


INR 7,08.OOO

11. A bank gives a loan of amount INR 3


lakhs to a me aqthe rate of 8% p.a. Reset Answer

12_The following graph represents the


expenditure of the top five automobile

13. You have two tables called Employee


and Department.

+ 4.0
14. In Java, you have created a program
that can convert your variable of the

+ 2.0
15: Based on the following tables, what is Next Question >
6. Simple Interest eamed on a principal of Question 12

INR 6500 over a period of one year is


The following graph represents.the expenditure of the top five automobile companies on R&D (Research & Development) and the percentage of
7. What is the output of the following Java revenue spent on R&D (Research & Development) in 2011
code:
By what percentage is the revenue oi General Motorsmorethan that of Honda?

8. What is the output of the following 2.0} Automobile Data (2017)


Java code:
700

9- The following graph represents the


revenue generated by a digital

10 Which of the following statements will


you consider to determine how many

119
100
11. A bank gives a loan of amount INR 3 59

- lakhs to a man at the rate of 8% p.a. 48 22 3.9

Tqota Motor Grog) General HorW a


Cotporauon
• Spendng (him) • % Reverwe
12. The following graph represents the
expenditureof the top five automobile
56.35%

13. You have two tables called Employee


and Department. 0 62.5%
t)

14. In Java, you have created a program 64.25%


that can convert your variable of the

58.25%
+ 2.0
15. Based on the following tables, what is
the output of the SQL query:
6. Simple Interest earned on a principal of Question 12

INR 6500 over a period of one year is

The following graph represents_theexpenditure of the top five automobile companies on R&D (Research & Development) and the percentage of
7 What is the output of the Java 4.0 revenue spent on R&D (Research & Development) in 2017.
code:
By what percentage is the revenue of General Motorsmore than that of Honda?

8_ What is the output of the following Automobile Data 2017)


Java code:
700

9. The following graph represents the


revenue generated by a digital

10 Which of the following statements will 2.0


you consider to determine how many

119
100
Il. A bank gives a loan of amountINR 3 59
Vlakhs to a man at the rate of 8% p.a. 4.8 2.2 26
Toyota Motor Gran General Honda

• R&D (Sausm) • % Revenue


12_ The following graph represents the
expenditureof the top five automobile
56.35%

13. You have two tables called Employee


and Department. 0 62.5%

14_ In Java, you have created a program * 4.0

that can convert your variable of the

58 25%
15 Based on the following tables, what is
the output ofthe SOL query:
Ouestion 13 Max. score: 4.00 0

8. What is the output of the following You have two tables called Employee and Department.
Java code:
Employee

9. The following graph represents the Field Type


revenue generated by a digital
Employeeld int

10. Which of the following statements will EmployeeName text


you consider to determine how many
Departmentld

Il. A bank gives a loan of amountINR 3 Department


lakhs to a man at the rate of 8% p.a.
Field Type

12 The following graph -representsthe Departmentld int


expenditure of the top five automobile
DepartmentName text

13- You have two tables called Employee Sample input


and Departmentl
Employee

14. -In Java, you have created a program Employeeld EmployeeName Departmentld
that can convert your variable of the
Mark

15, Based on the following tables, what is John


the output ot the SQL query:
Mike

2.0 Mary
16. Which of the following
statements helps you to determine the
Sample input

Employee
8. What is the output of the following
Java code: Employeeld EmployeeName Departmentld

Mark
9. The following graph represents the
revenue generated by a digital John

Mike
10. Which of the following statements will
you consider to determine how many Mary

Anita
Il. A bank gives a loan of amountINR 3
lakhs to a man at the rate of 8% p.a. Department

Departmentld {DepartmentNam
12. The following graph represents the 40
expenditure of the top five automobile IT

13. You have two tables called Employee


and Department Payroll

Admin
14- In Java, you have created a program
that can convert your variable of the Sample Output

DepartmentName EmployeeName
15. Based on the following tables, what is + 2.0

nthe output of the SQL query. Mark

IT John
16. Which of the following
statements helps you to determine the IT Mike

HR Marv
Sample Output

S, What is the output of the following


DepartmentName EmployeeName
Java code:
IT Mark

9. The following graph represents the Sao John


revenue generated by a digital
IT Mike

HR Mary
10. Which of the following statements will 2.0
you consider to determine how many HR Anita

Il. A bank gives a loan of amountINR 3 40 Using the Employee nd Depa e table hiclmofthe following queries will returnthe same sample output
lakhs to a man at the rate of 8% p.a.
Queries

12 The following graph represents the


expenditure of the top five automobile
selecf DepartmentName,Émp10yeeNamefron Employee JOIN DepartmentÆN
Department. DepartmenfId=Empwee . Departmentld;
13_You have two tables called Employee
and Department.

14 In Java, you have created a program


select DepartmentName,EmployeeNamefrom Employee LEFT, JOIN Department ON
- that can convert your variable of the
Department . DepartmentId=Emp10yee . Departmentld;

15. Based on the following tables, what is


the output ot the SQL query:

select DepartmentName,Emp10yeeName from Employee RIGHT JOIN Department ON


16; Which of the following 4 2.0 Department. DepartmentId=Emp10yee. Departmentld ;
statements helps you to determine the
HR Anita

8. What is the output of the following


Using the Employee and Department tables. which of the following queries will return the same sample output
Java code:
Queries

9_ The following graph represents the


revenue generated by a digital
select DepartmentName,EmployeeNamefrom Employee JOIN Department ON
Department. DepartmentId=Emp10yee. Departmentld;
10 Which of the following statements will
you consider to determine how many

11_-
A bank gives a loan of amount INR 3 .40
Employe"me fr?m EmployeeLEFT JOIN DepartmentON
select DepartmentNameo
lakhs to a man at the rate of 8% p.a.
Department,Departmentld=åmpå ee. epartmenfld;

12 The following graph represents the


expenditure of the top five automobile

select DepartmenQName,EmployeeNamefrom,' RIGHT POIN Department 0M


13_You have two tables called Employee Depa rtment . DepartmentId=Empiuee. pep a
and Department!

Only 1
14_ In Java, you have created a program
that can convert your variable of the
only2

15. Based on the following tables, what is


the output of the SQL query: It and 2

-16_Which of the following


1 and 3
statements helps you to determine the
wntcn OT tne t01townng statements Will
Ouestion 14 Max. score: 400 0
you consider to determine how many

In Java, you have created a proglam that can convert your variable of the data type integer to the data types Double, Char, and String. For this, you
Il. A bank gives e loan of amount INR 3 have implemented an interface that has all three methods for three differentdata type conversions. Now, in this scenario. you cannot implement only
lakhs to a man et the rate of p.a. that method that converts your data type from Integer to string. To overcome this issue, you have implemented one of the SOLID principles and split
the interfaces into three different ones as follows. Which of the following SOLID principles you must have implemented in this scenario to perform
12. The following graph represents the 4.0 this action:
expenditure of the top five automobile
Interface before implementationof SOLID ßrinciple.e

13 You have two tables called Employee public interface Hackm DataType change
and Department
7
public void intToDoÜbåe (
14 In Java, you have *eated a program public ,void intT Cnar() •
that can convert your variable of the public "oid charToString

15 Based on the following tables, what is


the output of the SQL query: After, implementation of SOLID principle:

public ,interface HackmydataintToDoub1e


16 Which of the following
statements helps you to determine the
public void intToDoub1e();

17_ Mike has a total amount of INR


public interface HackmydataintToChar
2,70,000. He invested a part of it at the

public void intToChar();


18- The following bar graph represents the
exports of cotton (in million kilograms)
public interface HackmydataintToString

19 In MySQL,' consider the provided voidQlarToString();


tables. You want to list the following
u wmcn OT me T01towtng ste
After implementation of SOLID principle:
you consider to determine how many

public interface HackmydataintToDoub1e


11.A bank gives a loan of amount INR 3
lakhs to a man at the rate of p.a.
public void intToDoub1e();

12. The following graph represents the 4.0 public interface HackmydataintToChar
expenditureof the top five automobile

public void intToChar(


13. You have tw•otables called Employee
and Departrnent. public interface Hackmydåtaint+o
fring

14_In Java, you have *eated a program -440 public void charTo%r n (
that can convert your variable of the

15_Based on the following tables, what is


the output of the SOL query:
Single Responsibility Principle (SRP)

16- Which of the following


statements helps you to determine the Open-Closed Principle (OCP)

17 Mike has a total amount of INR Liskov Substitution Principle (LSP)


2,70,000. He invested a part of it at the

± 2.0} Interface Segregation Principle (ISP)


18- The following bar graph represents the
exports of cotton (in million kilograms)
Reset answer

19. In MySOL, consider the provided


to list fhe foi\owing
Touowqng statements Wi

you consider to determine how many Question IS Maxscore:2.00 0

11.A bank gives a loan of amount INR 3 Based on the following tables. what is the output of the SQL query:
lakhs to a man at the rate of 8% p.a.
CUSTOMER

12. The following graph represents the CUSTID NAME


expenditureof the top five automobile
4000 Mike

13. You have two tables called Employee 5000 Tara


and Department
6000 Alice

700 Bob
14- In Java, you have created a program
that can convert your variable of the 8000 Mary

9000 John
35. Based on the foll+ing tables, what is
the outputof the SQL query: ORDQFS

ORDERID CUSTID DATE


16- Which of the following
statements helps you to determine the 7000 _2016/04/17

5000 2016/03/17
17_Mike has a total amount of INR
2,70,000. He invested a part of it at the 8000 2016/03/29

4000 2016/04/25
IR The following bar graph represents the
exports of cotton (in million kilograms) Query

SELECT NAME FROM CUSTOMER WHERE EXISTS (SELECT * FROM ORDERS


19 In MySQL, consider the provided
You want to -fishthe ioÄlowing WHERE?'CÜSTOMERÆÜSTZY BY- NAME;
SELECT NAME FROM CUSTOMER WHERE EXISTS (SELECT FROM ORDERS
Il. A bank gives a loan of amount INR 3
lakhs to a man at the rate of 8% p.a. WHERE CUSTOMER.CUSTID e. ORDERS.CUSTID)ORDER BY NAME;

Output
12 The following graph represents the 40
expenditure of the top five automobile

NAME
13 You have two tables called Employee
and Department. Bob
Tara

14- In Java, you have created a program Mary


that can convert your variable of the
Mike

15. Based on the following tables, what is


the output of the SQL quey.

Bob
16. Which of the following
statements helps you to determine the Mary

Mike

Mike has a total amount of INR Tara


He invested a part of it at the

18 The followingbar graph representsthe NAME


exports of cotton (in million kilograms)
Mike

+ 6.0
Tara
19. In MySOL, consider the provided
tab est%YowwantztOlist the following Bob
lekhs to a man at the rate of p.a.
NAME

12 The following graph represents the .40 Bob


expenditureof the top five automobile Mary

Mike
13. You have two tables called Employee
Tara
and Department

14_In Java, you have created a program


that can convert your variable of the NAME
Mike

15_ Based on the following tables, what is Tara


the output of the SOL query.

Mary
'16-Which of the folloving
statements helps you to determine the

-17 Mike has a total amountof INR


2,70,000. He invested a part of it at the

18- The following bar graph represents the


exports of cotton (in million kilograms)
Syntax error

M9- In MySQL, consider the provided +60


following
Question 16
12. The following graph represents the Max.score:2.00 0
expenditure of the top five automobile
Which of the following statementshelps you to determine the total length of 20 ropes each of the same length:

13- You have two tables called Employee 1. One-fourth of the lengfh of rpp? 10 meters.
and Department. 2. The total length of the three éop€sihsM20"Gelefs.

14_ In Java, you have created a program 40 Only statement t is sufficient


that can convert your variable of the

Only statement 2 i$ sufficienet


15_ Based on the following tables, what is
the output of the SQL query:
Either QaiÅmentk1Or etÅtement2hs sufficien

16. Which of the followißg


statements helps you to determine the Data Insufficient

17 Mike has a total amountof INR Reset Answer I '1


2,70,000. He invested a pert of it at the

18--The following bar graph represents the


exports of cotton (in million kilograms)

19- In MySQL, consider the provided


tables. You want to list the following

2 Programming questions
Question 17 Max. score: 4.00 0
12. The following graph represents the 4.0
expenditureof the top five automobile
Mike has a total amount of INR 270,000, He Invested a part of it at the simple interest rate of 15% p.a. and inother part at 20% p.a.
If after 3 years he got a totallnter st.of!iNÅ 49,600, what is gheamount he invested at both the places?
13. You have two tables called Employee
and Department
INR 1,6QOQOand INR 1/0

14_In Java, you have created a program


that can convert your variable of the INR 130000 and I 14

15_ Based on the following tables, what is .INR and INA 1120.000
the output of the SQL query:

None of these
16. Which of the following
statements helps you to determine the
O fieset Answe/:

IT Mike has a total amountof INR


2,70,000. He invested a part of it at the

18 The following bar graph represents the


exports of cotton (in million kilograms)

19. In MySQL, consider the provided


tables. You want to list the following

2 Programming questions

Next Question >


20. Digit sum
Ouestion 17 Max.score: 4.00 0
12. The following graph represents the
expenditureof the top five automobile
Mike has a total amount of INR He 'invested a part of it at the simple interest rate of 15% p.a. and another part at 20% p.a.
If after 3 years he got totalInterest of INR what is the amount he invested at both the places?
13_You have tvvotables called Employee
and Department.
INR and INR

14. In Java, you have created a program


that can convert your variable of the INR 1.30,OOO 14 ,OOO

15. Based on the following tables, what is + 2.0 -INR and INR 180,000
the outputof the SQL query:

None of•these
16. Which of the following
statements helps you to determine the
Reset Answer

17 Mike has a totalkmount of INR


2,70,000. He invested a part of it at the

18. The following bar graph represents the


exports of cotton (in million kilograms)

19- In MySQL, consider the provided


tables. You want to list the following

2 Programming questions

- Qüeåtion$;-
00=Diqit Sum
and Department. Question 18 Max score: 2.00 0

The following bar graph representsme.exports of cotton (Immillion kilograms) made by different South Asian countries in a specific time
14. In Java, you have created a program
that can convert your variable of the
period. What is the percentage increase in the exports of cotton made by Pakistan between 2014-15and 2015-16?

EXPORT OF COTTON (IN MILLION -i


15. Based on the following tables, what is
the output of the SQL query:
+ 2.0
KILOGRAMS)
•2015-16.2016-17

16. Which of the following


statements helps you to determine the

17 Mike has a total amountof INR


2,70,000. He invested a part of it at the

18. The following bar braph represents the


exports of cotton (in millioh kilograms)

19! In MySQL, consider the provided

I Il Ill Il I
tables. You want to list the following

2 Programming questions Pdman Sta-u*a


20. Digit sum 100.0
23.33%

21. Zero array + 100.0 33.33%

36
and Department.

Question 18 Max score: 2.00 0


14. In Java, you have created a program 4.0
that can convert your variable of the The following bar graph represents theexports of cotton (in million kilograms) made by different South Asian countries in a specific time
period. What is the percentage increase In the exports of cotton-made by Pakistan between 2014-15and 2015-16?
15 Based on the following tables, what is 20
the output of the SOL query: EXPORTOF COTTON (IN MILLION
KILOGRAMS)
.2014-15 —2016-17
16. Which of the following 2.0
statements helps you to determine the
310

17 Mike has a total amount of INR 40


2,70,000. He invested a part of it at the

18 The following bar uraph represents the


exports of cotton (in million kilograms)

19! Ih MySQL, consider the provided

Ill Il Ill Ill


tables. You want to list the following

2 Programming questions

20. Digit sum Bhutm Pagman

23.33%

21. Zero array 100.0

33.33%
ION lox a-tallenge 01
:54:14 rounsunn@gmajlcom End test

and Department

Question 18 Max score:2.00 0


14. In Java, you have created a program 4.0
that can convert your variable of the The following bar graph represents the exports of cotton (in million kilograms) made by different South Asian countries in a specific time
period. What is the percentage increase in the exports of cotton made by Pakistan between 2014-15 and 2015-16?
15. Based on the following tables, what is
the output of the SQL query: EXPORT OF COfTON (IN MILLION
KILOGRAMS)
16. Which of the following 2.0 --2014-15 .20tS-16 *2016.17
statements helps you to determine the

17. Mike has a total amount of INR


2,70,000. He invested a part of it at the

•IR The following bar uraph represents the


exports of cotton (in million kilograms)

10! Ih MySQL, consider the provided


tables. You want to list the following

2 Programming questions

20 Digit sum 100.0 Bhutm Oangbde91 Pagman Others

23.33%

21. Zero array

33.33%
and Department sos

14. In Java. you have created e program


that can convert your variable of the

15. Based on the following tables, whet is


the output of the SOL query:

16. Which of the following - 2-0


statements helps you to determine the

17 Mike has a total amount of INR


2,70,000. He invested a part of it at the
Ill Il dl Ill Ill
Bhutm Banq akåan Others

23.33%
18_ The following bar uraph represents the
exports of cotton (in million kilogramsV

- 19! In MySQL, consider the provided


tables. You want to list the following
'6.23%

2 Programming questions 2998%

OO- Digit sum


•OQesetAnswecl'

21, Zero array + 100.0


and Department.
Question 19 Max score: 6.00 0

14_In Java, you have created a program In MySQL, consider the providednables. You wantto list the following informationabout the employees. Which of these queries can be used to list
that can convert your variable of the
these requirements?

Employee information
15_ Based on the following tables, what is
the output of the SQL query: Username

The first name


16. Which of the following +2.0
statements helps you to determine the The last name

Employees working in the Operations department


17 Mike has a total amount of INR 4.0
2,70,000. He invested a part of it at the Table: EmployeeTbl

EMP_ID User_name F—Name L—name Dep_lD


18. The following bar graph represents the
exports of cotton (in million kilograms) Alice Smith

BBob Bob Jones


19! Ih MySOL, consider the provided
Ben Johnson
tables. You want to list the following
MMike Mike White

2 Programming questions Anita Williams

LLisa Lisa Davis


20. Digit sum SiOo-o
MMary Mary Brown

JJohn John Wilson


21. Zero array
Table: DepertmentsTbl
and Department
Table: DepertmentsTbl

14 In Java. you have created a program Dep-lD Dep—name


that cen convert your variable of the
Technical Innovations

15 Based on the following tables, whet is Technical Support


the outputof the SOL query.
Operations

Customer Delight
16. Which of the following
statements helps you to determine the
Queries:

17 Mike has a total amount of INR


2,70,000. He invested a part of it at the
select el. User name,el. F Name;
el. . Dep_name
from EmployeeTb1 el Inner •oin DepårQnieheTb1 e?
18. The following bar graph represents the 2.0
on, el. Dep_ID=e2. Dep
exports of cotton (in million kilograms)
where e2. Dep_name-"Operations"

19! Ih MySQL, consider the provided 6.0


tables. You want to list the following

select IJser name,F Name,L Name,


Dep_name
2 Programming questions
from EmployeeTb1el inner join DepartmentsTb1«
e2
on
20. Digit sum where Dep_name —"Operations"

+ 100.0
21. Zero array
select el.User_name,e1.FName,
el. L Name,e2.Dep_name
rtmentsTh1r=e2
and Department

14 In Java. you have created e program


that can convect your variable of the select User_name, F_Name,L_Name,Dep_name
from EmployeeTb1el inner join DepartmentsTb1e2
IS. Based on the following tables, whet is on
the outputof the SOL query: where Dep_name —"Operations"

16- Which of the following


statements helps you to determine the
select el. User_name,
el' F
from EmployeeTbi el inner Join Departmen+9Tb1
xé2
17 Mike has a total amount of INR
on ID
2,70,000. He invested a part of it at the

18. The following bar graph represents the * zoö


exports of cotton (in million kilograms) elL L_Name
e'. Dep_namé
select el, UserLname,
from EmployeeTb1el inner join DepartmentsTK1e2
19! In MySQL, consider the provided where ei Pep_name
tables. You want te list the following

2 Programming questions

20 Digit sum

21. Zero array


ION lox a-tanenge 01 • 53 : 37 rounsunn@gmail.com Endtest
.
and Department

Question 19 Max.score: 6.00 0


14_In Java, you have created a program
that can convert your variable of the In MySQL, consider the provided tables, You want to list the following informationabout the employees. Which of these queries can be used to list
these requirements?
15. Based on the following tables, what is • 2.0
Employee information
the output of the SOL query:
Username

16. Which of the The first name


statements helps you to determine the
The lasQname

17 Mike has a total amount of INR Employees working in the Operations department
2,70,000. He invested a part of it at the
Table: EmployeeTbI

18. The following bar graph represents the EMP_ID User_name F_Name ename Dep_lD
exports of cotton (in million-kilograms)
Alice Smith

BBob Bob Jones


19! In MySOL, consider the provided
tables. You want to/list the following BBen Ben Johnson

MMike Mike White


2 Programming questions
AAnita Anita Williams

20- Digit sum ioo@f


LLisa Lisa Davis

MMary Mary Brown

21. Zero array + 100.0 JJohn -æJohn Wilson

Table: DepertmentsTbl
and Ouestion 20 Max. score: 100.00 0

14 In Java. you have created a program Digit sum


that cen convert your variable of the
You are given a string of length 2N consisting of only digits from O to 9. You can make a move to choose an arbitraryposition and replace the digit
in that position with any digit from O to 9.
15 Based on the following tables, what is
the output of the SOL query: Task

Determine the minimumnumber move$iequired tomake thesum ofthe first N digits equal to the sum of the N digits that follow.
16- Which of the following
statements helps you to determine the Note: Ibased indexing is useg.

Example
17 Mike has a total amount of INR .40
Assumptions
2,70,000. He invested a part of it at the

18_ The following bar graph represents the 11127?


exports of cotton (in million kilograms)
Approach

19! Ih MySQL, consider the provided Change S(ll from -Tto 9


tables. You want to list the following
S[51 from 7 to O

.Now,S = 9i1209
_2 Programming questions
Therefore,the Sum of S[l]to Y + I + 1- 11and the sum of + O+ It
20: Digit sum oop
Hence, the minimumnumber of moves required is 2,

Note: There can be other possible ways to achieve the answer, but we can not get the required result sum in less than 2 changese
21- Zero array + 100.0
Function description

Complete the "functionso/veprovidecMnthe -editorffhlsfunction takesthefollowing2 parameters-and returns the answer:

You might also like