Technical Interview Preparation: (Part I)

{C}

#include<stdio.h>int main(){if(printf(“hello”)){}return 0;}

𝓓𝓪𝓽𝓪 𝓢𝓽𝓻𝓾𝓬𝓽𝓾𝓻𝓮 𝓪𝓷𝓭 𝓐𝓵𝓰𝓸𝓻𝓲𝓽𝓱𝓶

Algorithm Complexities.
  1. What is a Data Structure?
    Ans. According to Wikipedia, a data structure is a data organization, management, and storage format that enables efficient access and modification. More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.
  2. What are the various operations that can be performed on different Data Structures?
  • Insertion: Add a new data item in the given collection of data items.
  • Deletion: Delete an existing data item from the given collection of data items.
  • Traversal: Access each data item exactly once so that it can be processed.
  • Searching: Find out the location of the data item if it exists in the given collection of data items.
  • Sorting: Arranging the data items in some order i.e. in ascending or descending order in case of numerical data and in dictionary order in case of alphanumeric data
  • Greedy Approach − finding the solution by choosing the next best option.
  • Divide and Conquer − diving the problem to a minimum possible sub-problem and solving them independently.
  • Dynamic Programming − diving the problem to a minimum possible sub-problem and solving them combinedly.

ᗪatabase ᗰanagement ᔕystem

  1. What are the ACID properties?
  • Inconsistent
  • Not secure
  • Data redundancy
  • Difficult in accessing data

◯perating System

  1. What is the Operating System?
    Ans.
    An operating system is system software that manages computer hardware, software resources, and provides common services for computer programs.
  2. Difference between program and process.
    Ans.
    The major difference between program and process is that the program is a group of instructions to carry out a specified task whereas the process is a program in execution. While a process is an active entity, a program is considered to be a passive one.
  3. Define the Process States.
Process states
Stay Focused and you will reach your destiny!
Please leave comments, feedback, and suggestions as I am always trying to improve.For any doubts, ideas or queries feel free to reach me on:1. LinkedIn2. GitHub3. Twitter

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rohit Mittal

Rohit Mittal

I am an enthusiastic engineer, seeking an opportunity where I can explore, evolve, learn and at same time contribute to the goals of an organization.