Posts

[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...

[15 May 2022] My Planner

  Crestron Project PPT Important Schedule Daily Schedule Work Daily plan:- Finish the below list of questions Today preparation plan: 1. Finish all questions from the link 2. Basic C++  preparation link 3. C++ Typecasting   4. Smart pointer 5. C++ 11 Features 6. Generalized lambda concept 7. move semantic 8. Composition and Aggregation 9. template pattern 10.Gdb debugging Basic C++ interview preparation Difference between std::deque and std::vector Custom deleter C++ Stage 1 C++ Stage 2

Requirement Engineering Concepts

Requirement Engineering Software Engineering | Requirements Engineering Process Software Engineering | Classification of Software Requirements How to write a good SRS for your Project Software Engineering | Quality Characteristics of a good SRS Software Engineering | Requirements Elicitation Software Engineering | Challenges in eliciting requirements Functional vs Non Functional Requirements Q1. What is requirement engineering ? Requirement Engineering is the process of defining, documenting and maintaining the requirements. It is a process of gathering and defining service provided by the system. Q2. What are different activities under requirement engineering? Requirements elicitation Requirements specification Requirements verification and validation Requirements management What is Requirements Elicitation: It is related to the various ways used to gain knowledge about the project domain and requirements. The various sources of domain knowledge include customers, business manuals, th...

Google Test (gtest) Notes

  A good unit test: Is able to be fully automated has full control over all the pieces running(Uses mocks or fakes to achieve this isolation when needed Can run in any order Runs fast Test a single logical concepts in system Is readable is maintainable Runs in memory(no DB or File access ) How to run it ? ccmake localmake /sdev/user/bin/run_ut Mock Objects Each unit test case test a single logical solution That is, test the behavior of a single function in a single scenario But many functions call other functions with their own complex behavior The complex behavior make it hard to test a single logical solution It is also difficult to get the called function to exhibit bad whether behavior So instead of calling the actual calling those other functions we call test doubles One particular kind of test double is mock What is Mock ? A Mock check that the double is called as expected It substitutes a behavior for the function that would be called EXPECT_CALL Mac...