Pseudocode

Definition Pseudo-code is a compact and informal high-level description of a computer programming algorithm that uses the structural conventions of some programming language. Pseudocode is a kind of structured English for describing algorithms in an easily readable and modular form. This helps in describing how the system will solve the given problem. Read more…

Loading

Variable, Input Examples(Python)

Example : How to store Static/Constant values and display them in Python? Example: How do you convert a temperature from Celsius to Fahrenheit and display it in Python? Example : How to store Dynamic/User Input Values and display them in Python? Example : A Python program for a Simple Calculator. Example : How do Read more…

Loading

Python Home(Theory)

Common Settings & Configurations in PyCharm *** All the Python programs are tested on PyCharm Professional 2022.1/2023.1 or Online GDB Python Interpreter. *** To create a new. Py file using PyCharm to write and run the Python program – File menu – New Project – Pure Python – Name the Read more…

Loading

Basic Examples(Pyhton)

NB: Put the Python code in the ‘main.py’ file already created when we create a new project in Python and run or execute by clicking the run button (horizontal green color triangle symbol above in standard toolbar) by selecting the file name in the drop-down box. Example : How to Read more…

Loading

Notations for complexity

(A) Asymptotic Notations (n→∞): Asymptotic notations are used to express the running time of an algorithm in terms of function, whose domain is the set of natural numbers N={1,2,3,…..}. Such notations are convenient for describing the worst case running time function T(n). Asymptotic notation gives the rate of growth, i.e. Read more…

Loading