Aditya Chatterjee's Blog, page 193
October 9, 2020
Tough Interview questions on C Programming
These are some of the most tough Interview questions on C Programming which tests your knowledge on how well you know the language. Even if you are not a master of C, you must try it once and get your personal score to check how good you are in C.
Bookmark this page
October 8, 2020
Classification of CPU Scheduling Algorithms
Phase when CPU becomes idle and to have efficient use of available resources (processing power, hardware etc) in a given time constraint, it is the job of the CPU Scheduler to select another process from the ready queue to run next. CPU Scheduling algorithms are used. This raises the question in mind what is meant by CPU Scheduling algorithms?
CPU Scheduling Algorithm is a set of rules through which CPU executes given number of processes by utilizing the available resources efficiently and withi...
October 7, 2020
Carmichael Number
Carmichael Number is an odd composite number which follows the following condition applicable in Fermat's Little Theorem.
Fermat's little theorem states that if p is prime and a is not a multiple of p, then a p - 1 ≡ 1 mod p. Stated theorem gives an achievable way to detect non-primee. For a > 1, we write F(a) for the set of positive integers n satisfying a n - 1 ≡ 1 mod n. By Fermat’s theorem, F(a) includes all primes that are not divisors of a. If n ∈ F(a), then gcd(a, n) = 1, since, clearl...
MobileNet V1 Architecture
Convolutional Neural Networks(CNN) have become very popular in computer vision. However, in order to achieve a higher degree of accuracy modern CNNs are becoming deeper and increasingly complex. Such networks cannot be used in real applications like robots and self driving cars.In this section we will be discussing a CNN architecture that aims to effectively tackle this problem.
MobileNet
MobileNet is an efficient and portable CNN architecture that is used in real world applications. MobileNets ...
Scope of Variables in Java Programming
Scope of a variable defines how a specific variable is accessible within the program or across classes. An assigned value to a variable makes sense and becomes usable only when the variable lies within the scope of the part of the program that executes or accesses that variable.
Variables are mainly of the following types:
Static Variables
Non-Static Varaiables
Reference: Oracle Official Documentation
The non-static variables are further classified into:
Block Variables
Local Variables
Class...
Basics of "stdio.h" in C
We all know that C is a general-purpose and Procedural programming language. And for most of us, It is the entry point or basic to learn other programming languages. In this article we'll discuss a bit about the Standard Header Library "stdio.h". Firstly we'll start by explaining about the structure of C program. Secondly, we discuss up on the Introduction to Header file(as we stick specific to "stdio.h"). Later, we look into specific attributes of Header file like - Built-in functions, Library ...
September 30, 2020
Contribute and grow
Hacktoberfest is a month long virtual event where you can make four contributions towards your favorite Open Source project (such as Cosmos by OpenGenus). You will not only get to learn new things but also get free goodies delivered to you at your doorstep. It is powered by DigitalOcean.
Being a part of Hacktoberfest since 2018, we strongly recommend you to participate in this. It will take a few hours over a few days and the benefits and enjoyment will be life-long.
We, at OpenGenus, are comple...
Contribute and grow
Hacktoberfest is a month long virtual event where you can make four contributions towards your favorite Open Source project (such as Cosmos by OpenGenus). You will not only get to learn new things but also get free goodies delivered to you at your doorstep. It is powered by DigitalOcean.
Being a part of Hacktoberfest since 2018, we strongly recommend you to participate in this. It will take a few hours over a few days and the benefits and enjoyment will be life-long.
We, at OpenGenus, are comple...
September 24, 2020
Reverse a doubly linked list in C++
In this article, we are going to see how to reverse a doubly linked list by reversing the links of each node (without swapping values of nodes) and have implemented the solution using C++.
Introduction to Doubly Linked List
A doubly linked list is a linear data structure which is a linked list which contains an extra pointer to store the address of the previous node. It is a variation of singly linked list. In singly linked list, only forward traversal is possible, whereas in doubly linked list,...
September 19, 2020
Chrome Dinosaur (T-Rex
We all have played the t-rex game on chrome! Its time to make our own now.
We will be using Processing for the same, and you may install it at https://processing.org/download/.
You may start with opening Processing, and naming your sketch as tRexGame.
Make sure you have opened it in Java mode. 
Our game consists of the following entities,
The player (the T-rex)
The Obstructions
We may create 2 more files (tabs in the processing window) for the above entities. These are actually .pde files.
E...


