<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Unstop on Medium]]></title>
        <description><![CDATA[Stories by Unstop on Medium]]></description>
        <link>https://medium.com/@unstop?source=rss-f6705a9e9fd2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zpK_EFWX0n5sKiMPKd2gJQ.png</url>
            <title>Stories by Unstop on Medium</title>
            <link>https://medium.com/@unstop?source=rss-f6705a9e9fd2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 00:47:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@unstop/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What is Virtualization in Cloud Computing?]]></title>
            <link>https://unstop.medium.com/what-is-virtualization-in-cloud-computing-68e549acce7d?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/68e549acce7d</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Sat, 30 Apr 2022 05:41:36 GMT</pubDate>
            <atom:updated>2022-04-30T05:41:36.831Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*UTQQpLUFxITBmPh1" /></figure><p>Table of content:</p><ul><li>What is Virtualization in Cloud Computing?</li><li>Characteristics of Virtualization</li><li>What is Cloud Computing?</li><li>Characteristics of Cloud Computing</li><li>Examples of Cloud Computing</li><li>Types of Virtualization in Cloud Computing</li><li>Role of Virtualization in Cloud Computing</li><li>Advantages of Virtualization</li><li>Virtualization Versus Cloud Computing</li></ul><p>A virtual counterpart of an existing system, such as a desktop, server, network resource, or a virtual <a href="https://dare2compete.com/blog/types-of-operating-systems">operating system</a>, is created through virtualization. It is a technology that allows several people or organizations to share a single resource thread or program. These physical resources are rented to the customers as a ‘pay per use’ business model.</p><p><a href="https://unstop.com/blog/coding-books">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*W4vwnUcd3wrl1Q7i" /></figure><p><a href="https://unstop.com/blog/coding-books">5 Books That Will Come Handy In Your Coding Journey!</a></p><h3>What is Virtualization in Cloud Computing?</h3><p>Virtualization is a method of creating computer-generated versions of servers, apps, data centers, and other forms of hardware that operate identically to their actual counterparts using software. It is the process of producing a virtual representation of a physical object, such as computer hardware. It was created back when mainframe computers were still in use. It entails the use of specialized software to generate a virtual or software-created version of a computing resource rather than the real thing. Virtualization allows different operating systems and applications to operate on the same machine and hardware at the same time, enhancing hardware usage and flexibility.</p><p>In other words, virtualization is one of the most cost-effective, hardware-saving, and energy-saving approaches employed by cloud providers. Virtualization allows several consumers and organizations to share a single physical instance of a resource or application at the same time. This is accomplished by giving a physical storage a logical name and supplying a pointer to that physical resource on demand.</p><p>Virtualization is frequently used interchangeably with hardware virtualization, which is critical for delivering Infrastructure-as-a-Service (IaaS) solutions for <a href="https://dare2compete.com/blog/cloud-computing-project-ideas">cloud computing</a>. Virtualization technologies also create a virtual environment for storage, memory, and networking, in addition to executing applications.</p><h3>Characteristics of Virtualization</h3><p>Virtualization has a set of defined characteristics. The features of virtualization are as follows:</p><ol><li>Resource Distribution: Using a single computer or a network of connected servers, virtualization allows users to create a distinct computing environment from a single host machine, allowing them to limit the number of active users, reduce power consumption, and maintain easy control.</li><li>Isolation: Virtualization allows guests, whether they are operating systems, programs, or other entities, to execute in a completely isolated environment. The guest application interacts with an abstraction layer, which offers access to the underlying resources, to carry out its tasks. The virtual machine can monitor the guest’s activity and avoid damaging attacks on the host.</li><li>Aggregation: While it is feasible to share physical resources across multiple guests, virtualization also allows for aggregation, which is the inverse of sharing. A collection of individual hosts can be linked together and shown to visitors as a single virtual host. Cluster management software, which harnesses the physical resources of a homogeneous set of machines and portrays them as a single resource, is used to provide this feature.</li><li>Security: The ability to entirely transparently manage the execution of a guest program brings up new options for creating a secure, controlled execution environment. Guest program typically perform all of their activities against the virtual machine, which subsequently translates and applies them to the host applications. A virtual machine manager can monitor and filter the activities of guest program, preventing some potentially dangerous processes. The host’s resources can then be concealed or merely protected from the visitor. When dealing with untrusted code, increased security is a must.</li><li>Portability: Depending on the sort of virtualization in question, the concept of mobility can be applied in a variety of ways. A hardware virtualization solution packages the guest into a virtual image that can be safely transported and operated on top of other virtual machines in most circumstances. The binary code representing application components (jars or assemblies) can execute without recompilation on any implementation of the matching virtual machine in the case of programming-level virtualization, as implemented by the JVM or the.NET runtime.</li><li>Availability: Virtualization software offers a variety of benefits that consumers won’t get on physical servers, like increased uptime, availability, fault tolerance, and more. These features assist users in avoiding downtime, which reduces efficiency and productivity while also posing <a href="https://dare2compete.com/blog/difference-between-active-attack-and-passive-attack">security and safety risks</a>.</li><li>Emulation: The virtualization layer, which is a software, controls the execution of guest program in a virtual environment. In terms of the host, a whole distinct environment can be simulated, allowing the execution of guest program that require a specific set of features that aren’t present in the real host.</li></ol><p>Aside from these traits, virtualization also enables performance adjustment, which is a significant capacity. Given the significant developments in <a href="https://dare2compete.com/blog/difference-between-hardware-and-software">hardware and software</a> that support virtualization, this capability is now a reality. By fine-tuning the properties of the resources accessible through the virtual environment, it becomes easier to govern the guest’s performance. This capability enables the implementation of a quality-of-service (QoS) infrastructure.</p><p><a href="https://unstop.com/blog/coding-projects">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*IYM_3tuQ-5BEdiOM" /></figure><p><a href="https://unstop.com/blog/coding-projects">5 Interesting Coding Projects That’ll Make Your Resume Stand Out!</a></p><h3>What is Cloud Computing?</h3><p>Cloud computing is a service that allows consumers and organizations to access and store data through the internet rather than on a hard disc. Essentially, it is a service that delivers computer processing power (OS, CPU, RAM, and software). Examples include Amazon Web Services, Google Cloud Platform, Microsoft Azure, IBM Cloud, GoDaddy, and other cloud service providers.</p><h3>Characteristics of Cloud Computing</h3><ol><li>Self-service on-demand: Because Cloud Computing services do not require any human administrators, users can provide, monitor, and manage computing resources as needed.</li><li>Rapid elasticity: Computing services should have IT resources that can scale out and in on a need-to-know basis. When a user requests services, they are given, and the service is scaled down once the user’s needs are met.</li><li>Measured service: For each application and tenant, resource use is tracked, giving both the user and the resource supplier an account of what has been consumed. This is done for a variety of reasons, including billing and resource management.</li><li>Resource pooling: IT resources (such as networks, servers, storage, applications, and services) are shared in an ad hoc manner across multiple applications and occupants. A single physical resource is used to serve several customers.</li><li>Broad Network Access: One of the most intriguing aspects of cloud computing is that it is not limited by geography. Cloud computing is available via the internet and has a large access area. You may access your files and documents from any location in the world; all you need is a reliable internet connection and a device to get started.</li></ol><p><a href="https://unstop.com/blog/programming-languages-for-hackathons">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*Q8juwrykO7y9awHU" /></figure><p><a href="https://unstop.com/blog/programming-languages-for-hackathons">Acing Hackathons &amp; Coding Competitions In 2022: Ten Programming Languages To Learn</a></p><h3>Examples of Cloud Computing</h3><p>The move to the cloud has resulted in a slew of new business-friendly technologies. Companies are shifting operations to the cloud for a variety of reasons, including cost savings, increased flexibility, and simplicity of use. Businesses are also embracing the cloud for computing to defend themselves from cyber-attacks such as ransomware.</p><p>Though cloud computing may not be appropriate in every company circumstance, there are a number of applications that offer indisputable advantages and should not be overlooked. The following are the top cloud computing applications:</p><p>1. Public/ Private/ Hybrid Cloud</p><p>The important thing to remember is that the cloud is essentially someone else’s computer, despite the word “cloud” being somewhat vague. <a href="https://dare2compete.com/blog/difference-between-data-and-information">Data</a> can be stored in one of three cloud environments: public, private, or hybrid. Ultimately, the needs particular to your firm will determine which cloud option is best for you. Due to the protection of sensitive information, larger firms with larger expenditures for developing and operating an on-site data center will typically pick a private or hybrid cloud solution. A public cloud is a simpler, more cost-effective method for hosting data for small to mid-sized organizations.</p><p>2. Big Data Analytics</p><p>Big Data is a disruptive trend that is disrupting the business world. Amazon and Facebook, for example, collect data on consumer buying trends, likes, and dislikes, and analyze it to predict future purchases and grow their businesses. Today’s businesses are all attempting to collect and understand big data in order to make sales, marketing, R&amp;D, and other decisions. The cloud is a very powerful tool for storing, managing, and analyzing this data.</p><p>3. Backup and Recovery</p><p>The majority of backup systems (such as producing backup copies required for data recovery) are now cloud-based. The cloud almost removes the need for time-consuming manual backups (which is absolutely essential for all systems). Most systems now provide a number of tools that assist users in planning and creating secure backup copies on a regular basis and with minimal effort. In this scenario, cloud computing enables end-users to save a significant amount of time over the course of the year.</p><h3>Types of Virtualization in Cloud Computing</h3><p>Virtualization as a notion dates back to the 1960s, when mainframe computers were the standard. This notion has been the industry norm in the last 10 to 15 years. Virtualization is currently possible on the majority of servers. However, there are various types of virtualization, especially in the context of cloud computing. They are as follows:</p><p>1. Data virtualization: This is a type of virtualization in which data is collected from various sources and managed in a single location without knowing more about the technical details of how data is collected, stored, and formatted, and then logically organized so that its virtual view can be accessed by interested people and stakeholders, as well as users, via various cloud services. Many large corporations, including as Oracle, IBM, At scale, Cdata, and others, offer their services.</p><p>2. Desktop Virtualization: Desktop virtualization allows users’ operating systems to be stored remotely on a server in the data center. It allows the user to virtually access their desktop from any machine, at any location. Virtual desktop is required for a user who want to run operating systems other than Windows Server. User mobility, portability, and easy management of software installation, updates, and patches are the main advantages of desktop virtualization.</p><p>3. Storage virtualization: A virtual storage system manages a group of servers known as storage virtualization. The servers are more like worker bees in a hive in that they are unaware of where their data is stored. It allows you to manage and use storage from numerous sources as if it were a single repository. Despite modifications, breakdowns, and variances in the underlying equipment, storage virtualization software ensures smooth operations, constant performance, and a continuing array of sophisticated functions.</p><p>4. Network Virtualization: The capacity to manage several virtual networks, each with its own data and management plan. It coexists on top of a single physical network. It can be handled by individuals who may or may not be aware of each other’s identities. Within days or even weeks, network virtualization allows you to construct and provision virtual networks, network devices, including logical switches, routers, firewalls, load balancers, Virtual Network, and workload security.</p><p>5. Server Virtualization: This is a type of virtualization in which server resources are hidden behind a mask. By changing the identity number and processors, the central-server (physical server) is divided into several virtual servers. As a result, each machine can run its own operating system in isolation. Where each sub-server is aware of the primary server’s identity. By deploying main server resources into a sub-server resource, it improves speed while also lowering running costs. It aids virtual migration, reduces energy usage, and lowers infrastructure costs, among other things.</p><p>6. Application Virtualization: Application virtualization allows a user to remote access to a server-based application. The server keeps all of the application’s personal data and other characteristics, yet it can still be run on a local workstation over the internet. A user who has to run two separate versions of the same software is an example of this. Hosted apps and packaged applications are examples of technologies that leverage application virtualization.</p><p>7. Operating System Virtualization: Operating system Virtualization in Cloud Computing is when the VM software installs the host operating system rather than the host operating system being installed directly on the hardware. Testing apps on different OS and platforms is one of the most basic uses of OS virtualization. The software is almost completely integrated into the hardware. This enables the application’s various examples to run.</p><p>8. Hardware Virtualization: Hardware virtualization is employed in server platforms in Cloud Computing because it provides more flexibility than physical computers. Hardware virtualization refers to the installation of virtual machine software (VM) within the hardware system. It also includes a hypervisor, which regulates and monitors the system’s processes, hardware resources, and memory. After the hardware virtualization procedure is completed, the user can install a separate operating system and run multiple programs at the same time.</p><p><a href="https://unstop.com/blog/what-is-data-handling">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*-15sErAbDZNMmzhO" /></figure><p><a href="https://unstop.com/blog/what-is-data-handling">What is Data Handling? Understanding The Basics</a></p><h3>Role of Virtualization in Cloud Computing</h3><p>Virtualization is very significant in cloud computing technology. Normally, in cloud computing, users share the data that is present in the clouds, such as applications, but with virtualization, users share the infrastructure.</p><p>The major purpose of virtualization technology is to deliver standard versions of apps to cloud users. If the next version of that application is launched, the cloud provider must provide the current version to their cloud customers, which is not practicable due to the higher cost.</p><p>To address this issue, we mostly employ virtualization technologies. By utilizing virtualization, all servers and software applications required by other cloud providers are maintained by third parties, for which the cloud providers must pay a monthly or annual fee.</p><h3>Advantages of Virtualization</h3><ol><li>Limited use of Software and Hardware Components: Due to the general limited usage of resources, hardware and software resources are under-utilized. Because all of the user’s PCs are capable of meeting their daily computational needs, many of them are utilized often and may be used constantly without interruption 24 hours a day, seven days a week. Using these resources for other uses after hours could improve the efficiency of IT infrastructure. With the help of virtualization, this environment can be created.</li><li>Shortage of Space: Data centers are rapidly expanding due to the constant need for more capacity, whether it’s for memory storage or compute power. Google, Microsoft, and Amazon develop their infrastructure by constructing data centers that meet their specific requirements. The majority of businesses are unable to afford to establish a new data center to accommodate increasing resource capacity. This contributes to the spread of a practice known as server consolidation.</li><li>Enhanced Performance: Currently, the end user system, i.e. PC, is strong enough to meet all of the user’s fundamental processing needs, plus a variety of other features that are rarely used. The majority of their systems have enough capacity to host a virtual machine manager and run a virtual machine with acceptable performance so far.</li><li>Increase efficiency and productivity: IT personnel will be able to spend less time maintaining physical hardware and IT infrastructure with fewer servers. Instead of going through the onerous and time-consuming process of applying updates server-by-server, install, update, and maintenance of the environment across all of the VMs in the virtual environment on the server will happen easily. The efficiency and production of your staff will improve if less time is spent on maintaining the environment.</li><li>Reduce downtime and enhance resiliency in disaster recovery situations: When a physical server is damaged, someone is responsible for replacing or repairing it, which can take hours or even days. It’s simple to provide and deploy a virtualized environment, allowing replication or cloning of the impacted virtual machine. The recovery procedure would take minutes, rather than the hours it would take to deploy and set up a new physical server, greatly improving the environment’s resiliency and ensuring business continuity.</li><li>Easy: A developer’s best buddy is virtualization. It effectively separates development and production environments without the need for additional hardware. Cloning a VM to create testing environments is incredibly straightforward. You can use it to test features and fix bugs without affecting the actual product. Developers in traditional hardware-based systems must be concerned with all updates and upkeep for their development equipment. It’s also a constant issue to keep an accurate picture of live servers for testing. Virtual machines (VMs) easily resolve all of these concerns. Virtualization allows developers to play with an infinite number of flawlessly reproduced virtual machines on demand. Virtualization is used by developers to speed up updates, increase software security, and maintain a smooth pipeline between development, testing, and deployment.</li><li>Reduction Of Expenses: Computing power is not cheap. If the only method to increase resources is to buy new hardware, the cost quickly mounts. It also provides for remote access and rapid scalability. You can examine your current architecture and uncover wasted or idle computing resources using virtualization techniques. Organizations frequently deploy servers to run applications that only require a small portion of their available resources. These servers are never used to their full capability. To make matters worse, these servers are completely idle while their applications are not operating. In a virtualized environment, you may accurately assign each VM the amount of computing resources it requires to perform its function. Other VMs and their apps can then use the leftover resources. Virtualization costs are almost always less than traditional costs.</li></ol><p><a href="https://unstop.com/blog/coding-books">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*V4iS5cSgI7RJf7O8" /></figure><p><a href="https://unstop.com/blog/coding-books">5 Books That Will Come Handy In Your Coding Journey!</a></p><h3>Virtualization Versus Cloud Computing</h3><p>Cloud computing is the combining of various physical devices, while virtualization is software that virtualizes your hardware into multiple PCs. A user gets dedicated hardware under virtualization, however with cloud computing, numerous hardware units create a single login environment for the user. Cloud computing is better for accessing resources from outside the workplace network, whereas virtualization is best for accessing resources from within the office.</p><p>Cloud computing allows different departments (via a private cloud) or corporations (through a public cloud) to access a single pool of automatically provisioned resources, whereas virtualization can make one resource act like many.</p><p>S.NCloud Computing Virtualization1.Cloud computing is utilized to provide on-demand access to pools and automated resources.Through a physical hardware system, it is utilized to create diverse simulated worlds.2.Cloud computing is of two types : Public cloud and Private cloud.Virtualization is of two types : Hardware virtualization and Application virtualization.3.Highly scalable.Not very scalable4.Cloud computing relies on numerous machines in the event of a disaster.While it relies on single peripheral device.5.Tedious and complex set-up phase.Set up phase is relatively easier.6.Workload is stateless.Workload is state full.</p><h3>Summing Up</h3><p>As technology continues to develop, we are racing into an era where both cloud computing and virtualization become an important part of our lives. Continuing to understand the essence of what both this technologies are becomes prudent as engineers.</p><p>You may also want to read:</p><ol><li><a href="https://dare2compete.com/blog/starvation-in-os">What Is Starvation In Operating System?</a></li><li><a href="https://dare2compete.com/blog/data-redundancy-in-dbms">Data Redundancy in DBMS</a></li><li><a href="https://dare2compete.com/blog/javascript-projects-for-beginners">10+ JavaScript Projects For Beginners</a></li><li><a href="https://dare2compete.com/blog/difference-between-retesting-and-regression-testing">What Is The Difference Between Retesting And Regression Testing?</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68e549acce7d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Paging In Operating System?]]></title>
            <link>https://unstop.medium.com/what-is-paging-in-operating-system-9689fdf2e19a?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/9689fdf2e19a</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Sat, 30 Apr 2022 05:37:17 GMT</pubDate>
            <atom:updated>2022-04-30T05:37:17.012Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*19d8VXLOHx_-VU_Q" /></figure><p>Table of content:</p><ul><li>Characteristics of Paging</li><li>Address Translation</li><li>Page Table (PT)</li><li>Paging with TLB</li><li>Advantages of Paging</li><li>Disadvantages of Paging</li></ul><p>In Operating System, memory management is the responsibility of dividing the memory among the various processes. The fundamental goal of memory management is to make optimal use of memory by minimizing internal and external fragmentation. One such algorithm for memory management techniques is paging.</p><p><a href="https://dare2compete.com/blog/difference-between-paging-and-segmentation">Paging</a> is a static memory allocation method that allows a process’s physical address space to be of non-contiguous type. It’s a memory management scheme or storage mechanism that lets the operating system fetch processes from secondary storage in the form of pages and place them in the main memory. The paging hardware and operating system are integrated to implement the paging process.</p><p>A page is a logical memory unit in a program. Logical memory is organized into pages, which are equally sized blocks. A frame is a type of physical memory unit. In the concept of paging, physical memory(main memory) is organized into frames, which are equally sized memory blocks. The memory size of a new process is determined when it arrives. If a process has n pages in local memory, there must be n frames available in the system.</p><p>To get maximum utilization of the main memory and minimize external fragmentation, the size of a frame should be the same as the size of a page. Paging is mostly used to store non-contiguous portions of a single process.</p><p>To make the paging method easier, the operating system decides:</p><p>The program’s total page count.</p><ul><li>Finds a sufficient number of empty page frames to assist.</li><li>All pages must be contiguous to be loaded into memory.</li></ul><p><a href="https://unstop.com/blog/coding-books">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*cPp2bFHin6LtFd03" /></figure><p><a href="https://unstop.com/blog/coding-books">5 Books That Will Come Handy In Your Coding Journey!</a></p><h3>Characteristics of Paging</h3><ul><li>External fragmentation is not present.</li><li>By procedure, any frame may be employed.</li><li>Only on the last page of a process, <a href="https://dare2compete.com/blog/difference-between-html-and-css">internal fragmentation</a> may occur.</li><li>A process’s physical memory is no longer contiguous.</li><li>A process’ s logical memory is still contiguous.</li></ul><h3>Example of Paging</h3><p>For example, Let’s say the main memory size is 64B and the frame size is 4B then, No of frames = 64/4 = 16.</p><p>There are 4 processes. The size of each process is 16B and page size is also 4B then, No of pages in each process = 16/4 = 4 These pages may be stored in the main memory frames in a non-contiguous form, depending on their availability</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*L3Cktn8Y-AFNhUkv.jpg" /></figure><h3>Address Translation</h3><p>In paging, the logical and physical memory addresses are separated. As a result, an address translation mechanism is required to convert the logical address into a physical address. The physical address is the actual address of the frame where each page will be placed, whereas the logical address space is the address created by the CPU for each page.</p><p>The Memory Management Unit (MMU), which is a hardware component, performs the mapping from virtual to a physical address, which is known as the paging technique. The page table base register (PTBR) refers to a process’s page table. A virtual memory processor must have a page table base register that is accessible by the operating system.</p><p>The size of the page table is indicated by the page table length register. The page table is used to translate the logical address to the physical address. At runtime, memory address translation occurs. Translating a virtual address to a physical address is required when reading a word from memory.</p><p>The CPU generates a logical address that is made up of two parts-</p><ul><li>Page Number (p)</li><li>Page Offset (d)</li></ul><p>The physical address is separated into two parts.</p><ul><li>Frame Number (f)</li><li>Frame Offset (d)</li></ul><p>The page number determines which page of the process the CPU wishes to read data from. The Page Offset defines which word on the page the CPU wants to read.</p><p>When the CPU generates a page number, The Page Table displays the relevant frame number (frame base address) for each page in the main memory.</p><p>The required physical address is formed by multiplying the frame number by the page offset. The frame number identifies the frame in which the required page is stored. Page Offset provides the precise word from that page that must be read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*XIbs3WxEl6nhdGEI.jpg" /></figure><p><a href="https://unstop.com/blog/coding-projects">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*fi0nUWH-Y1yVO9iH" /></figure><p><a href="https://unstop.com/blog/coding-projects">5 Interesting Coding Projects That’ll Make Your Resume Stand Out!</a></p><h3>Page Table (PT)</h3><p>Every new process creates a separate page table. Page table is stored in physical memory.</p><h3>Page Table Entry</h3><p>A page table entry contains a variety of page-related information. From operating system to operating system, the information contained in the page table item differs. The frame number is the most crucial piece of information in a page table entry.</p><p>PTE has the following information:</p><ul><li>Frame Number: The frame number identifies the memory frames in paging in which the page is stored. The size of the frame number is determined by the number of frames in the main memory. Number of bits for frame = Size of Physical memory/Frame size.</li><li>Present/Absent Bit: This bit is also referred to as the valid/invalid bit. This bit indicates whether or not the page is in the main memory space. This bit is set to 0 if the page is not available in the main memory; otherwise, it is set to 1.</li><li>Protection bit: This bit is also known as the “Read / Write bit.” This bit is about page security. It determines whether or not the user has permission to read and write to the page. This bit is set to 0 if only read operations are allowed and no writing operations are allowed. If both read and write operations are permitted, this bit will be set to 1.</li><li>Reference bit: The reference bit indicates whether or not the page was referred to in the previous clock cycle. If the page has recently been referenced, this bit is set to 1, otherwise, it is set to 0.</li><li>Caching Enabled/Disabled: The reference bit indicates whether or not the page was referred to in the previous clock cycle. If the page has recently been referenced, this bit is set to 1, otherwise, it is set to 0.</li><li>Dirty bit: This bit is also known as the “Modified bit.” This bit indicates whether or not the page has been changed. This bit is set to 1 if the page has been updated; otherwise, it is set to 0.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*BZOQ99smIPcYJX1v.jpg" /></figure><p>The following method may be used to create a page table:</p><ul><li>In the main memory, a single-level page table is stored.</li><li>Main Memory stores a multi-level page table.</li><li>Single or multilevel page tables, associative memory (Register or TLB), and associative memory (Register or TLB).</li><li>Page table that is inverted.</li></ul><h3>Single Level Page Table</h3><p>Only single-page tables are used in this procedure. Page tables are made up of a linear array of page table entries (PTEs). Each PTE holds information on the page, such as its physical page number and status bits, such as whether the page is valid or not, as well as any other bits.</p><p>Every memory reference will have its address translated. The size of the page table might vary greatly depending on the page size. The loading of larger page tables takes longer.</p><p>The main downside of this strategy is that managing these big page tables as a single entity is problematic. Because of the additional memory reference for the page table, the mapping from virtual to physical address is delayed.</p><h3>Multi-Level Page Table</h3><p>Multilevel page table are split into two or more levels. Page tables are stored in multi-level tables, which have a tree-like structure.</p><ul><li>The level-0 page table’s entries are pointers to a level-1 page table.</li><li>The level-1 page table’s entries are pointers to a level-2 page table.</li></ul><p>Actual page information will be stored in the entries of the final level page table.</p><p>When paging is implemented on the page table in multilevel paging, the base address of the first level page entry will be the base address of the second level page table entry, and the second level page table entry will be the base address of the third-level page table entry, and so on.</p><p>The frame number of actual pages will be displayed in the final level page table item. In multilevel paging, regardless of the level of paging, all the PT will be stored in the main memory and all PT entries carry simply the frame number.</p><p>All of the page tables are kept in memory. As a result, getting the physical address of the page frame needs more than one memory access, one for each level required. Extra memory references to access address translation can slow down a program in memory by a factor of two or more, which is a considerable drawback.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*lCvq47V-WRihMQUz.jpg" /></figure><h3>Paging with TLB (Translation Look-aside Buffer)</h3><p>To access a byte in paging, the first-page table item must be visited, followed by the bytes.<br>As a result, two memory accesses will be required. Memory access is slowed by a factor of two as a result. In most cases, this delay would be intolerable.</p><p>The above issue can be remedied by employing a fast-searching hardware cache called a translation look-aside buffer. The TLB is a type of associative fast memory.</p><p>Every table entry is broken into two parts: one is the key, and the other is the value. When an object is introduced to the associative memory, it is compared to all keys at the same time. If there is a match, the value field for that match is returned.</p><p>Despite the high cost of the technology, the searching mechanism that is enabled in this way is extremely quick. TLB typically stores a limited amount of entries, usually between 64 and 1024.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*hP5FuQP6xWLG-IUr.jpg" /></figure><p><a href="https://unstop.com/blog/programming-languages-for-hackathons">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*C_NtdZkYyT6dCM9c" /></figure><p><a href="https://unstop.com/blog/programming-languages-for-hackathons">Acing Hackathons &amp; Coding Competitions In 2022: Ten Programming Languages To Learn</a></p><h3>Advantages of Paging</h3><ul><li>Memory management that is effective.</li><li>Simplicity in partitioning (non-contiguous memory allocation).</li><li>Allocating memory is simple and inexpensive.</li><li>Pages are simple to share.</li><li>No compaction is necessary.</li><li>no external fragmentation.</li><li>more efficient swapping.</li></ul><h3>Disadvantages of Paging</h3><ul><li>Internal fragmentation (only at the last page of the process).</li><li>Address translation necessitates the use of specialized hardware.</li><li>The page table is stored in the main memory.</li><li>Address translation lengthens memory cycle times.</li><li>Memory reference overhead is caused by multi-level paging.</li><li>Memory access time is longer.</li></ul><p>Paging allows you to save a process in memory in a non-contiguous manner and it is invisible to programmers. Although paging is a storage strategy that allows the operating system to retrieve processes from secondary storage into main memory in the form of pages, it might result in internal fragmentation.</p><p>You might also be interested in reading:</p><ol><li><a href="https://dare2compete.com/blog/react-project-ideas">10 Best React Projects Ideas You Must Build in 2022</a></li><li><a href="https://dare2compete.com/blog/difference-between-hardware-and-software">Difference Between Hardware and Software</a></li><li><a href="https://dare2compete.com/blog/programming-language-for-ai">10 Most Important Programming Language for AI</a></li><li><a href="https://dare2compete.com/blog/difference-between-javascript-and-jquery">Difference Between JavaScript And jQuery</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9689fdf2e19a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Scalability Testing? How Do You Test Application Scalability?]]></title>
            <link>https://unstop.medium.com/what-is-scalability-testing-how-do-you-test-application-scalability-7e2c0978415d?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e2c0978415d</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Wed, 27 Apr 2022 04:58:25 GMT</pubDate>
            <atom:updated>2022-04-27T04:58:25.888Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*f6FR2Xy-ADCn-lVE" /></figure><h4>Table of content:</h4><ul><li>Objective of Scalability Testing</li><li>Scalability Testing Attributes</li><li>Types of Scalability Testing</li><li>Test Strategy</li><li>Advantages of Scalability Testing</li><li>Disadvantages of Scalability Testing</li></ul><p>Scalability testing, a type of performance testing, is a <a href="https://dare2compete.com/blog/black-box-testing-vs-white-box-testing">non-functional testing method</a> of testing the performance of a particular application, software, system or process such that its ability to scale up or scale down the number of user request load or other such performance attributes can be checked and measured. This enables the system to make changes at hardware, software or database level in order to achieve desired function and output even when changes are made to the size or volume of the system and manage the scheduled increase in user traffic, data volume, transaction counts frequency, etc.</p><p>Different applications shows scalability testing based on differing criteria. For example, for a web server, criteria consists of number of requests processed and the response time and for a web page, criteria consists of number of users, network usage, CPU usage, etc.</p><h3>Objective of Scalability Testing</h3><p>The objectives of Scalability Testing include the following:</p><ol><li>Determination of scalability of the application with respect to the increasing workload and ability of software to scale up based on workload and data traffic.</li><li>Determination of client-side degradation and end-user experience under maximum load.</li><li>Determination of how well an application runs when there is an increase in user demand.</li><li>Determination of robustness and degradation of the server.</li><li>Determination of the user limit for the software product.</li><li>Identification of the threshold point where the application stops adapting or responding to the changes made in the application and the reasons behind this.</li><li>Optimization of development, operational costs, cost of maintenance as well as infrastructure costs.</li></ol><h3>Scalability Testing Attributes</h3><p>Attributes for Scalability Testing includes the following:</p><ol><li>Throughput — Throughput refers to the number of requests that are processed and output is generated in a unit time by a particular application. Different applications have different throughputs. For example, in the case of a web application, the number of user requests processed by the application per unit time gives the throughput and in case of database application, the number of queries processed in a unit time gives the throughput.</li><li>Response Time — As the name suggests, Response is the time needed by the application or software product to process an output or a response for a request made by the user. It gives an idea about the application response to user application request. The application which has the least response time is considered to be the higher performance application. It depends on the user’s load for the user’s request. If the load is high, then the response time needed is less.</li><li>Threshold load — It refers to the number of requests processed by the application with a desired throughput.</li><li>CPU Usage — CPU Usage measures the amount of CPU used when a particular application code instructions or code is executed. Unit of measurement for CPU Usage is Megahertz.</li><li>Network Usage — Network Usage, as the name suggests, is the measure of the bandwidth used by an application to carry out a test. Unit of Measurement for Network Usage is bytes received per second, frames received per second, segments received and sent per second.</li><li>Memory Usage — Memory Usage is the measure of the memory consumed by an application or a software to perform a task. Unit of Measurement for Memory Usage is bytes.</li><li>Performance measurement based on number of users — The number of users that a particular application or software can support without breakdown or standby like situation is referred to as the Application Performance metrics based on number of user. It varies for different kinds of applications or software applications.</li></ol><h3>Types of Scalability Testing</h3><p>They are of two types, which are given as follows:</p><h3>1. Upward Scalability Testing</h3><p>Upward scalability testing helps in identification of the maximum capacity of an application by expanding the number of users on a specific scale till a crash point is reached for the application.</p><h3>2. Downward Scalability Testing</h3><p>Downward scalability testing helps in the identification of bottleneck (bug) by decreasing the number of users at regular intervals of time when the load testing is not passed till the goal is achieved for an application.</p><h3>Test Strategy</h3><p>Test strategy differs for different applications or different software. The test strategy can be changed based on the type of application being tested. It can be divided into the following heads:</p><ol><li>Prerequisites of scalability testing</li><li>Process of scalability testing</li><li>Scalability test plan</li></ol><p>These are mentioned as follows:</p><h3>Prerequisites of scalability testing</h3><p>Prerequisites needed for testing of scalability are as follows:</p><ol><li>Load Distribution — It includes generation of load from different machines and then managing them from a single unique point using Load testing tool.</li><li>Operating System — An operating system needs to be determines in order to carry out the functions of an agent like load generation and running of the load test master.</li><li>Processor — A central Processing Unit (CPU) needs to be determined and identified for load master and the agent.</li><li>Memory — It needs to be determined how much memory is required for the process.</li></ol><h3>Process of Scalability Testing</h3><p>The sequences of actions involved in this process can be described as follows:</p><ol><li>The first step in executing scalability tests is to define a repeatable process.</li><li>The criteria for tests is then specified.</li><li>Software tools that will be required to carry out the process are determined and specified.</li><li>The testing environment is set up.</li><li>Hardware components required are configured.</li><li>Visual Script is created and verified.</li><li>Load test scenarios are created and verified.</li><li>Test is executed.</li><li>Results are evaluated.</li><li>Report is generated based on the tests and results.</li></ol><p>This entire process can be divided into 4 main points that will help you to remember : Assessment and Prediction, Test execution, Test Development and Logging and Reporting the results.</p><h3>Scalability Test Plan</h3><p>Scalability Test plan needs to be created before the process is done. A well defined test plan helps in meeting the requirements of the application, the test plan consists of the following attributes**:**</p><ol><li>Scripts — It provides the detailed plan of action for the user to perform.</li><li>Run-time data — Run-time data needs to be identified in order to be able to interact with the application or the software.</li><li>Data-driven tests — It is used for understanding the fields that require varying data at run-time.</li></ol><h3>Advantages of Scalability Testing</h3><p>Benefits of scalability testing include the following:</p><ol><li>It helps in determination of the restrictions of a web application comprising of network usage, response times, etc.</li><li>It helps save both time and money by finding out the errors quickly and helps in provision of a corrective action against the errors.</li><li>It assures a user about the benefits and difficulties in future development of a software product.</li><li>It helps in tracking of operative tool utilization.</li><li>It helps to control the end user experience when a specific load is provided and when there is an increase in user demand.</li><li>It helps in accessing the situation and the difficulties faced by an application and fix the issues involved.</li><li>It helps identify the multiple performance issues in a application or software.</li><li>It helps to keep the test environment unchanged by carrying out load tests.</li></ol><h3>Disadvantages of Scalability Testing</h3><p>The drawback of Scalability Testing include the following points:</p><ol><li>The functional faults may occur and that may not be considered when the test is done.</li><li>The test environment may be different from the production environment.</li><li>Utilization of advanced tools for scalability and exclusive testing team for performance tests can lead to over budget for the projects.</li><li>This process requires expertise and high-level of testing knowledge and skills.</li><li>Incorrect test scripts and test scenarios can lead failure of the tests and waste of time due to pointless modifications made on them.</li></ol><h3>Summing up…</h3><p>The following can be concluded from the article:</p><ol><li>Scalability testing is a non-functional test method of testing the performance of a particular application, software, system or process such that its ability to scale up or scale down the number of user request load or other such performance attributes can be checked and measured.</li><li>Different applications shows scalability testing based on differing criteria.</li><li>There are various objectives of this testing process but the main objective involves the identification of the threshold point where the application stops adapting or responding to the changes made in the application and the reasons behind this.</li><li>Scalability testing includes attributes which are Throughput, Response time, CPU Usage, Memory Usage, Network Usage, Threshold Load, Performance measurement based on number of users.</li><li>There are two types of scalability testing which are upward scalability testing and downward scalability testing.</li><li>Test strategy differs for different applications or different software. It can be divided into Prerequisites of scalability testing, Process of scalability testing and Scalability test plan.</li></ol><p>You might be interested in reading:</p><ol><li><a href="https://dare2compete.com/blog/java-collections-interview-questionshttps://dare2compete.com/blog/java-collections-interview-questions">Top 50+ Java Collections Interview Questions</a></li><li><a href="https://dare2compete.com/What%20Is%20Cache%20Memory%20In%20Computer">What Is Cache Memory In Computer?</a></li><li><a href="https://dare2compete.com/blog/fact-table-and-dimension-table">What Is Fact Table And Dimension Table?</a></li><li><a href="https://dare2compete.com/blog/data-science-life-cycle">What Is A Data Science Life Cycle?</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e2c0978415d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Programming Language? Know Popular Programming Languages]]></title>
            <link>https://unstop.medium.com/what-is-programming-language-know-popular-programming-languages-76faa1eb27e2?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/76faa1eb27e2</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Wed, 27 Apr 2022 04:56:39 GMT</pubDate>
            <atom:updated>2022-04-27T04:56:39.390Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*YZeIdUnI5yjHMo5k" /></figure><h4>Table of content:</h4><ul><li>What is Language?</li><li>What is Programming Language?</li><li>Types of Programming Language</li><li>List of Top Programming Language</li></ul><p>The programming language can be described as a language that programmers can use to create scripts, software programs, or other types of instructions that computers can run.</p><p>While many languages have similarities, each has its individual language syntax. Once a programmer has mastered the rules and syntax, they can write a code program’s source code using the text editor or an IDE. Then, the programmers usually will compile the code into a machine-readable language that can be read by computers. The scripting languages which do not need the use of a compiler, make use of the interpreter to run the script. So before knowing about programming language let’s understand what is a language?</p><h3>What is Language?</h3><p>A language is a form of communication employed to exchange ideas, ideas and opinions, and thoughts with one another. For instance, if you are trying to instruct someone the language of another, you must have an understanding language that can be understood by both people who communicate.</p><p>We all know that to talk with someone is to use a specific language. Similarly, to connect with computer systems, programmers require a language, which is known as a programming language.</p><h3>What is Programming Language?</h3><p>Programming languages are a collection of instructions, commands, along with additional syntax that is used to build the program and share the syntax with markup languages. The languages that programmers employ to write code are referred to as “high-level languages.” The code is compiled into the form of a “low-level language,” which is directly recognized by the hardware on computers.</p><p>The programming language can be described as a programming language that is utilized by programmers (developers) for communicating with computers. It is a set of instructions that are written in any language ( C, C++, Java, Python) to accomplish a particular task.</p><p>The programming language is mostly employed to create desktop applications, websites as well as mobile applications.</p><h3>The History of Programming</h3><p>Many historians think Ada Lovelace was the first to publish a computer program around the middle of the 19th century. She was a mathematician, who translated Luigi Federico Menabrea’s work regarding The Analytical Engine.</p><p>The translation was a result of Ada has added extensive notes and developed an algorithm for formulating Bernoulli numbers for the Analytical Engine.</p><p>The mathematician’s work by Alonzo Church and the Turing machine was among the initial computer code introductions.</p><p>The 1920s saw the first computers were invented that were followed by the first programming languages. In the following century when technology and machines developed and develop, so did the range of languages used in programming.</p><h3>Types of Programming Language</h3><p>Basically, there are three types of programming language, they are:</p><ol><li>Low-level Programming Language</li><li>High-level Programming Language</li><li>Middle-level Programming Language</li></ol><h3>1. Low-level Programming Language</h3><p>Low-level languages are dependent on machines (0s as well as 1s) programming language. The processor can run low-level programs directly, without the need for an interpreter or compiler, which means that programming programs that are written using low-level languages are extremely fast to run.</p><p>Languages at the low level are further subdivided into two distinct parts -</p><h4>i. Machine Language</h4><p>Machine language is a kind of programming language that is low-level. It’s also known by its other names, such as “object code” or machine code. Machine language is simpler to understand because it is typically presented as binary or in hexadecimal (base 16) form. It doesn’t need an interpreter to translate the program because computers can are able to directly interpret machine language software.</p><p>The benefit of using machine language is the fact that it enables the programmer to execute programs quicker than the more advanced programming language.</p><h4>ii. Assembly Language</h4><p>Assembly language (ASM) is also a low-level programming language specifically designed specifically for processors. It is an instruction in the form of a symbolic and understandable format for humans. It employs an assembler in order to transform the assembly language into machine language.</p><p>The advantage of using an assembly program is that it uses lesser memory and less time to execute a program.</p><h3>2. High-level programming language</h3><p>The High-level Programming Language (HLL) has been designed to assist in creating user-friendly software applications or websites. The software language needs a compiler, or interpreter to convert the program to the machine programming language (execute it).</p><p>The primary benefit of high-level languages is that it’s simple to learn and write in, as well as maintain.</p><p>High-level programming languages include Python, Java, JavaScript, PHP, C#, C++, Objective C, Cobol, Perl, Pascal, LISP, FORTRAN (algorithmic language), and Swift programming language.</p><p>A high-level language can be further divided into three components of</p><h4>i. Procedural Language for Oriented Programming</h4><p>Procedural Oriented Programming (POP) language comes from structured programming and is based on the notion of a procedure call. It breaks a program down into smaller processes, also known as “routines” or “functions.</p><p>The Procedural Oriented programming languages or procedural language are utilized by software developers to write a program. This is accomplished using a program editor such as IDE, Adobe Dreamweaver, or Microsoft Visual Studio.</p><p>The benefit that comes with the POP program is that it allows programmers to track easily the flow of their program and also code that is reusable in many areas of the program.</p><p>Example: C, FORTRAN (algorithmic language), Basic, Pascal, etc.</p><h4>ii. Object-Oriented programming language</h4><p>Object-Oriented Programming (OOP) language is an underlying language that is based on objects. It is a software language, applications are separated into parts known as objects. It’s used to implement real-world concepts such as inheritance, polymorphism abstraction, etc . in the program in order to make the program reuseable, efficient and user-friendly.</p><p>The primary benefit of using an object-oriented program is the fact that OOP is more efficient and less time-consuming to implement, maintain modifications, and also as to debug.</p><p>Example: C++, Java, Python, C#, etc.</p><h4>iii. Natural language</h4><p>Natural language is part of human language like English, Russian, German and Japanese. It is utilized by computers to learn how to manipulate and interpret human languages. It is utilized by programmers to complete tasks like automatic summarization, translation, Named Entity Recognition (NER) relationship extraction, as well as subject segmentation.</p><p>The primary benefit inherent to natural languages is the fact that they allow users to ask questions on any field and respond in a matter of seconds.</p><h3>3. Middle-level programming language</h3><p>The middle-level programming language is a middle-level programming language that lies in between low-level programming languages and high-level programming languages. It is also referred to as the intermediate programming language, also known as a pseudo-language.</p><p>The advantages of a middle-level programming language are that it can be used to implement high-level programming features and is an extremely user-friendly language and is closely linked to human and machine language.</p><p>Example: C, C++ C++, language</p><h3>List of Some Programming Language</h3><p>We all know that the programming language can make our lives easier. Nowadays, all industries (like healthcare, education and banks, cars, and many more ) entirely depend on this programming language.</p><p>There are numerous programming languages utilized by industries. So, to begin your journey as a software developer or software engineer, you should find your suitable language. Lets checkout some of the programming languages:</p><h3>1. Golang</h3><p>Create reliable, fast, and effective software on a large scale. Go programming language has been developed as an open-source project designed to help programmers become more efficient. Go is expressive, succinct, and clean. It is also efficient. It is a modern programming language which is used for software development (Android and IOS)</p><p>Its concurrency features make it simple to create programs that get the most benefit from multicore and networked devices and its unique type system allows for flexibility and modular programming. Go is quick to compile into machine code but offers the advantages of garbage collection as well as the benefit of reflection at run-time. Modern Language with a speedy statically typed and compiled language that is like a dynamically-typed interpreter language.</p><h4>Advantages of Golang</h4><ul><li>The Go programming language is an open-source language that is supported by Google</li><li>Easy to master and easy to begin with</li><li>A robust standard library, as well as built-in concurrency</li><li>An expanding ecosystem of communities, partners, and tools</li></ul><h3>2. C</h3><p>C is a well-known easy, flexible, and simple general-purpose programming language for computers. Dennis M Ritchie develops it in 1972 for AT&amp;T. The language is a mix of both low-level programming language, as also a high-level programming language. It is utilized to design applications such as Text editors, compilers Network devices, many more.</p><h4>Advantages of C</h4><ul><li>C language is simple to master.</li><li>It’s quick and efficient, it is mobile, easy to expand as well is a powerful and flexible programming language.</li><li>It’s used to do complicated calculations and operations, like MATLAB.</li><li>It uses dynamic memory allocation that allocates memory in real-time.</li></ul><h3>3. Python</h3><p>Python is one of the commonly utilized programming languages that are user-friendly and easy to use. It is open-source and a simple to master programming language that was created in the early 1990s. It is a functional programming language most commonly employed to develop machine learning, Artificial intelligence, game development, Big Data, GUI-based desktop applications, as well as Robotics. The only drawback is it is not suitable for mobile application development.</p><h4>Advantages of Python</h4><ul><li>Python is simple to read, simple to comprehend, and simple to write.</li><li>It is compatible with other languages of programming such as C, C++, and Java.</li><li>Python executes code line-by-line making it easy for the programmer the mistake that was made in the code.</li><li>Python is a platform-independent language, meaning you can write your code once and execute it everywhere.</li></ul><h3>4. C++</h3><p>C++ is one of the thousands of programming languages we employ to create software. C++ programming language was developed by Bjarne Stroustrup in the year 1980. It’s akin to the C programming language, however, it adds extra features like object-oriented programming, type-checking, etc. C++ is one of the popular language used for creating applications like desktop apps, video games and even operating system.</p><h4>Advantages of C++</h4><ul><li>C++ is a lightweight, portable structure programming language.</li><li>It can support OOPs options such as Abstraction Inheritance, Encapsulation, and Abstraction.</li><li>It is a high-level abstraction that is suitable for programming with a low-level language. It’s also better suited for use for general purposes.</li><li>C++ is more compatible with the C language and you can create variety of applications.</li></ul><h3>5. C#</h3><p>C# ( pronounced as C sharp) is a new general-purpose, object-oriented, and general-purpose programming language that is used in conjunction to create XML web services running on the .NET platform. It was developed to increase the efficiency of web-based applications. It is easier to learn for users with enough experience with the most common programming languages, such as C, C++, or Java.</p><h4>Advantages of C#</h4><ul><li>C# is a modern simple, safe to learn, fast, and open source programming language that can be coupled with Windows.</li><li>Maintenance of C# (C sharp) is lower than that of the C++ program language.</li><li>C# is a pure object-oriented programming language.</li><li>C# comes with a robust memory backup function. This helps it to avoid the issue of leakage in memory.</li></ul><h3>6. JavaScript</h3><p>JavaScript JavaScript is a type of scripting language that can be used on both the client-side and server-side. It was developed by the 1990s to be used the 1990s for the Netscape Navigator web browser. It allows programmers to incorporate complicated features that make websites live. It assists programmers in creating dynamic websites as well as mobile applications, servers and games, animated graphics, and more. It is considered as the most suitable language for mobile application development.</p><h4>Advantages of JavaScript</h4><ul><li>JavaScript allows us to add interaction and behavior to websites.</li><li>It is a method to reduce the time it takes to load on the server.</li><li>It is able to build attractive, dynamic websites as well as rich user interfaces.</li><li>JavaScript is a basic, flexible, and light programming language.</li><li>JavaScript along with its syntax is simple to comprehend.</li><li>Wide variety of applications can be created by JS.</li></ul><h3>7. R</h3><p>Presently, R programming is one of the most well-known programming languages, which is utilized in data analysis, scientific research, machine learning, as well as statistical computation. It is developed in 1993 by Ross Ihaka and Robert Gentleman. It assists both data scientists and marketers in efficiently analyzing, presenting, and presenting data.</p><h4>Advantages of R</h4><ul><li>R programmers provide a wide range of assistance to Data Wrangling.</li><li>It has an intuitive interface.</li><li>It can be used on any platform including Windows, Linux, and Mac.</li><li>It is open-source, independent of platforms.</li></ul><h3>8. Ruby</h3><p>Ruby is an open source, general-purpose completely object-oriented, pure programming language that was released by the company in 1993. It is employed for front-end and back-end web development. It was developed to create CGI (Common Gateway Interface) scripts.</p><h4>Advantages of Ruby</h4><ul><li>Ruby has support for a variety of GUI (Graphical User Interface) tools, such as GTK as well as OpenGL.</li><li>It’s used to build both web-based and intranet applications.</li><li>Ruby code is written Ruby is very small and contains smaller lines.</li></ul><h3>9. Java</h3><p>Java is a simple and platform-independent. It is secure, reliable and architecture-neutral high-level programming language which is developed by Sun Microsystems in 1995. In the present, Java is owned by Oracle. It is employed to create bank retail and information technology android big data web, research community and desktop apps. It is a front-end language also which is used to create applications.</p><h4>Advantages of Java</h4><ul><li>Java is simple to learn, write, compile and debug in comparison to other programming languages.</li><li>It lets you execute the exact program across different platforms.</li><li>Java is a highly secure programming language due to the fact that in Java there is no notion that explicit points.</li><li>It can perform several tasks at once.</li></ul><h3>10. PHP</h3><p>PHP is a shorthand in for Hypertext Preprocessor. It is an open source, powerful server-side scripting language that is primarily used to build static and dynamic websites. It was developed in 1994 by Rasmus Laird in the year 1994. It is one of the most popular programming language. Within the php software, we are able to code HTML, CSS as well as JavaScript codes. To save PHP files, the extension file .php is utilized.</p><h4>Advantages of PHP</h4><ul><li>PHP is an easier-to-use and secure programming language.</li><li>It is able to support the most powerful online libraries.</li><li>It is compatible with different operating systems, including Windows, Linux, and Mac.</li><li>It is extremely compatible with cloud-based services.</li></ul><h3>Summing up…</h3><p>There are many areas of programming that you can explore including mobile development, app development, web game development, systems engineering, backend developer, front-end developer, etc. Certain fields require formal education, while other fields are available to self-taught programmers and you just need to select your programming language.</p><p>You might also be interested in reading:</p><ol><li><a href="https://dare2compete.com/blog/scalability-testing">What Is Scalability Testing? How Do You Test Application Scalability?</a></li><li><a href="https://dare2compete.com/blog/java-collections-interview-questions">Top 50+ Java Collections Interview Questions</a></li><li><a href="https://dare2compete.com/blog/difference-between-data-warehouse-and-data-mining">Understanding Data Mining Versus Data Warehousing In Detail</a></li><li><a href="https://dare2compete.com/blog/data-science-life-cycle">What Is A Data Science Life Cycle?</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76faa1eb27e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Interesting Coding Projects That’ll Make Your Resume Stand Out!]]></title>
            <link>https://unstop.medium.com/5-interesting-coding-projects-thatll-make-your-resume-stand-out-b73eb9f085f3?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b73eb9f085f3</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Thu, 21 Apr 2022 06:32:19 GMT</pubDate>
            <atom:updated>2022-04-21T06:32:19.183Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*yyC1FRy5vGo0F0Ll" /></figure><p>access_time3 Min Read20 Apr 2022</p><p><a href="https://news.google.com/publications/CAAqBwgKMKPBlwswpOquAw?oc=3&amp;ceid=IN:en">Follow us</a></p><p>keyboard_arrow_up</p><h4>Table of content:</h4><ul><li>A Data-Analysis Model</li><li>Web Scraping</li><li>A Chatbot</li><li>An E-commerce Website Prototype</li><li>A Simple Game</li></ul><p>Technological endeavors have been propelling rapid growth in today’s world — affecting everything from society to culture. The <a href="https://dare2compete.com/blog/attrition-rate-among-women-falls-in-IT">IT sector</a> has also witnessed significant growth worldwide. With the worldwide technological boom, the demand for IT and computer-related jobs is increasing with each day, with studies stating a 13% increment in employment in these industries between 2020 and 2030.</p><p>Among the competition for a suitable IT job, it is essential to strengthen your skills in coding as well as IT. For that purpose, completing successful <a href="https://dare2compete.com/blog/javascript-projects-for-beginners">coding projects</a> will not only help you gain experience but also put a <a href="https://dare2compete.com/blog/things-hiring-managers-look-for-in-a-resume">good impression on your CV</a>.</p><p>It is also important that your CV catches the attention of the employers. Having coding projects on your CV, whether you’re new to coding or a seasoned programmer, emphasizes your technical know-how and experience to companies and helps you to stand out from the crowd.</p><p>For that purpose, we’ve selected 5 Coding Projects to make your CV shine in front of interviewers.</p><p><a href="https://dare2compete.com/blog/coding-books">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*nF3jHwc8skryl6Mb" /></figure><p><a href="https://dare2compete.com/blog/coding-books">5 Books That Will Come Handy In Your Coding Journey!</a></p><h3>1. A Data-Analysis Model</h3><p>These days, models for data analysis are in high demand, and with a dataset, it is not very difficult to create one. To boost your self-presentation, you must create as many data models as you can, which must be based on the principles of <a href="https://dare2compete.com/blog/difference-between-classification-and-regression">classification &amp; regression</a> analysis.</p><h3>2. Web Scraping</h3><p>Scan a website and gather the data in a simplified manner using web crawling, and you’re sure to impress any employer. Use web scraping to extract the data, and it will give you bonus points. Scraping is a very useful tool for any job, not only IT sectors, as various projects will require you to scour the internet to search for necessary information and verify existing data. The collected data can be refined according to needs and tabulated into an <a href="https://dare2compete.com/blog/excel-interview-questions">Excel sheet</a></p><p><a href="https://dare2compete.com/internship/validation-and-debug-internship-intel-283055">Sign up for a Validation and Debug Internship With Intel.</a></p><p><a href="https://dare2compete.com/blog/infosys-bans-employees-from-working-with-competitors">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*CgfB1H9YhzA3Xj_a" /></figure><p><a href="https://dare2compete.com/blog/infosys-bans-employees-from-working-with-competitors">Cannot Work With ‘Named Competitors’ For Six Months After Resignation: Infosys Lays Out New Rule For Employees</a></p><h3>3. A Chatbot</h3><p>Created using a very simple process, a <a href="https://dare2compete.com/blog/how-an-internship-at-change-et-al-gave-me-the-required-skills-to-build-a-chatbot-ritiks-story">chatbot</a> is used to conduct online chat conversations using text or text-to-text speech, which requires direct contact with a live human agent. You may also make your chatbot more inventive by adding speech and image recognition capabilities.</p><h3>4. An E-commerce Website Prototype</h3><p>Creation of an <a href="https://dare2compete.com/blog/e-commerce">E-commerce website</a> is a lengthy and difficult process, as they require a large number of sections, listings, and connectors, as well as a focus on excellent user experience and a smooth sales funnel. However, if you manage to create a prototype of such a project, interviewers are sure to bat an eye on your project.</p><p><a href="https://dare2compete.com/blog/programming-languages-for-hackathons">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*jnaaciJzBs1banX6" /></figure><p><a href="https://dare2compete.com/blog/programming-languages-for-hackathons">Acing Hackathons &amp; Coding Competitions In 2022: Ten Programming Languages To Learn</a></p><h3>5. A Simple Game</h3><p>Wanna do something fun instead of boring excel sheets? Just create an attractive game with cool visuals! Dynamic games and high-quality content are the most vital aspects of any game. Create a good story along with some attractive and visual characters and you’ve got yourself a good game. Unity 3D, Visual Studio, and C++ are some of the technologies you’ll require.</p><p><a href="https://dare2compete.com/blog/herocolabs-challenge-winners">With No Big College Tags, These Students Showed Their Exceptional Skills At HeroCoLabs Xdrags Game Development and eXPerience Challenges 2021</a></p><h3>Summing Up..</h3><p>From the several topics to cover and endless projects to discover, we’ve plucked out these ones, but you should never limit your knowledge. Explore all possibilities, try out every single project, participate in contests and hackathons and you’ll surely succeed in being a skillful resource.</p><p><em>Download the </em><a href="https://play.google.com/store/apps/details?id=com.dare2compete.app"><em>Dare2Compete App</em></a><em> to stay up to date on all education and </em><a href="https://dare2compete.com/blog-articles?filters=,all,open,all,post&amp;types=teamsize,payment,oppstatus,eligible,posttype"><em>employment news</em></a><em>.</em></p><p>You might also be interested in reading:</p><ol><li><a href="https://dare2compete.com/blog/free-classes-at-ganga-ghats">Free engineering classes at Ganga Ghats!</a></li><li><a href="https://dare2compete.com/blog/iit-kanpur-alumnus-donates-1-cr">IIT Kanpur alumnus donates INR 1 Cr!</a></li><li><a href="https://dare2compete.com/blog/drdo-recruitment">DRDO Recruitment 2022: Apply before 3rd May</a>!</li><li><a href="https://dare2compete.com/blog/ib-recruitment">IB Recruitment 2022: 150 vacancies, apply before May 7</a></li><li><a href="https://dare2compete.com/blog/10-cr-internships-to-be-provided-by-aicte-in-next-1000-days">10 crore internships to be provided by AICTE in the next 1000 days!</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b73eb9f085f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Object-Oriented Programming? Understanding The Basics]]></title>
            <link>https://unstop.medium.com/what-is-object-oriented-programming-understanding-the-basics-55c932320383?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/55c932320383</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Fri, 15 Apr 2022 06:36:32 GMT</pubDate>
            <atom:updated>2022-04-15T06:36:32.357Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*yy3dLsi4Rc5WX7w2" /></figure><h4>Table of content:</h4><ul><li>What Is Object-Oriented Programming?</li><li>Attributes and Methods</li><li>Basic concepts related to objects</li><li>Class</li><li>Abstraction</li><li>Inheritance</li><li>Encapsulation</li><li>Polymorphism</li><li>Advantages of Object-Oriented Programming</li><li>Disadvantages of Object-Oriented Programming</li></ul><p>In programming, there are different approaches that can be taken in order to build a particular product or software. Among these, <a href="https://dare2compete.com/blog/differences-between-procedural-and-object-oriented-programming">Object-Oriented Programming</a> is a foundational programming approach that is used by many developers throughout the world. It is highly popular and has become a standard to build applications and to write high-quality code. There are multiple concepts and principles that make up Object-Oriented Programming. The explanation of these concepts along with their examples is covered here.</p><p><a href="https://dare2compete.com/blog/what-is-data-handling">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*mvoh7Vc33KS8-0PU" /></figure><p><a href="https://dare2compete.com/blog/what-is-data-handling">What is Data Handling? Understanding The Basics</a></p><h3>What Is Object-Oriented Programming?</h3><p>Object-oriented programming, which is commonly referred to as OOPs is a kind of a programming approach where a concept known as objects are made use of. Objects, in the <a href="https://dare2compete.com/blog/harvard-university-computer-programming-courses">context of programming</a>, are a unique type of entity that are used to hold some data and code together. This is best understood by considering an analogy with real-world objects.</p><p>Let’s first try to understand what an object is. To keep things simple, think of any random object that you may encounter as a real-world entity. For instance, this can be the remote control of a television. Now, this object has primarily two kinds of properties. The first is its nature, and the second is its behavior. The nature of the remote consists of things like its color, number of buttons, shape, size and so on. On the other hand, its behavior consists of the things like turning on or off the TV, changing the channel or the volume, showing the menu and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ctY8Zy1KqQtRUda0.jpg" /></figure><p>In the world of programming, objects can be understood as abstract entities that contain data, also known as attributes as well as methods or functions. With this knowledge, let’s understand the definition of OOP. Object-oriented programming is the approach of using objects and classes along with their related features to build a robust system. Object-oriented design refers to the use of objects and their interaction for a software-related product. Therefore, an object composition consists of two main things-its data and its methods. This is also known as object data and object methods.</p><p>Let’s say that there is a requirement to create a variable to hold of today’s date. One way of doing this would be to create a numeric variable and an alphanumeric variable such as a string to store the date and the day of the week. Another way would be to create a class that contains data types to store a number and a string. It can also contain methods that might be used to modify the date. This is how an object works. The class is used as a blueprint to create an object. Once the class is made, the programmer can use it to create as many objects as required and can call upon their methods under different conditions.</p><h3>Attributes and Methods</h3><p>The information that is saved is referred to as attributes. The class blueprint defines the attributes. Individual objects have data saved in the attributes field when they are instantiated or created.</p><p>Behaviors are represented through methods. Methods carry out operations, such as returning information about an object or updating its data. The code for the method is specified in the class specification.</p><p>As an example, let’s say that there is a class representing a car. This class acts as a template to create objects. Since it is a template, it should specify the attributes and methods that the objects will carry. This is shown in the picture below. The attributes can be things like the color of the car, the model and so on. The methods can be repaint the car, turn off the engine, turn on the wipers and so forth.</p><p>When an object is created using this class, it will have all these attributes and methods already contained within it. They will only differ from one object to another. There can be one car object representing a black Mercedes and another one representing a red Ferrari.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*6eO25QgmfezIFYRV.jpg" /></figure><p>This is how objects make it simpler to perform operations that might normally appear slightly difficult or lengthy.</p><p><a href="https://dare2compete.com/blog/what-is-computer-programming">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*dMqhsKl5RRKq0yd4" /></figure><p><a href="https://dare2compete.com/blog/what-is-computer-programming">What Is Computer Programming? A Brief About Computer Programming And Related Terms</a></p><h3>Basic concepts related to objects</h3><p>Here are some basic definitions and basic principles related to the use of objects and OOP concepts:</p><h3>Class</h3><p>Taking the help of earlier example, if you want to create a car, you’ll need a blueprint. Similarly, to create an object, you need a blueprint and this comes in the form of a <a href="https://dare2compete.com/blog/difference-between-class-and-object">class</a>. A class is essentially an entity that defines how an object should be. It contains the data and methods that will make up the object. There can different kinds of classes as well, such as a parent class and a child class, which helps with inheritance. Objects can also be termed as instances of classes.</p><p>The next 4 concepts of abstraction, inheritance, encapsulation and polymorphism are also known as the four pillars that make up the basis of object-oriented programming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*iEMbcSkW4Eladsiq.jpg" /></figure><h3>Abstraction</h3><p>We are surrounded by extremely complex things, yet on the surface, they look quite simple to us. A laptop is made up of a lot of parts, all working together to form one coherent system. But we don’t look at the laptop as a thing that has a billion transistors in its CPU, or which has an HD screen, or which has a mechanical keyboard. We look at it as one single object, that is a laptop. The same is true in OOP. Abstraction is the process where a system only displays the most essential parts of a user and hides the remaining complex part behind it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ZKyeNaBHTkncbF2D.jpg" /></figure><h3>Inheritance</h3><p>Inheritance is a concept that allows one class to inherit the properties of another, just like a child may inherit the properties of their parent. In terms of programming, there may be a child class that can inherit the properties and attributes of its parent class. The parent class is also known as the base class. The relation between them gives rise to inheritance, also known as “has-a” relationships since a parent “has a” child. This also helps in code reusability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*KzgZPJI3_U51k-re.jpg" /></figure><h3>Encapsulation</h3><p>Encapsulation is the idea of combining code and data together within a single unit. There is also a second purpose here. Encapsulation not only helps to keep code and data together but also protects it from unauthorized outside access.</p><p>The picture below describes what encapsulation looks like. The data variables and methods are enclosed within a class and can only be accessed by other members of the class. This helps in code access in important projects. There may be a public method or private variables, all of which are encapsulated within a class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*FY93x5WsDIegbktB.jpg" /></figure><h3>Polymorphism</h3><p>At its basic level, polymorphism means having many forms. In the terms of programming, polymorphism is used as a concept that enables us to perform a single task in multiple ways. It can also denote that there may multiple things with the same name but performing different functions.</p><p>Let us say that you have a program into which you can enter the values of lengths of geometric shapes in order to find their area. Since the final output of the program will be the area of the shape, you can create multiple functions in the program all having the same name, that is “area”, but performing different functions such as one finds the area of a triangle, another one of a circle, and so on. There are two cases of polymorphism, the first is runtime polymorphism and the second is compile-time polymorphism.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*pgIvItPub26IatUz.jpg" /></figure><p>Apart from the above four concepts, there are some additional ideas that define the relationships between objects which are as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*64gOthHHPbP6UI0M.jpg" /></figure><p>1. Association: The term ‘association’ refers to a relationship that exists between two distinct classes that are established through their Objects. One-to-one, one-to-many, many-to-one, and many-to-many associations are all possible. An Object communicates with another object in Object-Oriented programming to leverage the capabilities and services offered by that object. The two types of association are composition and aggregation.</p><p>2. Composition: A composition is a form of ‘belongs-to’ connection in which one item is logically connected to another. It’s also known as a “has-a” relationship. An example of this is a bedroom in an apartment. The bedroom is the child object and the apartment is the parent object. The apartment “has-a” bedroom and hence their relationship can be called composition. This is also known as a tightly coupled relationship, wherein if the parent object is deleted, then the child object cannot exist on its own. A bedroom can’t exist on its own if there is no apartment.</p><p>3. Aggregation: This is also another kind of a “has-a” connection known as an aggregation relationship. The sole distinction between Aggregation and Composition is that Aggregation does not entail ownership or closely connected items. An example of this is a car and a seat. The car here is a parent object and its seat is the child object. It’s visible that a car “has-a” seat, and hence their relationship is known as a composition relation.</p><p><em>All of the objects are self-contained and can exist even if the parent object is removed. A car seat can still exist on its own if there is no car.</em></p><h3>Advantages of Object-Oriented Programming</h3><p>An object-oriented programming language, such as <a href="https://dare2compete.com/blog/difference-between-cpp-and-java">Java or C++</a>makes use of all these aforementioned programming paradigms. Object-oriented languages can make use of all the above-mentioned principles of abstraction, inheritance and all other features of OOPs, providing them with greater utility, power and the ability of code reuse. These are some of the common properties that all OOP languages follow are:</p><ul><li>An object can be understood as a user-defined variable. Usually, languages allow us the feature of creating variables that can store numbers, characters or strings, but what if a more complex data type is required? In such a case, the user can create a class that contains the required data variables and functions to be used. Once an object is created using this class, the user can make use of their own complex and customized data type.</li><li>Object-oriented languages make the process of debugging easier through the concept of objects. If there are parts of the code that don’t work as desired, it’s much simpler to go through individual classes and their objects than having to scan the entire file for errors. The object-oriented programming technique of using encapsulation further enforces this idea.</li><li>Allows the use of data hiding, through the use of encapsulation and abstraction. This allows developers to display a complex system as a simple and basic unit. Abstract classes also help in code reuse and polymorphism. Hence code duplication is avoided.</li><li>Object-oriented programs provide flexibility through the help of polymorphism. Multiple functions with the same name can be used to perform different operations depending on the requirement. This makes the process of creating and remembering names slightly easier.</li><li>Efficient use of code can be made by using parent and child classes. Inheritance makes it easier to reuse code and make a child object conveniently from a parent object. It is possible to build an inheritance hierarchy by using the multiple types of inheritance options that a language allows.</li><li>It is also possible to create a collection of objects or an array of objects. This allows developers to create an entire set of objects that they might require depending on the application. This makes it easier to store a large number of objects together in a proper data structure.</li><li>Object-oriented programming is all about breaking down a large problem into manageable bits. You create a class for each mini-problem that fulfils your requirements. Then, best of all, you can reuse those classes, making the next challenge much easier to tackle.</li></ul><h3>Disadvantages of Object-Oriented Programming</h3><ul><li>Because OOP is not a universal language, we can’t use it everywhere. It is only used when absolutely necessary. It is not appropriate for all sorts of issues. It can be only used with languages that support it.</li><li>The length of programs written in the OOP language is significantly greater than that of programs written in the procedural technique. As the program grows in size, it takes longer to run, resulting in slower program execution.</li><li>Because utilizing OOP is a little challenging, programmers must have excellent design patterns and programming skills, as well as adequate planning.</li><li>It takes some time to become acclimatized to OOPs. For some people, the thinking process involved with object-oriented programming is not natural.</li></ul><h3>Summing Up</h3><p>OOP ideas in <a href="https://dare2compete.com/blog/what-is-programming-language">programming languages</a> assist us in more efficiently structuring our software. The seven object-oriented principles we’ve looked at so far such as abstraction, encapsulation, polymorphism, inheritance, association, aggregation, and composition may help us reuse code, avoid security risks, and boost the speed of our software program. Object-oriented programming necessitates planning and thinking about the program’s structure before beginning to code. Examining how to decompose the requirements into basic, reusable classes that may be utilized to create object instances. Overall, using OOP provides for more reusable data structures and saves time in the long run.</p><p>You may also like to read:</p><ol><li><a href="https://dare2compete.com/blog/data-science-life-cycle">What Is A Data Science Life Cycle?</a></li><li><a href="https://dare2compete.com/blog/difference-between-html-and-css">What Is The Difference Between HTML and CSS?</a></li><li><a href="https://dare2compete.com/blog/difference-between-dbms-and-rdbms">Difference Between DBMS And RDBMS: Why RDBMS Is An Advanced Version Of DBMS?</a></li><li><a href="https://dare2compete.com/blog/best-programmers-in-the-world">Computer Is Just A Box Of Metal Without These Programmers</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55c932320383" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Data Handling? Understanding The Basics]]></title>
            <link>https://unstop.medium.com/what-is-data-handling-understanding-the-basics-a4ae6817e574?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4ae6817e574</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Thu, 14 Apr 2022 08:50:30 GMT</pubDate>
            <atom:updated>2022-04-14T08:50:30.780Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*96s42dJ2QWVLwbw4" /></figure><p>Table of content:</p><ul><li>Different Data Types</li><li>Significance of collecting accurate and suitable data</li><li>Data Handling Steps</li><li>How to represent data?</li></ul><p>The act of obtaining, documenting, and presenting data which is present in raw form in a way that enables analysis, prediction, and decision-making is known as data handling. <a href="https://dare2compete.com/blog/difference-between-data-and-information">Data</a> can be described as anything that can be classified according to a set of similar criteria. The context in which the things are compared is referred to as parameters. Pictographs, bar graphs, pie charts, histograms, line graphs, stem and leaf plots, and other visual representations of data management are common.</p><p><a href="https://dare2compete.com/blog/what-is-object-oriented-programming">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*cK6YgTEFIzOfz7T9" /></figure><p><a href="https://dare2compete.com/blog/what-is-object-oriented-programming">What Is Object-Oriented Programming? Understanding The Basics</a></p><h3>Different Data Types</h3><h3>Qualitative Data Type</h3><p>In qualitative or categorical data, the item under examination is described using qualitative methods and a finite number of discrete classifications. This indicates that this type of information can’t be easily counted or measured with numbers, thus it has to be categorized. This data type includes things like a person’s gender (male, female, or other).</p><p>These are frequently derived from reliable sources such as audio, images, or text-based media in readable format. A smartphone brand, for example, may provide information such as the current rating, phone color, phone category, and so on. All of this information falls into the qualitative data category. There are two subcategories in this:</p><ul><li>Nominal: These are the values that don’t follow any kind of natural order. Let’s have a look at a few examples to assist you to understand. The color of a smartphone can be considered as a hypothetical data type because we can’t compare one hue to another.</li><li>Ordinal: These values have a natural ordering while remaining within their class of values. When it comes to clothing brands, we can easily classify them according to their name tag in small, medium, and big order. The grading method used to assess candidates in an exam may also be thought of as an ordinal data type, with A+ clearly superior to B grade.</li></ul><p>These categories assist us in determining which encoding approach is appropriate for whatever sort of data. Because machine learning models are mathematical in nature, data encoding for qualitative data is necessary because these values cannot be handled directly by the models and must be translated to numerical kinds and first-hand sources are needed.</p><p>For nominal data types where there is no comparison among the categories, one-hot encoding may be used, which is comparable to binary coding because there are less numbers, and for ordinal data types, label encoding which is a sort of integer encoding, can be used.</p><h3>Quantitative Data Type</h3><p>This <a href="https://dare2compete.com/blog/difference-between-primary-and-secondary-data">data type</a> attempts to quantify things by taking into account numerical values that make it countable in nature. The price of a smartphone, the discount provided, the number of ratings on a product, the frequency of a smartphone’s CPU, or the RAM of that specific phone are all examples of quantitative data kinds.</p><p>One thing to keep in mind is that a feature can have an infinite number of values. For example, the price of a smartphone can range from x amount to any value, and it can further be subdivided into fractional amounts. The two subcategories that best define them are:</p><ul><li>Discrete: This category includes numerical values that are either integers or whole numbers. The amount of speakers in a phone, cameras, processing cores, and the number of SIM cards supported are all instances of discrete data.</li><li>Continuous: Fractional numbers are treated as continuous values. These might include the processors’ working frequency, the phone’s Android version, Wi Fi frequency, core temperature, and so on.</li></ul><h3>Significance of collecting accurate and suitable data</h3><p>Regardless of the subject of study or preference for data definition (quantitative, qualitative), reliable data collection is critical to the integrity of research. The use of appropriate data gathering instruments (existing, updated, or newly invented) as well as properly defined instructions for their proper usage reduces the risk of mistakes happening.</p><p>The following are the consequences of poorly gathered data:</p><ol><li>Incapacity to appropriately answer research questions.</li><li>The failure to replicate and confirm the study leading to skewed findings, wasting resources and prompting other academics to follow useless areas of exploration, jeopardizing public policy choices and causing harm to human participants and animal subjects.</li><li>While the extent of the impact of inaccurate data collecting may vary depending on the field and type of the inquiry, when these research findings are used to support public policy recommendations, there is a risk of creating disproportionate harm.</li></ol><p><a href="https://dare2compete.com/blog/what-is-computer-programming">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*VS2OhlvPOoDYALF6" /></figure><p><a href="https://dare2compete.com/blog/what-is-computer-programming">What Is Computer Programming? A Brief About Computer Programming And Related Terms</a></p><h3>Data Handling Steps</h3><p>Problem identification: The objective or issue statement must be recognized and adequately specified during the data handling process.</p><ol><li>Data Collection: Data pertinent to the issue statement is gathered.</li><li>Data Presentation: The obtained data should be reported in a logical and understandable manner. It is possible to accomplish this by organizing the obtained data in tally marks, table shapes, and so on.</li><li>Graphical Representation: Because visual or graphical representation of data facilitates analysis and comprehension, provided data can be displayed in graphs, charts such as bar graphs, pie charts, and so on.</li><li>Data Analysis: The data should be analyzed so that the essential information can be derived from the data, allowing for subsequent actions to be taken.</li></ol><h3>How to represent data?</h3><p>1. Tally marks: The observations are organized using tally marks. Every observation should be documented with a vertical mark, but every fifth observation should be recorded with a mark over the four previous markings, as seen above. We depict each observation with the help of tally marks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*6s_KAQcOHKCALuab.jpg" /></figure><p>2. Bar Graphs: A bar chart is one of the simplest form of graph that has rectangular bars. Typically, there are different form of graph, the graph contrasts various categories. Although bar graphs can be produced vertically (bars standing up) also known as vertical bar graph or horizontally (bars resting flat from left to right), vertical bar graph are the most common.</p><p>The horizontal (x) axis shows the categories, while the vertical (y) axis displays the values associated with those categories. The figures in the graph below are percentages.</p><p>A bar graph is useful for comparing and analyzing a set of data and visualizing collection of observations. For example, rather than looking at a string of numbers, it’s easier to understand which things are using the most of your money by glancing at the above chart. They can also highlight patterns in periodic sequences or indicate trends over time.</p><p>Stacked bar charts and grouped bar charts can also be used to show more complicated categories. For example, if you had two houses and needed budgets for each, you might use a grouped bar chart to plot both on the same x-axis, using different colors to represent each property. Following are the types of bar graphs.</p><ul><li><em>Grouped Bar Graph</em>: A grouped bar graph is a visual representation of data from sub-categories of the primary categories.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*_Ud4yza6mAoWcuzh.jpg" /></figure><ul><li><em>Stacked Bar Chart</em>: A stacked bar chart also shows sub-groups, but the sub-groups are stacked on the same bar.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*SXfWEEh2ZwnubzlZ.jpg" /></figure><ul><li><em>Segmented Bar Graph</em>: A type of stacked bar chart where each bar shows 100% of the discrete value. They should represent 100% on each of the bars or else it’s going to be an ordinary stacked bar chart.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*bzHFO2qmz5nY6zJ9.jpg" /></figure><ul><li><em>Double Bar Graph</em>: When comparing two data sets, a double bar graph might be utilized. In a double bar graph, there are two axes. The x-axis of a double-bar graph represents the comparison categories, while the y-axis shows the scale. A scale is a collection of integers that represent data at equal intervals. It is critical to understand that all double bar graphs must have a title. The title of the double- bar graph gives the viewer a basic summary of what is being measured and compared. A key will be included with a double bar graph. The key to a double bar graph is to use two different colors to depict the groups being compared.</li></ul><p>3. Stem and Leaf Plot: A stem and leaf plot are a one-of-a-kind table in which data values are divided into a stem and a leaf. The initial numeral or digits will be placed in the stem, and the last digit or digits will be written in the leaf. Following are the elements of a good stem and leaf plot:</p><ul><li>Portrays the number’s earliest digits (thousands, hundreds, or tens) as the stem and the last digit (ones) as the leaf.</li><li>Usually, entire numerals are used. Any number with a decimal point is rounded to the nearest whole number.</li><li>When test results, speeds, heights, and weights are flipped on their side, they resemble a bar graph. It displays how the data is distributed — that is, the highest number, the lowest value, the most common number, and the outliers (a number that lies outside the main group of numbers). This provides valuable insights.</li></ul><p>4. Picture chart: A pictorial chart (also known as a pictogram, pictograph, or picture chart) is a visual representation of data that highlights data patterns and trends using pictograms, icons or pictures in relative proportions. To graphically compare data, pictorial charts are commonly used in business communication, business operations or news articles.</p><p>5. Pie Chart: A pie chart, often known as a circle chart, is a method of summarizing a collection of nominal data or illustrating the various values of a particular variable (e.g. percentage distribution). This style of chart consists of a circle split into parts. Each section represents a different category. The area of each segment is proportional to the size of a circle as the category is to the total data set. Usually a circle chart depicts the constituent elements of a whole.</p><h3>Summing up</h3><p>A good knowledge about data handling can not only help you in managing unorganized data but can also provide you a competitive edge over others. Data can be organized using pictographs, bar graphs, pie charts, histograms, line graphs, stem and leaf plots, and other visual representations of data management. In business, these can help to organize customer data and help in analysis process or any other business process.</p><p>You may also like to read:</p><ol><li><a href="https://dare2compete.com/blog/difference-between-gui-and-cui">What Is The Difference Between GUI And CUI?</a></li><li><a href="https://dare2compete.com/blog/data-mining-architecture">Understanding Data Mining Architecture In Detail</a></li><li><a href="https://dare2compete.com/blog/difference-between-primary-key-and-foreign-key">Key Constraints In RDBMS: Difference Between Primary Key And Foreign Key</a></li><li><a href="https://dare2compete.com/blog/data-model-in-dbms">What Is A Data Model In DBMS? What Are Its Types?</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4ae6817e574" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Computer Programming? A Brief About Computer Programming And Related Terms]]></title>
            <link>https://unstop.medium.com/what-is-computer-programming-a-brief-about-computer-programming-and-related-terms-4a6769f3c4b8?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a6769f3c4b8</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Tue, 12 Apr 2022 10:22:56 GMT</pubDate>
            <atom:updated>2022-04-12T10:22:56.438Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*9Y2ScDJVxraDMs6a" /></figure><p>Table of content:</p><ul><li>What is Computer Programming?</li><li>What is a Programming Language?</li><li>Who is a Computer Programmer?</li><li>Steps of Programming Process</li><li>What are Algorithms?</li><li>What are Control Structures?</li><li>What are Data Structures?</li><li>What are Software Programs?</li></ul><p>In today’s world, computers can perform distinct tasks, from trivial to highly complex ones. However, the main difference between a human and a computer is that it is unable to think on its own and requires detailed explanation as to what needs to be done. Hence, computer programming is required. It is a process where computer professionals write code to provide instructions to a computer or a software program to perform certain functions or actions. Let’s learn more about <a href="https://dare2compete.com/blog/advantages-and-disadvantages-of-arrays">computer programming</a> and some other terms related to.</p><p><a href="https://dare2compete.com/blog/difference-between-compiler-interpreter-assembler">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*nZqhAZDyJcbu304m" /></figure><p><a href="https://dare2compete.com/blog/difference-between-compiler-interpreter-assembler">Difference Between Compiler, Interpreter and Assembler</a></p><h3>What is Computer Programming?</h3><p>Computer programming is the process of designing, writing, testing, debugging, and maintaining the code of computer programs. The main purpose of programming is to create a sequence of instructions for the computers to follow so that they can perform the desired operations. This is done with the help of a programmer who is a professional responsible for the development of the source code.</p><h3>What is a Programming Language?</h3><p>As humans, we communicate with each other using some language, be it English, Hindi, French, etc. However, computers are unable to understand human languages and can think only in binary language which consists of strings of 0’s and 1’s. Programming languages help to bridge the gap between the computer and the software developer. These languages are classified into two types- ‘Low-level language’ and ‘High-level language.’</p><p>Low-level language: It is a machine-friendly language. It is difficult to understand and is highly memory efficient. It is complex to debug and maintain. <a href="https://dare2compete.com/blog/difference-between-machine-language-and-assembly-language">Machine language and assembly language</a> are two types of a low-level languages.</p><p>High-level language: The high-level language is programmer-friendly language. It is easy to understand and is less memory efficient. It is easy to debug and maintain. There are hundreds of programming languages. High-level languages help us in performing a wide range of tasks, such as video game development, artificial intelligence. The most popular and common <a href="https://dare2compete.com/blog/difference-between-high-level-and-low-level-languages">high-level languages</a> are: Java, C++, Python, C#, JavaScript.</p><h3>History of Programming Language</h3><p>The first programming language was developed in 1843 by Ada Lovelace. She wrote the first-ever algorithm for the computing machine. She had to write it on a piece of paper as no computers existed at that time. Around 1944–45, the first real programming language was created by Konrad Zuse known as Plankalkül. Some of the earliest programming languages are Assembly Language, Shortcode, Autocode, and FORTRAN. The programming languages kept developing and today we have various languages which are used for front-end and back-end development.</p><p><a href="https://dare2compete.com/blog/algorithms-for-coding-interviews">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*bwsrkZZ5zCA__Ljk" /></figure><p><a href="https://dare2compete.com/blog/algorithms-for-coding-interviews">Top 10 Algorithms Every Coding Student Should Know To Crack Competitive Interviews</a></p><h3>Who is a Computer Programmer?</h3><p>Computer programmers deal with writing and testing code that allows the computer and its applications to perform efficiently. The programmers work in various fields apart from core computer science, such as academia, medicine, government etc. They are required to be proficient in many <a href="https://dare2compete.com/blog/what-is-programming-language">programming languages</a> and develop the technical skills to thrive in their positions.</p><p>Apart from the technical skills, they also need soft skills to communicate effectively with their colleagues and solve problems. They should be able to perform multiple tasks and focus completely on the problem given.</p><p>The tasks performed by them are:</p><ul><li>System conception and design</li><li>System development</li><li>System analysis</li><li>Writing code</li><li>Testing and debugging</li><li>Implementation</li></ul><h3>Steps of Programming Process</h3><p>Programming is nothing but solving the given problem by defining the steps of the process. This process has 5 major steps:</p><ul><li>Defining the problem</li><li>Planning the solution</li><li>Coding the program</li><li>Testing the program</li><li>Documenting the program</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*K3QW3Cg-uUowkcpE.jpg" /></figure><p>1. Defining the problem: The first and foremost part of the process is the problem statement definition. The developer interacts with the customers to analyze the problem at hand and tries to capture what the user expects the system to provide. It consists of identifying the inputs available and what is the expected outcome. Eventually, the developer produces a written statement that specifies the input, processing, and output.</p><p>2. Planning the solution: This consists of coming up with an algorithm that can be used for solving the problem efficiently. Some common ways are using drawing flowcharts or writing pseudo-code.</p><p>3. Coding the program: In this step, the programmer tries to express the solution in a programming language. It consists of making use of the algorithm which we had derived and converting it in the form of a code. While programming, one thing we have to follow is the rules/syntaxes of the language.</p><p>4. Testing the program: The program can be checked whether it is working well mathematically or by making use of the test cases. While using test cases, one has to be careful of the edge cases as these are the ones that usually cause errors. Most of the time, the newly written code will have few errors, but the programmers can make the necessary corrections.</p><p>5. Documenting the program: Documentation is a written description of the whole programming process. It consists of the problem statement, the different algorithms used, data record descriptions, program listings, and the testing results. Most programmers tend to document the program throughout the process.</p><p><a href="https://dare2compete.com/blog/coding-decoding">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*YsrikKcg3BI56e4_" /></figure><p><a href="https://dare2compete.com/blog/coding-decoding">What is Coding &amp; Decoding? | Coding-Decoding Questions</a></p><h3>What are Algorithms?</h3><p>Algorithms are part of the planning of computer programs. <a href="https://dare2compete.com/blog/scheduling-algorithms-in-operating-system">Algorithm generation</a> is an important part of programming. It is an effective way to solve the problem with finite number of steps. A well-designed and efficient algorithm will provide an answer and it is guaranteed to terminate. There are four ways of stating algorithms which are as follows: Step form, Pseudocode, Flowchart, and Nassi-Schneiderman.</p><ul><li>Step form representation: The procedure of solving the problem is given in the form of written statements. Each statement helps in solving a part of the problem.</li><li>Pseudo Code: It is a written form of representation of an algorithm, but it uses restricted vocabulary for defining the actions needed in solving the problem.</li><li>Flowchart and Nassi-Schneiderman: These are graphically oriented representation forms. They make use of symbols and language for representing sequence, decision, and repetition actions.</li></ul><p>While developing, the reliability of algorithms needs to be considered. Proving the correctness of algorithm is crucial and this can be done by using test cases. Testing code against the user-generated test cases is done to check if the algorithm works properly.</p><h3>Example of Algorithm:</h3><p>To find the sum of two numbers</p><ol><li>START</li><li>DECLARE A AND B AS INTEGER VARIABLES</li><li>PRINT “ENTER TWO NUMBERS”</li><li>INPUT A, B</li><li>R=A+B</li><li>PRINT “RESULT=”</li><li>PRINT R</li><li>STOP</li></ol><h3>What are Control Structures?</h3><p>Control structures are considered the building blocks of any programming language. They are a way of defining the flow of control in programs. It helps the program in taking decisions based on the conditions provided by the programmer and the input provided by the user.</p><p>Branching: The if-else statement consists of some conditions and they are followed by the statements. The if statement will execute a single statement, or a group of statements when the expression following the if is true. If the statement is false then we move on to the else part.</p><p>Looping: By using this concept, we can make the computer perform a set of instructions repeatedly. This involves repeating some portion of the program either a specified number of times or until a condition is satisfied. There are three methods: for loop, while loop, and do-while statement.</p><p><a href="https://dare2compete.com/blog/difference-between-olap-and-oltp-in-dbms">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*dsfw0PRxUHO8v3Uh" /></figure><p><a href="https://dare2compete.com/blog/difference-between-olap-and-oltp-in-dbms">Understanding Difference Between OLAP and OLTP</a></p><h3>What are Data Structures?</h3><p>Data structures are a way of storing data such that it can be accessed later easily and used for different operations. It can be arranged in different ways. Following are the two <a href="https://dare2compete.com/blog/difference-between-linear-and-non-linear-data-structure">types of data structures</a>:</p><ul><li>Linear data structures</li><li>Non-linear data structures</li></ul><p>A data structure is linear if its elements are placed in a specific order. In this type, we can either store them in arrays that have contiguous memory allocation or in a linked list where the elements are stored at random locations and accessed with the help of pointers.</p><p>In non-linear structures, the data does not form an order but the items are interconnected like in a graph or tree.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*JJCwiqKNC0iFmYHq.jpg" /></figure><h3>What are Software Programs?</h3><p>Software programs, also written as SW or S/W are a collection of instructions that help the user in interacting with the hardware. It is important as without it a computer will not work. An example of software would be the operating system, which acts as an interface between the <a href="https://dare2compete.com/blog/difference-between-hardware-and-software">hardware and software</a> and also manages the resources. There are two groups of software:</p><ul><li>System software</li><li>Application software</li></ul><p>The system software makes sure the hardware provides the required functionalities to the user. It acts as a middle layer between the client and the hardware. When we turn on our computer, the system software is the first to be loaded into the memory, and then it carries out its responsibilities. Some examples are operating systems, device drivers, and utilities.</p><p>Applications software helps the user in performing various tasks, such as using the word processor for writing down notes, listening to music, playing games. They are above the system software, and unlike system software, they can perform only a few functions. There are different kinds of application software such as presentation software, business application software, database software(database management systems).</p><h3>Summing Up</h3><p>At the start of the programming era, computers were able to perform basic functions like addition, subtraction. Then technology kept developing and we were able to make the computers perform much more complicated tasks. Now we have machine learning and artificial intelligence where we are making the computer think by itself and take decisions on its own by using its past experiences. Computer programming has certainly come a long way since its inception.</p><p>You may also like to read:</p><ol><li><a href="https://dare2compete.com/blog/difference-between-scripting-and-programming-languages">Difference Between Scripting And Programming Language | Why Scripting Language Is Considered A Programming Language But Not Vice-Versa?</a></li><li><a href="https://dare2compete.com/blog/what-is-assembly-language">An Overview Of The Assembly Language</a></li><li><a href="https://dare2compete.com/blog/encryption-and-decryption">Encryption Vs. Decryption | Know How Your Data Is Protected On Internet</a></li><li><a href="https://dare2compete.com/blog/data-transformation-in-data-mining">Importance Of Data Transformation In Data Mining</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a6769f3c4b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference Between Compiler, Interpreter and Assembler]]></title>
            <link>https://unstop.medium.com/difference-between-compiler-interpreter-and-assembler-4e850db5d835?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e850db5d835</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Tue, 12 Apr 2022 10:20:40 GMT</pubDate>
            <atom:updated>2022-04-12T10:20:40.567Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*AJY4B0d5ceWQ1PQy" /></figure><p>Table of content:</p><ul><li>What do you need to know about Compiler?</li><li>Advantages of Compiler</li><li>Disadvantages of Compiler</li><li>What do you need to know about Assembler?</li><li>Advantages of Assembler</li><li>Disadvantages of Assembler</li><li>What you need to know about Interpreter?</li><li>Advantages of Interpreter</li><li>Disadvantages of Interpreter</li><li>Difference Between Compiler, Interpreter, Assembler</li><li>Why is Compiler better than Assembler and Interpreter?</li></ul><p>When humans want to express their feelings, thoughts, and ideas to other humans we communicate through languages. In the same way, in the case of computers, we need languages to communicate to the computer and those languages are called <a href="https://dare2compete.com/blog/what-is-programming-language">programming languages</a>. But we need a language translator in between because the computer understands only machine language (in the form of 0s and 1s) and it is hard for us to give instructions directly in machine language, so we use language processors/translators which are special translator system software used to convert the programming languages into machine code.</p><p>Hence, Compiler, Interpreter, and Assembler are types of language processors that convert programming languages to machine language (binary code). <a href="https://dare2compete.com/blog/difference-between-compiler-and-interpreter">Compilers and interpreters</a> are used to convert High-Level Language into machine language. Assemblers are used to convert Low-level Language or Assembly Language Code into Machine Language (Binary code). Let us understand about these in detail.</p><p><a href="https://dare2compete.com/blog/what-is-computer-programming">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*nk4qv90b47ZEkBfm" /></figure><p><a href="https://dare2compete.com/blog/what-is-computer-programming">What Is Computer Programming? A Brief About Computer Programming And Related Terms</a></p><h3>What do you need to know about Compiler?</h3><p>It is a translator program that converts source code written in a High-Level language like Java, C++, etc. to equivalent machine language in one go.</p><p>It converts the entire program to executable object code if the entire program is<em> Error-free Code</em>. However, if there are errors in the program the compiler highlights them at the end of the execution of the entire program, and then the errors must be removed for successful compilation of source code.</p><p>It converts the source program to object code(combination of binary numbers) which can be stored and we can run it each time we need to execute the program therefore it eliminates recompilation.</p><p>At the same time due to the generation of the intermediate file, it takes up a lot of memory as compared to other language processors. Compilation as a whole process is done in the following phases — lexical analyzer, semantic analyzer, syntax analyzer, intermediate code generator, code optimizer, symbol table, and error handle.</p><p>Examples of Compiler are- Clang, GCC, javac, etc.</p><h3>Advantages of Compiler</h3><ul><li>It produces an executable file that can run without the need for source code.</li><li>It is relatively faster than other language processors.</li><li>Using a compiler is more secure because the actual source program can be hidden which makes it private and secure.</li><li>The machine code of the executable file is native to the machine which makes the compiler well optimized.</li></ul><p><a href="https://dare2compete.com/blog/algorithms-for-coding-interviews">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*YbtXWzoI6Ekq2maz" /></figure><p><a href="https://dare2compete.com/blog/algorithms-for-coding-interviews">Top 10 Algorithms Every Coding Student Should Know To Crack Competitive Interviews</a></p><h3>Disadvantages of Compiler</h3><ul><li>Debugging(removing errors) is relatively tough.</li><li>It requires a lot of memory for producing an Object File.</li><li>The source code needs to be recompiled every time there is a change in the code.</li><li>After the removal of errors in our code, it needs to be recompiled again.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*kbiAxqbjmMC_E7NV.jpg" /></figure><h3>What do you need to know about Assembler?</h3><p>It is a translator program that converts assembly language or low-level programming language to machine code.</p><p>It was the first interface through which communication between machines and humans became possible.</p><p>Assembly language or low-level language is where we use mnemonics(instructions, in place of machine language, assembly language is dependent on the machine which implies that the mnemonics are also dependent on the architecture of machines.</p><p>Assembler work in two different phases over the given input-first phase and second phase.</p><p>Examples of Assembler are- GNU, GAS, etc.</p><p><a href="https://dare2compete.com/blog/coding-decoding">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*GPgbmF49o8QhVLNC" /></figure><p><a href="https://dare2compete.com/blog/coding-decoding">What is Coding &amp; Decoding? | Coding-Decoding Questions</a></p><h3>Advantages of Assembler</h3><ul><li>It is a very fast translating system software.</li><li>It is as efficient as the <a href="https://dare2compete.com/blog/difference-between-machine-language-and-assembly-language">machine language</a>.</li><li>Developing assemblers for translating is easier as compared to compiler and interpreter.</li><li>Assemblers are used in computer forensics, brute force hacking etc. where it is important to determine exactly what is going on.</li></ul><h3>Disadvantages of Assembler</h3><ul><li>Lower-Level Machine language is difficult to understand and code.</li><li>It changes with the architecture of machines.</li><li>It is difficult to debug.</li><li>We have to write different assembly codes for 8-bit, 16-bit, 32-bit, 64-bit machines which is a tedious task and difficult to maintain.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*wv_K9WSbFR9WqFIa.jpg" /></figure><p><a href="https://dare2compete.com/blog/difference-between-olap-and-oltp-in-dbms">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*O06lP3zs14c3loaZ" /></figure><p><a href="https://dare2compete.com/blog/difference-between-olap-and-oltp-in-dbms">Understanding Difference Between OLAP and OLTP</a></p><h3>What you need to know about Interpreter?</h3><p>It converts source programs written in High-Level Programming language into machine code line by line, which means it executes one single line at a time into machine language. If there is an error in the program the interpreter terminates its translation process and proceeds for execution only when the error is removed. This process continues till the interpreter reaches the end of the Program.</p><p>In the case of an interpreter, each line is converted then executed simultaneously, as a result, it requires less memory space as compared to the compiler.</p><p>Examples of Interpreters: Python Interpreter, Ruby Interpreter, LISP, APL, etc.</p><h3>Advantages of Interpreter</h3><ul><li>It is easy to find and debug errors from the code/source program.</li><li>As there is no Intermediate object Code, there is less memory consumption.</li><li>Interpreters give execution control to programmers as they can see their code running line by line.</li><li>It can be easily used between different platforms.</li><li>Interpreter is good for fast debugging.</li></ul><p><a href="https://dare2compete.com/blog/what-is-computer-programming">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*ek43PIloPoZPU9oi" /></figure><p><a href="https://dare2compete.com/blog/what-is-computer-programming">What Is Computer Programming? A Brief About Computer Programming And Related Terms</a></p><h3>Disadvantages of Interpreter</h3><ul><li>It takes time for converting and executing the instructions line by line.</li><li>It is not good for large programs.</li><li>It is less secure for privacy because we need to share the actual program.</li><li>To run the code on other machine it requires interpreter to be installed on the machine.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*-9TsplG0LxxHW3ve.jpg" /></figure><h3>Difference Between Compiler, Interpreter, Assembler</h3><h3>Assembler vs Compiler</h3><p>CompilerAssemblerCompiler converts program written in a high-level language to machine-level language.The assembler converts assembly code into machine code.Debugging is easy in the case of the compiler.Debugging is tough as compared to the compiler.The compiler is more intelligent than the assembler.Assembler is less intelligent as compared to the compiler.A compiler works in the following phases: lexical analyzer, semantic analyzer, syntax analyzer, intermediate code generator, code optimizer, symbol table, and error handle.An assembler works in two phases over the given input: the first phase and the second phase.Compiler scans the entire program before converting it into machine code.Assembler converts code into object code then it converts object code into machine code.Examples of compilers are Clang, GCC, javac, etc.Examples of assemblers are GNU, GAS, etc.</p><h3>Compiler vs Interpreter</h3><p>Compiler</p><p>Interpreter</p><p>It translates a High-Level language into machine code at once.</p><p>It translates a High-Level language into machine code line by line.</p><p>A translator Program is required each time for execution.A translator Program is not required for execution.It creates and stores an object file.It does not create an object program.Memory consumption is more in the case of the compiler.An interpreter takes relatively less memory than the compiler.Debugging of code is relatively harder.Debugging is easy as compared to the compiler.Compiler is relatively costlier than the interpreter.Less costly.More useful in the case of security.Interpreter is more vulnerable to threats.Execution Time is less.Execution time is higher.Suitable for large programs.Suitable for small programs.</p><p><a href="https://dare2compete.com/blog/algorithms-for-coding-interviews">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*riDJF41lynnpXYo7" /></figure><p><a href="https://dare2compete.com/blog/algorithms-for-coding-interviews">Top 10 Algorithms Every Coding Student Should Know To Crack Competitive Interviews</a></p><h3>Why is Compiler better than Assembler and Interpreter?</h3><p>Compilers are preferred over assemblers and interpreters because of various reasons:</p><ul><li>Compilers translate and execute the code faster than assemblers and interpreters.</li><li>The compiler converts the code into Object file which can be used whenever we need to execute the program, therefore it eliminates the need to re-compile.</li><li>All the errors are found and displayed together at the end.</li></ul><h3>Summing Up</h3><p>All three of the language processors are used to convert programming languages into equivalent machine code. Compilers and interpreters convert High-Level languages whereas an Assembler is used to convert Low-Level language. Nowadays, most of the languages like Java, C++ are converted using a compiler whereas Python uses an interpreter. The use of assembler is very rare and it is mostly only used by computer experts and hackers. Most widely used language translator among the three is compiler.</p><p>You may also like to read:</p><ol><li><a href="https://dare2compete.com/blog/cache-memory">What Is Cache Memory In Computer?</a></li><li><a href="https://dare2compete.com/blog/fact-table-and-dimension-table">What Is Fact Table And Dimension Table?</a></li><li><a href="https://dare2compete.com/blog/difference-between-data-warehouse-and-data-mining">Understanding Data Mining Versus Data Warehousing In Detail</a></li><li><a href="https://dare2compete.com/blog/data-science-life-cycle">What Is A Data Science Life Cycle?</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e850db5d835" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Cache Memory In Computer?]]></title>
            <link>https://unstop.medium.com/what-is-cache-memory-in-computer-73991b88a9f7?source=rss-f6705a9e9fd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/73991b88a9f7</guid>
            <dc:creator><![CDATA[Unstop]]></dc:creator>
            <pubDate>Mon, 11 Apr 2022 08:22:18 GMT</pubDate>
            <atom:updated>2022-04-11T08:22:18.763Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*CzRiQ3aqVXXvwTbu" /></figure><h4>Table of content:</h4><ul><li>Types of cache memory</li><li>How does cache memory work?</li><li>Cache vs RAM</li><li>Cache vs Virtual Memory</li><li>Levels of Cache Memory</li><li>Cache Mapping</li></ul><p>Cache Memory is a very high-speed memory that is used for synchronizing with the CPU and to speed up the processes. The cache is comparatively costlier than normal disk memory but is more economical than CPU registers. These memories are extremely fast memory and their main function is to act as a buffer between RAM and CPU. It holds <a href="https://dare2compete.com/blog/difference-between-primary-and-secondary-data">data</a> and instructions that are frequently requested so that they are immediately available to the CPU when needed. The term ‘cache’ primarily refers to a thing that is hidden or stored somewhere, or the place where it is hidden.</p><p>Cache memory is a temporary memory officially termed as ‘CPU cache Memory’. Cache memory in your computer is mostly built on top of the processor/CPU chip itself for faster access of data.</p><p><a href="https://dare2compete.com/blog/algorithms-for-coding-interviews">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*gurILD3OR1jmYh7N" /></figure><p><a href="https://dare2compete.com/blog/algorithms-for-coding-interviews">Top 10 Algorithms Every Coding Student Should Know To Crack Competitive Interviews</a></p><h3>Types of cache memory</h3><p>Cache memory is broadly classified as follows:</p><ul><li>Primary Cache: The primary cache is located on the processor chip. The cache size is very small and its access time is almost similar to processor registers.</li><li>Secondary Cache: Secondary cache is placed in the middle of the primary cache and the main memory of the system. It is referred to as L2 (level 2) cache. Most of the time the L2 cache is housed on the processor chip itself but might be located on a separate chip. L1, L2, and L3 cache are discussed below in this article.</li></ul><h3>How does cache memory work?</h3><p>When the CPU requests data or data is required by the CPU, it will automatically turn to the cache memory for accessing data fast and economically. Cache storage is a temporary storage like RAM. This is required because system RAM is slower and is a bit further away from the CPU, and all of this has a huge impact on performance and latency when data needs to be accessed frequently. When data is found in cache memory, this is called a cache hit.</p><p><em>Hit ratio = hit / (hit + miss) = no.</em></p><p>A cache hit enables the processor to retrieve data quickly, making your overall system more efficient and faster.</p><p>Also, cache memory is very much smaller than system RAM and it can only store data temporarily, so it may not hold the information that the processor needs sometimes. When the cache does not have the processor’s required data, this is called a cache miss, and in this case, the CPU has to move onto the hard drive and use RAM.</p><p><a href="https://dare2compete.com/blog/coding-decoding">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*wpA-WLo3TEfecOye" /></figure><p><a href="https://dare2compete.com/blog/coding-decoding">What is Coding &amp; Decoding? | Coding-Decoding Questions</a></p><h3>Cache vs RAM</h3><p>RAM(Random Access Memory)/Main Memory or also called <a href="https://dare2compete.com/blog/difference-between-primary-and-secondary-memory">primary memory</a> is a volatile memory with a larger size that can store the data as long as the power is supplied. It is comparatively costlier than cache memory because it is based on high-speed SRAM random access memory which is faster, expensive, and less dense. It is a slower memory compared to cache. But RAM is faster than a hard disk, floppy disk, compact disk, or just any form of secondary memory storage media. CPU reads Cache Memory data before reading RAM and if data is unavailable in cache it impacts CPU performance. A plus point of RAMs is they can be installed both internally and externally.</p><p>On the other hand, the size of cache memory is very less compared to RAM memory and it holds data that the CPU needs to access frequently. It is very fast compared to RAM. Cache memory is basically used for faster access time of the data, as the CPU first accesses cache memory before turning towards RAM.</p><p>As we all know, RAM is also the main memory of the computer, and all of the functions are executed from RAM itself, but these days super-fast SSDs are capable of memory swapping therefore these ROM memories are also becoming capable of supporting functions when the system experiences RAM shortage.</p><h3>Cache vs Virtual Memory</h3><p>Virtual memory is basically nothing but a logical unit of computer memory that increases the capacity of main memory by executing programs of larger size than the main memory in the <a href="https://dare2compete.com/blog/advantages-and-disadvantages-of-computers">computer system</a>. A part of virtual memory is discussed above. Virtual memory comparatively has a very large size compared to cache memory. Although virtual memory is helpful, it is not defined as an actual memory unit. Also, it is not a high-speed memory like the cache memory. The virtual memory is helpful in the scenarios when we need to execute programs that may not completely be placed in the main memory. The virtual memory is not hardware controlled but instead controlled by the <a href="https://dare2compete.com/blog/types-of-operating-systems">Operating System</a> (OS). It requires a mapping structure to map the virtual address with a physical address.</p><p><a href="https://dare2compete.com/blog/difference-between-olap-and-oltp-in-dbms">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*C24D9o8ukJFr6e4v" /></figure><p><a href="https://dare2compete.com/blog/difference-between-olap-and-oltp-in-dbms">Understanding Difference Between OLAP and OLTP</a></p><h3>Levels of Cache Memory</h3><p>Computer systems these days have more than one level of cache memory, and they are variable in size and proximity to the processor cores and processing speed. They are also called cache levels. Let’s have a look at types of cache memory :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*C6n98Kwc74Lwq7cx.jpg" /></figure><p>Level 1: L1 cache is a type of memory that’s built into the CPU chip itself. It’s typically the fastest cache memory and consumes a limited amount of space. In most modern CPUs, it’s divided into two parts: the data section and the instruction section. Since it’s very fast, the L1 cache is the first place a processor will look for traces of data or instructions that have been buffered in RAM. In most modern CPUs, the data section and the instruction section are divided into two. The modern CPU typically has a cache size of 32 KB.</p><p>Level 2: L2 memory cache can also be found in the CPU’s cache but might be located on a separate chip close to the CPU. L2 cache size is typically larger than the L1 cache and can be found in the order of 256K bytes per core.</p><p>Level 3: Level 3 cache is typically much larger cache than L1 or L2 cache, but it differs in another significant manner. Unlike the L1 and L2 caches, which are private to each CPU core, the L3 cache is often shared by all cores. As a result, it can play a crucial role in data exchange and inter-core communication. The L3 cache per core could be on a scale of 2 MB cache.</p><h3>Cache Mapping</h3><p>As previously stated, cache memory is incredibly fast — meaning it can be read from very quickly. However, there is a bottleneck: data must first be located before it can be read from cache memory. The CPU is aware of the data or instruction address in RAM memory that it wishes to read. It must search the memory cache for a reference to that RAM memory location in the memory cache, as well as the data or instruction associated with it.</p><p>Data or instructions from RAM can be mapped into memory cache in a variety of ways, each of which has a direct impact on the speed with which they can be found. However, there is a cost: reducing the amount of time spent on searching also minimizes the likelihood of a cache hit, while maximizing the chances of a cache hit maximizes the search time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*wAyUDceuGmV19k3B.jpg" /></figure><p>The common cache mapping methods are:</p><p>1. Direct Mapping</p><p>With a direct-mapped cache, a given block of RAM data can only be stored in one location in cache memory. This means that the CPU only needs to check one location in the memory cache to determine if the data or instructions it seeks are present, and if they are, they will be discovered quickly. The disadvantage of direct-mapped cache is that it significantly restricts the types of data or instructions that can be placed in the memory cache, making cache hits infrequent.</p><p>2. Associative Mapping</p><p>This is the polar opposite of direct mapping and is also known as fully associated mapping. Any block of data or instructions from RAM can be placed in any cache memory block using an associative mapping mechanism. That means the CPU must explore the full cache memory to check if it contains the information it seeks, but the chances of finding it are significantly higher.</p><p>3. Set-Associative Mapping</p><p>Set associative mapping, which allows a block of RAM to be mapped to a limited number of different memory cache blocks, is a compromise between the two methods of mapping. A RAM block can be placed in one of two locations in cache memory using a 2-way associative mapping method. An 8-way associative mapping scheme, on the other hand, would allow a RAM block to be placed in any of the cache memory blocks. Because the CPU has to seek in two places instead of just one, a 2-way system takes twice as long to search as a direct-mapped system, but there is a significantly higher possibility of a cache hit.</p><p><a href="https://dare2compete.com/blog/cloud-computing-applications">ALSO READ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*3FzzDgAWIhGyRwm4" /></figure><p><a href="https://dare2compete.com/blog/cloud-computing-applications">A Quick Review Of The Cloud Computing Applications</a></p><h3>Summing Up</h3><p>We can conclude that presence of cache memory improves computer in terms of speed and performance of computers as they are able to access data much faster compared to RAM and Local Disk. 6MB cache is a decent size but we can conclude that 8MB is much better. Hence, the more the better as cache is the fastest memory in a computer. The larger the size the more efficient and faster the CPU is. However, it must be noted that there is no impact on CPU clock speed.</p><p>You may also like to read:</p><ol><li><a href="https://dare2compete.com/blog/what-is-paging-in-os">What Is Paging In Operating System?</a></li><li><a href="https://dare2compete.com/blog/difference-between-hardware-and-software">Difference Between Hardware and Software</a></li><li><a href="https://dare2compete.com/blog/programming-language-for-ai">10 Most Important Programming Language for AI</a></li><li><a href="https://dare2compete.com/blog/data-redundancy-in-dbms">Data Redundancy in DBMS</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73991b88a9f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>