Latest Interview Questions

  •  

    3 PHASE

    A three phase motor 20hp with a power factor of 0.85 is to be fed by four single-core, PVC insulated, copper conductor, non-armoured cables, clipped direct on a non-metallic surface in a confined space with ambient temperature of 45oC at 40 meter run as shown in Figure Q2. Determine the suitable size of conductor if the voltage drop from the MCB to the motor terminal must less than 2%. (Correction...

  •  

    Selection sort

    The number of swapping needed to sort numbers 22,7,9,31,19 in ascending order using selection sort is ? A. 4 B. 3 C. 5 D.6

  •  

    How to find job after 2.5 year gap in testing career?

    Hi, I am an QA analyst with 5.8 years of experience in Manual and Automation testing.i have 2.5 years of gap from YR18 and now I am looking for job but due to my gap after interaction with recruiter I am not getting any call for interview. Can you please suggest what should I do? Any suggestion or tips to get resume shortlist Can you please suggest to do any course to do? Looking forward to hearing...

  •  

    Error: OBJM_54538 with informatica powercerter

    Could not execute action... The Service Name_repository could not be enabled due to the following error: OBJM_54538 - Unable to connect to the repository Name_repository on database mailto:DESKTOP-4FVDDK@IPC.error: OBJM_54538 Please could you help me with this issue?

  •  

    AB initio query

    i/p col1||val1||col1||val2||col3||val3 o/p col1 col2 col3 val1 val2 val3 how to achieve this in AB initio

  •  

    Over vs Runs -- same sequence number for each group

    I am having input column as runs with values 3 2 4 6 0 1 0 3 2 6 0 0 4 1 1 2 3 In output I want over number on Over column and corresponding runs on Runs column Expected o/p is:- Over Runs 1 2 1 4 1 6 1 3 1 0 1 1 2 0 2 3 2 2 2 6 2 0 2 0 3 4 3 1 3 1 3 2 3 3

    shivank b

    • Apr 4th, 2021

    We can make slight change in aamans solution.

    Out.run :: in.run
    Out.over :1: if (next_in_sequence()%6 != 0) decimal_rounddown((next_in_sequence/6) + 1,0)
    Out.over :: (next_in_sequence/6)

    Kiran

    • Mar 2nd, 2021

    Hi Amaan, This is the simplest and easy solution with one fault. For the first over, it shows only 5 balls as at 6th place, from roundown we are getting 6/6 as 1 and adding 1 to that makes it 2, so second over starts from it. To resolve this, need to subtract 1 from next_in_sequence.

  •  

    Writing Test cases

    Do we need to write test cases for the entire page everytime we insert new features to it, else we can write only for the added features. For eg. the page has a text field, drop-down, radio buttons, and submit button. Now an additional radio button is inserted in that page. Is it enough to wirte testcases for newly added radio button ? or should i once again write for the entire page ?

Updated Interview Questions

  •  

    What are the possible ways of communication between applet and Servlet (Multiple Choice?) 

    Skill/Topic: FundamentalsA) HTTP Communication (Text-based and object-based) B) Socket Communication C) RMI Communication D) None of these

    suriya

    • May 28th, 2021

    Socket communication

  •  

    How to Convert 4 way mfs to 2 way mfs

    how to Convert 4 way mfs to 2 way mfs ....can anyone tell me clear how to do with example

    Mahesh

    • May 26th, 2021

    Input(4 way) --> (fan in)sort(layout 2 way)--> output( way)
    I think this might work

    Amaan Sajid Ansari

    • Nov 14th, 2018

    Gather and repartition, else your graph will throw an error.

  •  

    Process 1TB Data and get Max age for each gender group

    I have 1 TB of record with below format: CUST_ID CUST_NAME GENDER MOBILE_NO AGE I want to fetch max age from each Gender group by only using Reformat component. How to achieve this?

    Mahesh

    • May 26th, 2021

    I/p file --> reformat(as asked) - add output_indexes to separate flows --> sort(desc) on age --> FBE where next_in_sequence() == 1 --> concat/gather both output_indexes flows --> output file

  •  

    Abinitio:.air-lock file and .project.pset

    Explain what .air-lock file is? What is the difference between .sandbox.pset and .project.pset and the need of .project-start.ksh and .project-end.ksh

    Mahesh

    • May 26th, 2021

    Any changes required only at sandbox level are stored in sandbox.pset.So a parameter value for AI_FILE in project.pset will be overridden by sandbox.pset
    .air-lock as the name suggests is a ab initio repository lock file created when a lock is applied on an object for changes.

    Ashiq Aashu

    • Jun 4th, 2018

    Data from 1 column to be separated in multiple columns

  •  

    Data from 1 Column to be separated in Multiple Columns

    Input file col1 1 2 3 4 5 6 7 8 output file col1 col2 col3 col4 1 2 3 4 5 6 7 8 How to achieve this?

    Mahesh

    • May 26th, 2021

    Redefine component with output dml as
    record
    decimal("x00") col1 = 0;
    decimal("x00") col2= 0;
    decimal("x00") col3 = 0;
    decimal("x00") col4 = 0;
    end;

    Shrinidhi

    • May 6th, 2019

    Use Rollup with key change function and specify the expression in transform as: type temporary_type=record decimal("x01") a=0; decimal("x01") b=0; decimal("x01") c=0; decimal("x01") d=0; end; ...

  •  

    Pulling out the records which are same in two records

    I have two files and I want to compare those two records ,after comparing I want to pull out the records which are same in both records and I want the new record from the unmatched records record format is like this: decimal(3) CUST_ID; string(6) CUST_NAME; string(" ") ADDRESS; same for two files; and my records are 01 sidhu hyd 02 phani bng 03 hasnu che 04 azeem vtm ...

    Mahesh

    • May 26th, 2021

    1 Use all fields as key in in component with inner join and collect records from their respective ports
    2 concat all the fields and use use field as key in in component with inner join and collect records from their respective ports
    3 you can do same with lkp file

    pramod

    • May 5th, 2015

    Using "sdiff" command will give the record by record comparison.

    example: sdiff file1.txt file2.txt|grep "|"

    this will give you the mismatched records

  •  

    Pick the Delta Data From Specific Files or Tables

    If I run the graph at 9 O'clock, it should pick the data with the latest updated timestamp records like from 8 to 9 O'clock updated records from the table. How to pick the delta data from specific files or tables?

    Mahesh

    • May 26th, 2021

    1 - if its a table it should have a column with timestamp and accordingly you filter out the records
    2 - if its a file again if there is a timestamp column its easier, else read the file and look it up and join on key and timestamp, anything that does not join is new.

  •  

    The size of a queue linked list can change during runtime?

    Skill/Topic: Queues Using Linked ListsA) TrueB) False

    PRAGYA JAISWAL

    • May 18th, 2021

    A) TRUE
    The size of linked list can be changes during the run time. Other data structures like stack, queue, tree, and graph can be static and dynamic depending on, whether these are implemented using an array or a linked list.

    Sandhya

    • Sep 5th, 2006

    True

  •  

    For data parallelism, we can use partition components. For component parallelism, we can use replicate component. Like this which component(s) can we use for pipeline parallelism?

    Mahesh

    • May 26th, 2021

    For data parallelism, we can use partition components. For component parallelism - its when i/ file ---> rollup(mfs layout) --> output . Here practically there are 4 copies of components running ...

    Gouse

    • May 26th, 2016

    The component without sorted input because sort component breaks pipeline parallelism.

    Thanks
    Gouse

  •  

    Why go for sort within groups?

    We have sort and sort within groups components. we can achieve the sort within group functionality by placing two keys in sort group. Then why we have to go for sort within groups?

    Mahesh

    • May 26th, 2021

    One of the other examples could be :
    graph A has done PBKS on field A
    and when the output of graph A is being read by graph B it needs data to be sorted on fieldA and fieldB so major key is fieldA and minir key is fieldB.This saves time and increases performance.

    sundar

    • May 5th, 2015

    Hey Munmun,

    Do we need sorted data to sort with in group or component will taking care?

    Thanks

Geek Talk Forum Discussion