Friday, December 7, 2018

Find smallest positive integer in an array.

Write a function: function solution(A); that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5. Given A = [1, 2, 3], the function should return 4. Given A = [−1, −3], the function should return...

Saturday, June 23, 2018

Internal Assessment Database in Visual c#

click here to downloa...

Saturday, May 12, 2018

How to restore/import dump file in MySQL workbench ?

The following steps can be applied to import dump file : 1. Open MySQL workbench and connect to database using your password. You can see the window as given below: 2. You will be provided two ways to import the dump files. First, you can import the dump files by selecting the option "import from dump project folder". Here you can select the folder where all your dump...

How to backup data in MySQL workbench ?

The following steps can be applied to backup data in MySQL using workbench : 1. Open workbench and connect to your database using your username and password. 2. Click on "Data Export" option under "Management" at the left side of the screen. 3. You will find a list of schema from where you can select which of the schema's table do you want to backup. If you want to...

Tuesday, May 1, 2018

How to watch IPL 2018 for free ?

There are many ways you can go through to watch IPL 2018 for free. I will be discussing few methods here. First of all if you are in India you can watch IPL through Jio TV app or airtel TV app which you can download from playstore.  There are few other methods which might not be official to watch IPL on internet from broadcaster. 1. You can download an app named...

Saturday, April 28, 2018

Are you not able to see available networks for wifi in windows 10 ? Here is the solution.

Sometimes while working in our laptop, suddenly we are not able to see the available networks for connection though the network is easily available on other devices. It is frequently seen problem in windows 10. This problem may arise while upgrading our operating system from may be windows 7/8/8.1 to windows 10 or may be the wireless driver is corrupted due to some reasons...

How to compress video without loosing the quality ?

Here, we will be using VLC media player so if you don't have please install it. Follow the given steps to compress the video without loosing quality:- Step 1: Open VLC media player. Click on menu "media" at the leftmost corner of  menu bar. Then select "conver/save.." option from the drop down menu. Step 2: After performing step 1, a window will display as given...

Sunday, March 11, 2018

Is your PC turning off automatically after few seconds of turning on ?

Are you facing the problem of PC turning off automatically after few seconds (approximately 10-20 seconds) of PC turned on? When you search at websites, you can find various reasons for the cause of this problem. Those reasons may be correct at their place. One more reason for this cause could be a virus. In the initial this problem sounds like your...

Saturday, February 24, 2018

How to add page no. from the desired page in MS Word ?

In this post, I will be discussing how to add page number from the desired page in MS Word. When we write report of some projects, there will be abstract, acknowledgement, table of contents and so on. In this case, probably we desire to include page no. in the document from introduction part of the report. It is just an example. There can be various cases where we actually require to add page no. from desired place. So here is the solution for...

How to import external template to the blogger?

There are some templates available for free to the user by blogger but those templates might not be sufficient for many of the users. So, we may want to import our own template or the template downloaded from external sources. There are many websites which provide templates for free of cost. So, in this article we will be discussing  the way of importing templates from...

How to change favicon in blogger ?

What is favicon? favicon (favorite icon is a small little icon used to identify your blog in the browser. When someone bookmark your blog then this favicon will be displayed in his/her bookmark list so that a particular blog can be idenified easily. It also appears in the tab of browser in which your blog is opened. Hence, try to select icon which will be relevant to your...

Friday, February 23, 2018

Advance Hospital Management System

       For more detail about the project, email your queries.           ...

Tuesday, January 30, 2018

How to calculate log base 2 ?

The calculator we use, we can find the logarithmic operations like log base e and log base 10. So, the question arises what shall we do if we want to calculate log base 2 or log to the base any number other than log base e and log base 10. The answer is within your calculator. You just need to recall a logarithmic formula read in mathematics. The formula is :                          ...

Friday, January 26, 2018

Is drag and drop the future of programming?

Drag and drop in programming means selecting an object from the given toolbox holding the mouse click, moving it (dragging) on the form given in the software and then finally placing (dropping) at the desired place on the form. This feature comes with GUI (Graphical User Interface) based programming. A form is given to the programmer, and a toolbox containing various...

Saturday, January 20, 2018

Computer Organisation & Architecture

PROGRAM IN MATLAB FOR DIVISION OF TWO UNSIGNED INTEGER BINARY NUMBERS (N-BIT NUMBERS) . To implement non-restoring division algorithm in digital computer function lab5_coa n=input('enter n:'); a=input('enter a:'); b=input('enter b:'); c=b; q=a; carry=0; for i=1:1:n     a(1,i)=0; end for i=n:-1:1     if(c(1,i)==1)         c(1,i)=0;          else  ...

Computer Organisation & Architecture

PROGRAM IN MATLAB FOR DIVISION OF TWO UNSIGNED INTEGER BINARY NUMBERS (N-BIT NUMBERS) . To implement restoring division algorithm in digital computer   function div n=input('enter n:'); a=input('enter a:'); b=input('enter b:'); c=b; q=a; carry=0; for i=1:1:n     a(1,i)=0; end for i=n:-1:1     if(c(1,i)==1)         c(1,i)=0;          else    ...

Computer Organisation & Architecture

PROGRAM IN MATLAB FOR MULTIPLICATION OF TWO UNSIGNED INTEGER BINARY NUMBERS BY PARTIAL-PRODUCT METHOD (4BITS NUMBERS) function lab2_coa a=input('enter a:'); b=input('enter b:'); r=[0 0 0 0 0 0 0 0]; c=0; for j=4:-1:1     if(b(1,j)==0)         continue;     end     for i=4:-1:1     sum=xor(xor(r(1,i+j),a(1,i)),c);     carry=or(and(r(1,i+j),a(1,i)),and(xor(r(1,i+j),a(1,i)),c));  ...

Computer Organisation & Architecture

PROGRAM IN MATLAB FOR SUBTRACTION OF TWO UNSIGNED INTEGER BINARY NUMBER (4BITS NUMBERS) function lab3_coa a=input('enter a:'); b=input('enter b:'); c=0; temp=a; for i=4:-1:1     if(b(1,i)==1)         b(1,i)=0;       else         b(1,i)=1;     end end a=[0 0 0 1]; for i=4:-1:1 sum=xor(xor(a(1,i),b(1,i)),c); carry=or(and(a(1,i),b(1,i)),and(xor(a(1,i),b(1,i)),c)); c=carry; result(1,i)=sum; end a=temp; b=result; c=0; for...

Computer Organisation & Architecture

PROGRAM IN MATLAB FOR  ADDITION OF TWO UNSIGNED INTEGER BINARY NUMBER (4-BITS NUMBERS) function lab0_coa a=input('enter a:'); b=input('enter b:'); c=input('enter c:'); for i=4:-1:1 sum=xor(xor(a(1,i),b(1,i)),c); carry=or(and(a(1,i),b(1,i)),and(xor(a(1,i),b(1,i)),c)); c=carry; result(1,i)=sum; end disp(result); disp(c); en...