Aditya Chatterjee's Blog, page 124

January 23, 2022

Compiling a C program using GCC

In this article, we have covered how to compile a C program using the GCC compiler along with the different stages such as Preprocessing, compiling, assembling and linking.

Table of contents:

Introduction to GCCCompilationExample source codeThe compilation process(4 steps)Introduction to GCC

GCC is an acronym that stands for the GNU Compiler Collection. GCC is a collection of compilers and libraries that offer support for various programming languages such as C, C , Java, etc.

The GCC com...

 •  0 comments  •  flag
Share on Twitter
Published on January 23, 2022 14:12

Linux user management

Linux is a multiuser operating system and thus can support several users working on a given system concurrently. User management entails adding, modification(editing, suspension) and removal of user accounts along with their permissions.

Table of contents.Introduction.User accounts.User administration files.User management commands.Adding groups.Modifying groups.Deleting groups.Adding users.Modifying user accounts.Removing user accounts.User information.Switching user accounts.Summ...
 •  0 comments  •  flag
Share on Twitter
Published on January 23, 2022 09:01

Linux process management commands: top, ps, kill, jobs, fg, bg

A process is a program in execution, it is created by any command executed by a user, In this article we discuss types of processes and the common commands used for process management.

Table of contents.Introduction.Types of processes.View processes: top.Killing a process: kill.Changing process priority: nice.Process status: ps.Background and foreground processes: jobs.Summary.References.Introduction.

A program is a series of instructions used by the computer to perform actions, duri...

 •  0 comments  •  flag
Share on Twitter
Published on January 23, 2022 08:29

Dropout operation in TensorFlow (tf.nn.dropout)

This article discusses about a special kind of layer called the Dropout layer in TensorFlow (tf.nn.dropout) which is used in Deep Neural Networks as a measure for preventing or correcting the problem of over-fitting. And this process of correcting is a kind of regularization technique called the "Stochastic Regularization".

Table of contents:

The Problem of OverfittingDropout operationDropout ProcessDropout in TensorFlow (tf.nn.dropout)Applications of DropoutThe Problem of Overfitting:

Le...

 •  0 comments  •  flag
Share on Twitter
Published on January 23, 2022 01:45

January 22, 2022

Rumbaugh, Booch and Jacobson Methodologies

In this article, we have explored three object modeling techniques namely Rumbaugh, Booch and Jacobson Methodologies along with code examples.

Table of Contents:

Rumbaugh MethodologyBooch MethodologyJacobson MethodologyRumbaugh Methodology (OMT)

The Rumbaugh methodology also known as OMT (Object Modeling Technique) is an approach used to develop manageable object-oriented systems and host object oriented programming. The purpose is to allow for class attributes, methods, inheritance, and as...

 •  0 comments  •  flag
Share on Twitter
Published on January 22, 2022 14:40

Mounting and unmounting in Linux

Mounting is simply making a file system accessible in a computer system. In this article we discuss mounting and unmounting in the Linux operating System.

Table of contents.Introduction.Mounting.Unmounting.Summary.References.Introduction.

The Linux file system forms a hierarchical structure tree rooted at /. This root / is mounted during startup, other file systems remain unusable until they are mounted at a mount point. For access to a file system, it needs to be mounted. A case on poin...

 •  0 comments  •  flag
Share on Twitter
Published on January 22, 2022 13:21

Linux memory management: An overview

In this article we discuss the major concepts concerning memory management in the Linux operating system.

Table of contents.Introduction.Virtual memory.Page caching.Huge pages.Anonymous memory.Nodes and Zones.Reclaiming pages.Compacting.OOM killer.Summary.References.Introduction.

Programs are brought into memory and placed within a process for execution.
Binding of instructions and data to memory can either happen at compile time if the memory location is already known and therefor...

 •  0 comments  •  flag
Share on Twitter
Published on January 22, 2022 12:49

Interview questions on Data Science

In this article, we have presented 40 Interview questions on Data Science covering several topics including Multiple choice questions (MCQs) and Descriptive questions with answers.

Table of contentsMultiple choice questions (MCQs)Descriptive questionsBasic questionsAnalytical questions

Multiple choice questions (MCQs)
1. Which of the following is TRUE?

(a) correlation(X,Y) = (covariance(X) covariance(Y))/covariance(X,Y)
(b) correlation(X,Y) = covariance(X,Y)/(covariance(X) covariance(...

 •  0 comments  •  flag
Share on Twitter
Published on January 22, 2022 08:00

Linux file hierarchy

A file hierarchy is an organization of files in a storage device i.e hdd, ssd etc, in this article we discuss the file hierarchy of the Linux operating system.

Table of contents.Introduction.Binaries.Configuration directories.Data directories.Memory directories.Variable directories.System resources.Non-standard directories.Summary.References.Introduction.

The Linux operating system has a hierarchical file structure. The FHS(file system hierarchical standard) defines the directory st...

 •  0 comments  •  flag
Share on Twitter
Published on January 22, 2022 05:10

Linux file system - an overview

In this article we go over an overview of the Linux file system, this will give new Linux users an idea of how Linux stores, retrieves and manages data/files.

Table of contents.Introduction.File system architecture.Linux file systems.Summary.References.Introduction.

The hard disk's only function is to store data and the only way to access this stored data is to specify its physical location(cylinder, head, sector) or logical location(block numbers) on the disk, however remembering sector...

 •  0 comments  •  flag
Share on Twitter
Published on January 22, 2022 04:35