Rishi Rathor has Published 155 Articles

8085 program to find square root of a number

Rishi Rathor

Rishi Rathor

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

2K+ Views

Now let us see a program of Intel 8085 Microprocessor. This program will find the square root of a number.Problem StatementWrite an assembly language program to find the square root of a number in L and store the result at location 8100HDiscussionHere we are using division method for finding square ... Read More

Exact Radius and Size of iPhone App Icons

Rishi Rathor

Rishi Rathor

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

454 Views

Every iPhone application needs some icons that are displayed when certain events occur, like when some new notification comes, or the icon for home screen or the icon that is displayed on spotlight.All these icons have different size properties but apart from their size there are some common properties they ... Read More

8085 program to search a number in an array of n numbers

Rishi Rathor

Rishi Rathor

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

1K+ Views

In this program we will see how to search an element in an array of bytes using 8085.Problem StatementWrite 8085 Assembly language program to search a key value in an array of data using linear search technique.DiscussionIn this program the data are stored at location 8002H to 8007H. The 8000H ... Read More

8085 program to generate Fibonacci sequence

Rishi Rathor

Rishi Rathor

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

5K+ Views

In this program we will see how to generate Fibonacci sequence.Problem StatementWrite 8085 Assembly language program to generate the first ten elements of the Fibonacci sequence using registers only and store them in memory locations 8050H to 8059H. DiscussionThis program will generate the Fibonacci numbers. The Fibonacci numbers follows this relation ... Read More

What is difference between UITableViewController and UIViewController?

Rishi Rathor

Rishi Rathor

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

380 Views

UItableViewController and UIViewController are two different objects of iOS UIKit framework. Both are used for different purpose.A UIViewController class manages a ViewContoller which is responsible for actions that happen within that View controller. This class is aware of actions that happen on view controller, like ViewDidLoad, ViewWillApper, ViewDidAppear, ViewWillDisapper, ViewDidDisapper.Whereas, ... Read More

8085 Program to perform sorting using bubble sort

Rishi Rathor

Rishi Rathor

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

433 Views

In this program we will see how to sort a block of bytes using bubble sorting technique.Problem StatementWrite8085 Assembly language program to sort numbers in ascending order where n number of numbers are stored in consecutive memory locations starting from 8041H and the value of n is available in memory ... Read More

How to insert new cell into UITableView using Swift?

Rishi Rathor

Rishi Rathor

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

864 Views

To insert a new cell into UITableView we'll first have to create a table view cell and then add it to the table view using Cell for row at method of Table view.We can create a cell using Storyboard or by creating a nib of class UITableViewCell.In the View controller ... Read More

How to change the column position of MySQL table without losing column data?

Rishi Rathor

Rishi Rathor

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

8K+ Views

You can change the column position of MySQL table without losing data with the help of ALTER TABLE command. The syntax is as follows −ALTER TABLE yourTableName MODIFY yourColumnName1 data type AFTER yourColumnName2;To understand the above concept, let us create a table. The query to create a table with some ... Read More

Update column size in MySQL and increase its size?

Rishi Rathor

Rishi Rathor

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

296 Views

To update the column size, you can use alter command. The syntax is as follows −alter table yourTableName change yourColumnName yourColumnName data type;To understand the above syntax, let us create a table. The query to create a table −mysql> create table DataTruncated −> ( ... Read More

Do a select in MySQL based only on month and year?

Rishi Rathor

Rishi Rathor

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

1K+ Views

To select MySQL based on month and year, use in-built function YEAR() and MONTH(). The syntax is as follows −select *from yourTableName where YEAR(yourColumnName) = YearValue AND MONTH(yourColumnName) = monthValue;To understand the above syntax, let us create a table. The query to create a table is as follows −mysql> create ... Read More

Advertisements