Q. If there are temporary tables with same name in different databases, can those be accessed in same query window?
Software Interview Questions
748,917 software interview questions shared by candidates
Merge 2 sorted lists
Programs like remove the duplicate numbers in sorted array by scanning the array only once, means {1,1,2,3,6,8,8,8,8}-->{1,2,3,6,8}, producer and consumer problem, and finding the sum of diagonal elemts in array of any size, etc
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.
Test was not that much hard as i was expecting here are some of questions i managed to remember: null pointer exception occurs because of? multiple written codes question for operators logic used in c? CAD, CASE,? Array is contiguous series of sames element? a pointer refer to? part of sector in magnet disk. can a function return more than one value? defult return type of a function is what if not defined a return type? val1 = 2, val2 = 5, val1 > val5? what would be return type. 1, 0, true, false? is a example of heiraricale data structure? tree, linked list, array which of the following is not used in java? char, string, float int, float, double, long all these type can automaticaly promoted to? long, double, float, int, sting after installing sql default database created are? master, model, schema or both a& b datastructers is a property of many forms? polymorphism, inheritence, abtraction, data hiding when you explicitly change data type it is called? overloading, cast, overriding requirement team are supposed to be the? the first users of new system, laison of their department, managing of social entities are under? management, hr maintainance cause in more work than the orignal requirements? primitive, perfective, can we use select and update together? yes if you are using nested query, yes without nested query, no what keyword is used to check what changes have been made in a table? how many primary key constraints can be in one table? int[x] = x[3] cout >> x[3] " variable that does not changes is called? static or const Code logic can also be represented as? pseudocode, structured process english, both a&b, none of these code logic is represented by both strudtured english and pseudocode? true false
Tail recursive function for calculating factorial. (I did it in scheme)
1. Given an Array , E.g. [2,5,6,3,9,5,10,56,25] and a number X. now find all the contigous subarrays with length X , if X=3, then all the subarrays are [2,5,6], [5,6,3], [6,3,9] etc. now in all these subarrays find the minimum element. and out of all those minimum elements, return the maximum one. 2. Given a URL, Query the URL and fetch the JSON result (paginated), find all the subsequent result from new pages. parse the json and do some manipulation on that data, find a specific dataset from that json.
Where do you live & study?
What some code to solve some arbitrary business logic problem
Questions about multi-threads, which I do not have much experience with. After telling them lack of familiarity on the subject, the interviews understand me and ask other questions instead.
Viewing 2261 - 2270 interview questions