Posts

Software Design and Architecture

                                                                   Software Design and Architecture Learning from the Link : What is software Design? Types of Software Level Design? How to do software Design the right way? What is the importance of software Design?

[15 May] Predict the output

[1]  #include <iostream> using namespace std; int main() {     int a = 10;     char c = 'a';       // pass at compile time, may fail at run time     int* q = (int*)&c;      int* p = static_cast<int*>(&c);     return 0; } ----------------------------------------------------------------------------------------------------------------- #include <iostream> using namespace std; class Base { }; class Derived : public Base { }; int main() {     Derived d1;     Base* b1 = (Base*)(&d1); // allowed     Base* b2 = static_cast<Base*>(&d1);       return 0; } ----------------------------------------------------------------------------------------------------------------- #include <iostream> using namespace std; class Base {     public:     void func()     {         cout<<"...

[STL Container] C++ Prep

Difference between std::vector and std::array Difference between std::map and std::unordered_map Difference between std::deque amd std::queue How std::dequeue internally works Difference between std::set and std::unordered_set  Explain Red black tree How to iterate through a Vector without using Iterators in C++ Initialize a vector  Storage class in C What are different ways to iterate STL container in C++11                                                                            Software Architecture Explain Client Server Architecture in detail Layered Architecture N tier Architecture    N tier Architecture video

Road Map for Interview preparation

                                            Embedded Senior software Architect Linked List Typical Interview Question Function to check if a singly linked list is palindrome Given only a pointer to a node to be deleted in a singly linked list, how do you delete it? Find the middle of a given linked list Linked List Data Structure - GeeksforGeeks Priorities of OS programs , process and thread differences How to handle the Generic functions , like Void pointers Big & Little endian – definitions, representations, write it down, swap them, etc Lots of memory related questions Write a program to implement memcpy() on your own – Need to evaluate many other conditions like overlap situations and etc., Difference between library call and a system call Priority inversion in a RTOS and its solutions Producer and Consumer implement...

Behavioral Interview Questions

Personal Interview Questions:- Introduce yourself as an software Architect I am someone who is very passionate about my work as an Architect. I am highly-professional, creative, flexible and above all, i hold the relevant technical knowledge and expertise to carry out this job in line with expectations of your company. The past experiences i have relevant to this role include, previous stints as an Architect at both small and medium sized organizations, whereby i was often working with diverse range of clients on complex architectural projects that involved large numbers of interested stakeholders and contractors. I have never missed a project deadline and i am always able to come up with solutions to often complex software architectural issues that meet the needs of the clients. One of the main strength i posses as an Architect, that i feel makes me a strong contender for this position, is the fact i am someone who always takes ownership of challenging situations and i will go the ext...

Stack & Queue interview Questions

1. Implement stack using Queue. #include <iostream> #include<queue> using namespace std; class MyStack {   queue<int>Q;   public:   void push(int value)   {     int size = Q.size();     Q.push(value);     for(int i =0;i<size;i++)     {         Q.push(Q.front());         Q.pop();     }   }   void pop()   {       if (!Q.empty())       {           Q.pop();       }   }   bool empty()   {       return (Q.empty());   }   int top()   {       return (Q.front());   }   void printElement()   {       cout<<"Printing Queue Elements"<<endl;       queue<int>temp = Q;       while(!temp.empty())       {           c...