Live Classes: Upskill your knowledge Now!
Chat NowCreated by - Admin s
Company OverviewHCL Technologies is an IT specialist corporation works in the field of programming improvement. It was established in 1976 and headquartered in Noida, India. The main benefits provided by the company are R&D and Technology administrations, BPO Services, IT Hardware, Enterprise and Applications Consulting, Remote Infrastructure Management, and so on. HCL Technologies are working around the world over 32 nations and has around 116,000+ employees.Eligibility Criteria:Candidate must have 60% throughout in academics (class X, XII, Graduation, and Post-Graduation).No education gap of more than one year.Candidate should have good knowledge of C, C++, and JAVA.Engineering Candidates of 2018 are eligible to apply.Selection Process:The selection process of the company consists of 3 rounds. These rounds are as follows:The Pattern of Written Exams:SectionsNo of QuestionsQuantitative Ability15Reasoning15English15Technical Ability15Total60Note: The total time given to the question is 60 minutes. There is no negative marking in the exam.Round 1: The first round consists of 60 Multiple Choice Question. There is no negative marking. This test would cover the following topics.Play VideoxQuantitative AbilityNumber SystemHCF & LCMAverageProfit & LossPercentageTime, Speed & DistanceReasoning AbilityCoding-DecodingBlood RelationSeriesLogical ReasoningStatement and ArgumentsEnglishSpotting ErrorsAntonymsSynonymsOne Word SubstitutionOrdering of SentencesTechnical Ability: In this Section, they asked the question on JAVA, Operating System, C++, Networking and DBMS.Round 2: In this round, they asked the technical questions from JAVA, OOPS, C Language, DBMS.Round 3: The third round is HR interview. Students who clear the technical round are eligible for this round.You may expect HR round like:Tell us about yourself.Why should we hire you?What is the difference between Confidence and Over-Confidence?How do you feel about working nights and weekends?Can you work under pressure?What makes me angry?Where do you see yourself five years from now?How much salary do you expect?Why did you leave from your previous job?On the scale of one to ten, rate me as an interviewer.Most frequently asked technical questions in HCL.What do you mean by Class Cast Exception?Differentiate between Primary key and a Unique key.Why java is considered as dynamic?What is joins in SQL?Differentiate between Method Overloading and Method Overriding.What is the purpose of finalize () method in Java?What is Synchronization?What is the function of DBMS?Difference between Abstract class and Interface.What is the purpose of "Register" Keyword?HCL Aptitude Questions1) Nine Person went to a Hotel for taking their meals. Eight of them spent Rs 12 each on their meals and the ninth spent Rs 8 more than the normal use of all the nine. What was the aggregate cash spent by them?Rs.111Rs.121/Rs.117None of theseShow Answer2) A batsman makes a score of 87 runs in the 17 innings and then increase his average by 3. Find his average after 17 innings.40363945Show Answer3) The area between two stations A and B is 778 km. A train front the route from A to B at 84 km per hour and returns back to A with a uniform speed of 56 km per hour. Find the normal speed of train during the entire journey.67.2 km/hr.45.2 km/hr.66.2 km/hr.None of these.Show Answer4) The total of a rational number and its equal is 13/6. Find the number. None of these.Show Answer5) The amount of two numbers is 184. If one-third of the one overtake one-seventh of the other by 8, find the minimum number.72706242Show Answer6) Ramesh's salary was decreased by 50% and then subsequently increased by 50%. How much percent does he lose?25%35%15%45%0%Show Answer7) The salary of a person reduced by 10%. By what percent should his reduced salary by raised so as to bring it as per with his original salary?12131411Show Answer8) When the price of a product was decreased by 10%, then the number sold increased by 30%. What was the effect on total revenue?17%13%14%19%Show Answer9) If the enumeration of the fraction is increased by 15% and the denominator is decreased by 8% then the value of the fraction is15/16. Find the original Fraction.None of TheseShow Answer10) In the new spending plan, the cost of lamp fuel oil ascended by 25%. Of what amount of percent should a man decrease his utilization with the goal that his consumption of it doesn't increase?10%20%30%40%Show Answer11) The population of the town is 1,764,000. If it is increased at the rate of 5%per annum, what will be the population 2 years hence? What was it 2 years ago?120000130000150000160000Show Answer12) A 30% Loss on Cost Price is what percentage loss on Selling Price?25%30%40%None of theseShow Answer13) A man purchases a book for Rs.29.50 and offers it for Rs 31.10. Discover his gain percent.8.1%5.4%9.8%2.4%Show Answer14) A is twice as great a workman as B and together they complete a piece of work in 18 days. In how long will A alone entire the work?23 days27 days.29 days.31 days.Show Answer15) A can do a secure job in 12 days. B is 60% more efficient than A. How long does B alone take to do the same activity?Show AnswerHCL Reasoning Questions1) Find the missing equation in each of the following series:1) 1, 6, 15? 45, 66, 9125262728Show Answer2) 2, 5, 9, 19, 37,?73757678Show Answer3) Newspaper: Press:: Cloth:?TailorTextileFiberMillShow Answer4) Cattle: Herd::Sheep:?FlockSwarmShoalMobShow Answer5) Mumbai: Maharashtra::Trivandrum:?KolkataGujaratKeralaSikkimShow Answer6) Menu: Food::Catalogue:?RackNewspaperLibraryBooksShow Answer7) In a certain Code, TEACHER is written as VGCEJGT. How are CHILDREN written that code?EJKNEGTPEJKNFITPEJKNFGTOEJKNFGTPShow Answer8) Anil introduced Rohit as the son of the only brother of his father's wife. How is Rohit Related to Anil?CousinSonSon-In-LawBrotherShow Answer9) Pointing out to the lady- Rajan's said: "She is the daughter of the woman who is the mother of the husband of my Mother." Who is the lady to Rajan's?AuntGranddaughterDaughterSister-in-Law.Show Answer10) A man pointing to the photograph says, "The lady in the photograph is my nephew's maternal grandmother". How is the woman in the photo identified with the man's sister who has no other sister?CousinSisterMotherMother-in-lawShow Answer11) Find the number that can be put in place of the question mark. 3 12 7 26 15 b?54453554Show Answer12) Find the number that can be put in place of the question mark. 3 12 7 26 15 b?13141820Show Answer13) in the series6 4 1 2 2 8 7 4 1 2 5 3 8 6 2 1 7 1 4 1 3 2 8 6How many pairs of successive numbers have a difference of two each?FourFiveSixthSevenShow Answer14) How many such of 5s are there in the following numbers sequence each of which is immediately preceded by 3 or 4 but not immediately followed by 8 or 9?3 5 9 5 4 5 5 3 5 8 4 5 6 7 3 5 7 5 5 4 5 2 3 5 1 0FourThreeFiveNoneShow Answer15) ELFA, GLHA, ILJA, _____, MLNAOLPAKLMALLMAKLLAShow AnswerHCL English QuestionsANTONYMS:1) CapableDisableIn ableUnableMiss ableShow Answer2) SwarmedBusyCongestedQuietDesertedShow Answer3) ComposureResentmentDubiousnessDuplicityExcitementShow AnswerSYNONYMS:4) ThriftinessFoolishnessExtremityEnthusiasmEconomyShow Answer5) A sleeping disorderLethargySleeplessnessDrunkennessUnconsciousnessShow Answer6) Physically we are presently all neighbors, however mentally. We are ..... to one another.primitivescomplimentarystrangerscowardsShow Answer7) At the point when their examinations are finished, the youngsters happily ..... the books they had been reading.shelvesidetrackoverthrewabandonsShow Answer8) The criminal ...... all the cash.made upmade off withmade do withmade greatShow AnswerSPELLING:9) (Choose the correct word)GriefBreifRecieveDiceiveShow Answer10) (Choose the correct word)OccuredOccuradOcurredOccurredShow AnswerONE WORD SUBSTITUTES11) Murder of a siblingPatricideRegicideHomicideFratricideShow Answer12) To cause troops and so forth to spread out in availability for the fight to comeDisperseDeployCollocateAlignShow Answer13) A voice sufficiently uproarious to be heardAudibleApplaudableLaudableOralShow Answer14) A light cruising watercraft constructed extraordinarily to raceCanoeYachtFrigateDinghyShow Answer15) One who is responsible for the gallery?CuratorSupervisorCaretakerWardenShow AnswerHCL Technical Questions1) The FIFO methodexecutes first the activity that last entered the lineexecutes first the activity that initially entered the lineexecute first the activity that has been in the line the longestexecutes first the activity with the slightest processor needsNone of the aboveShow Answer2) The register or principle memory area which contains the successful location of the operand is known aspointerindexed enrollspecial areascratch cushionNone of the aboveShow Answer3) A report generator is utilized toupdate documentsprint documents on paperdata sectionAll of the aboveNone of the aboveShow Answer4) Which of the subsequent is a database executive's capacity?database outlinebacking up the databaseperformance observinguser coordinationAll of the aboveShow Answer5) Every one of information documents has a _____ that depicts the manner in which the information is put away in the record.File structureRecordsFieldsDatabaseNone of the aboveShow Answer6) When you preclude parameters from a function call, qualities can be given byformal parametersreference parametersoverloaded parametersdefault parametersShow Answer7) The primary component in a string isthe name of the stringthe first character in the stringthe length of the stringthe name of the exhibit holding the stringShow Answer8) The compiler changes over your C++ guidelines into _____edited codeobject codesource codetranslated codeShow Answer9) Any #include documents may containconstantsvariablesfunctionsAll of the aboveShow Answer10) The functions that take static to set the bits of the count is _____set ()bitsef ()ios ()flag()Show Answer11) Which of the accompanying summation activities is performed on the bits to check an error identifying code?CodecCoder-decoderChecksumAttenuationShow Answer12) The innovative work office at your office has been exploring different avenues regarding distinctive advances to help enhance the execution of the system. One gathering has been inspecting the utilization of a broadband system versus a based band organizes. Select the right articulation about broadband and baseband.Broadband systems convey a few stations on a solitary link, though in a baseband arrange a few links convey one channelBaseband systems convey a solitary station on a solitary link, while broadband systems convey a few stations on a solitary linkBaseband alludes to the neighborhood, and broadband alludes to wide region systems.Baseband works at a standard piece rate, though broadband may work at various rates as requiredBroadband and baseband allude to the distinctive frequencies at which infrared works at that point transmitting signals in specific conditionsShow Answer13) An error identifying code embedded as a field in a block of information to be transmitted is known asFrame check arrangementError distinguishing codeChecksumflow controlNone of the aboveShow Answer14) The least expensive modems can transmit300 bits every second1,200 bits every second2,400 bits every second4,800 bits every secondNone of the aboveShow Answer15) What is the standard number of bits transmitted at the same time in parallel information transmission utilized by microcomputers?16984None of the aboveShow AnswerHCL Technical Questions1) Does every class have a Constructor?Yes, every class needs a Constructor. It may be Parameterized or Default. If the user does not define a constructor within a class, the default constructor is always included in that code.The objective of Constructor is to initialize an object called object initialization. Constructors are mainly created for initializing an object.2) How Java enable High Performance?Java uses a Just-In-Time Compiler to enable high performance. Just-In-Time Compiler is a program that turns Java bytecode, which is a program that contains an instruction that must be interpreted into instruction that can be sent directly to the processor.3) Why is java considered as dynamic?It is designed to change the evolving environment. Java can carry an extensive amount of runtime information that can be used to verify and resolve access to the object at runtime.4) What is joins in SQL?Joins is nothing but connecting two or more table to fetch the record from two or more databases.5) Can we have Private Constructor in Java?Private Constructor is used if you do not want other class to instantiate the object. Private Constructor is used in Singleton design Pattern, Factory Method Design Pattern.6) Differentiate Between Primary Key and Unique Key.Primary KeyUnique Key1. In a Primary key, there should be only one primary key in a table.1. In A Unique key, there can be more than one unique key in a table.2. Primary key will block duplicate value and a null value.2. Unique key will block duplicate value and accept a null value.7) Differentiate between Method Overloading and Method Overriding.Method OverloadingMethod Overriding1. Method Overloading is used to gain the readability of the program.1. Method Overriding is used to provide the specific implementation of the method that already provided by the superclass.2. In the case of Method Overloading, the parameter must be different.2. In the case of Method Overriding, the parameter must be equal.3. Overloading happens at Compile time.3. Overriding happens at runtime.4. The Return type of method does not matter in case of method overloading it can be the same or different.4. In the case of method Overriding, the return type must be the same.5. you can overload a static, final and private method in Java5. You cannot override a static, final and private method in Java.8) What is the purpose of finalize () method in Java?Finalize () method in java is a special method much like the main method in java. Finalize () method is called before garbage collector reclaims the object, its last chance for any object to perform clean up activity i.e. releasing any fixed order resources held, terminating connection if open etc.9) Why can static method not override?A static method cannot override because the static method is bound with class whereas instance method is bound with an object. Static method belongs to the class area and Instance method belong to the heap area.10) What is singleton Class?Singleton Class limited the number to one but allowing the flexibility to create more object if the situation changes.11) Can we override java main method?No, because main is a Static Method.12) What is Class Cast Exception?Class Cast Exception is thrown by java when you try to cast an object of one data type to another data type. Java allows us to cast the variable of one type to another as long as the casting happens between compatible data type.13) Why polymorphism is used in Java?The good reason for why polymorphism is a need in Java because the concept is extensively used in implementing inheritance. It plays an important role in allowing the object having a different internal structure to share the same external interface.14) What is an Abstract class?An Abstract class is one that is not used to create an object. It is only used as base class for the other class. The Abstract class is always public or friendly.Syntax:public abstract class class_name { //class member } 15) Can I have Private Constructor in Abstract Class?Abstract Class can have Private Constructor But that class cannot be extended by another class. Alternatively, of adding a static inner class inside the Abstract Class and extends that Abstract Class.HCL HR Interview Questions1) Tell us about yourself.This is the most common questions asked for both fresher's as well as experienced candidates. Well, you should answer this question in the following way:Good Morning Sir/MamHello, this is Ginni Bhatia. I belong to Kurukshetra. I have Completed MCA from Panipat Institute of Engineering and Technology College, in the specialization of Computer Science with an aggregate of 70% which is affiliated in Kurukshetra University. I have done B.Com (VOC) from Dayanand Mahila College with an aggregate of 65% which is also affiliated in Kurukshetra University. And I have also done Post Graduate Diploma in Computer Application (P.G.D.C.A) with an aggregate of 6.9(CGPA) from Lovely Professional University. My hobbies are singing a song, Dancing, Watching Movies and I love Web Designing. My strength is that I am Honest, Sincere, Responsible, and Positive. My weakness is that I am lazy. Talking about my achievements, I got certified in Singing level Competition. I have completed my Academic Project is ERP SYSTEM. My short-term goal is to be a part of your Company. My long-term goal is to be successful in every parameter of this company.That's all about me sir.Thanks for giving me time to introduce myself.2) Why should we hire you?As a Fresher, It is a great opportunity for me to work in a good company which helps me for the better career.3) What is the difference between Confidence and Over-Confidence?Confidence: - I can do it.Overconfidence: - Only I can do it.4) How do you feel about working nights and weekends?Yes, if the Company needs me then I am ready to work at any time.5) Can you work under pressure?Yes, I can work under pressure; the pressure is nothing but encourages to do work sincerely.6) What makes you angry?I get angry when someone putting me down.7) Where do you see yourself five years from now?I can see myself growing with this company and reaching a position where I become valuable assets for this organization.8) How much salary do you expect?As a fresher, I would like to prefer Company norms.9) Why did you leave your previous job?Sir/mam, it's a career move. I have learned a lot from my past job.But now, I am focused on a new challenge.10) On the scale of one to ten, rate me as an interviewer.Sir, you are more knowledgeable, more experienced than me I am not on a level to judge you.
More detailsPublished - Mon, 05 Dec 2022
Created by - Admin s
About the company: AdobeAdobe Systems Incorporated, also known as Adobe, is an American multinational company of Computer software. Adobe is headquartered in San Jose, California, United State with total 17000 employees across the world (in 2017). Adobe was established by John Warnock and Charles Geschke in December 1982. It was founded primarily to develop and sell the PostScript page description language. The Company provides various creative software products and services which are used by professional, application developers, enterprises and consumers. Adobe is famous for Photoshop, Acrobat Reader, Portable Document Format (PDF), Adobe Creative Suite, and Adobe Creative Cloud. Adobe mainly focused on three Segments, which are Digital media, Digital marketing, and print and publishing. Adobe is one of the best company to work for, and also Ranked as 5th best U.S. Company in 2003. Adobe is given ranked as 51th for Best Global Brands by Interbrand in year 2018.Key people of Adobe:CEO and Chairman: Shantanu NarayenCFO: John F MurphyCTO: Abhay ParasnisAdobe Recruitment process:Adobe recruitment process is one of the difficult recruitment processes. Adobe selects the candidates very carefully, with lots of screening to choose the best talent of all the candidates. The recruitment process of Adobe is also different from other companies as it takes 5- 6 rounds for an Interview. Following are the main rounds of the recruitment process.Online Written RoundGroup discussion RoundMultiple technical Interview RoundsDirector RoundHR RoundAcademic Criteria:65% in X and XII, and 70% in graduation or CGPA 7.No backlogs at the time of applying.First Round: Online Written RoundDescription:This first round will be the Online Test, which consists of two sections mainly. The first section will be based on basic aptitude and reasoning. The second section will contain the MCQ questions based on C/C++/JAVA output based questions, and coding question, which will be subjective. This round is organized on Hackerrank Platform, in which candidate can code in any of preferred language(C, C++ or Java). The first section of this round will be the most comfortable round of complete recruitment process but needs a good speed to clear it.Test Pattern for the first round:SectionsTime durationNumber of questionsTopicsAptitude15 min15 questionsQuantitate AptitudeArithmetic AlgebraTime and workProfit & LossGeometrySpeed & distancePercentageReasoning Section30 min30 questionsLogical ReasoningPuzzlesData interpretationBlood relation, etc.Technical(MCQ) +Coding test(subjective)75-120 min15-20 QuestionsC languageData StructureBit ManipulationA. Quantitative and Reasoning SectionThe quantitate aptitude section of the recruitment process is relatively easy, but candidates need to have basics clear and must have a good speed. There is no negative marking.The analytical section contains the tricky questions which can consume more time so be careful while attempting these section.Sample aptitude questions with the answer to prepare for the first round:Aptitude Interview Questions1) If a bulb in a room flashes on every 9 seconds, how many times will it flash in ¾ of an hour?301300250401Show Answer2) The present age of Arjun, Ram, and Vivek is in the proportion of 4:7:9. If 9 years ago, the sum of their age was 53, then what will be their present age?16,28,368,20,2820,35,45None of the aboveShow Answer3) If the average age of employees in an office is 40 years and 120 new employees joined the company whose average age is 32 years. Hence the average age of all employees decreased by 4 years. So what is the total number of employees in the company now?1200120360240Show Answer4) Find the largest 4 digit number, which will be exactly divisible by 88?9768998899448888Show Answer5) Compute the sum of the first five prime numbers?11182628Show Answer6) 'A' alone can complete 1/4th of the work in 2 days. 'B' alone can complete 2/3th of the work in 4 days. If all the three workers work together, they can complete the work in 3 days so what part of the work will be completed by 'C' alone in 2 days?1/121/81/161/20Show Answer7) One day Ravi started moving 30 minutes late from home and reached his office late by 50 minutes while driving 25% slower than his usual speed. How much time does Ravi usually take to reach his office from home?20 min80 min60 min40 minShow Answer8) A shopkeeper sells one table for Rs. 840 at a gain of 20% and another table for Rs. 960 at a loss of 4%. What will be his total gain or loss?100/17% gain100/17% loss20/3% gainNone of them.Show Answer9) If in a conical tent, there is a space for accommodation of 10 persons. Each person must have 6 sq. Meter space to stand and 30 cubic meters of air to breathe. What will be the height of the cone?15m37.5m75m150mShow Answer10) A can do a piece of work in 10 days, B can do the same work in 12 days and Ravi in 15 days. They all start the work together, but A leaves after 2 days and B leaves 3 days before the completion of work. Find the days in which work will be completed.6 days5 days9 days7 daysShow AnswerReasoning Questions:1) If MADRAS can be coded as NBESBT, then how can we code BOMBAY?CQOCBZCPOCBZCPNCBZCPNCPXShow Answer2) Which will be the next term in the series: 3, 4, 6, 9, 13,_______16151817Show Answer3) If w, x, y z are integers. There is the condition, that expression x-y-z is even, and the expression y-z-w is odd. If x is even what must be true?w must me oddy-z must be oddz must be evenz must be oddShow Answer4) What will be the next term in the series of BXF, DVI, FTL, HRO,_____JPLKPLJOLNone of themShow Answer5) If in some code language,i. Guda buka means Clear waterii. Pin gola means Overcast skyiii. Pin saf buka means Clear blue skyThen, which of the following word means BLUE?bUKAsafGudaPinShow Answer6) If Win is related to Competition, then Invention is related to.ExperimentDiscoveryLaboratoryTrialShow Answer7) Rahul said to Akash, "That boy playing with the football is the younger of the two brothers of the daughter of my father's wife." How is the boy playing football related to Rahul?SonBrotherBrother-in-lawCousinShow Answer8) By introducing Riya, Sam says, "She is the wife of the only nephew of only brother of my mother." How is Riya related to Sam?WifeSister-in-lawSisterData is inadequateShow Answer9) Engineer: Map::Bricklayer:? Find the word.TemplateMouldCementDesignShow Answer10) Find out the odd word form the following options:Steering wheelTyreCarEngineShow AnswerB: Sample Technical MCQThe second section of the first round is technical MCQ and coding section. This section is little tough to crack. It requires a thoroughly study of concepts for data structure, C, Bit manipulation, and algorithms. There are some sample questions for Adobe interview with the answers.1) What will be the output for the following:int main(){ int i; int arr[5] = {5}; for (i = 0; i < 5; i++) printf("%d ", arr[i]); return 0;}0 0 0 0 05 0 0 0 05 5 5 5 5ErrorShow Answer2) In C language, parameters are always_______Passed by referencePassed by value resultPassed by valuePointer variable are passed by reference and non-pointer variable are passed by valueShow Answer3) Find the output for the following code:#include int main(){printf("%d", main);return 0;}Compile time errorAddress of the main function0Any random valueShow Answer4) What is a use of the following statement?scanf ("%3s", str);Reads maximum 3 characterReads 3 character from consoleTake the string str in multiple of 3None of the above.Show Answer5) Find the output for the following code.char p[10];char *s = "computer";int length = strlen(s);int i;for (i = 0; i < length; i++)p[i] = s[length - i];printf("%s", p)retupmoccomputernull valueNo output will printShow Answer6) What will be the maximum number of binary trees that can be formed using three unlabelled nodes?1465Show Answer7) What will be the total number of structurally different possible binary trees with 3 nodes?105168245Show Answer8) Which sorting algorithm can be used to sort a random linked list with minimum time complexity?Quick SortMerge SortInsertion SortHeap SortShow Answer9) Compute the output for the following code:#includestruct st{ int x; static int y;};int main(){ printf("%d", sizeof(struct st)); return 0;}84Compile time errorRun time errorShow Answer10) Compute the output for the following code:#include int main(){ int arr[] = {5, 8, 10, 12,18}; int *p = arr; ++*p; p += 3; printf("%d", *p); return 0;}101218No output.Show AnswerCoding Questions:This section is a coding round in which a candidate needs to write code for the given questions in any preferred language(C/C++/Java). Some of the coding questions are given below for practice.1) Write code to reverse the linked list?#include #include struct Node { int data; struct Node* next; }; /* Function for reversing the linked list */ static void reverseList(struct Node** head_ref) { struct Node* t2 = NULL; struct Node* start = *head_ref; struct Node* t1 = NULL; while (start != NULL) { t1 = start->next; start->next = t2; t2 = start; start = t1; } *head_ref = t2; } void newNode(struct Node** head_ref, int new_data) { struct Node* new_node = (struct Node*) malloc(sizeof(struct Node)); new_node->data = new_data; new_node->next = (*head_ref); (*head_ref) = new_node; } /* Function to print linked list */ void printList(struct Node *head) { struct Node *temp = head; while(temp != NULL) { printf("%d ", temp->data); temp = temp->next; } } int main() { struct Node* head = NULL; newNode(&head, 20); newNode(&head, 14); newNode(&head, 30); newNode(&head, 68); printf("Input linked list\n"); printList(head); reverseList(&head); printf("\nReversed Linked list \n"); printList(head); } Output:Input linked list 68 30 14 20 Reversed Linked list 20 14 30 68 2) Write a code which multiplies two numbers using the minimum number of additions.#include int main() { int product=0, x, y, n; x=10; y= 20; for(n = 0; n Before swap 20 30 After swap 30 20 4) Write a program to calculate the nth term of the Fibonacci series?#include int fun(int n) { if (n >1; } total_bits=count_onebit+count_zerobit; printf("Total bits are=%d Total zero bits are=%d Total one's bits are= %d", total_bits, count_zerobit, count_onebit); } Output:Total bits are=4 Total zero bits are=0 Total one's bits are= 4 6) Write an algorithm to compute the output for X^N, having complexity log n.#include int pow(int x, int n) { int y; if( n == 0) return 1; y = pow(x, n/2); if (n%2 == 0) return y*y; else return x*y*y; } int main() { int x = 6; int n = 3; printf("The output for x^n, where x=%d, n=%d, %d", x, n, pow(x, n)); return 0; } Output:The output for x^n, where x=6, n=3, 216 7) Write code to check a binary tree is BST tree or not?public class CheckBST { public static Node prevNode = null; //Method1: public boolean isBST1(Node root) { if (root != null) { if (!isBST1(root.left)) return false; if (prevNode != null && prevNode.data >= root.data) { return false; } prevNode = root; return isBST1(root.right); } return true; } //method 2 public boolean isBST2(Node root, int min, int max) { if (root != null) { if (root.data > max || root.data 10 Andhra Pradesh 2) Why we use sprint() function?sprint() is a C library function which is termed as "string print." sprintf function is used to hold the formatted data output as String.Syntax:int sprintf (char *string, const char *form, .... ) Example:#include int main() { char string[50]; int a = 10, b = 5, c; c = a * b; sprintf(string, "multiplication of %d and %d is %d", a, b, c); printf("%s", string); return 0; } Output:multiplication of 10 and 5 is 2 3) How to differentiate between char a[]= ?String and char*a =?String.The statements:Char a[ ]= "computer";char *a= "computer";The difference between the above two statements is that the first statement will create an array of 9 elements will automatically add the null pointer and the size of array 'a' will be 9.But the second statement will create a pointer variable. We cannot perform any array operation on this pointer variable as it will be stored in read-only mode.Example:#include int main() { char a[] = "Computer"; printf("%lu", sizeof(a)); a[1] = 'n'; printf("\n%s", a); return 0; } Output:9 Cnmputer Example 2#include int main() { char *a = "Computer"; printf("%lu", sizeof(a)); return 0; } 4) Explain Data breakpoints? Where can we use this?Data Breakpoint is a strong feature available for C++, which allow us to stop the execution when the value stored at a particular memory location changes. Data breakpoints can be used to solve the memory corruption issue.5) Differentiate between new and malloc()?The new and malloc() both are used for dynamic memory allocation. But there are various differences between new and malloc, which are given below,new is an operator in C language, whereas malloc() is a function for memory allocation.new operator calls the constructor, whereas malloc() does not call the constructor.The memory allocated from the "free store" by new operator, whereas memory allocated from the heap by malloc() function.On failure of execution, new operator throws an exception, whereas malloc() returns Null.new operator does not require the sizeof() operator, malloc() function requires the sizeof() operator to know the memory size.6) Differentiate between process and thread?Following are the basic differences between the process and the thread:The Process is an execution of a program, whereas thread is a lightweight process.A Process does not share the resources like memory, whereas thread can share the resources.The Process takes more time for context switching, whereas thread requires less time for context switching.The Process is less efficient as compared to a thread in terms of communication.7) What is C++ Shorthand property? What is its role?C++ provides shorthand property, which enables a programmer to use the assignment operator in a shorter way.Example:x=x+5; can be written as x+=5 using shorthandx=x-10; can be written as x-=10;8) What do you understand by function prototype declaration and definition?Function prototype declaration: function prototype declaration statement gives the following information about the function:It tells the symbolic name of the functions.Information about the return type of function.Information about the argument passed as input with their datatypes.Example:int add(int a, int b, int c) Where add is the name of a function, and a, b and c are the passed arguments.Function definition: The function definition is the actual source code of the function. Function definition gives information that what that function actually does.Example:int add(int a, int b, int c){ c= a + b; return c; } 9) What do you understand by Conditional Operators?Conditional operators are ternary operators with three operands, which are used as shorthand in place of the if-else statement.Conditional operators return the first expression if the condition is true and return second expression if the condition is false.Syntax:(Check expression)? Expression1: Expression2; Example:var = (x The primary protocols used at this level are:IP (internet protocol): This protocol is responsible for forwarding the packets from source host to destination using an address which is consisted by packet header. IP has two main versions IPv4 and IPv6.ICMP (Internet control message protocol): This protocol is mainly responsible for informing the problem in the network.ARP (Address resolution protocol): ARP protocol is an essential protocol of the TCP/IP model, and it is responsible to resolve an IPv4 address to physical address.3. Transport Layer: This is the third layer of the TCP/IP model, which is responsible for the communication between the source host and destination host and error-free data transmission.This layer consists of mainly two protocols:TCP (Transmission Control Protocol): TCP is a reliable protocol for error-free communication between the source and destination host. It's a connection-oriented protocol.UDP (User Datagram Protocol): This protocol is not reliable as compare to TCP protocol, we can use this protocol which does not require reliable communication. It is a connectionless protocol.4. Application layer: This is the top layer of the TCP/IP model. It describes the application protocol and provides node-to-node communication.This layer contains various higher level protocols which are:HTTP and HTTPs(Hypertext transfer protocol)FTP(File transfer protocol)SSH( Secure Shell)TFTP(Trivial file transfer protocol)SMTP(Simple mail transfer protocol)DHCP(Dynamic host configuration protocol)2) Explain the working of the stack while calling a function? When stack overflow occurred?The Stack is a particular area of RAM, just like as Heap. But stack is used to store local variables, parameters and return values used inside a function and stack stores and deallocates memory automatically.When we call a function, stack performs following steps:Push space for the return variables.Push parameters in the stack.Push the local variable of the function.When we call a function, stack adds a stack frame which consists space for actual parameters, local variables, return address, etc. This stack frame lives in active frame till the time function is being called, and once execution finishes then stack remove that stack frame from the stack.Stack Overflow: As we know that stack deallocated the memory and free up space after execution but still there is a condition when complete stack space used, and there is no more space to save the variables, so this is called stack overflow. It occurs because the space size of the stack is also limited in size, and at the time of execution if we allocate more memory than available memory than overflow occurred and the program got crashed. Some example for stack overflow are:Use of Infinite recursionUse of very large stack variableUse of very deep recursion3) Explain the meaning for the declaration: int*const p & const int* const p?int * const p: By declaring a pointer in such a way that means we are declaring point variable p as constant, which cannot be changed. We cannot change the address its holding, or it cannot point to other variables. If we try to change the address of p, then it will give a compile time error.const int * const p: By declaring a pointer in such a way means, we cannot change the address of the pointer as we as we cannot change the address at that address. If we try to do it, then it will generate a compile time error.4) What are default functions in C++C++ provides the six default member functions which are given below:Default constructorDestructorsCopy constructorsCopy assignment operatorsMove constructorsMove assignment operators5) Which data structure is used for the dictionary?To implement a dictionary, which type of data structure should be used depends on what we required, there are some following data structure which can be used for implementation of the dictionary.Hash-table: If we want a simple dictionary with no option for the prefix, or nearest neighbour search then we can use Hashing or Hashtable for the dictionary.Trie: It can be a good option if we want to add prefix and fast lookup. But, it takes more space than other data structures.Ternary Search Tree: If we want all the qualities like trie but do not want to give the more space then we can use ternary search tree.BK-tree: BK-tree is one of the best data structure if we want specifications like spell checker, find the similar word, etc.6) How can you find a unique word from a String which also has duplicate words?We can find the unique word from a string by using HashMap, Set and Regex.Candidate can also be asked for questions like:Implement Snake and Ladder game and find the minimum number of moves required to reach from 1 to 100 in a given game, using Dynamic Programming.Model a data structure for a DFA that takes an event as parameter and performs a desired action.Solve the three mislabelled jars problem.How to compare two binary trees?How to prove that in a tree the number of internal nodes is one less than leaves?Technical third round or director RoundThis round is a challenging round as in this round the manager ask the questions based on your projects, so candidate must have in-depth knowledge about their project which they have done and some problematic puzzles which candidates needs to solve.1) Write an algorithm for the tower of Hanoi?Tower of Hanoi is a very popular mathematics puzzle. In this puzzle, we are given three disk and three rods. Disks are arranged in the first rod like a stack, in ascending order. We need to transfer the disk from the first rod to third in the same order.There are some rules as well:We can move one disk at one timeWe can only move the uppermost diskDisk always should be in ascending order, i.e., a bigger disk cannot put on a smaller one.Algorithm:Let's suppose there are thee towers Beg, Aux, and Dest, and there are two disks where n disk is larger disk and n-1 is smaller one.StartStep 1: shift n-1 disk from tower Beg to AuxStep 2: shift n disk from Beg to EndStep 3: shift disk n-1 form tower Aux to C.Tower(n, Beg, Aux, Dest) Begin If n=1 then, Print: Beg-> Dest; else Call Tower(n-1, Beg, Dest, Aux); Call Tower(n, Beg, Aux, End); Call Tower(n-1, Aux, Beg, End); endif End 2) Write a code to find the loop in a Linked list? How will you remove this loop?#include #include struct Node { int data; struct Node* next; }; /* Function for removing the loop. */ void remLoop(struct Node *, struct Node *); /*Function to remove and detect the loop*/ int detAndRemLoop(struct Node *list) { struct Node *p1 = list, *p2 = list; while (p1 && p2 && p2->next) { p1 = p1->next; p2 = p2->next->next; /*if p1 and p2 will meet at some point which means there is a loop*/ if (p1 == p2) { remLoop(p1, list); printf("Loop is occurred\n"); /* Return 1 if loop is found */ return 1; } } /* Return 0 if there is no loop*/ return 0; } /* Function to remove loop. */ void remLoop(struct Node *loop_node, struct Node *head) { struct Node *ptr1 = loop_node; struct Node *ptr2 = loop_node; // Count the number of nodes in loop unsigned int k = 1, i; while (ptr1->next != ptr2) { ptr1 = ptr1->next; k++; } // Fix one pointer to head ptr1 = head; ptr2 = head; for (i = 0; i next; while (ptr2 != ptr1) { ptr1 = ptr1->next; ptr2 = ptr2->next; } ptr2 = ptr2->next; while (ptr2->next != ptr1) ptr2 = ptr2->next; /* Set the next node to Null to fix the loop */ ptr2->next = NULL; } /* Function to print linked list */ void printList(struct Node *node) { while (node != NULL) { printf("%d ", node->data); node = node->next; } } struct Node *newNode(int key) { struct Node *temp = (struct Node*)malloc(sizeof(struct Node)); temp->data = key; temp->next = NULL; return temp; } int main() { struct Node *head = newNode(40); head->next = newNode(15); head->next->next = newNode(12); head->next->next->next = newNode(10); head->next->next->next->next = newNode(4); /* Create a loop*/ head->next->next->next->next->next = head->next->next; detAndRemLoop(head); printf("Linked List after removing loop \n"); printList(head); return 0; } Output:Loop is occurred Linked List after removing loop 40 15 12 10 4 3) How will you design a data structure for excel spreadsheets?We can design an excel spreadsheets by using:Two-dimensional array ( but it will take lots of space)Sparse matrixMap, etc.4) Explain memory protection in OS.Memory protection is a mechanism which controls the unauthorized access of memory in the computer. Memory protection prevents the unallocated memory access by a process. Memory address is first checked before used by a process, to see whether it is allocated address or not.There are two registers LBR and UBR are used to implement memory protection.5) What is Virtual Memory in OS?Virtual Memory is memory management technique of Operating System. Virtual memory is an extra space provided to a program when a main memory does not have the sufficient space to execute a code. It temporarily transfers data from RAM to disk storage, which uses inactive memory of hard disk, which is termed as Virtual Memory.6) Write an algorithm to insert an element into a sorted linked list?Suppose the linked list is sorted in ascending order then following is the algorithm for the same. Let the input node is 13 and let assign as nSuppose Input linked list is:3 8 11 15 20 1) If given linked list is empty then assign the node as head and return it.2) If value of the node n is less than value of head node, then insert the node at start and assign it as head.3) In a loop, search the appropriate node after which the input node is to be inserted. To search the appropriate node start from head, keep moving until you reach a node x(Let?s suppose 15)whose value is greater than the input node. The node before the x will be the appropriate node(11).4) Insert the node(13) after the appropriate node(11) found in step 3.After insertion:3 8 11 13 15 20 7) Find pair of elements whose sum equal to a given number?#include void Pair(int arr[], int n, int sum) { for (int i = 0; i
More detailsPublished - Mon, 05 Dec 2022
Created by - Admin s
Company OverviewMicrosoft is a multinational PC innovation enterprise headquartered in Redmond, Washington. It creates licenses backings and offers PC programming, shopper gadgets, PCs, and do administrations. Its best-known programming items are the Microsoft Windows line of working frameworks, the Microsoft Office suite, and the Internet Explorer and Edge internet browsers.Microsoft also provides programming for work areas and servers, including Internet look (with Bing), the advanced administrations showcase (through MSN), blended reality (HoloLens), distributed computing (Azure) and programming improvement (Visual Studio).Microsoft was established by Paul Allen and Bill Gates on April 4, 1975, and rose to overwhelm the PC working framework showcase with MS-DOS in the mid-1980s, trailed by Microsoft Windows. Since 1990, the organization made various corporate acquisitions. Their biggest acquisition was securing of LinkedIn for $26.2 billion in December 2016, trailed by their procurement of Skype Technologies for $8.5 billion in May 2011.Eligibility CriteriaCandidates must have 60% throughout in academics (class X, XI, Graduation, and Post-Graduation).Play VideoxNo education gap of more than one year.Candidate should have good knowledge of C, C++, JAVA, DBMS, and Networking etc.Selection ProcessThe selection process of the company consists of 3 rounds. These rounds are as follows:The Pattern of Written Exams:SectionsNo. Of QuestionsAptitude40English20Technical40Total40The total time given to the questions is 1 hour 40 minutes. There is no negative marking in the exam.Round 1The first round consists of 100 Multiple Choice Question. There is no negative marking. This test would cover the following topics:Quantitative AbilityNumber SystemHCF & LCMAverageProfit & LossPercentageTime, Speed & DistanceLogarithmOdd Man Out & SeriesProbabilityPermutation & CombinationBoats & StreamsAlligation or MixturesSimple InterestCompound InterestEnglishSpotting ErrorsOne Word SubstitutionOrdering of SentencesOrdering of WordsCompleting StatementSentence CorrectionRound 2Technical Ability: This is a technical ability round. In this round, they asked the technical questions from C, C++, JAVA, Networking, Operating System, and DBMS.Round 3The third round is HR interview. Students who clear the technical round will be eligible for this round.You may expect HR round like:Tell us about yourself.Why should we hire you?Do you consider yourself successful?Are you willing to travel?What is your greatest strengths & weakness?Tell me about your dream job.Why did you leave your last job?Are you a team player?How do you feel about working nights and weekends?Can you work under pressure?Microsoft Aptitude Questions1) A number when divided consecutively by 4 and 5 leaves remainder 1 and 4 respectively. When it is continuously divided by 5 and 4, then the respective remainder will be1, 22, 34, 2None of these.Show Answer2) 8796 * 223 + 8796 * 77=?26388002538800243640022356600Show Answer3) 3+ 33+ 333+3.33=?352.3362.33372.33None of theseShow Answer4) In how many distinct ways can the letters of the word 'OPTICAL' be classified so that the vowels constantly come together?420620720None of theseShow Answer5) In how many ways can a bundle of 5 men and 2 women be made out of a sum of 7 men and 3 women?638045135Show Answer6) A can do a secure job in 12 days. B is 60% more efficient than A. How long does B alone take to do the same activity?Show Answer7) A and B can do a task in 8 days, B and C can do the same task in 12 days. A, B and C together can complete it in 6 days. A and C together will do it in?6 days8 days10 days12 daysShow Answer8) One pipe can fill a tank three times as quickly as another pipe. If together the two funnels can fill the tank in 36 minutes, at that point the slower pipe alone will have the capacity to fill the tank :81 min.108 min.144 min.192 minShow Answer9) A substantial tanker can be filled by two pipes A and B in 60 minutes and 40 minutes exclusively. How long will it take to fill the tanker from the empty state if B is utilized for a fraction of the time and A and B fill it together for the other half?15 min20 min27.5 min30 minShow Answer10) A tap can fill a container in 6 hours. After a large portion of the tank is filled, three more comparative taps are opened. What is the aggregate time taken to fill the container totally?3 hrs 15 min3 hrs 45 min4 hrs4 hrs 15 minShow Answer11) When the price of a product was decreased by 10%, then the number sold increased by 30%. What was the effect on total revenue?17%13%14%19%Show Answer12) 8, 24, 12, 36, 18, 54, (....)271087282Show Answer13) 4, -8, 16, -32, 64, (....)128-128192-192Show Answer14) A 30% Loss on Cost Price is what percentage loss on Selling Price?25%30%40%None of theseShow Answer15) What would be Compound Interest increased on the sum of Rs 9000/- at the rate of 11 p.c. p .a in 2 years?Rs 2048.99Rs 2088.90Rs 2099.90None of theseShow Answer16) Find the ratio in which rice at Rs. 7.20 a kg is merged with rice at Rs. 5.70 a kg to produce a compound worth Rs. 6.30 a kg.1:23:22:3None of theseShow Answer17) A man can queue at 5 km ph in still water. If the acceleration of the current is 1 km ph and it takes him 1 hour to queue to a place and come back, how long is the place?2.4 km2.5 km3 kmNoneShow Answer18) A and B put loan into a business in the proportion 3 : 2. In the event that 5% of the aggregate value goes to charity and A share is Rs. 855, the aggregate value is:Rs1425Rs.1500Rs.1537.50Rs.1576Show Answer19) A, B and C together idea of pleasing in themselves in a business adventure. It concurred that A would contribute Rs. 6500 for a half year, B, Rs. 8400 for 5 months and C, Rs. 10,000 for 3 months. A demand to be the dynamic part for which; he was to get 5% of the interest. The value earned was Rs. 7400. Figure the share of B in the value.Rs 1900Rs 2660Rs 2200Rs 2400Show Answer20) Three partners shared the profit in a business in the proportion 5: 7: 8. They had joined forces for 14 months, 8 months and 7 months individually. What was the proportion of their investment?5: 7:820:49:6430:20:21None of theseShow Answer21) The income A, B, C is in the proportion 2: 3: 5. In the event that the additions of 15%, 10%, and 20% are permitted separately in their pay rates, at that point what will be a new proportion of their income?3: 3:1010:11:2023:33:60Cannot be determinedShow Answer22) If 40% of a number is equivalent to two-third of another number, what is the proportion of first number to the second number?2 : 53 : 75 : 37 : 3Show Answer23) Two number are in the proportion 3:5. If 9 is subtracted from each, the new numbers are in the proportion 12: 23. The least number is:27334955Show Answer24) In a pack, there are coins of 25 p, 10 p and 5 p in the proportion of 1: 2: 3. If there is Rs. 30 taking all things together, what number of 5 p coins is there?50100150200Show Answer25) A total of money at simple interest adds up to Rs. 815 out of 3 years and to Rs. 854 of every 4 years. The aggregate is:Rs. 650Rs. 690Rs. 698Rs. 700Show Answer26) Mr. Thomas contributed a measure of Rs. 13,900 separated in two different plans A and B at the simple interest loan fee of 14% p.a. and 11% p.a. respectively. If that the aggregate sum of basic premium earned in 2 years be Rs. 3508, what was the sum invested into Scheme B?Rs. 6400Rs. 6500Rs. 7200Rs. 7500None of theseShow Answer27) A total got an aggregate basic interest of Rs. 4016.25 at the rate of 9 p.c. p.a. in 5 years. What is the total?Rs. 4462.50Rs. 8032.50Rs. 8900Rs. 8925None of theseShow Answer28) How much time will it take for a measure of Rs. 450 to yield Rs. 81 as interest at 4.5% for each annum of simple interest?3.5 years4 years4.5 years5 yearsShow Answer29) A man purchases a book for Rs.29.50 and offers it for Rs 31.10. Discover his gain percent.8.1%5.4%9.8%2.4%Show Answer30) If log 2 = 0.3010 and log 3 = 0.4771, the value of log5 512 is:2.8702.9673.8763.912Show Answer31) The banker discount on a bill due 4 months subsequently at 15% is Rs. 420. The Banker discount is:Rs. 400Rs. 360Rs. 480Rs. 320Show Answer32) The investor's discount on Rs. 1600 at 15% per annum is the equal as a true discount on Rs. 1680 for a similar time and at an equal rate. The time is:3 months4 months7 months8 monthsShow Answer33) The banker's gain at a specific entirety due 2 years consequently at 10% per annum is Rs. 24. The present worth is:Rs. 480Rs. 520Rs. 600Rs. 960Show Answer34) The banker's gain on an aggregate due 3 years consequently at 12% per annum is Rs. 270. The banker discount is:Rs. 960Rs. 840Rs. 1020Rs. 760Show Answer35) A man crosses a 600 m long road in 5 minutes. What is his speed in km per hour?3.67.28.410Show Answer36) A plane covers a specific distance at a speed of 240 km ph in 5 hours. To cover a similar distance in hours, it must go at a speed of:300 km ph360 km ph600 km ph720 km phShow Answer37) If a man strolls at 14 km/hr rather than 10 km/hr, he would have strolled 20 km more. The actual distance traveled by him is:50 km56 km70 km80 kmShow Answer38) A train can travel half quicker than a car. Both begin from point A in the meantime and achieve point B 75 km from A in the meantime. In transit, in any case, the train lost around 12.5 minutes while stopping at the stations. The speed of the car is:100 km ph110 km ph120 km ph130 km phShow Answer39) Excluding stoppages, the speed of a transport is 54 km ph and including stoppages, it is 45 km ph. For how long does the transport stop every hour?9101220Show Answer40) In a trip of 600 km, a flying machine was backed off because of the bad climate. Its normal speed for the outing was reduced by 200 km/hr and the season of flight expanded by 30 minutes. The duration of the flight is:1 hours2 hours3 hours4 hoursShow AnswerMicrosoft English QuestionsOrdering Of Words1) It wouldP: appear from his announcementQ: about the arrangement of administrationR: in managing the strikeS: that he was quite in the darkThe Proper sentence should beRPSQPSQRRQPSPRQSShow Answer2) He was so kind and liberal thatP: he not justQ: made others do as suchR: but moreoverS: helped them himselfThe Proper sentence should bePSRQSPQRPRSQQPRSShow Answer3) There wasP: needed for it regular day to day existenceQ: a time when every familyR: for itself the majority of the things itS: actually createdThe Proper sentence should beQRSPRQPSRSPQQSRPShow AnswerCompleting Statement4) He has no cash now.........although he was extremely poor onceas he has surrendered all his richesbecause he was extremely rich oncebecause he has gotten the tremendous giftbecause he was extremely greedy about richesShow Answer6) He is lazy to the point that he.......cannot rely upon others for completing his workcannot postpone the calendar for finishing the workcan only from time to time total his work on timedislikes putting off the work that he embraces to do
More detailsPublished - Mon, 05 Dec 2022
Created by - Admin s
About the Company: DXC is a world's leading multinational company works on IT consulting, management consulting, cloud infrastructure, operations, managing services, and outsourcing services.DXC is headquartered in Tysons Corner, Virginia, USA and is a worldwide company. It operates in more than 70 countries. It is traded on the New York Stock Exchange under the symbol DXC.John Michael Lawrie is the present Chairman, President, and CEO at DXC Technology.On April 1, 2017, CSC (Computer Sciences Corporation) and Enterprise Services business of Hewlett Packard Enterprises together get merged as DXC Technology and guided the world's largest enterprises, government agencies through change cycles successfully.Play VideoDXC Technology Recruitment ProcessThere are total four rounds for recruitment process:Written Test (Aptitude, Verbal, Technical)Communication roundTechnical roundHR round1) Written TestThere will be a time of 1 hour for 100 questions:a. Aptitude, Verbal, Reasoning (40 Questions): There will be normal questions (not much harder). You can prepare for this section from R.S Aggarwal's book.Questions are asked on the following topic:Time and WorkAgeRatios and ProportionsParallel Lines and AnglesBlood RelationsSynonyms, Antonyms (Grammar Concepts)Questions from Unseen ParagraphsJumbled Sentencesb. Core subjects (60 Questions): You have the basic knowledge of your core subjects.C/C++Data StructuresJavaDBMSNetworkingUNIXOSSoftware Engineeringc. One Essay: Many topics will be there to write for. You have to choose any of them.DemonetisationWomen EmpowermentLast Birthday CelebrationReservation SystemOpinion on Implementation of dress code in engineering collegeShould reality shows be banned? Give your opinion.Luck Vs. Struggle1) Shyam will complete work in 20 days. If Ram is 25% more efficient than Shyam, then how many days he will take to complete the work?14181620Show Answer2) Manish is aged three times more than his son Suresh. After eight years, he would be two and a half time of Suresh's age. After further eight years, how many times would he be of Suresh's age?4 times5 times2 times3 timesShow Answer3) A 2% error in excess is found while measuring the side of a square. So, find the percentage of error in the calculated area of the square.4.04%2.30%1.03%3%Show Answer4) After rolling twice a dice, what will be the probability of getting a sum equals to 9?2/53.41/31/9Show Answer5) The Compound Interest on Rs. 30,000 at 7% per annum is Rs. 4347. The period(in years) is :1233.5Show Answer6) Find the relationship of words in the following questions:(a) Odometer: Mileage, Compass:SpeedHikingNickelDirectionShow Answer(b) Marathon: Race, Hibernation:WinterDreamBearSleepShow Answer7) If CANDLE is coded as EDRIRL, how can FRIEND be written in that code?HUMJTKDEQJQMESJFMEDCQHQKShow Answer8) Find the odd one out:ResonanceToneEAREchoShow Answer9) Which one is the simplest file structure?SequentialIndexedRandomShow Answer10) Anu is Babita's sister. Geeta is Babita's mother. Deepak is Geeta's father. Ekta is Deepak's mother. Then, how is Anu related to Deepak?GrandfatherGrandmotherDaughterGranddaughterShow Answer11) Corpulent is same as:LeanObeseGauntEmaciatedShow Answer2) Communication RoundIn this round, they make groups of a number of students from the total number of students. Then they ask students to discuss the thoughts on the topic they give to them on that spot. Students with good communication skills, good etiquettes, and overall good personality will get selected from every particular round.NOTE: Communicate with confidence and right attitudes without any grammatical mistakes.The topics of the discussion may be about current affairs, life experiences, and social issues as follows:DemonetisationWomen EmpowermentLast Birthday CelebrationReservation SystemOpinion on Implementation of dress code in engineering collegesShould reality shows be banned? Give your opinion.Luck Vs. StruggleDiscussion about some topics i.e. Was Gandhiji a born leader or a made one?Professional Ethics3) Technical RoundFor this round, you have to be well prepared for everything being mentioned in your resume including your major, minor projects, training projects, internship (if any). The Interviewer may even ask about the total number of subjects in your Graduation, last semester subjects, your favourite subjects etc. The time will be around half an hour.Some of the questions are:1) Explain your major project.Answer: My major project was an android online application named Chat App to chat with friends, to share the images, files, to invite the peoples etc., having good security and privacy concerns. The project was a real-time based application connected with firebase. My project supervisor helped me a lot to complete my project on time.2) What are your favourite subjects?Answer: My favourite subjects are Data Structures, Compiler, Networking, Core Java, Software Engineering, Discrete Mathematics, Software Project Management, Big Data, and Digital Electronics.3) What is Polymorphism?Answer: Polymorphism is a concept by which we can perform a single action in different ways. Polymorphism is derived from 2 Greek words: poly and morphs. The word "poly" means many and "morphs" means forms. So polymorphism means many forms.4) What is the difference between Abstraction and Interface?Answer:ABSTRACTIONINTERFACE1.An abstract class can have abstract and non-abstract methods.An Interface can have only abstract methods. Since Java 8, it can have default and non-static methods also.2.Abstract class doesn't support multiple inheritance.Interface supports multiple inheritance.3.Abstract class can provide the implementation of interface.Interface can't provide the implementation of abstract class.4.The abstract keyword is used to declare abstract class.The interface keyword is used to declare interface.5) What is Encapsulation in Java?Answer: Encapsulation in Java is a process of wrapping code and data together into a single unit, for example, a capsule which is mixed of several medicines.We can create a fully encapsulated class in Java by making all the data members of the class private. Now, we can use setter and getter methods to set and get the data in it.The Java Bean class is the example of a fully encapsulated class.6) What are the layers of OSI model?Answer: Layers of OSI model are:Application layer ( 7th Layer)Presentation layer (6th Layer)Session layer (5th Layer)Transport layer(4th Layer)Network layer(3rd Layer)Data Link layer (2nd Layer)Physical layer(1st Layer)7) What is UNIX?Answer: UNIX is a complete package of the operating system developed mainly for servers, workstations, and mainframes. It is a copyrighted named. It can be used by its copyrighters only. It contains a completely different coding developed by AT&T labs, highly secured, has listed about 85-120 viruses till date.8) What is Android? Who is its founder? Name its latest version.Answer: Android is an open-source, Linux-based operating system used in mobiles, tablets, televisions etc. Andy Rubin is the founder of Android. 9 Pie is the latest version of Android.9) Write a java program to print Fibonacci series.PROGRAM:class programme { public static void main(String args[]) { int i; int array[]= new int[11]; array[0]= -1; array[1]=1; System.out.println("The Fibonacci series is: "); for(i=2; i123123412345PROGRAM:class Pyramid { public static void main(String[] args) { for(int i=1; i
More detailsPublished - Mon, 05 Dec 2022
Created by - Admin s
About the company: EricssonEricsson is one of the leading Swedish multinational company works in the field of networking and telecommunications. It is headquartered in Stockholm, the capital of Sweden. It was founded in 1876 by Lars Magnus Ericsson in Stockholm, Sweden. Ericsson is a worldwide leading provider of services, software and infrastructure in Information and communication technology to service providers. It provides services for telecommunication and IP networking equipment, mobile and broadband, business services, and various cloud applications. Ericsson is working with around 95,000 employees over 180 countries, having 42,000 authorized patents (till December 2016). Ericsson helps their customers by serving the game-changing technologies which are easy to adapt and use. Ericsson is an emerging business in 5G, IoT, and a new approach for designing data security.Key peopleFounder: Lars Magnus EricssonPresent Chairman: Leif JohanssonPresent President and CEO: Borje EkholmPlay VideoxEricsson Recruitment ProcessEricsson recruitment process consists of mainly four rounds for fresher Graduate Engineer post. You must have to clear the previous rounds to proceed for the next rounds.First round: Aptitude TestSecond round: Group Discussion RoundThird round: Technical Interview RoundFourth round: HR Interview RoundAcademic CriteriaTo apply for Ericsson, candidates are required to meet the following academic criteria:Percentage criteria: 60% throughout (Class X, XII, and B. Tech).No backlogs at the time of interview.Education gap should not be more than one year.First Round: Aptitude TestDescription: The first round consists of Aptitude test which consists of three sections. Which are:Quantitative AptitudeLogical ReasoningVerbal ReasoningThis round has an average difficulty level with no negative marking. It consists of a total 45 number of questions and time of 45 minutes. Candidate can easily cross this section with proper preparation of following topics with good speed:SectionNumber of questionsTime DurationQuantitative AptitudeProfit and LossCubesHCF and LCMProblems on AgesProbabilityPermutation and CombinationTime & workSpeed and Distance etc.1515 minLogical ReasoningSeriesCoding and DecodingStatement ArgumentBlood RelationSeating Arrangement, etc.1515 minVerbal AbilitySynonymsAntonymsReading ComprehensionSpotting Errors, etc.1515 minAptitude Interview Questions1) If the average age of Mansi and her grandfather is 40 years. The ratio of their ages is 1:3 respectively, then what will be the age of Mansi?21426020Show Answer2) 25% of 350+ 35% of 250 = x, then find the value of x?125175150180Show Answer3) If a bag contains 2 blue, 3 yellow, and 2 green balls. Two balls are drawn randomly from the bag. Find the probability that both the balls are not green?2/75/710/2111/21Show Answer4) John salary got decreased by 40% and subsequently increased by 40%. Then how much percentage salary he lose?16%0%24%None of the AboveShow Answer5) In a class, marks of Rohan were wrongly entered as 93 instead of 73. Because of this mistake, the average marks of the class got increased by 1/2, find the total number of students in the class?45303540Show Answer6) If Rohan walks at the rate of 4kmph, covers a certain distance in 3hr 45 min. If Rohan runs at a speed of 12.5kmph, then he will cover the same distance in what time?65 min45 min70 min72 minShow Answer7) A rectangular park has length and breadth in the ratio of 2:1. If a person running at a speed of 10 km/hr around the boundary of the park then he completes one round in 9 min. Find the area of the park?152600sq.m.135000sq.m.455000sq.m.405000sq.m.Show Answer8) A can do a work in 15 days, and B can do the same job in 12 days. With the help of C, A and B can complete the job in 5 days only. Then, in how many days, C can complete the job when working alone.15 days18 days20 daysNone of the above.Show Answer9) At present, the ratio of ages of Aman and Rahul is 3:4. After 6 years, Aman's age will be 27 years. What is the age of Rahul at present?22 years21 years28 years24 yearsShow Answer10) Find the number which will be exactly divisible by 12, 18, 21, and 30?25201260630196Show AnswerVerbal English Interview QuestionFind the Correct options1) Rain: clouds:: x: lacrimal sac. What will be the option for x?SweatTearsBloodWaterShow Answer2) We __________ for the IAS examination.Have preparingHave been preparedHad preparedAre preparingShow Answer3) The Students of MBA __________ to submit their reports by the end of the week.Were askedAre askedHave askedAre askingShow Answer4) Reema___________ for a while.Have been ailingAre ailingHas been ailingIs ailingShow Answer5) The bank robbers __________ by the policeHave been arrestedHad arrestedWas arrestedHave arrestedShow Answer6) What will be the antonym of "EXODUS"?Home-comingInfluxReturnRestorationShow Answer7) Zoya never visits any zoo because she is strong opponent of the idea of ______________Feeding the animals in front of everyoneGoing out on holiday with friendsHolding the animals in imprisonmentLet the animals free into the forestShow Answer8) CORPOREAL: SPIRITUAL, find the analogy?Mesa: PlateauMoron: SavantForeigner: ImmigrantPedagogue: TeacherShow Answer9) Improve the sentence by selecting the correct alternativePaul told to his sister that "I would have waited for you at the airport if I knew that you would come with me."Had knownWas knowingHave knownNo improvementShow Answer10) Find the correct option for the following sentence.They were all surprised at his success in the dance competitionWere surprised at allHad all surprised atHad been all shocked onNo correction required.Show AnswerLogical Reasoning interview questions1) What will be the next number in the following series?14, 28, 20, 40, 32, 64, .........965652128Show Answer2) Find the odd one from the following optionsDodgeDuckAvoidFleeShow Answer3) What should be the next number in the series 8, 6, 9, 23, 87,.....?128226429324Show Answer4) What will be the next term in the following series,3, 7, 13, 27, 53, ___?10510797113Show Answer5) Fill the blank with the correct optionsCMN, EOP, GQR, _________, KUV.GRSITTGSTISTShow Answer6) In a code language,tamceno means "sky blue"cenorax means "blue cheese"aplimiti means "star bright"Which word means "bright sky"cenotamaplcenomitltamraxmitlShow Answer7) Pointing towards a person, Hari said to his friend, "He is the son of the only daughter of father of my brother," then how Hari is related to that person?BrotherMaternal UncleFatherNephewShow Answer8) Statement:Some Onions are tomatoAll tomatoes are peanutsAll peanuts are candyConclusion:A. Some onions are peanutsB. Some peanuts are OnionC. All tomatoes are CandyOnly A and B followsOnly B and C followsOnly A and C followsAll followShow AnswerSecond Round: GD (Group Discussion) RoundDescription: The second round consists of Group Discussion (GD) Round. Candidates selected from first round are appeared in this round. This is very important and very tricky round as candidates are judged on their communication skills, soft skills, good team member skill and confidence. In this GD round, there will be 6-8 candidates who will participate for one time and they will be given a social topic on which they have to discuss. Following are some points which candidates need to follow while preparing for GD round.Note:Be a good listener in GD, and listen to every point very carefully.While speaking in GD, try to speak in very easy and in a comprehensive way so that everyone will understand easily.Try to acknowledge to everyone's point.Do not interrupt anyone while speaking.Think positively and creatively.Some famous and latest GD topics are given below:Is social networking curse or boon?Is India ready for the cashless economy?Making Aaadhar mandatory is a good idea or not?Which is better: Hard work or Smart work?Internet Surfing at workplace will affect productivity or not?Is India ready for electric vehicles?Third Round: Technical Interview QuestionsDescription: The next round of the Ericsson Interview process is a technical Interview round. In this round, candidates are asked questions on the basis of technical skills such as C, C++, Java, and Networking. Following are some sample questions with an answer to practice for technical round.1) Differentiate between abstract class and Interface in Java?Abstract class and interface both concepts are used to accomplish abstraction in Java. The primary differences between abstract class and Interface are:The abstract keyword is used to create an abstract class in Java, whereas interface keyword is used to create Interface.An abstract class can have both abstract and non-abstract methods whereas Interface can only have abstract methods.As a general class, abstract class also does not support multiple inheritance, whereas an interface supports multiple inheritance.An abstract class can extend other class and implement interfaces but an interface cannot extend class. It can only extend other interfaces.An abstract class may or may not have methods with implementations, but Interface cannot have method implementation.2) What are the static variable and static block?Static variable: If we use the static keyword with a variable then it is termed as a static variable. Static variables are the part of the class not, the instance. When we declare any static variable, then it creates a copy in memory which is shared between all the objects. Static variables are not thread safe as it is shared between various objects. Static variables are mainly used for memory management.Syntax:static variable_name; Static Block: A block inside a class with the static keyword is called a static block. A static block is executed at the time of class loading and before the execution of the main method. Static block is primarily used for initialization of the static variable. A class can have multiple static blocks, and they execute in the sequence as they appear in the program.Syntax:static{ // code to be executed } 3) What do you understand by TCP/IP?TCP/IP stands for Transmission Control Protocol/Internet Protocol. It is a suite of protocols TCP and IP, used for the communication over a network. TCP/IP protocols provide some standard rules for communication between two or more computers over the network. The TCP protocol at the transport layer divides a message or data into packets form and then resembled the packets at the destination part. IP protocol at Network layer is responsible for the moving of these packets to the correct destination.4) Which is the fastest sorting algorithm?There is no such specific fastest sorting algorithm because it depends on various factors and all the sorting algorithm gives different performances for different input cases. Although among all the sorting algorithm we can consider Quicksort as a fastest algorithm as it shows time complexity of O(n log n) for the best case and average case and O(n^2) for the worst case.5) What is tunnelling and tunnelling protocols? Explain their applications?Tunnelling is also known as port forwarding. These are the communication protocols which allow the secure data movement from one network to another network. Tunnelling enables communication from the private network which sent across the public network, and such process is called as encapsulation.In tunnelling process, data is converted into the form of packets, which travels through the tunnel. As data packets are moving through the tunnel, they got encrypted by the encapsulation process and when these packets reach the correct destination, then these packets are de-encapsulated and de-encrypted, and the packets again converted to the original data.Main tunnelling protocols are:PPTP: PPTP stands for the point-to-point tunnelling protocol. PPTP is available for Windows, Linux, and Mac. This protocol keeps data secure even in the public network. It works with the virtual private network which can be accessed by an authorized user.L2TP: L2TP stands for Layer 2 tunnelling protocol, which supports VPN. It depends on the encryption protocol for the encryption of data which passes through the tunnel.Application of tunnelling protocols:Tunnelling is used in cases where high-level security is required for data transmission over the network.It is helpful for encryption and decryption of data.6) Explain Polymorphism in Java?Polymorphism in Java is an important feature of Object Oriented Programming (OOP), which defines a single object with different forms. With the help of polymorphism, one action can be done in various ways.There are mainly two types of polymorphism in Java:Run-time polymorphismCompile-time polymorphismRun-time polymorphism: Method overriding is used to achieve Runtime polymorphism. It is also called Dynamic polymorphism or Dynamic method dispatch. In Run-time polymorphism, when we call an override method, it is resolved at run-time, hence it is called as run-time polymorphism.Compile-time polymorphism: Method Overloading is used to achieve the Compile time polymorphism. It is also called as Static polymorphism and when we call the method, it is resolved at compile time only. That's why it is called as Compile-time polymorphism.7) What do you understand by Pointer arithmetic in C?As we know Pointer is a variable which holds the address of another variable and that variable is a numeric value, so any arithmetic operation performed on a pointer is termed as pointer arithmetic. But we can only perform some limited arithmetic operations on the pointer, which are given below:IncrementDecrementAdditionSubtractionComparison8) Explain the difference between packet switching and circuit switching?The Packet switching and circuit switching both are the switching methods which are used to forward the data packets from the sender to receiver destination.The main differences between the Packet switching and circuit switching are given below:Packet SwitchingCircuit SwitchingIn packet switching, data is divided into small parts, termed as packets and then these packets are transmitted from source to destination.In circuit switching a physical path is established between two endpoints for data transmission.Packet switching is connectionlessCircuit Switching is connection oriented.Packet switching can be implemented at the network layer of the OSI model.Circuit switching can be implemented at the physical layer of the OSI model.It is mainly designed for data and voice communication.It is basically designed for voice communication.Congestion occurs at the time of data transfer phase.Congestion occurs at the time of connection establishment.9) What do you understand by CDMA?CDMA is the acronym for Code-division multiple access, is a standard for the wireless digital cellular network. CDMA is a type of multiplexer, where various transmitters can transmit information simultaneously over a single communication channel. CDMA uses spread-spectrum technology and special coding scheme for data transmission. Various protocols, which are used for 2G or 3G wireless communication, refer to CDMA.10) What do you understand by demodulating a signal?Demodulation of a signal is a method of extracting the original information of signal from a carrier wave. An electronic circuit which is used for demodulation is called as a demodulator.11) What do you understand by telecommunications?Telecommunication refers to the transmission of any signal, data or any type of information by physical or wireless medium over a significant distance. When the exchange of information between the sender and the receiver occurs with the help of technology, then it is known as telecommunication. In telecommunication there is a communication arrangement with a transmitter and a receiver. At any station, a device which combined the transmitter and receiver is termed as a transceiver.Basic Elements of Telecommunication System:Transmitter: Which takes the information and convert into the form of a signalTransmission medium: A medium over which signal travels it may be an optical fibre cable, or free space.Receiver: Which receives the signal and convert into a usable form.12) What are the various advantages of GSM?GSM is an acronym of Global System for Mobile communication. It defines the standard protocols for the second-generation digital cellular network used by mobile devices.Advantages of GSM:GSM allows a reliable and efficient way to transfer data. It also allows transferring text and pictures.GSM provides better security during the conversation. It ensures that only the caller and receiver are in conversation during a call.GSM provides the worldwide facility of calls and data transfer, but it may cost high on the international level.GSM cell phone has clear sound quality, as it filters background noise.13) What are the various applications of DSP?DSP is termed as Digital Signal Processing. It is a part of signal processing which is used to perform a variety of signal processing. DSP unit analyses and modifies a signal to increase its performance and efficiency.Various applications of DSP in communication:DSP is used in audio signal processing.DSP is used in encoding the waveforms.DSP is used for Audio compression.DSP is used for Digital image processing.DSP is used for speech processing.DSP is used in RADAR, biomedicine, weather forecasting, and many more applications.14) What do you understand by commands?Commands are the specific instructions given by the user to the computer?s operating system, to perform a particular task. We can input these commands using the command line interface provided by the operating system.15) Why we use Jump statement in C++?Jump statements are used to disturb the normal flow of program unconditionally. There are three types of Jump statements available in C++.BreakContinuegoto.16) What do you understand by MAC address?MAC address stands for "Media Access Control" Address is a unique identification hardware number, which uniquely identifies each device on a network. The MAC address is a computer's unique hardware number which can be determined by Ethernet or Wi-Fi card. A MAC address is of 64 or 48 bits, which is expressed in hexadecimal forms separated by colons such as 2AA:EF:EF3E:2A1B.17) What do you understand by nested loop?If a loop exists inside another loop, then it is termed as a nested loop. Or a loop within a loop is called a nested loop. When we use a nested loop in our code then control passes to the outer loop, then for first iteration it executes its following loop and other conditions and so on and repeats until the outer loop finishes.Syntax:for(int i=0; i
More detailsPublished - Mon, 05 Dec 2022
Created by - Admin s
About CompanyIntuit Inc. is a business and financial Software Company that creates and offers monetary, bookkeeping and duty planning programming and related administrations for small businesses, accountants and people. The organization was established in 1983, headquartered in Mountain View, California. Notwithstanding the United States, the organization has workplaces in eight nations around the world i.e. UK, Australia, France, Singapore, India, Brazil, Canada, and Israel.Intuit produces TurboTax, a customer tax application, the private company accounting program QuickBooks, professional tax solutions ProConnect Tax Online, ProSeries and Lacerate, and multiple payroll products.In June 2013, Intuit reported that it would sell its monetary administrations unit to private equity firm Thomas Bravo for $1.03 billion.In June 2015, Intuit laid off roughly 5% of its workforce as a component of reorganization.Play VideoxAs of May 2018, Intuit had more than US$5 billion in yearly income and a market capitalization of about US$50 billion.In August 2018, CEO Brad D. Smith declared that he would venture down as Intuit's CEO at the end of 2018. The organization declared that Sasan Goodarzi would turn into Intuit's CEO toward the start of 2019. Smith will remain executive of Intuit's leading group of directors.Eligibility Criteria:70 percent or above in B.Tech, Class X and XII.No backlog at the time of Interview.Recruitment Process:Intuit conducts 3 rounds to select fresher as Software Engineer in their organization.Written Round.Technical RoundHR RoundThe pattern of Written Exams:SectionsNo of QuestionAptitude25Technical35English20Total80The total time given to Question is 1 hour 20 minutes. There is no negative marking in the exam.Written Round: The Written Round consists of three major sections namely General Aptitude Test, Coding Test, and English Assessment Test. There is no timer as each question as the first round.Technical Round: In this round, you should be prepared with Data Structure, JAVA, Operating System, OOPs Concepts and updated technology like Python and Data Mining.HR RoundsSometimes they asked HR question like:Tell us about yourself.Why do you want to work for our company?What are your Strength and Weakness?What makes you angry?Question asked from Resume.How quickly do you adopt new technology?Question asked in IntuitWhat is the purpose of Exception Handling?What are the uses of Pointers?Define fully functional Dependency.Differentiate between Structure and Union.Define B tree.What are the advantages of Data Warehouse?Differentiate between DBMS and RDBMS.What do you understand by asymptotic notation?What is singleton Class?Can we have Private Constructor in java?Intuit Aptitude QuestionsCompound Interest-Data Sufficiency1) What will be the compound interest earned on a sum of Rs. 5000 in 2 years?(i). the simple interest on the equal sum at the same rate of interest in 5 years is Rs. 2000.(ii). the compound interest and the simple interest collect in one year is the same.(iii). the amount becomes more than double on compound interest in 10 years.I onlyI and II onlyII and III only.I and III only.Show Answer2) Two candidates came to an examination. One of them gets 9 marks more than the other and his marks were 56% of the number of their marks. The marks accomplish by them are:49, 4042, 3341, 42None of these.Show Answer3) The differentiate among a two-digit number and the number collect by interchanging the positions of its digits is 36. What are the differences amongst the two digits of that number?456can't determine.Show Answer4) The differentiate amongst a two-digit number and the number collect by interchanging the digits is 36. What are the differences amongst the sum and the difference of the integer of the number if the ratio between the digits of the number is 1: 2?4816NoneShow Answer5) The investor's discount on Rs. 1600 at 15% per annum is the equal as a true discount on Rs. 1680 for a similar time and at an equal rate. The time is:3 months4 months7 months8 monthsShow Answer6) In covering a distance of 30 km, Abhay takes 2 hours greater than Sameer. If Abhay extends his speed, then he would take 1 hour less than Sameer. Abhay's speed is:5 km/hr.6 km/hr7 km/hr8 km/hrShow Answer7) By using his bicycle, Robert has reached to point A at 2 P.M. if he travels at 10 kmph. He will reach there at 12 noon, if he travels at 15 kmph. At what speed must he journey to reach A at 1 P.M.?10 km/hr.12 km/hr14 km/hr.None of these.Show Answer8) Two trains are running at 40 km/hr and 20 km/hr respectively in the same line. Fast train absolutely passes a man sitting on the slower train in 5 seconds. What is the length of the fast train?A.23m27m27 7/9mNoneShow Answer9) A man purchases a book for Rs.29.50 and offers it for Rs 31.10. Discover his gain percent.8.1%5.4%9.8%2.4%Show Answer10) Two stations A and B are 110 km apart on a horizontal line. One train begins from A at 7 a.m. and travels towards B at 20 km ph. Another train begins from B at 8 a.m. and travels towards A at a speed of 25 km ph. At what time will they meet?9 am10 am10.30 am11 amShow Answer11) There are two examinations class A and B. If 10 candidates are appointed from A to B, then the number of candidates in each room is the same. If 20 candidates are appointed from B to A, then the number of students in A is double the number of students in B. The number of students in room A is:204010080Show Answer12) An amount of Rs. 1360 has been divided between A, B and C such that A gets 2/3 of what B gets and B gets 1/4 of what C gets. B's share is:120140160None of these.Show Answer13) What percent is 2 minutes 24second of an hour?2%4%6%8%Show Answer14) The ratio of investment of A: B is 8:7 and the ratio of year-end profits is 20:21. If B invested for 12 months, then find the period of investment of A.8 month.6 month.10 month.12 month.Show Answer15) A boat running upstream takes 8 hours 48 minutes to cover a specific distance, while it takes 4 hours to cover a similar distance running downstream. What is the proportion between the speed of the boat and the speed of the water current and flow individually?2: 13: 28: 3Can't be resolvedNone of theseShow Answer16) A man pushes downstream 30 km and upstream 18 km, taking 5 hours each time. What is the speed of the stream (current)?1.2 km/hr1.7 km/hr2.8 km/hr4.8 km/hr.Show Answer17) A man wants to sell his scooter. There are two proposals; one at Rs. 12,000 amount and the other a credit of Rs. 12,880 to be paid after 8 months. The current interest rate for money is 18% per annum. Which is the better proposal?Rs 12000 in cash.Rs 12000 in creditBoth are equally goodNone of these.Show Answer18) Goods were acquired for Rs. 600 and sold the equal for Rs. 688.50 at a credit of 9 months and thus profit 2%.The rate of interest per annum is:16 2/3%15 1/3%14 1/3%NoneShow Answer19) Look at this set: 53, 53, 40, 40, 27, 27, what integer should come next?12141618Show Answer20) Choose odd one.1, 4, 9, 16, 20, 36, 49110209Show Answer21) A can contain a combination of two liquids A and B in the proportion of 7: 5. When 9 liters of dough are drawn off and the can is filled with B, the ratio of A and B becomes 7: 9. How many liters of liquid A were contained by the can initially?10202125Show Answer22) A milk dealer has 2 bottles of milk. The first contains 25% water and the rest milk. The second contains 50% water. How much milk should he combine from each of the containers so as to get 12 liters of milk such that the ratio of water to milk is 3: 5?6 liters, 6 liters.6 liters, 5 liters.5 liters, 6 liters.None.Show Answer23) A is twice as fast as B is thrice as fast as C. The journey covered by C in 42 minutes, then what will be the time taken by A?21 min64 min17 min40 minShow AnswerIntuit Technical Questions1) Find out the Output of the Program: #include int main () { int a=300,b, c; if (a>=400) b=300; c=200; printf ("%d %d\n",b, c); return 0;}B will contain some garbage value and c will equal to 200.C will contain some garbage value and b will equal to 300.No ErrorNone of these.Show Answer2) Find out the Output of the Program:#include int main(){ int a=500,b,c; if (a>=400) b=300; c=200; printf ("%d %d\n",b,c); return 0;}200, 300300, 200No OutputNone of these.Show Answer3) Find out the error of the program:#includeint main(){ int j=10,k=12; { { k=j; j=k; } } return 0;}No ErrorThere should be at least semicolon in main () method.None of Above.Show Answer4) Find out the error of the program:#includeint main(){ int i=1; for (;;) { Printf ("%d\n", i++); If (i>10) break; } return 0;}There should be a condition in for loopThe two semicolons should be discarded.No Error.None of above.Show Answer5) Find out the Output of the Program:#includeint main(){ int x=4,y,z; y=--x; z=x--; printf ("%d %d %d\n", x ,y ,z);}2 3 33 2 32 2 3None of AboveShow Answer6) The result of evaluating the postfix expression 5, 4, 6, +, *, 4, 9, 3, /, +, * is?600350650588Show Answer7) In linked list, individual node contains a minimum of two fields. One field is data field to save the data second field is?Pointer to characterPointer to integerPointer to nodeNodeShow Answer8) A normal queue, if actualize using an array of size MAX_SIZE, gets full whenRear = MAX_SIZE - 1Front = (rear + 1) mod MAX_SIZEFront = rear + 1Rear = frontShow Answer9) Given is the Node class implementation. Select one of the following that correctly inserts a node at the tail of the list.public class My Class{ Protected int data; Protected Node prev; Protected Node next; public Node (int data) { this. data = data; prev = null; next = null; } public Node (int data, Node prev, Node next) { this. data = data; this.prev = prev; this. next = next; } public int get Data() { return data; } public void set Data(int data) { this. data = data; } Public Node getPrev () { return prev; } public void setPrev (Node prev) { this. Prev = prev; } public Node get Next { return next; } public void set Next(Node next) { this. next = next; }}public class DLL{ Protected Node head; Protected Node tail; int length; public DLL () { head = new Node (Integer.MIN_VALUE, null, null); tail = new Node (Integer.MIN_VALUE, null,null); head.setNext (tail); Length = 0; }}public void insert Rear (int data){ Node node = new Node (data, tail.getPrev (), tail); node.getPrev ().set Next (node); tail.setPrev (node); Length++;}public void insert Rear (int data){ Node node = new Node (data, tail.getPrev (), tail); node.getPrev ().get Prev ().set Next (node); tail.setPrev (node); Length++;}public void insert Rear (int data){ Node node = new Node (data, tail. Get Prev (), tail); node.getPrev ().set Next (tail); tail.setPrev (node); Length++;}public void insert Rear (int data){ Node node = new Node (data, head, tail); node.getPrev ().set Next (node); tail.setPrev (node); Length++;}Show Answer10) Which of following function make use of Circular Linked list?Undo Operation in a text editor.Recursive function calls.Allocating CPU to resources.None of Above.Show Answer11) In linked list implementation of a queue, front and rear pointers are followed. Which of those pointers will modify until an insertion into a NONEMPTY queue?Only front pointerOnly rear pointerBoth front and rear pointerNone of the mentionedShow Answer12) How do you allocate a matrix using a single pointer in C?(r and c are the integers of rows and columns respectively)int *arr = malloc(r * c * size of(int));int *arr = (int *) malloc (r * c * size of(int));int *arr = (int *)malloc(r + c * size of(int));int *arr = (int *)malloc(r * c * size of (arr));Show Answer13) What is the disadvantage of matrices?Internal complexitySearching through a matrix is complexNot space efficientAll of the aboveShow Answer14) What does the following declaration mean?int (*ptr)[10];ptr is an array of pointer to 10 integers.ptr is a pointer to an array of 10 numbersptr is an array of 10 integers.None of above.Show Answer15) Is it possible to implore Garbage Collector explicitly?yesNoShow Answer16) Is it possible for you to prevent an object from being created by using zero-argument constructors?yesNoShow Answer17) Would you be able to consolidate the accompanying two statements into one?Char *p;p = (char*) malloc (100);char p = *malloc (100);char *p = (burn) malloc (100);char *p = (char*) malloc (100);char *p = (burn *) (malloc*) (100);Show Answer18) Which of the statement is right about the program?#includeint primary(){ int i=10; int *j=&i; return 0;}j and I are pointers to an inti is a pointer to an int and stores address of jj is a pointer to an int and stores address of Ij is a pointer to a pointer to an int and stores address of IShow Answer19) What type of join is utilized when you wish to add rows that do not have identical values?Equi JoinNatural JoinOuter JoinAll of the above.Show Answer20) Which of the following is true regarding system data in an RDBMS?RDBMS saved database definition information in system-created tables.This data can be accessed using SQL.This data often cannot be updated by a user.All of the above.Show Answer21) Data scrubbing is which of the following?A process to deny data from the data warehouse and to create the necessary indexes.A process to contents the data in the data warehouse and to create the necessary indexes.A process to enhance the quality of information after it is changed into a data warehouse.A process to enhance the quality of data before it is changed into a data warehouse.Show Answer22) An operational system is which of the following?A system that is used to bind the business in real time and is based on historical data.A system that is used to bind the business in real time and is based on current data.A system that is used to support the decision making and is based on current data.All of the above.Show Answer23) Data in operational systems are consistently fragmented and inconsistent.TrueFalseShow Answer24) Every key utilized to join the fact table with a dimensional table will be a surrogate key.TrueFalseShow Answer25) What does FSF stand for?Free Software FileFile Server FirstFree Software FoundationNone of above.Show Answer26) What command is used to count just the number of lines contained in a file?wc - rwc-wwc-INone of aboveShow Answer27) Which class network is used for a collection of a small number of networks with a large number of nodes?Class AClass BClass CClass DAll of aboveShow Answer28) What does OSS stand for?Open System SoftwareOriginal Source SoftwareOpen Source SoftwareNone of above.Show Answer29) The command chmod 761 letter is equal tochmod 4=7, g = 6, o = 1 letterchmod a = 761 letterchmod u = rwx, g = rw, o = x letterNone of aboveShow Answer30) What command is used with vi editors to move forward to the end of a word?cdbeShow Answer31) Which command is used to display the top of the file?catheadmoreNone of aboveShow Answer32) Which command is used to copy all files having the string chap and any two characters after that to the programs directory?A.cp chap?? Progscp chap* progscp chap?? /progs/*None of aboveShow Answer33) In which of the storage placement strategies a program is placed in the largest available hole in the main memory?best fitworst fitbuddyNoneShow Answer34) In analyzing the compilation of PL/I program, the term "Machine independent optimization" is associated withrecognition of basic syntactic constructs through reductions.recognition of basic elements and establishment of uniform symbols.creational of the more optional matrix.NoneShow Answer35) If special forms are needed for printing the output, the programmer specifies these forms through?JCLJPLLoad ModulesNoneShow AnswerEnglish QuestionsOrdering of sentences: Here, S1 is the first sentence and S6 is the final.1) S1: And then Gandhi came.P: Get off the backs of these laborers and specialists, he let us know, all you who live by their abuse.Q: He resembled a great current of natural air, similar to a light emission, similar to a tornado that bombshell numerous things.R: He talked their language and always does their consideration regarding their shocking conditions.S: He didn't plummet from the best; he appeared to rise up out of the majority of India.S6: Political opportunity took new shape and after that gained another substance.The Proper sentence should to be:QSRPSRQPRSQPPRSQShow Answer2) S1: Biological development has not fitted man to a particular situation.P: It is in no way, shape or form an organic development, yet it is a social one.Q: His creative ability, his reason, his passionate nuance and strength, makes it feasible for him not to acknowledge nature but rather to change.R: And that arrangement of developments by which man from age by age has reshaped his condition is an alternate sort of advancement.S: among the huge number of creatures which hasten, tunnel swim around us he is in the special case who isn't secured to his condition.S6: That splendid arrangement of social pinnacles can most suitably be named the rising of man.The Proper sentence should to be:QPRSSRQPQRSPSQRPShow Answer3) S1: The dictionary is the closest companion of you assignment.P: That may not be conceivable dependably.Q: It is wise to find it instantly.R: Then it must be solidly composed on the memory and followed at the primary chance.S: Never enable an interesting word to pass unchallenged.S6: soon you will understand this is an energizing undertaking.The Proper sentence should to be:PQRSSPQRQRPSSQPRShow Answer4) S1: In 1934, William Golding distributed a little volume of poems.P: During the World War II (1939-45) he joined the Royal Navy and was available at the sinking of the Bismarck.Q: He came back to educating in 1945 and surrendered it in 1962, and is currently full time water.R: In 1939, he wedded and began instructing at Bishop Wordsworth School in Salisbury.S: At first his books were not acknowledged.S6: But the Lord of the records which turned out in 1954 was invited as "a most retaining and informative story".The Proper sentence should to be:RPQSRPSQSRPQSQPRShow AnswerChange of Speech:5) He shouted with delight that India had won the Sahara Cup.He said, "India has won the Sahara Cup"He said, "India won the Sahara Cup"He said, "How! India will win the Sahara Cup"He said, "Hurrah! India has won the Sahara Cup"Show Answer6) The young lady said to her mom, "Did the sun rise in the East?"The young lady said to her mom that the sun rose in the East.The young lady asked as to whether the sun rose in the East.The young lady said to her mom if the sun rises in the East.The young lady asked as to whether the sun is in the East.Show Answer7) The man said, "No, I declined to presents blame."The man emphatically declined to presents blame.The man declined to presents his blame.The man told that he didn't presents blame.The man was sufficiently enough to presents blame.Show AnswerCompleting Statement8) With incredible endeavors his child prevailing with regards to persuading him not to give his whole riches to an Orphanage.and lead the life of a well off shipperbut to a home for the spurned kidsand make a orphan of himselfas the shelter required a considerable measure of giftsas the shelter had been set up by himShow Answer9) He generally stammers in public meeting, however his the present discourse.was genuinely capable of being heard to everybody present in the corridorwas not got tastefullycould not be seen legitimatelywas not enjoyed by the gathering of peoplewas free from that deformityShow Answer10) despite the fact that it is vast house,there is a great deal of room accessible in it for youngstersthere is not really any space accessible for youngstersthere is no deficiency of room for kidsthe workers set aside a long opportunity to clean itthe civil charges on it are exceptionally cheerfulShow AnswerTechnical Interview Questions1) What is the purpose of Exception Handling?The purpose of exception handling is providing means to detect and report exceptional circumstances so that appropriate action can be taken.2) Differentiate between Throw and Throws.ThrowThrows1. Java throw keyword is used to explicitly throw an exception.1. Java throws keyword is used to declare an exception.2. A Throw is followed by an instance.2. Throws are followed by a class.3. A Throw is used within the method.3. Throws are used within method signature.4. You cannot throw multiple exceptions.4. You can declare multiple exceptions e.g. public void method () throws IO Exceptions, SQL Exceptions.3) What are the uses of Pointers?Access the address of variables, array elements, and objects.Pass function as arguments to a function.Create dynamic objects.Obtain memory from the system.4) What is Polymorphism?Polymorphism refers to the ability of one thing to take many distinct forms.There are two types of Polymorphism:Compile Time Polymorphism (Static Binding): Static Binding means that code associated with the function call is linked at compile time. Static Binding is also known as Compile time polymorphism.Runtime Polymorphism (Dynamic Binding): Dynamic means that code associated with the function call is linked at run-time. Dynamic Binding is also known as Runtime polymorphism.5) What is Encapsulation?The wrapping up of data and function into each unit is known as Encapsulation.6) Differentiate between Structure and Union.StructureUnion1. The keyword struct is needed to define a structure.1. The keyword union is needed to define a structure.2. In structure, each memory has its own storage location.2. In Union, all memory of union uses the same location.3. An Individual member can be accessed at a time.3. Only one member can be accessed at a time.7) Define fully functional Dependency.In a relation R, an attribute Y is said to be fully functional dependent on attribute X. It is functionally dependent on X and not functionally dependent on any proper subset of X.8) Define B-treeA B-tree is a balanced M way tree. A node of the B tree may contain many keys and pointer to children.A B-tree of order m is an M way tree that satisfies the following condition:All leaf nodes are on the same level.The root node has at least 2 children and at most m children.All internal nodes have at least (mdiv2) children and at most m children.The number of data items stored in each node is one less than the number of children.Fig shows the B-tree of order 3A B-Tree is also known as Balanced Sort tree.9) What is Object-Oriented Data Model?An Object-Oriented Data Model is a logical organization of the real World objects constraints on them and the relationship among objects.An Object-Oriented Data Model consists of:Static properties such as objects, attributes, and relationships.Integrity rules over objects and operations andDynamic properties such as an operation on rules defining new database states based on applied state changes.10) What is the disadvantage of OODBMS?The Disadvantage of OODBMS are:Lack of ad-hoc queries.Lack of Universal Data Model.Lack of support for views and Security.Query Optimization compromises encapsulation.11) What is Data warehouse?"A data warehouse can be defined as any centralized data repository which can be queried for business profit".12. What are the advantages of Data Warehouse?The Main advantage of data warehousing are:High return on investment.More cost-effective decision making.Competitive advantage.Enhanced Customer Service.Business and Information Reengineering.13. What are the limitations of warehouses?Some limitation of Data warehousing is:High Cost.High maintenance cost.The Complexity of Integration.Increased end user demands.14) Differentiate between DBMS and RDBMS.DBMSRDBMS1. Concepts of relationship are missing.1. Based on Concepts of relationship.2. Very less hardware and Software needed.2. Very high hardware and Software needed.3. Very slow speed.3. Very high speed.4. Uses the concept of files.4. Uses the concept of tables.5.DOS platform is used5. DOS, UNIX, and WINDOW Platform are used.6. E.g. are Dbase and FoxBASE.6. E.g. are Oracle, Focus and Ingres etc.15) What is Data structure?A Data structure is a method for arranging the information with the goal that the information can be utilized effectively. Various types of Data structures are suited to various types of utilizations and some are profoundly specialized to specific tasks.16) What is the need of an Algorithm?To understand the basic idea of the problem.To find the approach to solve the problem.To improve the efficiency of existing techniques.To understand the principle of designing.17) What do you understand by asymptotic notation?Asymptotic notations are used to write fastest and slowest possible running time for an algorithm. These are also referred to as 'best case 'and 'worst case' scenarios respectively. "In asymptotic notations, we derive the complexity in terms of the size of the input. (Example in terms of n)""These notations are important because without expanding the cost of running the algorithm, we can estimate the complexity of the algorithms"18) Differentiate between NULL and VOIDNull is a value, whereas Void is a data type identifier. A variable that is given a Null value indicates an empty value. The void is used to identify pointers as having no initial size.19) What is singleton Class?Singleton Class limited the number to one but allowing the flexibility to create more object if the situation changes.20) Can we have Private Constructor in java?Private Constructor is used if you do not want other class to instantiate the object. Private Constructor is used in Singleton design Pattern, Factory Method Design Pattern.HR Questions1) Tell me about yourselfMy name is Ginni Bhatia. I am from Haryana. I have done Bachelor of Technology in Computer Science and Engineering. I did my academic project on technologies like machine learning and Python. I am good in java, and C programming language. As my family background is considered, we are 4 members in the family. My father is an electronic shopkeeper, my mother is a homemaker, and I have one sibling. My strength is that I am a self-learner & have a positive mind. My weakness is, I don't take rest until my work is finished.2) Why do you want to work for our company?It is a great honor for me to work in a prestigious company which helps me for a better career.3) What software packages are you familiar with?I have a good knowledge of SQL Server, MySQL, LINUX, UNIX, DATA WAREHOUSE, DATA MINING, JAVA etc.4) How much Salary do you expect?I can expect something which I can meet my expenses.5) Can you work under pressure?Yes, because it motivates me to do my best.6) What is the difference between Confidence and Over-Confidence?Confidence- I can do it.Over-Confidence: Only I can do it.7) What is the difference between hard work and smart work?Hard work is very necessary for your life because without hard work, you can't be able to do smart work.8) Who has inspired you in your life and why?My mother is my inspiration because she always shows me the way to live. She always guides me to achieve success in every matter of my life.9) What are your Strength and weakness?My strength is that I am honest, sincere, and responsible. My weakness is that I am lazy.10) What makes you angry?I am getting angry when someone putting me down.
More detailsPublished - Mon, 05 Dec 2022
Created by - Admin s
About the Company: SpaceXSpaceX is a private American company also known as Space Exploration Technologies Corp. It is headquartered in Hawthorne, California. It is founded in 2002 by Entrepreneur and CEO of the company, Elon Musk and currently has more than 6000 employees. SpaceX is famous for designing, manufacturing, and launching of advanced rockets and spacecraft. The main goal of the foundation of SpaceX was to reduce the cost of space transportation and enable people to live on other planets. SpaceX has successfully developed the Falcon launch family and dragon spacecraft family, and at present, both are working to deliver payloads into Earth Orbit.Achievements of SpaceXSpaceX manufactured the first liquid-fueled rocket to reach orbit which was privately funded.SpaceX manufactured the first privately developed liquid-fueled rocket to put a commercial satellite in orbit.SpaceX is the first private company which has successfully launched orbit and also recovered a spacecraft.SpaceX is the first company, which has sent a spacecraft to the International Space station.SpaceX is the first company, which has sent a satellite into geosynchronous orbit.SpaceX was the first private company, which has successfully occurred the landing of an orbital rocket's first stage on land.SpaceX has launched world's most powerful operational rocket named as Falcon heavy in 2018.Key people:Founder and CEO: Elon MuskPresident: Gwynne ShotwellCTO(Chief Technology Officer): Tom MuellerKey Products:Falcon Launch VehiclesDragon CapsulesMerlinRaptor and KestrelRocket enginesASDS landing platformWorking Environment of the SpaceX:SpaceX is one of the great company to work. It has a unique mission where people work to become part of the great history. SpaceX provides a smooth environment to their employees. If anyone joins the SpaceX, then he/she got an opportunity to work with the best engineers in the US. SpaceX provides great facilities for their employees. The communication hierarchy is very simple. Any employee can communicate with other employees as well as managers or CEO for a valid purpose.Play VideoxHow to apply and who can apply for SpaceX?SpaceX provides two ways to work with their company, and there are several positions for which one can apply according to their skill-sets.The two ways to get job in SpaceX:Full-time JobInternshipFor both job types candidate can apply online through the link https://www.spacex.com/careers. By this link, one can check and apply for the current opening and opportunities in SpaceX. Once you apply for SpaceX and if your resume got selected, they will start your recruitment process.Once you applied for SpaceX, you might have to wait for the long time of 2-5 months approx. Sometimes, you also get a chance after 2-3 weeks, but the candidate has to be patient.SpaceX Recruitment ProcessThe recruitment process of SpaceX is very much different and it is one of the difficult recruitment processes. SpaceX has a very typical hiring strategy as they wanted one of the top talents across the world to work with them. The Whole process consists of several rounds and candidate has to give his best for every round. So, the candidate needs to prepare himself very well for the selection in SpaceX.Following are the rounds which candidate need to go through for final selection.First screening round starts where HR team select a much suitable resume out of the piles of applied resumes.If Resume gets chosen, then applicants have to give second screening round which includes two to four telephonic interviews including with Coding MCQ.If candidate clears the second screening round, then he got invited for the interview in SpaceX campus.The Candidate now goes through the 7-8 face to face interview sessions.After face-to-face interviews, there is one presentation round, in which candidate need to give a presentation on their projects.After the presentation, there will be an engineering test, based on the fundamental questions.In the whole process, if a single person has any doubt for selecting that candidate, then the process stops at that point and candidate sent back.Sample C/C++ MCQ1) Find the output for the following code:#includeint main(){ int x = 67,*m = &x; int *n=m; char *t=n; printf("%c %d",*t, *n);}C 67Compile time errorC CNo outputShow Answer2) Find the output for following code:#includeint main() {int b=5;b = printf("Quiz On");printf(" ");printf("%d", b);return 0;}Compile time error5Quiz On 5Quiz On 7Show Answer3) Find the output for the following code:#include using namespace std;int main(){ char arr[11] = "Hello world"; cout 15,1616,1717,1817,17Show Answer8) Find the output for the following code:int main (){ int x = 10; double y; printf ("%d", sizeof (++x + y--)); printf (" %d ", x);return 0;}8 1110 108 10None of the aboveShow Answer9) Find the output for the following code:#includeint main(){int arr[] = {10, 20, 30, 40, 50, 60};int *p= (int*)(&arr+1);printf("%d ", *(p-1) );return 0;}106020Compile time errorShow Answer10) Find the output for the following code:#include int * arr[10];int main(){if(*(arr+4) == *(arr+8)){printf("Pointer array are equal");}else{printf("Pointer array are Not Equal");}return 0;}Pointer array are equalPointer array are not equalCompile time errorRun time error.Show AnswerTechnical Interview QuestionsThe technical questions of SpaceX are very tricky so, candidates must have a good knowledge of the position and related technologies, for which they have applied. As there are various face-to-face interview rounds so different interviewer can ask different types of questions. The types of questions can also vary as per different positions. SpaceX provides lots of career path for different roles.A list of some interview questions with answers for the preparation of the interview.1) Write a program to reverse the words using an array?#include #include void main() { int i, j = 0, k = 0, x, size; char arr[100]={"This is reversing the words"}; char arr1[10][20], temp; //2d-array for (i = 0;arr[i] != '\0'; i++) { if (arr[i] == ' ') //for checking space { arr1[k][j]='\0'; k++; j=0; } else { arr1[k][j]=arr[i]; j++; } } arr1[k][j] = '\0'; /* reverses each word of a given string */ for (i = 0;i 18) Describe your Projects?The answer to the above question will be different for each candidate. The interviewer wants a detailed explanation of the projects which have candidates have already performed. The Candidate needs to have a good knowledge for every project of the technology which he has used, a concept which he has used and even every small knowledge of the project is required.19) How will you find a loop in a singly linked list?/*pro public class Detectloop{ private Node head; private static class Node { private int value; private Node next; Node(int value) { this.value = value; } } public void addtoList(Node node) { if (head == null) { head = node; } else { Node temp = head; while (temp.next != null) temp = temp.next; temp.next = node; } } public void printList() { Node temp = head; while (temp != null) { System.out.format("%d ", temp.value); temp = temp.next; } System.out.println(); } public boolean ifLoopExists() { Node fastPtr = head; Node slowPtr = head; while (fastPtr != null && fastPtr.next != null) { fastPtr = fastPtr.next.next; slowPtr = slowPtr.next; if (slowPtr == fastPtr) return true; } return false; } public static void main(String[] args) { Detectloop dl = new Detectloop(); // Creating a linked list Node loopNode=new Node(12); dl.addtoList(new Node(10)); dl.addtoList(new Node(8)); dl.addtoList(loopNode); dl.addtoList(new Node(5)); dl.addtoList(new Node(4)); dl.printList(); // creating a loop dl.addtoList(loopNode); // Test if loop existed or not System.out.println("Cycle exist in list-->" + dl.ifLoopExists()); } } Output:10 8 12 5 4 Cycle exist in list-->true 20) Is it possible to go to an infinite loop for the following program? void fun( int* arr , int arr_size ) int i = 0; for( ; i "I have won the award for the innovative employee of the month in my last company. We have given a project, which was needed great innovation for the accomplishment of that project, and I decided to be the leader for that, and I with my team have successfully completed that project, and also that was one the of the best project of the company."13) How would you inspire and encourage ideas in others?The interviewer wants to check your leadership qualities and thinking capability by this question. This is the quality which makes you different from others and also opens a door for some new opportunity in the future. This should be answered in a very innovative way. One of the possible answers to this question is following."If I get a chance to inspire or encourage ideas in others, then I will encourage other people to be creative for their work and will make a platform on which they can present their ideas, and I will also praise for their efforts publicly, which will motivate them and inspire others."14) At SpaceX, confidentially is most significant for us. If you get hired would you sign a confidential agreement with us?Confidentiality is very important rule for SpaceX, so interviewer will ensure whether you are ready to follow such type of rules or not. So before answering this question, candidate should ensure themselves to follow these rules. Candidate can answer this question in following way:"As I am very loyal for my work so, I will also be loyal for my employer, and if I get hired, I will surely sign a confidential agreement with SpaceX without any trouble."15) Do you think that you have progressed in your career according to your expectations?This is the little tricky question as by this interviewer will check your career goals and how long you want to go in your career. This question can be answered by telling about your achievements and further goals.16) In your opinion, what makes us more powerful than others?Before applying for any company, you must have a deep search for the company only then you can answer this, by this question interviewer want to know that how much you know about the company, what are their specialities which makes them different and more powerful than others."As SpaceX has a very different vision of creating the spacecraft more efficient with less cost, and SpaceX is preparing a tour for people to the Mars, and the SpaceX has the world['s best talent which is like armed force which is prepared to do their best. All these things makes SpaceX more powerful than others."17) How you get interested to work with SpaceX?When we started to apply for such a big company, we must have a vision and also something which generates enthusiasm and motivation to work with such companies. Everyone has some vision which generates interest to work with the SpaceX. This can be answered by following way:"When I was a kid, I always being very excited when I heard about galaxies, planets, and astronauts. This excitement got increased day by day, and I started to search about those things on internet. After my Intermediate I did engineering with astronomy, and then I heard about SpaceX, at that time only I decided to work with SpaceX, and now I am here to live my dream."18) What is your unique work style/ what would be your strategy for a task?By above question, interviewer wants to know how efficiently you can perform a given task and what your approach for doing a task is. By answering this question in unique way candidate can impact a good impression."My work Strategy for doing any task is little bit different, I prefer to do work by enjoying it, which increases my efficiency. Firstly, I prioritize the tasks and start doing task with one by one, if I face any issue in some task even after I tried my best for that then I take some rest and think about what is exactly the issue after finding the solution, I restart my work and do it in more efficient way. I set a goal for every task with time duration and always try to achieve that goal before the completion of time."19) If you have a choice, then which type of task would you select to do at last?"If I would have a choice I would select a task for last, which will require more time but not require much energy and knowledge."20) We have a policy of background verification for employees, which includes criminal background verification, educational verification, and prior experience verification, are you willing to comply with us?Nowadays, every company has such policy of background verification, to ensure that there should not be any criminal background and all the required documents are correct or not. And to comply with this is not an issue."Sure, I will comply for background verification, and I think this is also required for every company to know about their employees, to who they hire, and I don't have any issue with this."Some other questions generally asked in SpaceX interview:We have strong competitors in this industry so, according to you in which part we should improve ourselves to be a top rated company?How much innovative you are and how it can be helpful for your work to improve your performance?There are lots of skills which are required for this role and I have just checked your resume but you don't have those skills. How will you learn those skills?There are various career paths available in SpaceX. For which career path you are most interested?Have you ever shown your leadership ability, when you were not a leader?How do you want to be recognized for your accomplishment in SpaceX?How do you think that your prior experience will help you in this position?We only hire a candidate with experience in aerospace engineering at SpaceX. In which industry you are more experienced, public or private?Are you able to work for 60 hours in a Week?If you will be hired, can you work overtime?
More detailsPublished - Mon, 05 Dec 2022
Created by - Admin s
Once the CEO of Amazon, Jeff Bezos said, "I'd rather interview 50 people and not hire anyone than hire the wrong person."You can understand the quality of the recruitment process of Amazon by the statement of their CEO. It doesn't mean Amazon wants you to fail. Instead, it simply means they only want to hire people who prove themselves worthy.In this article, we will explain the interview process of Amazon, the technical topics you have to prepare for discussion, and how to answer the interview questions asked by the interviewer.Amazon's Interview ProcessThere will be a total of 5 rounds (1 online coding test + 4 interview rounds) in the whole process.69M1.1KHello Java Program for BeginnersRound 1 (Online coding test Round)This test contains two coding questions for which you have to be given 2 hours to solve. You also have to submit the approach used for solving in words and your algorithm's time and space complexity.Round 2 (Technical Round)You will get 2 to 4 coding questions that focus on basic problem solving and data structures in this round. The questions may vary according to your experience level. The less experienced you are, the more number of coding rounds you will face.Round 3 (Design Interview Round)In this round, the candidate may ask a question on high-level design architecture for real-life products and OOPS-based design of components. The company may skip this round for entry-level openings for the software engineering role.Round 4 (Hiring Manager Round)This hiring manager round is used to test for cultural fit based on attitude and previous work experience. In this round, the candidate is asked about the general HR questions and the previous company's experience. The interviewer may discuss your projects in the previous company and ask some behavioral questions based on those experiences.Round 5 (Bar Raiser Round)This is the last interview round called the optional bar raiser round, which combines all of the above. Here, a senior engineering manager can ask about your previous works and again ask some behavioral questions. The idea is to judge if you are technically better than an average person in a particular Amazon team.Technical topics you must prepare for Amazon's Interview.Programming LanguageAmazon doesn't ask for specialization in any specific programming language before attending an interview for a tech position. But you must be familiar with the syntax of languages such as C/C++, Java, Python, C# or Ruby. You should also know how memory management works or the most commonly used collections, libraries, etc.Data StructuresThis is the most important technical topic you should prepare for. Most of the work Amazon do involve storing and providing access to data in efficient ways. So you must have a good knowledge and understanding of the inner workings of common data structures and compare and contrast their use in various applications.AlgorithmsYou must have the knowledge and a good understanding of the most common algorithms such as traversals, divide and conquer, breadth-first search vs. depth-first search etc. and make sure you understand the trade-offs for each. Please focus on the learning of implementation strategies of different classes of algorithms rather than memorizing them.CodingYou may be asked to write syntactically correct code rather than pseudocode. Try to write code without an IDE. It would be best if you practiced coding with a pen and paper. It will be helpful at the time of the interview. The company prefers the candidate who writes scalable, robust and well-tested code. These are the main evaluation criteria for your code.Object-oriented DesignObject-oriented design is the best practice to write good software because good software design is critical to success. Your software needs to be extensible and maintainable. So, you should have a working knowledge of a few common and useful design patterns and know how to write software in an object-oriented way.DatabasesThe company prefers candidates who have a good knowledge of the non-relational database. Amazon has developed Amazon Web Services such as DynamoDB so that their developer community can easily leverage the benefits of non-relational databases. So, it is good if you know relational and non-relational databases.Operating SystemsThe candidate must be familiar with some Operating System topics to enhance the performance of the code. (e.g. memory management, processes, threads, synchronization, paging and multithreading).Internet TopicsYou must know the fundamentals of the internet, such as how browsers function at a high level, from DNS lookups and TCP/IP to socket connections.Basic Machine learning and Artificial IntelligenceYou must have basic knowledge of machine learning and artificial intelligence such as data-driven modeling, train/test protocols, error analysis and statistical significance. It would help if you visited your Machine Learning and Artificial Intelligence textbooks to prepare for these topics.Some examples of technical Interview QuestionsThere are two integer arrays A and B, of size N given. There are N gas stations along a circular route, where the amount of gas at station i is A[i]. You have a car with an unlimited gas tank, and it costs B[i] of gas to travel from station i to its next station (i+1). You begin the journey with an empty tank at one of the gas stations.Return the minimum starting gas station's index if you can travel around the circuit once, otherwise return -1.You can only travel in one direction. i to i+1, i+2, … n-1, 0, 1, 2.. Completing the circuit means starting at i and ending up at i again.The question says that we have two arrays of int. The first one is cost, and another one is gas. We have a car and need to travel to "n" places where n is the above two arrays' length.Now, according to the question, we can start from a point. Let's say 3, so that means to reach the next point, we need gas greater than the cost at 3.See the example:Suppose the gas array is: {1, 2, 3, 4, 5}And the cost arrays is: {3, 4, 5, 1, 2}Here, we can see that the 3rd term from gas is: 4 (Index starts from 0).And the same for the cost is 1, so to go for the 5th position our gas should be greater than the cost. As we can see in this case, it is as 4 > 1.Here you see that this much gas is used to go to the next point. Even after reaching there, you will leave with 3 gas as 4-1=3.So, at the next point, you will initially have 3 units of gas.Now, the question is asking from which point we should start so that we can traverse all the points.Now, let's take the gas array and cost array as following:gas = {1,2}cost= {2,1}Now, let's start from the first element that is index 0.So, the gas in our car after first travel will be = gas[0]-cost[0] = 1-2=-1.Since it would be a negative number, that means we can't traverse using the 0 index.Now, let's start from the second element, that is the index 1;The gas in our car after first travel will be = gas[1]-cost[1]=2-1=1.We have left with 1 unit of gas, after that we will come to the 0th index so we will be having = 1+gas[0]-cost[0]=1+1-2=0So, that means we will be able to complete our journey from the 1 index.So, there are two ways to solve this problem:The first solution would be to use two loops and check whether the index exists but will take higher time and O(n²) time complexity.Another way to solve this problem is to follow the steps given below:Take a variable start and initialize it to 0, and another variable end and then initialize it to 1.We will loop from start to end and keep increment end until it reaches the same value as the start. For example, if our array is of length 5 then: 1->2->3->4->0. In that case, we will know that start is the index from where the answer comes from.For storing the current gas in our car, we will use another variable curr and then if at any point of time, if curr becomes negative, that means that index cannot be the starting point. In that case, we will increment the start by 1.Here, the main problem is that we know how to move forward in an array. I mean, we know how to increment the current pointer. But how do we get back? Here, the pointer goes like this: 1->2->3->4->5->6……. and so on. It won't come back like: 1->2->3->4->1.To solve this problem, we have to use a simple trick. Instead of increment the value like : n=n+1, we will use : n=(n+1)%length.In that case, when the pointer gets to the end, it will again start from zero.See the complete code for the solution of the above problem:public int canCompleteCircuit(int[] gas, int[] cost) { if(gas.length==0){ return -1; } if(gas.length==1){ return gas[0]-cost[0]The situation of the issue or the task you were given.Describe the actions you took to resolve the situation or complete the task.Explain what you learned from the experience.Explain the Positive side: In some cases, missing a deadline is not in the employee's control. If that is true of your situation, you can use it as your advantage and emphasize that the only reason it happened was because of an outdoor event. However, that is not always possible. In these types of cases, you must highlight the result or what you learned and how you improved.If you are solely responsible for the deadline and have described the mistake you made, don't leave your interviewer with a negative image. Instead, make your answer work for you by ending your response with a very positive, clear message about what steps you took to improve and where you are on reaching your goals.Be Confident: If the interviewer asks you to share a story about your failure, don't lose your focus and confidence. Remember, everyone has made small or big mistakes. Explain how you move on from that incident by learning something new.Example of a good sample answer:Once I was given a deadline to write an article for a client on a short turnaround time. I believed I could handle the article in addition to the workload I already had, but I miscalculated how long it would take me to write it. The morning the article was due, I realized I would not make it in time and contacted my boss to explain the situation. I apologized, explained what happened and asked for an extension, which he granted. I learned that I need to be honest with myself about the workload I can handle each day. I also learned that when accepting assignments, I need to include a time buffer to ensure that even if unforeseen events arise, I can meet my deadlines.8) What would you do if you found out that your closest friend at work was stealing?This question is asked to check your loyalty towards the company as well as your friend. You should consider the nature of the offense before deciding how to proceed.According to the question, your friend's act is unethical, so you should tell the company about your friend's act. You can give a chance to your friend and warn him earlier.9) If your direct manager instructed you to do something you disagreed with, how would you handle it?By asking this question, your interviewer wants to know how you handle disagreement. This is also helpful to check your negotiation skills. You can explain your communicational flexibility and convey to the interviewer that you aren't averse to speaking up. You believe in communicating till you find a solution.10) What would you do if you saw someone being unsafe at work?You can tell the interviewer that you have a duty of care to yourself and your colleagues. If you find these types of circumstances, you will warn the person that he is working can lead to an accident. If you know a safer way to do the job, you will suggest it. Otherwise, you will call your supervisor.
More detailsPublished - Mon, 05 Dec 2022
Fri, 16 Jun 2023
Fri, 16 Jun 2023
Fri, 16 Jun 2023
Write a public review