Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Programming Articles - Page 2290 of 3366
43K+ Views
In System Design, there are two types of approaches followed namely, the Bottom-Up Model and the Top-Down Model. The bottom-up model is one in which the different parts of a system are designed and developed and then all these parts are connected together as a single unit. On the other hand, the top-down model is one in which the whole system is decomposed into smaller sub-components, then each of these parts are designed and developed till the completed system is designed. Read this article to find out more about the bottom-up model and the top-down model of system ... Read More
514 Views
PythonPython is a high level programming language with inbuilt big library and is used to develop standalone programs. It was developed by Guido Van Rossum and its first version was released in the year 1990.PHPPHP stands for Hypertext Preprocessor, it is server side scripting language. It was developed in 1995. It is used to create dynamic web based pages.Following are the important differences between Python and PHP.Sr. No.KeyPythonPHP1Learning CurvePython requires good effort if one learns from scratch. It is similar to C++ and Java.PHP is easy to learn if user knows html and javascript.2FrameworksPopular Python frameworks are Flask, DJango.Popular PHP ... Read More
396 Views
GoGo is a procedural programming language. Programs are assembled using packages. It supports environment adopting patterns similar to dynamic languages.C++C++ is an object oriented programming language. C++ is quiet fast, reliable and secure. It is most widely used language as well.Following are the important differences between Go and C++.Sr. No.KeyGoC++1TypeGo is a procedural programming language and supports patterns similar to dynamic languages.C++ is an object oriented programming language.2Supports for ClassGo has no support for class with constructors.C++ has support for class with constructors.3Garbage CollectionGo has automatic garbage collection.C++ has not provided automatic garbage collection.4InheritanceGo has no support for inheritance.C++ supports ... Read More
457 Views
Both Go and Java are popular backend programming languages, and each has its own unique features. Java is an older language with a large community support, whereas Go is a comparatively newer language developed by Google. In this article, we will learn more about the differences between Go and Java. Go Language Go, also called Golang, is an open-source programming language developed by Robert Griesemer, Rob Pike, and Ken Thompson at Google. It was created to build large and complex software systems more easily. It is a statically typed and compiled programming language that has a simple and ... Read More
922 Views
GoroutineGoroutine is method/function which can be executed independently along with other goroutines. Every concurrent activity in Go language is generally terms as gorountine.ThreadThread is a lightweight process. It can be treated as a unit to execute a piece of code. Operating system manages the thread.Following are the important differences between Goroutine and Thread.Sr. No.KeyGoroutineThread1Managed ByGoroutine methods are managed by golang runtime.Thread are managed by operating systems.2Hardware dependencyGoroutine are independent to hardware.Thread are dependent on hardware.3Communication MediumGoroutines uses channels as communication medium.Thread have no easy communication medium.4LatencyGoroutines can commuicate with other routines with low latency.Thread as have no communication medium, communicate ... Read More
14K+ Views
List and Tuples are built-in data types of Python programming language. They serve as a container to hold multiple values of same type as well as different data types. We can find several differences in both of these containers. Read this article to learn more about lists and tuples in Python and how they are different from each other. List in Python List is a container that contains different types of objects. In it, the elements are separated by commas and stored within square brackets. Each element of a list has a unique position index, starting from 0. ... Read More
8K+ Views
AssociationAssociation in terms of objects refers to "has a" relationship between two related objects. For example, a employee has a communication address.class Employee { String name; Address communicationAddress; } class Address { String address; }AggregationAggregation in terms of objects refers to "has a"+ relationship between two related objects. For example, a department has multiple employees. It refers to having a collection of child objects in parent class. For example:class Department { String name; List employees; } class Employee { String name; }Sr. No.KeyAssociationAggregation1DefinitionAssociation refers to "has a" relationship between two classes which use each ... Read More
166 Views
ReactJSReact or ReactJS was originally developed by Facebook and it acts on view layer for web and mobile based application. It integrates well with Node js environment. Following are key features of React.Scalability - react is highly adaptable and scalable library.Rich in features - Provides extensions to existing javascript and typescript languages.Reusablity - react components are highly reusable.Vue.jsVue.js is javascript based MVC framework and is very helpful in creating responsive UI.Following are key features of Vue.js.Scalability - Vue.js is highly adaptable and scalable library.Rich in features - Provides extensions to existing html components.Reusablity - Vue.js components are highly reusable and ... Read More
2K+ Views
Window.location is the location property of a window and it is a reference to a Location object; it represents the current URL of the document being displayed in that window. Since window object is at the top of the scope chain, so properties of the window.location object can be accessed without window. prefix, for example window.location.href can be written as location.href. The following section will show you how to get the URL of page as well as hostname, protocol, etc. using the location object property of the window object. You can use the window.location.href property to get the entire URL ... Read More
12K+ Views
JavaScript has a convention for converting an image URL or a local PC image to a base64 string. This string can contain a variety of symbols and letters. In here it is explained how to make a canvas element, load an image into it, and use toDataURL to display the string representation. To obtain the base64 string representation, we will also use the file reader option. In this case, it is created as a canvas element and its dimensions will be specified. The dataURL where the string representation will be stored. We will add random images from online sources and ... Read More