Do you have any technical certifications?
What is the extent of your technical expertise?
What do you do to improve your technical skills?
Mention methods like :-
Give an example of how you apply your technical knowledge in a practical way?
What was the recent technical project you worked on? What were your key responsibilities?
What is the production deployment process you follow?
What do you like most about the IT industry? What do you enjoy the least about it?
Why is a solution design document important?
Whenever you solve a problem, who do you keep in mind? The end-user, the business, or yourself, and why?
How many programming languages do you know?
What is the use of printf() and scanf() functions?
What is the static variable? What is its use?
A variable which is declared static, is known as a static variable. These variables are able to retain its value between multiple function calls.
Syntax:
static int y=10;//static variable
Static variables are used because these variables can be accessed from anywhere in the program.
Static variables are used as common values and are shared by all the methods.
What is the difference between call by value and call by reference in C?
What is Recursion in C?
Recursion is the process where a function calls itself. This function is known as a recursive function. There are 2 phases of recursion:-
What is a pointer in C? What are its uses?
A pointer is a variable referring to the address of a value. When a variable is declared inside a program, the system allocates some memory to it. This memory contains an address number. The variables that hold this address number are called pointer variables.
Syntax: Data_type *p;
P is a pointer variable holding the address number of data_type value.
Uses of Pointer:-
Pointers are used in accessing elements through an array. Pointers are used to pass a reference of a variable to another function.
What is a NULL pointer and far pointer?
What is a dangling pointer? How is it overcome?
Dangling pointer is a problem that arises when an object is deleted without modifying the value of the pointer. Thus the pointer is now pointing to a deallocated memory.
In other words, if a pointer say A is pointing to a memory location, but another pointer B deletes the memory occupied by A while A is still pointing to that location, A becomes a dangling pointer.
What is an infinite loop?
A loop running continuously for an indefinite number of times is called the infinite loop.
What is a command line argument?
The argument passed to the main() function while executing the program is known as a command line argument.
Can we compile a program without the main() function?
We can compile a program without the main() function, however the program won’t be executed. However adding #define, we can compile and run the program without using the main() function.
What is an object and class?
What do you mean by JVM, JDK and JRE?
How can you restrict inheritance?
By the following methods:
What are static methods and static variables?
They are methods and variables shared by all the objects in a class. Their static nature comes from the class and not from the object itself.
What is enumeration?
It is an interface you can use to access original data structure.
What is the use of ‘this’ keyword in JAVA?
‘this’ keyword is used to refer to a current object, to invoke the current class method or class constructor.
It is also used to pass on as an argument into methods or constructors.
What is the final variable?
In Java, the final variable is used to restrict the users from updating the variable. The final variable once assigned can not be changed after that.
Why is JAVA platform independent?
Java is platform independent because of its byte codes which can run on any system regardless of its operating systems.
What are access modifiers in Java?
Access modifiers are special keywords that can restrict the access of a class, constructor, data member and method in another class. They are of 4 types:-
What is method overloading?
It is a polymorphism technique that allows us to create multiple methods with the same name but different signatures.
What is interpreted language?
An interpreted language executes its statements line by line. Interpreted language codes can run directly from the source code with no intermediary compilation step.
What are lists and tuples?
Lists and tuples are sequence data types. The objects stored in both the sequences can have different data types.
What is pass in Python?
Pass keyword represents a null operation in python. Used for the purpose of filling up empty block code which may execute during runtime, but are yet to be written
What is self in Python?
Self is a keyword that defines an instance of an object of a class. It is explicitly used as the first parameter.
What is slicing in Python?
Slicing is used to break up a list or tuple.
Syntax:
[start:stop:step]
What is the use of break statement?
What is an operator in Python?
Operator is a symbol, which is used on some values and produces an output as a result. Operator works on operands.
Operators are of unary, binary or ternary types depending on the number of operands required.
They include:-
What is swapcase() function in Python?
What is the Python decorator?
It is a powerful tool that allows you to add functionality in an existing code. It is also known as meta-programming.
What is the difference between Python Arrays and lists?
What is DBMS?
DBMS stands for Database Management System. It carries out operations like creation, maintenance and use of a database.
What are tables, fields and record?
What is Foreign Key?
Foreign Key is a key which links 2 tables.
It is a field or a collection of fields in a table that corresponds to the Primary Key of another table.
What is the difference between DELETE and TRUNCATE?
What is a constraint?
Constraints are limitations on the data type of a given table. Samples of constraints are:
What is ACID property in a database?
What is SQL?
SQL stands for Structured Query Language and is used to communicate with the Database. It is a standard language for accessing and manipulating databases.
What is a unique key?
What is a relationship and what are they?
Relationship is the interconnection of tables within the database. There are various relationships,
What is a query?
A query is really a request for data. A DB query is a code written in order to get the information back from the database. You ask the database for something and it answers in the best way it knows with data as a result of a query.
What is Machine Learning?
Machine Learning is the science of getting computers to act in a real-time situation without being programmed explicitly. It is an application of AI and it enables systems to learn automatically and to improve from previous experience.
What is Supervised, Unsupervised and Semi-Supervised learning?
What are training set and test set in Machine Learning and why are they important?
Explain the stages of building a Machine Learning model.
How does IoT work?
Iot is built on the concept of AI. An IoT device has a sensor which collects data, the cloud facilitates the network between the devices, the software processes and stores the data and finally the UI enables the device to respond to the stimulation.
What is Natural Language Processing?
Natural language processing is a branch of Artificial Intelligence that deals with the conversion of Human Language to Machine Understandable language, so it can be processed by Machine Learning models.
What is IIOT?
IIOT(Industrial Internet of Things) are large scale IoT structures or systems that are used at the industrial level.
What is Deep Learning?
Deep Learning is a subset of machine learning. It is a neural network with multiple layers, which creates a stimulation of the human brain, allowing the model to lean from large amounts of data.
What is Arduino?
It is an open source electronics platform based on easy-to-use hardware and software. Arduino boards can read input and turn it into an output.
What is Neural Network?
Neural Network is a replication of the firing of neurons in our brain, which facilitates learning, although on a less complex scale.
What do you mean by Open-source Hardware?
What is Raspberry Pi?
Raspberry Pi is a microcomputer that can be connected to a peripheral device. We can execute a number of tasks in a Raspberry Pi including, creating spreadsheets, coding, games etc.
How is Raspberry Pi used in IoT?
Raspberry Pi is a platform to develop many IoT based applications. IoT requires a network of devices and software to connect and exchange data. Raspberry Pi can provide this platform for it.
List any two real-life applications of Natural language processing.
What is Ethical Hacking?
Ethical Hacking is when a person is allowed to hack the system with the permission of the owner to find any bug in the system and to fix it.
What is the difference between IP and MAC address?
Explain LAN
LAN or Local Area Network is used to connect devices such that they are able to share resources and exchange information. LAN is of two types, wireless LAN and wired LAN.
What is VPN?
VPN or Virtual Private Network is a private Wide Area Network built on the Internet. It allows the creation of a secured tunnel between different networks using the internet. VPN allows a client to connect to a network remotely.
What are Private and Special IP addresses?
What is DNS?
DNS is the Domain Name System. It basically translates the domain name of their corresponding IPs. It uses port 53 by default.
What is the main purpose of an OS? What are the different types of OS?
The function of an OS is to execute user programs and make it easier for the users to interact with the system. It is designed to ensure that the system performs better by managing all computational activities.
Types of OS:
What is GUI?
GUI or Graphical User Interface is an interface that allows users to use graphics to interact with the OS. Its function is to make the OS more user friendly and less complex. Instead of having to memorize commands, users can just click on a button and execute the procedure.
What do you mean by RTOS?
Real Time Operating System of RTOS is a type of OS used for real time applications. It is used for tasks that are needed to be executed within a short period of time. It’s designed for applications where data processing should be done in a fixed and small measure of time.
Name some of the most famous OS.
What is IPC?
IPC or Interprocess Communication is a mechanism that requires the use of resources like memory that is shared between processes or threads. With IPC, the OS allows different processes to communicate with each other. It is simply used for exchanging data between multiple threads in one or more programs or processes.
Is FILE a built-in data type in C language?
No. File is a structure that is defined in stdio.h
How can you print a (backslash) using any of the printf() family of functions?

What is nested structure in C?
Structure can be nested in 2 ways:
When is a function declared in C?
A function is declared when the function is defined in one source file and is called in another file.
The function is declared at the top of the file calling that function.
What is the volatile keyword in JAVA?
Volatile keyword is used to modify the value of a variable by different threads.
Using this multiple threads can use a method and instance of the classes at the same time.
What are the OOPS concepts used in JAVA?
Object-Oriented Programming or OOPs is a programming style that is associated with concepts like:
How can you create threads in JAVA?
Threads are created in JAVA by implementing the runnable interface and overriding the run() method.
What is a binary tree in JAVA?
Binary tree is a recursive data structure. In a binary tree every node can have a maximum of 2 children
Binary search tree is a common example of binary tree.
What is an entity set?
Entity set is a set that contains the entities of same or similar types. An entity is an object which exists physically or conceptually.
It is of two types: Strong Entity Set and Weak Entity Set.
What is heap memory?
Heap memory is a location in memory where memory is allocated in random access style. In a heap, memory is allocated and released in a random style not following a defined order.
What are tokens in C++?
Answer
What are virtual functions in C++?
Answer
A virtual function is a member function which is declared within the base class and re-defined by a derived class. It is declared using the virtual keyword.
Virtual functions are created for the purpose of runtime polymorphism.
What is the difference between ‘a’ and “a” in C++?
What is an object relational database?
An object relational database(ORD) is a combination of relational database(RDBMS) and object oriented database (OODBMS).
Example: PostgreSQL and Oracle
What is a cursor?
A cursor is defined as a temporary space created in memory when an SQL command is executed.
It is of two types: Implicit cursor and Explicit cursor.
What is a proxy server?
A proxy server functions as a bridge or relay between the client and server. The purpose of proxy server is to prevent cyber attacks and is a built-in tool in the firewall.
What is a real time operating system?
Real time operating system (RTOS) is an operating system that serves real time applications, processing data as it comes in without any delay.
RTOS switches between tasks rapidly and gives the impression of multitasking.
What is a friend function in C++?
A friend function is a function that can access private, protected and public members of a class. It is specified outside the class but can access all its members. It is declared using the friend keyword.
What is an empty interface in java?
An empty interface does not contain any methods or fields. By implementing an empty interface a class exhibits special behavior with respect to the interface implemented.
An empty interface is also called a Marker Interface.
What environment variables do I need to get on my machine to run JAVA?
The PATH and CLASSPATH, are the two environmental variables that should be present in a machine to compile and run JAVA.
What is STL?
STL or Standard Template Library is a library consisting of classes, algorithms and iterators. It provides many of the basic data structures and algorithms.
The components of STL are in the form of templates. It is available in C++.
Explain synchronization in respect to multithreading.
Synchronization is the capability to control the access of multiple threads to shared resources.
The main purpose of synchronization is to avoid any thread interference. Synchronization enables that at a time only one thread can access the resources.
What is garbage collection in JAVA?
Garbage collection is the process to detect unused memory and recycle this memory for use. Garbage collection saves the user from manually deallocating memory.
What is the lambda function in python?
Lambda function can be defined without a name. They are also called as the anonymous function.
These functions are defined using the lambda keyword. Lambda functions are used to reduce the length of code.
What are OOPs concepts used in Python?
OOPS concepts used in Python are:- Class, Objects, Polymorphism, Encapsulation and Inheritance.
What is docstring in Python?
Docstring or documentation strings is used for associating documentation with python modules, functions, classes and methods.
Doctrings are declared using the ‘’’triple single quotations’’’ or “””triple double quotations”””. Doctrings can be accessed using __doc__ method of the object.
How to see object methods in Python?
Using the help() command.
What are VTABLE and VPTR?
What is the Collection API?
Collection API provides a set of classes and interfaces that makes it easier to work with collections of objects such as lists, maps etc.
How to solve ClassCastException?
ClassCastException is the child class of RuntimeException that arises while typecasting.
It can be solved by ensuring that while typecasting, the new type belongs to one of its parent classes. Also not to typecast a parent class onto its child class.
Write a function that takes an array arr of size N-1 containing integers in the range [1, N] and returns the missing number from the sequence of the first N integers.
Write a function that takes two sorted arrays, A and B, as well as the size of array A and the number of elements in array B. Array A has a sufficiently large buffer at the end to accommodate the elements of array B. The function should merge the two arrays in sorted order.
Example:
# Given arrays
a = [10, 12, 13, 14, 18, None, None, None, None, None]
b = [16, 17, 19, 20, 22]
size_of_a = 5 # Size of non-buffer part in array A
size_of_b = 5 # Size of array B
# Function call to merge arrays
merge_sorted_arrays(a, b, size_of_a, size_of_b)
# Output array after merging
# a = [10, 12, 13, 14, 16, 17, 18, 19, 20, 22]
“`
Ensure that the function efficiently merges the two sorted arrays into array A, considering the provided buffer space.
Write a function that takes an array `arr[]` of n integers and constructs a product array `prod[]` of the same size. Each element `prod[i]` should be equal to the product of all elements in `arr[]` except `arr[i]`. Solve the problem without using the division operator and with a time complexity of O(n).
Example:
# Given array
arr = [10, 3, 5, 6, 2]
# Function call to construct the product array
result = construct_product_array(arr)
# Output product array
# result = [180, 600, 360, 300, 900]
“`
Ensure that the function efficiently computes the product array without using division and with a linear time complexity.
Design a snake and ladder game. Write a class or functions that simulate the gameplay, allowing players to roll dice and move through the board based on the outcome. Include the functionality to handle snakes and ladders, ensuring that the game state is updated accordingly
Given an integer N, the task is to convert the given number into words.
Examples :
Input: N = 438237764
Output: Four Hundred Thirty Eight Million Two Hundred Thirty Seven Thousand Seven Hundred Sixty Four
Input: N = 1000
Output: One Thousand
Write a function that takes the sum `S` and xor `X` of two numbers `a` and `b` as input and finds the numbers `a` and `b` such that they minimize the value of `X`.
Example:
# Given sum and xor
S = 17
X = 13
# Function call to find the numbers minimizing X
result_a, result_b = find_numbers_minimizing_X(S, X)
# Output
# result_a = 2
# result_b = 15
“`
Ensure that the function handles different input values and correctly identifies the numbers `a` and `b` that minimize the given xor `X`.
Write a function that takes the sum X and xor Y of two numbers A and B as input and finds the numbers A and B such that they satisfy the given conditions:
X=A+B
Y=A⊕B
Write a function that takes an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. The function should return the fewest number of coins needed to make up that amount. If it’s not possible to make up the amount with the given coins, return -1.
Write a function that takes the root of a binary tree containing digits from 0 to 9 only. Each root-to-leaf path in the tree represents a number, and the function should return the total sum of all root-to-leaf numbers.
Write a function that takes an array of random numbers as input and pushes all the zeros to the end of the array. The function should modify the input array in-place, maintaining the order of all other elements. The expected time complexity is O(n), and the extra space used should be O(1).
Write a function that takes an integer k and a queue of integers as input. The task is to reverse the order of the first k elements of the queue, leaving the other elements in the same relative order.
Write a function that takes the root of a tree and an integer k as input and prints all the nodes that are at a distance of k from the root.
Write a function that takes a linked list and an integer N as input and returns the value at the Nth node from the end of the linked list.
Design a database schema for an Online Movie Booking Site. Define the necessary tables and relationships to store information about users, movies, theaters, showtimes, and bookings. Include primary keys, foreign keys, and relevant attributes for each table.
Implement a method that takes the number of steps n as input and returns the count of possible ways a child can run up the staircase. The child can hop either 1 step, 2 steps, or 3 steps at a time.
Implement a function that takes an array coins[] of size N representing different coin denominations and a target value V. The task is to find the minimum number of coins required to make the given value V. If it’s not possible to make the change, the function should return -1.
Implement a function that takes two n-ary trees and their respective edges as input and checks if they are mirror images of each other. The number of edges is given by e, and two arrays A[] and B[] represent the edges. Each array has 2*e space-separated values u,v denoting an edge from u to v for both trees.
Implement a function that takes arrival and departure times of trains as input and returns the minimum number of platforms required for the railway station so that no train is kept waiting. The arrival and departure times are given in two arrays, arrival[] and departure[].
Implement a function that takes an array of size N containing only 0s, 1s, and 2s and sorts the array in ascending order. The sorting should be done in-place.
Implement a function that takes two strings as input and checks whether the given strings are anagrams of each other or not.
Implement a function that takes two non-negative integers num1 and num2 represented as strings and returns the product of num1 and num2, also represented as a string.
Design a low-level system for an elevator. Consider the control system, hardware, safety measures, and user interfaces. Your goal is to create a comprehensive design that covers various aspects of elevator functionality.
Write a function that takes a positive integer as input and returns its prime factorization. The prime factorization of a number is the list of prime numbers that multiply together to form the original number.
Write a function that takes an array A representing the remembered roll results, the number of forgotten rolls F, and the desired arithmetic mean M. The function should return all possible results of the missing rolls in array format.
Given a binary 2D matrix, find the number of islands. A group of connected 1s forms an island. For example, the below matrix contains 4 islands.
Example:
Input: mat[][] = {{1, 1, 0, 0, 0},
{0, 1, 0, 0, 1},
{1, 0, 0, 1, 1},
{0, 0, 0, 0, 0},
{1, 0, 1, 0, 0}}
Output: 4
Given the arrival and departure times of all trains that reach a railway station, find the minimum number of platforms required for the railway station so that no train waits.
You are given the arrival and departure times of trains that reach a railway station. Your task is to find the minimum number of platforms required for the railway station to ensure that no train waits.
Given a string, find the count of distinct subsequences of it.
Given a number N, The task is to find the length of the longest consecutive 1s series in its binary representation.
You are given an array arr[] containing integers. Your task is to rearrange the elements of the array such that all non-zero elements are moved to the beginning of the array, and the remaining positions are filled with zeros.