Domanda di colloquio di Nirvana Solutions

Difference between Encapsulation and Abstraction. Examples of OOPS concepts. Java Interfaces, access modifiers. Classes Objects. Keys in DBMS Difference between DROP, DELETE and TRUNCATE One question from coding round(which I could not solve). I was given 15 minutes to solve but I was unable to solve. Interviewers were helpful and Company is good.

Risposte di colloquio

Anonimo

5 set 2017

1) Split a large number into two unequal or equal (k and n-k)parts and check if they are divisible by two numbers given by the user. Example: 12002100 here 1200 is divisible by 12 and 2100 is divisible by 7. 2) There are two strings and we have to find how many ways are there so that characters can be altered to make strings equal. Example; Ramesh and Rajesh- we have two ways adding j after m in string1 and adding m before j in string2; adding j before m in string 1 and adding m after j in string 2. 3) Print input string in concatenated zigzag format. Input: COMPANYISHIRING Zigzag: (for 4 rows) ``` C Y I O N I R N M A S I G P H ``` Output: CYIONIRNMASIGPH Number of rows are entered by user. String is also entered by user.

5

Anonimo

11 ago 2017

I was not able to answer every question.

Anonimo

5 set 2017

what were the programs that were asked?