Professional Documents
Culture Documents
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 " ) ;
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
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%
120
115
8. What is the output of the following • 2.074
Java code: 100
100
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
20%
13. You have two tables called Employee
and Department.
25%
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
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?
INR
10. Which of the following statements will
you consider to determine how many
'NR 7.08,OOO
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
INR
10. Which of the following statements will 2.0
+ 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
119
100
11. A bank gives a loan of amount INR 3 59
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
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?
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
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
14. -In Java, you have created a program Employeeld EmployeeName Departmentld
that can convert your variable of the
Mark
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
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
IT John
16. Which of the following
statements helps you to determine the IT Mike
HR Marv
Sample Output
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
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;
Only 1
14_ In Java, you have created a program
that can convert your variable of the
only2
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
12. The following graph represents the 4.0 public interface HackmydataintToChar
expenditureof the top five automobile
14_In Java, you have *eated a program -440 public void charTo%r n (
that can convert your variable of the
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
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
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
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
Bob
16. Which of the following
statements helps you to determine the Mary
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
Mike
13. You have two tables called Employee
Tara
and Department
Mary
'16-Which of the folloving
statements helps you to determine the
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.
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
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/:
2 Programming questions
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
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?
I Il Ill Il I
tables. You want to list the following
36
and Department.
2 Programming questions
23.33%
33.33%
ION lox a-tallenge 01
:54:14 rounsunn@gmajlcom End test
and Department
2 Programming questions
23.33%
33.33%
and Department sos
23.33%
18_ The following bar uraph represents the
exports of cotton (in million kilogramsV
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
Customer Delight
16. Which of the following
statements helps you to determine the
Queries:
+ 100.0
21. Zero array
select el.User_name,e1.FName,
el. L Name,e2.Dep_name
rtmentsTh1r=e2
and Department
2 Programming questions
20 Digit sum
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
Table: DepertmentsTbl
and Ouestion 20 Max. score: 100.00 0
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
.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