Aditya Chatterjee's Blog, page 161
August 8, 2021
MVC pattern in iOS apps

In this article, we have explained MVC pattern in iOS apps in depth. MVC stands for Model View Controller which is a software design pattern to organize the software project into three parts model,view and controller
Table of content:
What is MVC software design pattern?How MVC works?Implementing MVC in iOS appsWe will dive into it.
What is MVC software design pattern?MVC stands for Model View Controller which is a software design pattern to organize the software project into three parts m...
Boundary Fill Algorithm
In the days of MS-Paint, we all drew something and filled it with a color. Such task falls under Region Filling (Seed-Fill) Algorithms.
Region Filling is the process of filling a region or an image. Further depending upon filling, it can be categorized as:
Boundary Filling Algorithm - region inside the boundary of same pixel valueFlood Filling Algorithm - region having same pixel value
Fig.1 Flood Fill Algorithm

Fig.2 Boundary Fill Algorithm
In this article, we are goin...
Separable convolution in Machine Learning
Any person who would have seen the MobileNet architecture, would have stumbled across the term separable convolution. What is separable convolution and how is it different from regular convolution?
Table of Content:
Spatial separable convolution1.1 Spatial separable convolution - An example
1.2 Spatial separable convolution - Mathematics behind computational cost
1.3 ConclusionDepthwise separable convolution
2.1 Depthwise separable convolution - An example
2.1.1 Depthwise convolution
2.1.2 Po...
August 5, 2021
Questions on Regression [with answers]
Practice multiple choice questions on Regression with answers. This is one of the fundamental techniques in Machine Learning which is widely used in basic problems.
If you want to revise the concept, read this article 👉:
Summary of Regression TechniquesWhat is Linear Regression?Logistic RegressionAdvantages and Disadvantages of Linear RegressionLet us start with the questions. Click on the right option and the answer will be explained.
Question 1What is Regression?It is a technique to...Principal Component Analysis (PCA) questions [with answers]
Practice multiple choice questions on Principal Component Analysis (PCA) with answers. This is a fundamental technique in Machine Learning applications.
If you want to revise the concept, read this article 👉:
Why Principal Component Analysis (PCA) works?Algorithm of Principal Component Analysis (PCA)Applications of Principal Component Analysis (PCA)Basic Ideas of Principal component analysisLet us start with the questions. Click on the right option and the answer will be explained.
Questi...Recurrent Neural Network (RNN) questions [with answers]
Practice multiple choice questions on Recurrent Neural Network (RNN) with answers. It is an important Machine Learning model and is a significant alternative to Convolution Neural Network (CNN).
If you want to revise the concept, read these articles 👇:
Recurrent Neural Networks (RNN)When to use Recurrent Neural Networks (RNN)?Types of RNN (Recurrent Neural Network)Applications of Recurrent Neural Networks (RNNs)Let us start with the questions. Click on the right option and the answer will ...
Convolution Layer questions [with answers]
Practice multiple choice questions on Convolutional Layers with answers. This is the most important layer in a Machine Learning model in terms of both functionality and computation.
If you want to revise the concept, read this article 👉:
Convolution Layer: The layer that takes over 70% of timeLet us start with the questions. Click on the right option and the answer will be explained.
Question 1The Convolution Layer is what makes CNN so powerful. How this layer operates?Conv Layer has par...Questions on Fully Connected (FC) Layer
Practice multiple choice questions on Fully Connected Layers with answers. These are the most important layer in a Machine Learning model in terms of both functionality and computation.
If you want to revise the concept, read this article 👉: Fully Connected Layer: The brute force layer of a Machine Learning model by Surya Pratap Singh
Let us start with the questions. Click on the right option and the answer will be explained.
Question 1What is the Fully Connected Layers?It is the phase that...Process of deleting an array in C++
In this article, we have explained how to delete an array or delete an element in an array in C++. We can covered the case of static and dynamic memory allocated array along with the basics of array.
Table of contents:
Basic of Array and different operationsDelete() in C/ C++Delete an element in arrayDelete statically allocated array in C++Delete dynamically allocated array in C++Time complexity to delete an arrayNow we going to explore the whole process of deleting an array in C++.
Here...
Dynamic vs Static memory allocation in C
In this article, we have compared the differences with Dynamic Memory Allocation and Static Memory Allocation in C Programming Language. We cover the basics of memory and the different types of memory allocation as well.
Table of contents:
Comparison of Static and Dynamic memory allocationWhat is memory?How does a C program uses Memory?Static Memory AllocationProblems faced in Static memory allocationFunctions used for Dynamic memory allocationComparison of Static and Dynamic memory allo...