Tuesday, February 27, 2018

Most Useful Fullforms For Datawarehoousing And Data Mining

DWDM stands for datawarehoousing and data mining

OLTP stands for online transactional process

DSS stands for decision support system

DM  stands for data mart

DWA stands for data warehouse administrator

OLAP stands for online analytical processing

ROLAP stands for relational online analytical processing

MOLAP stands for multidimensional online analytical processing

HOLAP stands for hybrid online analytical processing

ETL stands for extraction, transforming and loading

KDD stands for knowledge discovery database

DIC stands for dynamic itemset counting

WEKA stands for waikato environment for knowledge analysis

CSV comma separated value

ARFF stands for attribute relation file format

CART stands for classification and regression tree

CHAID stands for CHI-squared automatic interaction detector.

IMD stands for information management system

VSAM stands for virtual storage access method

ISAM stands for sequential access method

Monday, February 26, 2018

Android IMP Fullforms

AVD Stands for Android virtual Device

OHA stands for open handset alliances

DVM stands for dalvik virtual machine

IDE stands for Integrated Development environment

HAL stands for hardware abstraction layer

APK stands for Android application package

NFC stands for near field communication

DDMS stands for dalvik debug monitor service

UI stands for user interface

GPS standa for global positioning services

MVC stands for model view and controller

JSON stands for javascript object notation

LBS stands for location based services

SDK stands for software development kit

JVM stands for java development machine

GNSS Stands for global navigation satellite system

Sunday, February 25, 2018

How To Create Backup In SQL Server

1 Copy Only Backup

Syntax:-


          Backup Database Database Name To Disk ='Path' With Copy_Only;

Example:-


         Backup Database College To Disk ='F:\Bb\College.Bak'WITH COPY_ONLY;

2 Full Backup

Syntax:-


          Backup Database Database Name To Disk ='Path' With Format;

Example:-


          Backup Database College To Disk ='F:\Bb\College1.Bak'WITH Format;

Viva Questions For Android


 1 What Is Android ?


          Android Is Linux Based Operating System For Mobile Devices Such As Tablet Computers And Smartphones.
         

2 Different Between IOS And Android.


          Android Os:-

The Android Os By Google Is The Most Widely Used Platform For Smartphones And Tablets       On     The Market. It Was Introduced As A Collaborative Effort From The Open Handset Alliance (OHA), A Unit That Comprises Companies Such As Google, Htc, Sony, Dell, Samsung, Lg, T-Mobile, Motorola, And Many Others. This Is One Of The Reasons Smartphones From These Companies Are Released With The Android Os.
                            

          Apple IOS:-

Apple Has Enjoyed Much Success With Its Devices, As Each One Seems To Outsell The Previous Version. Since The Introduction Of Its First Touchscreen Device In 2007, Apple Devices Have Revolutionized The Mobile Phone Industry And Set The Bar High For Other Devices. The Ios Introduced With The First Iphone Now Operates On Ipods And Ipads As Well.

3 What Is The Use Of Manifeast File ?


The Answer Is The Jar File's Manifest. The Manifest Is A Special File That Can Contain Information About The Files Packaged In A Jar File. By Tailoring This "Meta" Information That The Manifest Contains, You Enable The Jar File To Serve A Variety Of Purposes.                      
                            

4 How Many Types Of Layout In Android ?


1        Linear Layout


Linear layout Is A View Group That Aligns All Children In A Single Direction, Vertically Or Horizontally.

2        Relative Layout


Relative layout Is A View Group That Displays Child Views In Relative Positions.

3        Table Layout


Table layout Is A View That Groups Views Into Rows And Columns.

4        Absolute Layout


Absolute layout Enables You To Specify The Exact Location Of Its Children.

 5        Frame Layout


The Frame layout Is A Placeholder On Screen That You Can Use To Display A Single View.


5 What Is Full Form Of APK ?


APK Stands For Android Application Package.

6 What Is Full Form Of DDMS ?


DDMS Stands For Dalvik Debug Monitor Service.

7 What Is R File ?


R.Java File Is An Auto-Generated File By AAPT (Android Asset Packaging Tool) That Contains Resource Ids For All The Resources Of Res/ Directory. When You Create Any Component In The Xml File, Id For The Corresponding Component Is Automatically Created In This File.

8 What Is Fragment ?


A Fragment Is Usually Used As Part Of An Activity's User Interface And Contributes Its Own Layout To The Activity. To Provide A Layout For A Fragment, You Must Implement The Oncreateview() Callback Method, Which The Android System Calls When It's Time For The Fragment To Draw Its Layout.

9 What Is Service ?


Service Is A Component That Is Used To Perform Operations On The Background Such As Playing Music, Handle Network Transactions, Interacting Content Providers Etc. It Doesn't Has Any UI (User Interface). The Service Runs In The Background Indefinitely Even If Application Is Destroyed.

10 What Is Toast Message ?


 A Toast Contains Message To Be Displayed Quickly And Disappears After Sometime. The Android.Widget.Toast Class Is The Subclass Of Java.Lang.Object Class. You Can Also Create Custom Toast As Well For Example Toast Displaying Image.

 11 What Is Intent ?


 Intents Are Objects Of The Android.Content.Intent Type. Your Code Can Send Them To The Android System Defining The Components You Are Targeting. For Example Via The Startactivity() Method You Can Define That The Intent Should Be Used To Start An Activity. An Intent Can Contain Data Via A Bundle.

Viva Questions For Data Warehouseing And Datamining



1 DWDM Stands For Data Warehouseing And Datamining.

2 ETL Stands For Extract Transform And Load.

3 TPS Stands For Transaction Processing System.

4 MIS Stands For Management Information System.

5 OLTP V/S OLAP

  OLTP :-  OLTP Stands For Online Transaction Processing.

  OLAP   :-  OLAP Stands For Online Analytical Processing.

6 What Is Data Warehouse?

A Data Warehouse Is A Federated Repository For All The Data That An Enterprise's Various Business Systems Collect. The Repository May Be Physical Or Logical.

7 What Is Data Mining?

Data Mining Is The Process Of Sorting Through Large Data Sets To Identify Patterns And Establish Relationships To Solve Problems Through Data Analysis. Data Mining Tools Allow Enterprises To Predict Future Trends.

8 ETL Process In Warehousing.

Extraction Of Data

During Extraction, The Desired Data Is Identified And Extracted From Many Different Sources, Including Database Systems And Applications. Very Often, It Is Not Possible To Identify The Specific Subset Of Interest, Therefore More Data Than Necessary Has To Be Extracted, So The Identification Of The Relevant Data Will Be Done At A Later Point In Time. Depending On The Source System's Capabilities (For Example, Operating System Resources), Some Transformations May Take Place During This Extraction Process. The Size Of The Extracted Data Varies From Hundreds Of Kilobytes Up To Gigabytes, Depending On The Source System And The Business Situation. The Same Is True For The Time Delta Between Two (Logically) Identical Extractions: The Time Span May Vary Between Days/Hours And Minutes To Near Real-Time. Web Server Log Files, For Example, Can Easily Grow To Hundreds Of Megabytes In A Very Short Period Of Time.

Transportation Of Data

After Data Is Extracted, It Has To Be Physically Transported To The Target System Or To An Intermediate System For Further Processing. Depending On The Chosen Way Of Transportation, Some Transformations Can Be Done During This Process, Too. For Example, A SQL Statement Which Directly Accesses A Remote Target Through A Gateway Can Concatenate Two Columns As Part Of The SELECT Statement.

The Emphasis In Many Of The Examples In This Section Is Scalability. Many Long-Time Users Of Oracle Database Are Experts In Programming Complex Data Transformation Logic Using PL/SQL. These Chapters Suggest Alternatives For Many Such Data Manipulation Operations, With A Particular Emphasis On Implementations That Take Advantage Of Oracle's New SQL Functionality, Especially For ETL And The Parallel Query Infrastructure.

9 What Is The CRISP-DM ?

CRISP-DM Stands For Cross-Industry Process For Data Mining. The CRISP-DM Methodology Provides A Structured Approach To Planning A Data Mining Project. It Is A Robust And Well-Proven Methodology. We Do Not Claim Any Ownership Over It. We Did Not Invent It. We Are However Evangelists Of Its Powerful Practicality, Its Flexibility And Its Usefulness When Using Analytics To Solve Thorny Business Issues. It Is The Golden Thread Than Runs Through Almost Every Client Engagement. The CRISP-DM Model Is Shown On The Right.

This Model Is An Idealised Sequence Of Events. In Practice Many Of The Tasks Can Be Performed In A Different Order And It Will Often Be Necessary To Backtrack To Previous Tasks And Repeat Certain Actions. The Model Does Not Try To Capture All Possible Routes Through The Data Mining Process.

You Can Jump To More Information About Each Phase Of The Process Here:

Business Understanding
Data Understanding
Data Preparation
Modeling
Evaluation
Deployment


Sunday, February 18, 2018

How To Build Android Rating bar Example In Eclips

This Is A Simple Example For How To  Build Rating bar in Android............


Following Are The Example.....


[1] Ratingbarctivity.java File


package com.dvp.rat;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RatingBar;
import android.widget.Toast;

public class RaringbarActivity extends Activity {
    /** Called when the activity is first created. */
RatingBar r;
Button b;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        r=(RatingBar)findViewById(R.id.ratingBar1);
        b=(Button)findViewById(R.id.button1);
        b.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
String rat= String.valueOf(r.getRating());
Toast.makeText(getApplicationContext(),rat, 2).show();
}
});
        
    }
}


[2] Main.xml File


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:text="@string/hello"
    />
<RatingBar android:id="@+id/ratingBar1" android:layout_width="wrap_content" android:layout_height="wrap_content"></RatingBar>
<Button android:text="Rate It" android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content"></Button>
</LinearLayout>

Thursday, February 15, 2018

Weka Data Mining Tutorial for First Time & Beginner User

This Video Is About How To Use Weka For Data Mining Process.
 And How To Create .csv File And .arff File For Weka ......





Simple How To Put Email Validation In HTML 5

In Below Code Is About Put Validation In HTML 5

required="required"

 pattern="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"

title="please enter proper email"

Tuesday, February 13, 2018

Monday, February 12, 2018

Simple Build How To Read And Write File In Android

In This Example We See How To Read And Write File In Android With The Use
of SharedPrefrence.

In This I Tack Following Controls.

1. Two Button
2.One Edittext
3. One Textview

Following Are The Code For Read And Write File In Android....


[1] Mainactivity.java

package com.demo.file;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;

import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Environment;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;

public class FilehandlingdemoActivity extends Activity
{
String FileName = "datafile";
Button save,read;
EditText e1;
TextView t1;
String name;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        save =(Button)findViewById(R.id.sbtn);
        read=(Button)findViewById(R.id.rbtn);
        e1=(EditText)findViewById(R.id.editText1);
        t1=(TextView)findViewById(R.id.textView1);
        save.setOnClickListener(new View.OnClickListener()
 {

public void onClick(View v)
 {
// TODO Auto-generated method stub

saveFile();

}


}
);
        read.setOnClickListener(new View.OnClickListener()
 {

public void onClick(View v)
 {
// TODO Auto-generated method stub
readFile();
}


}
);
     
    }
    private void saveFile()
    {
// TODO Auto-generated method stub
    String strname= e1.getText().toString();
    SharedPreferences sp = getSharedPreferences(FileName, Context.MODE_PRIVATE);
    SharedPreferences.Editor e= sp.edit();
    e.putString("name", strname);
    e.commit();
    Toast.makeText(this, "Data Save Successfully", Toast.LENGTH_SHORT).show();
}
    private void readFile()
 {
// TODO Auto-generated method stub
    SharedPreferences sp = getSharedPreferences(FileName, Context.MODE_PRIVATE);
    String defaultvalue ="defaultname";
    String name= sp.getString("name", defaultvalue);
    t1.setText(name);
    Toast.makeText(this,"Data:"+name, Toast.LENGTH_SHORT).show();


}
}

How To Read And Write File In Android


[2] Main.xml File

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/hello"
    />
<EditText android:id="@+id/editText1" android:layout_height="wrap_content" android:layout_width="match_parent">
    <requestFocus></requestFocus>
</EditText>
<LinearLayout android:id="@+id/linearLayout1" android:layout_height="wrap_content" android:layout_width="match_parent" android:orientation="vertical">
    <Button android:id="@+id/rbtn" android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="read"></Button>
    <Button android:text="save" android:id="@+id/sbtn" android:layout_width="wrap_content" android:layout_height="wrap_content"></Button>
</LinearLayout>
<TextView android:text="TextView" android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>


</LinearLayout>


How To Read And Write File In Android


Following Are The Output Of Above Program


Output:-

How To Read And Write File In Android

How To Read And Write File In Android



Saturday, February 10, 2018

What Is Storage API In Android PPT

Storage API In Android
 
•Shared preferences
•Internal storage
•External storage
•SQLite  Database
•Network connection





Download Here PPT

Tuesday, February 6, 2018

How To Upload Only Image File In Asp.net c#

Upload Only Image File In Asp.net

First Of All 
We Need Three controls

FileUpload

RequiredFieldValidator

RegularExpressionValidator



<asp:FileUpload ID="image" class="lbl" runat="server" Width="160px" />

                        
<asp:RequiredFieldValidator
 ID="RequiredFieldValidator10"
 runat="server" 
ControlToValidate="image"
 ValidationGroup="register"
 ErrorMessage="*">
</asp:RequiredFieldValidator>
                         
<asp:RegularExpressionValidator
 ID="RegularExpressionValidator2"
 ForeColor="red" 
ControlToValidate="image"
 runat="server"
 ErrorMessage="Select valid Image "
 ValidationExpression="([a-zA-Z0-9\s_\\.\-:])+(.png|.jpg|.gif)$">
</asp:RegularExpressionValidator>

Generate Even Numbers in a Range In PHP.

$start = 1; $end = 20; for ($i = $start; $i <= $end; $i++) {     if ($i % 2 == 0) {         echo $i . " is even.<br>";   ...