Ads

Friday, 11 August 2017

What is list in data structure

List: - List is a linear data structure in which elements are arranged in random order. That means list is those type of linear data structure in which elements are arranged neither LIFO nor FIFO. List is implemented using array and link list.

Array has various disadvantages to handle huge no of data item in linear form. The size of array is fixed. So, memory block can be in sufficient as the requirement of the user. It is also possible that the blocks are huge in compression with the requirement of the user, So the chances of memory wastage can be maximum. 
                      
Insertion operation in array is very time consuming operation due to right shift. Operation of all elements present in the right side of the insertion point.



Similarly deletion operation in array is also a very time consuming operation due to left shift, operation of all elements present in the right side of the deletion point.

To remove the disadvantages of array, two new concepts are arise:- Dynamic memory allocation and concept of link list.

Dynamic memory allocation is those type of memory allocation process by which we can allocate memory for the variables at the time of execution using the function malloc, calloc and realloc. Using the concept of dynamic memory allocation the concept of insufficient memory and a huge memory of array can be removed. Using dynamic memory allocation user can allocate specific number of blocks for a variable as the requirement of the user. There are no chances of memory wastage or extra memory for wastage. 
 
To remove the disadvantages of array related to insertion and deletion operation. The concept of link list is arise. Link list is a linear data structure in which elements can be inserted or deleted in any order without shift operation and they are connected to each other using pointers.

This program solved by Ms Aakriti Srivastav (Guided by Jitendra Kumar JAVA Trainer at Vtech Academy of Computers)- C | C++ | DS | JAVA | Android | Python & Oracle

Saturday, 5 August 2017

How to create balance sheet - Computerized Accounting

Time Allowed:  15 Minutes                                                                                                               Total 

Read the following instructions carefully before you begin to answer the Question.
Create a Company with name System P Ltd and maintain the following Balance Sheet for the Year 1-Apr-2015.

System P Ltd
Balance Sheet
For 1-Apr-2015
Liabilities
Assets
Capital Account

2000000
Fixed Assets

640000
A's Capital A/c
800000

Computer A/c
30000

B's Capital A/c
1200000

Furniture A/c
60000

Loans (Liability)
500000
Land & Building
350000

Bank OD A/c

Plant & Machinery
200000

(Loan From HDFC)
300000

Investment
200000
Loan From Surya
200000

Fixed Deposit
200000

Current Liabilities
438000
Current Assets
2110000
Sundry Creditors
410000

Loans to Mahindra
300000

Green Laminates   60000     (PB/15-16/01)

Sundry Debtors
80000

Turbo Buiders      350000 (PB/15-16/02)

Crystal Industries   80000 (SB/15-16/01)

Outstanding Expenses

Cash and Bank

Outstanding Rent A/c
13000

Cash-in-hand
800000

Outstanding Salary A/c
15000

HDFC               430000
930000

Profit & Loss A/c
12000
   SBI                 500000

Opening Balance



Current Period
12000




Total

2950000
Total

2950000


Thursday, 3 August 2017

How Many Types of Arrays in Data Structure

Types of array 

One dimensional array-: A one dimensional array has only one  row to store value in same data type.
Syntax-: <data type> <array name> [<row size>]
Example-: int a[5]={1,2,3,4,5};
Multi dimensional array-:Multi dimensional array are derived from the basic or built in data types of c language. These includes two dimensional and three dimensional array.
Two dimensional array-: A two dimensional array has two indexes.The first index    refers to the row while the second index refers to the column.
Syntax-:<data type> <arrayname>[<row size>][< column size>]
Example-: int a[2][3]={{1,2,3),{4,5,6}}; 
Three dimensional array-:Athree dimensional array has three indexes.The first index refers to the dimension,second index refers to the row,while the third index refers to column.
Syntax-: <data type> <array name> [<dimension size>][< row         size>][<column size>]
Example-: int      a[3][2][3]={{{1,2,3},{4,5,6}},{{7,8,9},{10,11,12}},{{13,14,15},{16,17,18}}};
Example of one dimensional array (code+output)
#include<stdio.h>
#include<conio.h>
void main()
{
    int a[5],i,m;
    clrscr();
    printf("Enter the size of elements of matrix a [ max Size 5] \n");
    scanf("%d",&m);
    printf("Enter the elements of the matrix a\n");
    for (i=0;i<m;i++)
    {
               scanf("%d",&a[i]);
           }
    printf("print matrix a\n");
    for (i=0;i<m;i++)
    {
    printf("%d\t",a[i]);
    }

    getch();
                              Output
                     

Example of two dimensional array(transpose of matrix) (code+output)
#include <stdio.h>
#include<conio.h>
void main()
{
   Clrscr ();
    int a[3][3];
    int i, j, m, n;
    printf("Enter the order of the matrix \n");
    scanf("%d %d", &m, &n);
    printf("Enter the coefficent of the matrix\n");
    for (i=0;i<m;i++)
    {
        for (j=0;j<n;j++)
        {
            scanf("%d", &a[i][j]);
 }
     }

    printf("The matrix a \n");
    for (i=0i<m;i++)
    {
        for (j=0;j<n;j++)
        {
            printf(" %d",a[i][j]);
        }
        printf("\n");
    }
    printf("Transpose of matrix a\n");
    for (i=0;i<n;i++)
    {
        for (j=0;j<n;j++)
        {
            printf(" %d",a[j][i]);
        }
        printf("\n");
    }
     getch();
}
                                                      Output
                     

This program solved by Ms. Aakash Aggarwal (Guided by SHABANA IDRISI) .NET Trainer at Vtech Academy of Computers

Wednesday, 12 July 2017

How to create password in c language

How to make password program in c

#include<stdio.h>
#include<conio.h>
#include<string.h>
int password(char max[])
{
char ch[100];
int i=0;
printf("\nenter the password :");
while(1)
{
int m=getch();
if(m==13)
{
break;
}
else if(m==8)
{
if(i==0)
{
}
else
{
printf("\b");
printf(" ");
printf("\b");
i--;

}

}
else
{
ch[i]=m;
i++;
printf("*");

}
}
ch[i]=NULL;
int m=strcmp(ch,max);
return m;

}
int admin(char max1[])
{

char ch1[100];
int j=0;
printf("\nenter the user name :");

while(1)
{

int n=getch();
if(n==13)
{
break;
}
else if(n==8)
{
if(j==0)
{
}
else
{
printf("\b");
printf(" ");
printf("\b");

j--;
}

}
else
{

ch1[j]=n;
j++;
printf("*");

}
}
ch1[j]=NULL;
int n=strcmp(ch1,max1);
return n;
}
void main()
{
clrscr();
char ch[]="vtech";
char ch1[]="vtech";
                 // int m=password(ch);
  int n=admin(ch1);
int m=password(ch);

clrscr();
printf("\n");
if(m==0 && n==0)
{
printf("admin name is correct\n");
printf("password is correct\n");
}
else
{
printf("admin name is incorrect\n");
printf("password is incorrect\n");
}
  getch();
}

This program solved by Ms Aakriti Srivastav (Presented by Jitendra Kumar JAVA Trainer at Vtech Academy of Computers)- C | C++ | DS | JAVA | Android | Python & Oracle

Wednesday, 5 July 2017

What is the scope of AngularJs in the IT field

What is scope of angularjs developer in IT Industries

Web is evolving. Single Page Applications are future. Everything is confined in Mobile & Tablet.

To recruit single specific technology expert, AngularJS & Responsive code developer play a role as feeler. We excessively access internet & data dealing, an expect fast responsive or less time for throughput.

AngularJS is much good for Create Read Update Delete (CRUD) Operation.
AngularJS Developer can adjust career with different kind of Company as .NET,JAVA,PHP etc.

AngularJS is moving on fast pace as Device & responsive development.
It reduces complexity of code.
It is preferable in SPA (Single Page Application) & bind business Logic.
Java Script is Complex to understand & it is difficult to find keen script developer
AngularJS is simply & easier for fast Web development. Microsoft Company introduced ASP.NET MVC with AngularJS.

It is easily integrated with   other web technology. It is on fast peak & its graph of usage in IT industry curving on Top.
Even google constantly releasing new API’s & Business Logic in AngularJS so that it could be proved quality integration.
Google, Microsoft IBM etc. embracing this technology. 


OBJECTIVES


      To reduce development time & fast throughput Application
      High usage on Tablet Mobile Application.
      A cross Platform technology which can be integrated with Web Development


ISSUE IN EX-CLIENT TECHNOLOGY

1.      Client Application can’t support easy way CRUD operation.
2.      Need to develop different code for different viewer.

Tuesday, 13 June 2017

Urgent job recruitment - Vtech Academy of Computers

Find your next career move at Vtech Academy of Computers Institute. We're currently hiring:
Call NOW: 9899026214 Nivedita Raghav
Knowledge of
  1. Computerized Accounting (Tally Erp.9)
  2. Business Accounting (Fundamentals with Advance)
  3. Auditing
  4. Taxations (Direct & Indirect taxes)
  5. E-filing (income tax and Indirect Taxes Registrations)
  6. Online Tax Forms [ITR, VAT/ CST, Excise etc]
  7. Banking Theory & Banking Forms
  8. Finance (Financial Management and Financial Planning)
  9. Company Law
  10. Capital Marketing with Investment Market
  11. Insurance (General & Life Insurance)


Thursday, 1 June 2017

PHP Live Project Training Institute Delhi

Live Project Training in PHP - 6 weeks training. Vtech Academy of Computers offers Industrial Training is based on live projects includes MYSQL, Joomla, Wordpress, Magento, Ajax etc will help you grab best job opportunities in the IT field.