What is RAII? Explain smart pointers, templates etc.
C Programador Interview Questions
3,509 c programador interview questions shared by candidates
What do your colleagues think about you?
Round 1 1>Delegate are Immutable? 2>Difference between Thread and Task. 3>Multicast delegate. 4>Events are Thread Safe ? 5>Which collection you will use if you want to save unique element ? 6>How HashSet<T> check uniqueness of elemnet 7>IDisposable implementation. 8>Array Vs List 8>Which panel you will use when you want to place your element digonally. 9>Explain ICommand also explain CanExecuteChange 10>Have you work on scenario where UI is getting updated frequently from different source. Second Round 1>Implement publisher subscriber model without delegate event. 2>Time complexity if you are accessing element in array and List 3>What is use of finally. 4>Have you implemented IEnumerable ? 5>Thread Safe Singleton
1.write a program to reverse linked list. 1.copy constructor and over loaded assignment operator
Describe a data sturcture that you can do: Get[x] by key in O(1), Set(x,y) by key in O(1), and setAll(y) by O(1) The setAll does not must really put the value at all the places, its just need to be seen like this(when you do get, you need to get the correct value)
class, inheritance , OOPs , pointers, write your own smart pointer class, write insertion sort, write selection sort, etc
C++ basic and advanced conecpt
No1: We kindly ask you to write two classes in C++ and send your code to us. One class shall be a matrix class and one shall be a vector class. Matrices and vectors shall be able to be multiplied. Addition and scalar multiplication shall be supported as well. No linear algebra functions are sought for (e.g. inverse, linear solving, svd etc.). The focus is on correctness, efficiency, and a clean and convincing software design - show us your C++ skills ;-) No 2: You are given a gray scale image which represent the oil distribution in a certain area (pixel value 0: 0 liters of oil, pixel value 255: 255 liters of oil). You can place 64 "drills" in this area. Each drill will extract the oil in a circular area of radius 25 pixels. Please try to find the optimal distribution for the drills, for each of the three images in this archive. Provide your solution as three text files with drill center coordinates, like the example file "drilling_plan_example.txt". You can check out the program "evaluate_plan.py" in this archive. It will be used used to evaluate your solution.
How do you feel about GARCH model? Is it useful?
The phone interview questions were: Various questions about using STL containers and algorithms, C++ theory questions (allocation of memory, references, exceptions, stack unraveling, copy constructors, operator overloading, etc.), Count the number of 0s in an integer, Fibonnacci number (both recursively and iteratively and O(x) of each), write a function that rounds a float to the nearest int.
Viewing 1221 - 1230 interview questions