Aditya Chatterjee's Blog, page 34
May 3, 2023
Credit Card Checker in C
In this OpenGenus article, we will write a program in C to verify the legitimacy of a credit card and determine the corresponding company using the Luhn algorithm. We will provide you with a generic template that can be customized to suit your needs.
Table of Content:
Checking credit card legitimacy using C / raw codeChecking Card TypeChecking Card Legitimacy with Luhn AlgorithmSample Input/Output CodeUnderstanding credit card legitimacy and typesThe Luhn algorithmLimitations of the co...April 30, 2023
Architecture of Android OS
In this article at OpenGenus, you have explained the Architecture of Android OS in depth which is a starting point for Android Development. Android architecture contains stacks of software components to support a large number of Android-enabled devices.
The main components of Android architecture are:
System ApplicationsApplication FrameworkLibrariesAndroid Runtime(ART)Linux Kernel
Figure 1: Android Architecture
System applications are at the topmost layer of the An...
25 tricks and shortcuts of VSCode
Before delving into the Infinity Trick of VS Code, it is recommended to get familiar with this popular code editor used widely by developers. VS Code is considered an Integrated Development Environment (IDE) equipped with a plethora of features like plugins, extensions, version control integration, and particularly, shortcuts to speed up code writing. Using these shortcuts not only makes your work easier but also adds a cool factor when observed by others who might be still performing the same t...
CSS Preprocessors

Table of contents:
What are CSS PreprocessorsHow to compile the codeDifferent SyntaxesWhy use a PreprocessorFeatures of a PreprocessorWhat are CSS Preprocessors?
CSS Preprocessors are tools that add more functionality to normal CSS by using its own unique syntax. The browser can't read preprocessors so the code has to be compiled into vanila CSS which the browser can read.
Most CSS preprocessors have features that don't exist in normal CSS such as variables, loops, if/else statements etc...
April 29, 2023
5 + Uses Of Python For Programming Students In 2023
In this article at OpenGenus, we have listed and explained 5+ unique ways Programming Students use Python Programming Language.
Python is the fastest growing Programming Language in this decade and despite the market hold and advantages of C, C++ and Java, Python has become the first choice for new developers for a wide range of tasks. The biggest strength of Python is its rich and wide library support which makes it simple to implement and develop applications.
Following are 5+ unique use of Py...
C++ program to print Rhombus Pattern
In this article at OpenGenus, we will learn to print Rhombus pattern in C++ language. We will go with two types of Rhombus patterns that is solid Rhombus and hollow Rhombus.
Solid Rohmbus Pattern in C++Hollow rohmbus pattern in C++1. Solid Rhombus Pattern in C++Making a solid square pattern for an i'th row with n-i spaces is quite similar to making a solid rhombus design for any given integer n.
Approach -
Initialize variables i and j.Loop from i = 1 to n:Loop from j = 1 to n – i and pri...Sorting in Ruby
In this article at OpenGenus, we have explained different ways of Sorting in Ruby Programming Language. This include sorting an array or hash using in-build method, sorting custom objects and implementing custom sorting algorithms like Selection Sort.
Table of ContentsIntroductionSorting an array / HashSorting custom objectsSelection sort algorithmConclusionIntroductionSorting is a method for reorganizing data into a specific order, such as alphabetical, numerical, by length, etc. Sorti...
Regression toward the Mean
The statistical concept of Regression toward the mean offers a unique explanation of how extreme measurements or values tend to be followed by measurements that are closer to the mean or average value. In simpler terms, if a variable is measured twice and the first measurement is an extreme value, the second measurement is expected to be closer to the average value, even if no changes were made to the underlying process being measured.
First observed by Sir Francis Galton in the lat...
Advantages of CNN and DCNN
Powerful deep learning architectures known as convolutional neural networks (CNNs) and deep convolutional neural networks (DCNNs) have revolutionised the field of computer vision. These networks are extremely effective for a variety of image and video recognition tasks due to their capacity to automatically learn and extract key features from images and videos. Object detection, facial recognition, medical image analysis, and autonomous driving are just a few of the recent uses for ...