2018-06-25

Longest Palindromic Substring

Problem statement: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.
  1. import java.io.IOException;
  2. public class LongestSubstringPalindrome
  3. {
  4.   public static void main(String[] args) throws IOException
  5.   {
  6.     // String word = "abbcbba";
  7.     String str = "abbagoodteacher";
  8.     System.out.println(longestPalindrome(str));
  9.   }
  10.   public static String longestPalindrome(String s)
  11.   {
  12.     int length = s.length();
  13.     if (s == null || length < 2)
  14.     {
  15.       return s;
  16.     }
  17.     boolean isPalindrome[][] = new boolean[length][length];
  18.     int left = 0;
  19.     int right = 0;
  20.     for (int j = 1; j < length; j++)
  21.     {
  22.       for (int i = 0; i < j; i++)
  23.       {
  24.         boolean isInnerWordPalindrome = isPalindrome[i + 1][j - 1] || j - i <= 2;
  25.         if (s.charAt(i) == s.charAt(j) && isInnerWordPalindrome)
  26.         {
  27.           isPalindrome[i][j] = true;
  28.           if (j - i > right - left)
  29.           {
  30.             left = i;
  31.             right = j;
  32.           }
  33.         }
  34.       }
  35.     }
  36.     return s.substring(left, right + 1);
  37.   }
  38. }
Output: abba

java 9 : Publisher, Subscriber, Subscription and Processor


2018-06-24

How do you do search in an array where difference between adjacent elements is k

Problem statement: How do you do efficient search in an array where difference between adjacent elements is k

  1. public class JumpSearchWithKDiff {
  2. public static void main(String[] args) {
  3. int a[] = { 2, 4, 6, 8, 6, 4, 2, -1, -3 };
  4. int s = -3; // 's' is the element to be searched
  5. int k = 2; // diff. b/w element
  6. int n = a.length; // length of array
  7. System.out.println("Element " + s + " is present at index " + searchAlgo(a, n, s, k));
  8. }
  9. static int searchAlgo(int a[], int n, int s, int k) {
  10. // scan the given array staring from leftmost element
  11. int i = 0;
  12. while (i < n) {
  13. // check if element is found
  14. if (a[i] == s)
  15. return i;
  16. // else jump to diff. b/w current array element & search element
  17. // divided by k We use max here to make sure that i moves at-least one step ahead
  18. i = i + Math.abs(a[i] - s) / k;
  19. // i = i + Math.max(1, Math.abs(a[i] - s) / k);
  20. }
  21. System.out.println("number is " + "not present!");
  22. return -1;
  23. }
  24. }
Output:
Element -3 is present at index 8

2018-06-22

Find number in a array, where after sometime array is decreasing.

Find number in a array, where after sometime array is decreasing
if element present in array return"exist" else "not exist"
Example:
array- [1,3,5,8,9,10,6,5,4,3,3,2,1,0];
find 4
time completely better than O(n)

2018-06-20

How do you create tree data structure ?

  1. /* Class containing left and right child of current
  2. node and data value*/
  3. class Node
  4. {
  5. int data;
  6. Node leftright;

  7. public Node(int data1)
  8. {
  9. data = data1;
  10. left = right = null;
  11. }
  12. }

  13. // A Java program to introduce Binary Tree
  14. class BinaryTree
  15. {
  16. // Root of Binary Tree
  17. Node root;

  18. // Constructors
  19. BinaryTree(int data1)
  20. {
  21. root = new Node(data1);
  22. }

  23. BinaryTree()
  24. {
  25. root = null;
  26. }

  27. public static void main(String[] args)
  28. {
  29. BinaryTree tree = new BinaryTree();

  30. /*create root*/
  31. tree.root = new Node(1);

  32. /* following is the tree after above statement
  33.  
  34.               1
  35.             /   \
  36.           null  null     */

  37. tree.root.left = new Node(2);
  38. tree.root.right = new Node(3);

  39. /* 2 and 3 become left and right children of 1
  40.                1
  41.              /   \
  42.             2      3
  43.           /    \    /  \
  44.         null null null null  */


  45. tree.root.left.left = new Node(4);
  46. tree.root.left.left.right = new Node(9);
  47.         /* 4 becomes left child of 2
  48.                     1
  49.                 /       \
  50.                2          3
  51.              /   \       /  \
  52.             4    null  null  null
  53.            /   \
  54.           null 9
  55.          */
  56. System.out.println(tree.root.right.data);
  57. }
  58. }
Output: 3

2018-06-19

Create 2 pillars of equal maximum height from an array of bricks

Create two sub array of maximum equal height from an array.
Problem Statement:

There are N bricks (a1, a2, ...., aN). Each brick has length L1, L2, ...., LN). Make 2 highest parallel pillars (same length pillars) using the bricks provided.

Constraints:

There are N bricks. 5<=N<=50
Length of each brick. 1<=L<=1000
Sum of the bricks lengths <= 1000
Length of the bricks is not given in size order. There may be multiple bricks which may have the same length. Not all bricks have to be used to create the pillars.

Example:

1st Example-
N = 5
2, 3, 4, 1, 6
Possible Sets:
(2, 6) and (3, 4, 1)
Answer: 8

2nd Example-
N = 6
1, 5, 1, 6, 1, 1
Possible Sets:
(6, 1) and (1, 5, 1)
Answer: 7



Solution:



import java.util.*;

public class KNumberSubset {
private int number;
private int sum;
private LinkedList<Integer> subset;
private int[] numbers;
static LinkedList<LinkedList<Integer>> all=new LinkedList<>();

public KNumberSubset(int[] numbers, int number) {
this.numbers = numbers;
this.number = number;
sum = 0;
subset = new LinkedList<Integer>();
}

public void findSubset(int startPoint, int limit) {
if (sum == number) {
//System.out.println(subset + " :: " + sum);
all.add((LinkedList<Integer>)subset.clone());
//all.add(subset);

} else {
for (int i = startPoint; i < numbers.length; i++) {
sum = sum + numbers[i];
if (sum > limit) {
sum = sum - numbers[i];
break;
}
//subset.add((int) numbers[i]);
subset.add(i);
findSubset(i + 1, limit);
sum = sum - numbers[i];
subset.removeLast();
}
}
}

public static void main(String args[]) {
int[] numbers = {50,1,1,1,1};
int sum=0;
        for(int i=0;i<numbers.length;i++){
        sum=sum+numbers[i];
        }
        System.out.println("sum="+sum);
int number = sum/2;
Arrays.sort(numbers);
while(number>=0){
KNumberSubset ki = new KNumberSubset(numbers, number);
ki.findSubset(0, number);
LinkedList<LinkedList<Integer>> result=new LinkedList<>();
for(int i=0;i<all.size();i++){
for(int j=i+1;j<all.size();j++){
List<Integer> a1=(LinkedList<Integer>)all.get(i).clone();
List<Integer> a2=(LinkedList<Integer>)all.get(j).clone();
a1.retainAll(a2);
if(a1.isEmpty()){
result.add((LinkedList<Integer>)all.get(i).clone());
result.add((LinkedList<Integer>)a2);
}
}
}
if(!result.isEmpty()){
System.out.println("number = "+number);
break;
}
result.clear();
all.clear();
number--;
}
}
}

2018-06-13

Today Walkins 14th june

1. Experis IT Private Limited Hiring For Cyber Security | Direct Walkin

Qualification:-
- B.E/B.Tech Graduates (CSE,ISE/IT Only)
- 2017 PASSOUT(S)
- 2018 (Only if results are out)
- Should have 65% and above in their Education.(10th, 12th and B.Tech Individually)

Interview Date:- 14th, 15th June 2018

Venue: Manpower Group - 3rd floor Experis Pvt Ltd.,Chancery Pavilion Annexe, 135 & 136, Residency Road,Richmond Circle, Behind Chancery Pavilion, Bangalore, 560025

Regs.Timin - 9:30 AM To 2:00 PM

Contact Person:- Pratik Mitra(7019270573)

Google Map: https://goo.gl/maps/S6QLqzMXJ6A2

======================================

2. Ionidea Interactive Private Limited Hiring for Data Entry Operator | Direct Walkin

Qualification : PUC, any Graduation, (No B.E & B.Tech/M.Tech/MBA)

Skill sets:

1. Good Typing speed (40+)
2. Knowledge of Microsoft Excel
3. Internet Browsing.

Date of interview: 14th to 15th 2018 from 10.00AM 3.00PM

Venue: IonIdea Pvt. Ltd, # 38-40, EPIP, Whitefield, Bangalore 560 066

Landmark : KTPO Bus Stop

Google Map: https://goo.gl/maps/wkaYKYVjqoy

======================================

3. Medi Assist Healthcare Hiring Pharmacy / Biotechnology / Microbiology / Zoology Freshers | Direct Walkin

Education: Nursing / Pharmacy / Biotechnology / Microbiology/zoology
Experience : 0-1 Year

1. Involved in Analyzing Medical Reports to Process Medical Claims
2. Should have good medical Knowledge and willing to work for Non Clinical job
3. Should be good with Academics
4. Should be Flexible for Morning and Afternoon Shifts.

Date: 14th June, 10:00AM

Venue: Medi Assist Healthcare Services Pvt. Ltd. Tower , 4th Floor, IBC Knowledge Park, (Opp. fire station) 4/1, Dairy Circle,Bannerghatta Road, Bangalore - 560029

Contact person: Kumar / 9108424174

Google Map: https://goo.gl/maps/7SfdHTXrtrB2

======================================

4. ReadyAssist Automobile hiring Mechanical freshers | Referral Walkin

#Mention BJSBuzz on the top of your resume.

#Note :- All Mechanical fresher's go through below job-details and all interested candidate can directly attend interview! #Its nice opportunity for Mechanical freshers !

Salary : 12K

Note:

1. Training or Probation period will be 30 working days, during the period if candidate absconds or terminated by the company for the poor performance salary or stipend will

not be paid.

2. Salary revision for the best candidate will happen after 3 months of service completion- Hike up to 20% from the initial payment.

3. Date of joining can be prolonged to end of July as we are framing our training lab and service station.

Please be aware that there are no charges taken BJSBUZZ and do not pay any amount to anyone outside who use our name.

The question needs to prepare :
Name
Current staying location?
Contact number
What is your highest qualification?
What do you know about break-down support?
What is the reason for applying for this job?
How passionate are you about doing mechanical work for cars and bike?
Are you ready to travel?
If you are an Engineering graduate, do you mind grease and dirt while doing mechanic work on the field?
Are you physically and mentally strong to carry toolbox?
Do you know to ride gear bike?

Date: 14th June 2018

Time: 11 am to 4 pm

Venue: ReadyAssist Automobile Services Private Limited, #641, 1st floor, Pushpanjali Building,80 feet road, Koramangala 4th block, Bangalore - 560034

Contact Person: Yeshwanth Tamilselvan

======================================

5. Mphasis Hiring For Technical support | Direct Walkin

JD:
24 x 7 x 365 work environment.
Candidates have to do multitasking at times.
Trouble shoot technical related issues
Global IT support

Basic requirement:
Excellent communication skills
BE,BCA, BCS, B. Sc
Passport is a mandate. People who have applied or are willing to apply on an immediate basis can also be considered.

Date: 14th June

Time : 10 AM

Contact person : Sunitha / jayashree.sarella@mphasis.com

Venue: Mphasis, 4th Floor, WTC-4, Bangman World Technology Centre, KR Puram, Marathalli Outer Ring Road, Bangalore - 560048

Google Map: https://goo.gl/maps/1PBFUyX7Trz

=======================================

6. Trigent Software Limited Hiring for Technical Support Engineer | Direct Walkin

Eligibility Critertia :-
- BE / B.Tech (any stream) can apply) batch.
- BCA / B.Sc/Bcom/MSC/ MCA and BE,BTech (CS) candidates with excellent academic background can also apply in Technical support.
- Candidates should have excellent communication skills.
- Decent knowledge related to operating system, hardware, networking, etc.

Date of Interview - 14th June 2018

Time - 10.00 AM sharp

Venue : 2nd Floor, East Wing, Khanija Bhavan, 49, Race Course Rd, Bengaluru, Karnataka 560001

Contact Person - Hafsaa Sait

Google Map: https://goo.gl/maps/yXPWQRgmR672

=======================================

7. Artech Infosystems Pvt. Ltd. Hiring for L1 Global Technical Support Executive | Direct Walkin

Qualification:
UG : Any Stream- B.E/B.Tech (CSE,EEE,ECE,IT,Mechanical, Civil etc.) & B com, BBA, BSC, BCA
PG : MCA,MSC,M.tech, MBA
Year of Passed Out: 2016, 2017 Only
No Percentage Criteria.(back logs not an challenge)

Contact Details: Nawaz Baig N- 9741546763

Job Description:

Resolving technical issues (hardware and OS) from incoming internal or external businesses and end user's contacts and proactive notification system
Providing excellent customer service support to Global customers during every single interaction
Assisting end users to avoid or reduce problem occurrences
Adding case resolution to Knowledge Management System
Responding to service, product, technical, and customer relations questions on subjects such as features, specifications, and repairs on current and discontinued products,

parts, and options, based on customer entitlement (warranty through mission critical).

Date of the interview - 14th June 2018

Timing - 9.30 AM

Skills:
Voice Process, English and Communication Skill Is Mandatory**
Good Knowledge on Hardware and OS Skills*
Customer relationship management, Should be able to interact with global customers, Ready to accept Inbound and out bound process

Venue: Artech Infosystems Pvt Ltd Plot No. 76 - 77, Cyber Park, Block B, 1st Floor, Electronic city Phase I, Doddathogur Village, Hosur Road, Bangalore-560100

Google Map: https://goo.gl/maps/XxQCTHHKZPD2

=======================================

8. Cenveo Publisher Services Ltd Hiring MSc Candidates | Direct Walkin

Qualification: -Msc

Exp: 0 to 1 yr

Job Summary

Copyeditor makes sure that a text is readable, accurate, and ready for publication
He/she must have excellent written English, including good spelling and grammar
A meticulous approach to their work and an eye for detail
The ability to maintain high-quality work while meeting deadlines
Careful attention to detail/strong proofreading skills
Ability to recognize and correct style errors, as well as to rewrite and reframe content to improve clarity and readability

Date: 14th, 15th June

Venue: 31, Chiranjeevi Layout, Hebbal Kempapura, Bengaluru, Karnataka 560024

Contact Person- Shobha Naveena-Manager HR

Google Map: https://goo.gl/maps/bH9jBsFCEvv

=======================================

9. INDUSIND BANK hiring for BDE | Direct Walkin

Work Experience : 0 to 2 Yrs in Sales & Marketing (Fresher's 2017 pass outs are eligible for Walk - In)

Education : Graduation is Compulsory

Job Description :

1. Responsible to generate new leads and maintain existing clients to enhance Business relation.
2. Extend professional customer service to achieve a high level of customer satisfaction and retention.
3. Regular coordination with customers for better conversions.
4. Responsible for planning, Forecasting and implementation of sales plan.

Date & Time: 14th June , 10 AM onwards

Venue: IndusInd Bank, 4th floor Basavanagudi Office, No. 87 Bull Temple Road Basavanagudi ,Bangalore 560004

Contact Person-Ankit Kumar Pal

========================================


2018-06-08

 Consider the following pairs :

   Tradition                               State
1. Chapchar Kut festival   -  Mizoram
2. Khongjom Parba ballad - Manipur
3. Thang-Ta dance            - Sikkim


Which of the pairs given above is/are correct ?
(a) 1 only
(b) 1 and 2
(c) 3 only
(d) 2 and 3

 Consider the following statements:

1. As per the Right to Education (RTE) Act, to be eligible for appointment as a person would be required to possess the minimum qualification laid down by the concerned State Council of Teacher Education.

2. As per the RTE Act, for teaching primary classes, a candidate is required to pass a Teacher Eligibility Test conducted in accordance with the National Council of Teacher Education guidelines.

3. In India, more than 90% of teacher education institutions are directly under the State Governments.

Which of the statements given above is/are correct ?

(a) 1 and 2
(b) 2 only
(c) 1 and 3
(d) 3 only

2018-06-06

how do you configure/connect remote desktop from Ubuntu to Ubuntu machine?

  1. press super key(windows) in keyboard
  2. type: remote
  3. select Remmina Remote Desktop Client
  4. choose VNC in dropdown
  5. enter the end user machine IP address
  6. click connect
  7. enter the password of end user machine


how do you check IP address in Ubuntu?

  • open terminal & type any of the below command
  1. > ifconfig
  2. > ip add show 

RTC java client user work resource allocation

Read work resource allocation to the user in projectarea and teamarea


// Create this object before accessing the api

IContributorHandle iContributorHandle;
ITeamRepository repo;
ITeamAreaHandle teamAreaHendle;
IProgressMonitor monitor;
IResourcePlanningClient resourcePlanningClient;





IContributor contributor =
        (IContributor) repo.itemManager().fetchCompleteItem(iContributorHandle, IItemManager.DEFAULT, null);
    System.out.println(contributor.getName() + " " + contributor.getUserId());

    IContributorInfo info =
        resourcePlanningClient.getResourcePlanningManager().getContributorInfo(contributor, true, monitor);
    ItemCollection<IWorkResourceDetails> workDetails = info.getWorkDetails(contributor);

    long totalResource = 0;
    for (IWorkResourceDetails iWorkResourceDetails : workDetails) {

      if (iWorkResourceDetails.getOwner().getItemId().getUuidValue()
          .equals(teamAreaHendle.getItemId().getUuidValue())) {
        totalResource = iWorkResourceDetails.getAssignment();
      }
    }
    System.out.println(totalResource + " " + contributor.getName());

RTC java client required services and Client classes initialization

    Before accessing any RTC server side Components you have initialize the required services and client classes

Below are the Few List of services and client classes initialization(If any other classes you need then add it)


      IWorkItemClient iWorkitemClient = (IWorkItemClient) repo.getClientLibrary(IWorkItemClient.class);
      IQueryClient iQueryClient = (IQueryClient) repo.getClientLibrary(IQueryClient.class);
      IProcessClientService iProcessService =
          (IProcessClientService) repo.getClientLibrary(IProcessClientService.class);
      IAuditableClient iAuditClient = (IAuditableClient) repo.getClientLibrary(IAuditableClient.class);
      IWorkItemCommon workItemCommon = (IWorkItemCommon) repo.getClientLibrary(IWorkItemCommon.class);
      IAuditableCommon iAuditCommon = (IAuditableCommon) repo.getClientLibrary(IAuditableCommon.class);
      IServerQueryService iServerQueryService = (IServerQueryService) repo.getClientLibrary(IServerQueryService.class);
      IRepositoryItemService iRepositoryItemService =
          (IRepositoryItemService) repo.getClientLibrary(IRepositoryItemService.class);
      IResourcePlanningClient resourcePlanningClient =
          (IResourcePlanningClient) repo.getClientLibrary(IResourcePlanningClient.class);

RTC java client Login to Server

RTC java client Login to Server

List of import for Client dev


The First step is login into RTC server using client api

    IProgressMonitor monitor = new NullProgressMonitor();
    String repositoryURI = args[0];
    final String userId = args[1];
    final String password = args[2];

    TeamPlatform.startup();


    try {

      ITeamRepository repo = TeamPlatform.getTeamRepositoryService().getTeamRepository(repositoryURI);
      repo.registerLoginHandler(new ILoginHandler2() {

        @Override
        public ILoginInfo2 challenge(final ITeamRepository repo) {
          return new UsernameAndPasswordLoginInfo(userId, password);
        }
      });
      repo.login(monitor);

      //Login success
      // Write here
     
     
      repo.logout();
    }
    catch (TeamRepositoryException e) {
      e.printStackTrace();
    }
    finally {
      TeamPlatform.shutdown();
    }

List of useful import for RTC dev

 import java.net.URI;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;

import com.ibm.team.apt.internal.client.resource.IResourcePlanningClient;
import com.ibm.team.process.client.IProcessClientService;
import com.ibm.team.process.common.IDevelopmentLineHandle;
import com.ibm.team.process.common.IIteration;
import com.ibm.team.process.common.IProjectArea;
import com.ibm.team.process.common.ITeamArea;
import com.ibm.team.process.common.ITeamAreaHandle;
import com.ibm.team.repository.client.IItemManager;
import com.ibm.team.repository.client.ILoginHandler2;
import com.ibm.team.repository.client.ILoginInfo2;
import com.ibm.team.repository.client.ITeamRepository;
import com.ibm.team.repository.client.TeamPlatform;
import com.ibm.team.repository.client.login.UsernameAndPasswordLoginInfo;
import com.ibm.team.repository.common.IContributor;
import com.ibm.team.repository.common.IContributorHandle;
import com.ibm.team.repository.common.TeamRepositoryException;
import com.ibm.team.repository.service.IRepositoryItemService;
import com.ibm.team.repository.service.IServerQueryService;
import com.ibm.team.workitem.client.IAuditableClient;
import com.ibm.team.workitem.client.IQueryClient;
import com.ibm.team.workitem.client.IWorkItemClient;
import com.ibm.team.workitem.common.IAuditableCommon;
import com.ibm.team.workitem.common.IWorkItemCommon;
import com.ibm.team.workitem.common.model.IWorkItem;

2018-06-04

what do you mean by reflection in java?

Problem statement: what do you mean by reflection in java?

Reflection is an API which is used to examine or modify the behaviour of methods, classes, interfaces at Runtime.
  • The required classes for reflection are provided under java.lang.reflect package.
  • Reflection gives us information about the class to which an object belongs and also the methods of that class which can be executed by using the object.
  • Through reflection we can invoke methods at runtime irrespective of the access specifier used with them.

Reflection can be used to get information about –
  1. Class The getClass() method is used to get the name of the class to which an object belongs.
  2. Constructors The getConstructors() method is used to get the public constructors of the class to which an object belongs.
  3. Methods The getMethods() method is used to get the public methods of the class to which an objects belongs.
With reference to the Parliament of India, which of the following Parliamentary Committees scrutinizes and report to the House whether the powers to make regulation, rules, sub-rules, by-laws, etc. conferred by the Constitution or delegated by the Parliament are being properly exercised by the Executive within the scope of such delegation?

(a) Committee on Government Assurances 
(b) Committee on Subordinate Legislation
(c) Rules Committee 
(d) Business Advisory Committee
Regarding Wood's Dispatch, which of the following statements are true?

1. Grants-in-Aid system was introduced.
2. Establishment of universities was recommended.
3. English as a medium of instruction at all levels of education was recommended.

Select the correct answer using the code given below:

(a) 1 and 2 only
(b) 2 and 3 only
(c) 1 and 3 only
(d) 1, 2 and 3

2018-06-03

LinkedHashSet

Problem statement: what do you mean by LinkedHashSet in collection?
  1. LinkedHashSet is the child class of HashSet
  2. Introduced in 1.4 version
  3. LinkedHashSet is exactly same as HashSet except the following difference
  • HashSet:
  1. The underlying data structure is Hashtable
  2. Insertion order is not preserved
  3. Introduced in 1.2 version
  • LinkedHashSet:
  1. The underlying data structure is Hash table + Linked List(this is hybrid data structure)
  2. Insertion order is preserved
  3. Introduced in 1.4 version
Very recently. in which of the following countries have lakhs of people either suffered from severe famine/acute malnutrition of dies due to starvation caused by war/ethnic conflicts?

(a) Angola and Zambia
(b) Morocco and Tunisia
(c) Venezuela and Colombia
(d) Yemen and South Sudan
The identity platform ‘Aadhaar’ provides open “Application Programming Interfaces (APIs)”.

What does it imply ?
1. It can be integrated into any electronic device
2. Online authentication using iris is possible.

Which of the statements given above is/are correct ?
(a) 1 only
(b) 2 only
(c) Both 1 and 2
(d) Neither 1 nor 2

Consider the following statements :

1. Capital Adequacy Ratio (CAR) is the amount that banks have to maintain in the form of their own funds to offset any loss that banks incur if the account-holders fail to repay dues.

2. CAR is decided by each individual bank.

Which of the statements given above" is/are correct ?
(a) 1 only
(b) 2 only
(c) Both 1 and 2
(d) Neither 1 nor 2.

Which one of the following links all the ATMs in India ?

(a) Indian Banks Association
(b) National Securities Depository Limited
(c) National Payments Corporation of India
(d) Reserve Bank of India

“Rule of Law Index” is released by which Of the following ?

(a) Amnesty International
(b) International Court of Justice
(c) The Office of UN Commissioner for Human Rights
(d) World Justice Project

Which of the following has/have shrunk immensely/dried up in the recent past due to human activities ?

1. Aral Sea
2. Black Sea
3. Lake Baikal

Select the correct answer using the code given below :
(a) 1 only
(b) 2 and 3
(c) 2 only
(d) 1 and 3

Consider the following statements :

1. Aadhaar card can be used as a proof of citizenship or domicile.
2. Once issued, Aadhaar number can not be deactivated or omitted by the Issuing Authority.

Which of the statements given above is/are correct ?
(a) 1 only
(b) 2 only
(c) Both 1 and 2
(d) Neither 1 nor 2
He Wrote biographies of Mazzini, Garibaldi, Shivaji and Shrikrishna; stayed in America for some time and was also elected to the Central Assembly.
He was

(a) Aurobihdo Ghosh
(b) Bipin Chandra Pal
(c) Lala Lajpat Rai 
(d) Motilal Nehru

Consider the following statements :

1. The quantity of imported edible oils is more than the domestic production of edible oils in the last five years.
2. The Government does not impose any customs duty on all the imported edible oils as a special case.

Which of the statements given above is/ are correct.
(a) 1 only
(b) 2 only
(c) Both 1 and 2
(d) Neither 1 nor 2

Consider the following statements :

1. The Fiscal Responsibility and Budget Management (FRBM) Review Committee Report has recommended a debt to GDP ratio of 60% for the general (combined) government by 2023, comprising 40% for the Central Government and 20% for the State Governments. '

2. The Central Government has domestic liabilities of 21% of GDP as compared to that of 49% of GDP of the State Governments.

3. As per the Constitution of India, it is mandatory for a State to take the Central Government’s consent for raising any loan if the former owes any outstanding liabilities to the latter.

Which of the statements given above is/are correct ?
(a) 1 only
(b) 2 and 3 only
(C) 1 and 3 only
(C) 1, 2 and 3

With reference to India’s decision to levy an equalization tax of 6% on online advertisement services offered by non-resident entities.

Which of the following statements is/are correct ?

1. It is introduced as a part of the, Income Tax Act.
2. Non-resident entities that offer advertisement services in India can claim a tax credit in. their home country under the “Double Taxation Avoidance Agreements".

Select the correct answer using the code given below
(a) 1 only
(b) 2 only
(c) Both 1 and 2
(d) Neither 1 nor 2