Devanand Rana's Projects
One dimensional array is an array that has only one subscript specification that is needed to specify a particular element of an array.
turtle is a pre-installed Python library that enables users to create pictures and shapes by providing them with a virtual canvas. The onscreen pen that you use for drawing is called the turtle and this is what gives the library its name.
A bar chart or bar graph is a chart or graph that presents categorical data with rectangular bars with heights or lengths proportional to the values that they represent. The bars can be plotted vertically or horizontally.
A bar graph is a chart that plots data using rectangular bars or columns (called bins) that represent the total amount of observations in the data for that category.
CServer Side ProgrammingProgramming. Binary Search is a search algorithm that is used to find the position of an element (target value ) in a sorted array. The array should be sorted prior to applying a binary search. Binary search is also known by these names, logarithmic search, binary chop, half interval search.
Bubble sort in C is a straightforward sorting algorithm that checks and swaps elements if they are not in the intended order. It compares two adjacent elements to find which one is greater or lesser and switches them based on the given condition until the final place of the element is found.
A Python class is like an outline for creating a new object. An object is anything that you wish to manipulate or change while working through the code. Every time a class object is instantiated, which is when we declare a variable, a new object is initiated from scratch.
In this Project I make a simple Collage Final project .In this project Users Log-in their detail and Finally verify the Captcha and Saved the own data in data base.
In this article, we will discuss how to export a specific userβs chats to an Excel sheet. To export the chats, we will use several Python modules and libraries. In the Excel file, we will create four columns: Date, Time, Name, and Message. Weβll create these columns through Pandas, export all the chat details to their respective columns, and use Pushbullets to retrieve the data using the API key.
DDA stands for Digital Differential Analyzer. It is an incremental method of scan conversion of line. In this method calculation is performed at each step but by using results of previous steps. Suppose at step i, the pixels is (xi,yi) The line of equation for step i yi=mxi+b......................equation 1 Next value will be yi+1=mxi+1+b.................equation 2 m =DDA Algorithm yi+1-yi=βy.......................equation 3 yi+1-xi=βx......................equation 4 yi+1=yi+βy βy=mβx yi+1=yi+mβx βx=βy/m xi+1=xi+βx xi+1=xi+βy/m Case1: When |M|<1 then (assume that x12) x= x1,y=y1 set βx=1 yi+1=y1+m, x=x+1 Until x = x2 Case2: When |M|<1 then (assume that y12) x= x1,y=y1 set βy=1 xi+1=DDA Algorithm, y=y+1 Until y β y2
In C programming, an array is derived data that stores primitive data type values like int, char, float, etc. To delete a specific element from an array, a user must define the position from which the array's element should be removed. The deletion of the element does not affect the size of an array.
Config files for my GitHub profile.
This program will generate a digital clock using c program. The logic behind to implement this program, Initialize hour, minute, seconds with 0. Run an infinite loop. Increase second and check if it is equal to 60 then increase minute and reset second to 0.
Validating an Email Address in Python. Validating an email means that whether the input that the user made corresponding to the email address field is as per the format in which we want.
In Python, exceptions can be handled using a try statement. The critical operation which can raise an exception is placed inside the try clause. The code that handles the exceptions is written in the except clause. We can thus choose what operations to perform once we have caught the exception.
In this article, we will discuss how to export a specific userβs chats to an Excel sheet. To export the chats, we will use several Python modules and libraries. In the Excel file, we will create four columns: Date, Time, Name, and Message. Weβll create these columns through Pandas, export all the chat details to their respective columns, and use Pushbullets to retrieve the data using the API key.
The key function for working with files in Python is the open() function. The open() function takes two parameters; filename, and mode. There are four different methods (modes) for opening a file: "r" - Read - Default value. Opens a file for reading, error if the file does not exist.
An address is a non-negative integer. Each time a program is run the variables may or may not be located in same memory locations. Each time you run the program above may or may not result in the same output. Q .How do you find the value of an address? Two ways: Cast the address literal as a pointer: char value = *(char*)0xff73000; Cast the literal as a pointer to the type. and. ... Assign the address to a pointer: char* pointer = (char*)0xff73000; Then access the value: char value = *pointer; char first_byte = pointer[0]; char second_byte = pointer[1];
An address is a non-negative integer. Each time a program is run the variables may or may not be located in same memory locations. Each time you run the program above may or may not result in the same output.
for loops are used when you have a block of code which you want to repeat a fixed number of times. The for-loop is always used in combination with an iterable object, like a list or a range. The Python for statement iterates over the members of a sequence in order, executing the block each time.
In computer programming, a function is a named section of a code that performs a specific task. This typically involves taking some input, manipulating the input and returning an output.
Simple and Easiest Method use for making this Software.