- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Karthikeya Boyini has Published 2675 Articles

karthikeya Boyini
178 Views
In this program given a user input list. Our task is to copy or cloning the list. Here we use slicing technique. In this technique, we make a copy of the list itself, along with the reference. This process is also called cloning. Algorithm Step 1: Input elements of ... Read More

karthikeya Boyini
8K+ Views
In 8085 Instruction set, there is one mnemonic XCHG, which stands for eXCHanGe. This is an instruction to exchange contents of HL register pair with DE register pair. This instruction uses implied addressing mode. As it is1-Byte instruction, so It occupies only 1-Byte in the memory. After execution of this ... Read More

karthikeya Boyini
7K+ Views
In 8085 Instruction set, STAX is a mnemonic that stands for SToreAccumulator contents in memory pointed by eXtended register denoted as “rp”.Hererp stands for register pair. This instruction uses register indirect addressing for specifying the destination. So using this instruction, the current content of Accumulator will be written to the ... Read More

karthikeya Boyini
238 Views
Given a tuple, our task is to sort the list of tuples in increasing order by any key in a tuple. We need to sort them according to any given key.to do this here we use sorted() function where we sort them using key=last and store last as the key ... Read More

karthikeya Boyini
46 Views
The array_chunk() function splits an array into chunks of arrays. It returns a multidimensional numerically indexed array, starting with zero. Syntax array_chunk(arr, chunk_size, preserve_key) Parameters arr − The array chunk_size − The size of chunk in integer preserve_key − It has the following values: TRUE- Keys are ... Read More

karthikeya Boyini
6K+ Views
In 8085 Instruction set, SHLD is a mnemonic, which stands for Store HLpair using Direct addressing in memory location whose 16-bit address is denoted as a16. As HL pair has to be stored, so it has to be stored in two consecutive locations starting at the address a16. We know ... Read More

karthikeya Boyini
524 Views
In this problem a string is given, we have to check if a substring is present in the given string. Algorithm Step 1: input a string and a substring from the user and store it in separate variables. Step 2. Check if the substring is present in the string ... Read More

karthikeya Boyini
5K+ Views
The array_count_values() function returns an array with the number of occurrences for each value. It returns an associative array. The returned array has keys as the array’s values, whereas values as the count of the passed values. Syntax array_count_values(arr) Parameters arr − The array for which we ... Read More

karthikeya Boyini
4K+ Views
In 8085 Instruction set, ADI is a mnemonic, which stands for “ADd Immediate to Accumulator” and here “d8” stands for any 8-bit or 1-Byte of data. This instruction is used to add 8-bit immediate data to the Accumulator. The result of addition will be stored in the Accumulator. So the ... Read More

karthikeya Boyini
35 Views
The array_diff_assoc() function compares array keys and values, and returns the differences. The array_diff() function only compares the values, whereas in array_diff_assoc() function both the keys and values are used for comparison. Syntax array_diff_assoc(arr1, arr2, arr3, arr4, …) Parameters arr1 − Array to compare from. Required. ... Read More