Karthikeya Boyini has Published 2545 Articles

Text Analysis in Python3

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

173 Views

In this assignment we work with files. Files are everywhere in this Universe. In computer system files are essential part. Operating system consists a lot of files. Python has two types of files-Text Files and Binary Files. Here we discuss about Text Files Here we focus some of the ... Read More

Instruction type MOV r1, r2 in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

10K+ Views

In 8085 Instruction set, MOV is a mnemonic, which stands for “MOVe”. In this instruction 8-bit data value in register r2 will be moved to the 8-bit register r1. Note that in 8085 instructions, as the first operand specifies the destination, and the second one the source, so here also ... Read More

SharedArrayBuffer.byteLength Property in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

40 Views

The byteLength property of the SharedArrayBuffer returns an unsigned, 32-bit integer that specifies the size/length of a SharedArrayBuffer. Syntax Its Syntax is as follows sharedArrayBuffer.byteLength Example Live Demo JavaScript Example ... Read More

Instruction type MOV M, r in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

5K+ Views

In 8085 Instruction set, this instruction MOV M, r will copy 8-bit value from the register r to the memory location as pointed by HL register pair.This instruction uses register addressing for specifying the data. As “r” can have any one of the seven values − r = A, ... Read More

Python program to check if there are K consecutive 1’s in a binary number?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

234 Views

First we take a user input string with the combination of 1’s and 0’s.then create a new string with 1’s, then check if there is any p number of consecutive 1’s is present or not. If present then display FOUND otherwise NOTFOUND. Example Binary number ::1111001111 Enter consecutive 1’s ... Read More

Python program to iterate over multiple lists simultaneously?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

232 Views

Here we use .zip() for iterative over multiple lists simultaneously.zip() takes n number of iterables and returns list of tuples. i-th element of the tuple is created using the ith element from each of the iterables. Example L1=[1, 2, 3, 4] L2=[‘aa’, ’bb’, ’cc’, ’dd’] L=zip(L1, L2) Output [(1, ... Read More

Differences between C++ and C#

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

264 Views

C++ is a statically typed, compiled, general-purpose, case-sensitive, free-form programming language that supports procedural, object-oriented, and generic programming. C++ is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features. C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft within ... Read More

Python program to communicate between parent and child process using the pipe.

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

763 Views

Using fork is the easiest way to create child process.fork () is part of the os standard Python library. Here, we solve this task by using of pipe(). For passing information from one process to another pipe() is used. For two way communication two pipes can be use, one for ... Read More

rewind() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

80 Views

The rewind() function rewinds a file pointer. It moves it to the beginning of the file. It returns True on success or False on failure. Syntax rewind(file_pointer) Parameters file_pointer − It must point to a file opened by fopen() Return The rewind() function returns True on ... Read More

Read and Write to an excel file using Python openpyxl module

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:23

5K+ Views

Python provides openpyxl module for operating with Excel files. How to create Excel files, how to write, read etc. can be implemented by this module. For installing openpyxl module, we can write this command in command prompt pip install openpyxl If we want to give a sheet title ... Read More

Advertisements