Function in Python

Definition of Function in Python A function is a block of reusable code that performs a specific task.  Functions are essential for writing efficient, modular, and maintainable Python code. They make programs more structured, easier to debug, and reusable, which is crucial for both small scripts and large software projects. Read more…

Loading

Array in Python

Definition In Python, arrays are collections that store multiple items of the same/different data type depending on the array type used in Python.  Features Unlike C or Java, Python has no built-in array data type. Instead, Python provides alternatives like lists and the array module for arrays. Types of Array in Read more…

Loading

Operators in Python

In Python, operators are special symbols or keywords that perform operations on variables or values. They are used to carry out tasks like arithmetic calculations, comparisons, logical operations, and more. Types of Operators in Python Python provides a rich set of operators that can be grouped into various categories. These Read more…

Loading

Terminology in Python

Platform(Computing) The computing platform is a combination of the operating system (OS) framework, the physical hardware architecture/devices, or the virtual environment of the computer where the software installation and execution occurs. In most cases, mainly an operating system is considered/dominated as a computer platform. Cross Platforms/Multiplatform (Computer Science) Cross-platform is the Read more…

Loading

Operator Overloading Examples

Example : Operator Overloading Examples in VB .Net program to show Binary Addition(+) Operator Overloading. Class Example Dim num1 As IntegerDim num2 As Integer Sub Input(ByVal val1 As Integer, ByVal val2 As Integer)     num1 = val1     num2 = val2End Sub Public Shared Operator +(ByVal Obj4 As Example, ByVal Read more…

Loading

Procedure/Function in VB .Net

Definition of Procedure In VB.NET, a Procedure is a block of reusable code that performs a specific task. Exit Statements in Procedure The term Exit Sub or Exit Function is used to terminate the execution of program prematurely/forcibly. Types of Procedure Procedures can be of two types: Subroutine Procedures:  Function Read more…

Loading

Polymorphism Examples

Example :  Polymorphism examples in VB .NET program in Subroutine to use Function/Method Overriding using Polymorphism in Console Application. Example : Polymorphism examples in VB .NET program in to display Abstract Class & Method using Polymorphism in Console Application.

Loading