Tuesday 30 June 2015

MCQ Question Artificial Intellegence (AI),Java,CCC,Data Structure(DS),UML,DCN,SSAD,HTML,DBMS,VB6.0,VB.Net

Online Test


MCQ Artificial Intelligence (AI)

Get 1000 MCQ list on AI on various Topics
Click to download AI MCQ

MCQ Core - Java

Get 1000 MCQ list on AI on various Topics
Click to download 1000 Java MCQ

MCQ CCC

 Get more than 500 questions  set
Click to download CCC MCQ
Set-1

Saturday 27 June 2015

Information and communications technology,G2C,G2B,G2G,G2E,e-Governance,e-Government


Information and communications technology

Information and communications technology (ICT) is often used as an extended synonym for information technology (IT), but is a more specific term that stresses the role of unified communications and the integration of telecommunications (telephone lines and wireless signals), computers as well as necessary enterprise software, middleware, storage, and audio-visual systems, which enable users to access, store, transmit, and manipulate information.

The term ICT is also used to refer to the convergence of audio-visual and telephone networks with computer networks through a single cabling or link system. There are large economic incentives (huge cost savings due to elimination of the telephone network) to merge the telephone network with the computer network system using a single unified system of cabling, signal distribution and management.

Friday 26 June 2015

CPU central processing unit

A central processing unit (CPU) is the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logical, control and input/output (I/O) operations specified by the instructions. The term has been used in the computer industry at least since the early 1960s. Traditionally, the term "CPU" refers to a processor, more specifically to its processing unit and control unit (CU), distinguishing these core elements of a computer from external components such as main memory and I/O circuitry.

Tuesday 16 June 2015

Java Script Tutorial



Loop

A loop describes the process of a software program or script repeats the same instructions or processes the same information over and over until receiving the order to stop. If not handled properly a loop can cause the computer to become slower as it becomes overwhelmed with having to repeat the same steps over and over causing it to get stuck in an endless loop. 

Print A Table Using While Loop

<html>
<head>
      <script language="javascript">
      function table()
      {
         
  

Friday 29 May 2015

Insert bullets in a worksheet

Unlike Microsoft Word, Excel does not provide a button to create a bulleted list in text. However, there are several ways that you can add bullets to a worksheet in Excel.


Insert a bullet symbol into a cell


To quickly add a bullet symbol to a cell, double click in the cell where you want to add your bullet symbol, and then press ALT+7 or ALT+9 using the numeric keypad on your keyboard.

Wednesday 6 May 2015

Sorting

Bubble Sort


#include<stdio.h>
#include<conio.h>
void main()
{
int ar[5],i,j,flag,tmp;
clrscr();
for(i=0;i<5;i++)
{
printf("Enter Number>> ");
scanf("%d",&ar[i]);
}
printf("\n\tOriginal Array\n");
for(i=0;i<5;i++)
{
printf("\t%d",ar[i]);
}
for(i=0;i<5;i++)
{
flag=0;
for(j=0;j<5;j++)
{
if(ar[j]>ar[j+1])
{
tmp=ar[j+1];
ar[j+1]=ar[j];
ar[j]=tmp;
flag=1;
}
}

Thursday 30 April 2015

Classification of Computers

Computers differ based on their data processing abilities. They are classified according to purpose, data handling and functionality.

According to purpose, computers are either general purpose or specific purpose. General purpose computers are designed to perform a range of tasks.

They have the ability to store numerous programs, but lack in speed and efficiency. Specific purpose computers are designed to handle a specific problem or to perform a specific task. A set of instructions is built into the machine.

According to data handling, computers are analog, digital or hybrid. Analog computers work on the principle of measuring, in which the measurements obtained are translated into data. Modern analog computers usually employ electrical parameters, such as voltages, resistances or currents, to represent the quantities being manipulated. Such computers do not deal directly with the numbers. They measure continuous physical magnitudes. Digital computers are those that operate with information, numerical or otherwise, represented in a digital form. Such computers process data into a digital value (in 0s and 1s). They give the results with more accuracy and at a faster rate. Hybrid computers incorporate the measuring feature of an analog computer and counting feature of a digital computer. For computational purposes, these computers use analog components and for storage, digital memories are used.


According to functionality, computers are classified as :

Monday 20 April 2015

Cookies Using ASP.net

Cookies Project Screen Shot


  Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim sc As New HttpCookie("demo")
        sc.Value = TextBox1.Text
        sc.Expires = DateTime.Now.AddMinutes(1)
        Response.Cookies.Add(sc)
    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        Label1.Text = Request.Cookies("demo").Value
    End Sub

Saturday 18 April 2015

Captcha Using ASP.Net

There is much technical logic to make captcha I am not expert and deep technical but I have tricks that make me able to make captcha. My logic is simple; Make some static image with alphanumeric character. You can change the text shape using photoshop. After creating image add image text into database with an id, generate random number and match it with database id field then fetch image text value and matched its value form user value provide by text box. Following images and code are example of my logic. Enjoy it !

    




Tuesday 3 March 2015

Connect Microsoft Excel 2003,Excel 2007 with VB6.0

Thursday 26 February 2015

VB 6.0 Tutorial

Numeric Text Box in VB6.0

Private Sub Text1_KeyPress(KeyAscii As Integer)
    Select Case KeyAscii
      Case vbKey0 To vbKey9
      Case vbKeyBack, vbKeyClear, vbKeyDelete
      Case vbKeyLeft, vbKeyRight, vbKeyUp, vbKeyDown, vbKeyTab
      Case Else
        KeyAscii = 0
        Beep
    End Select
End Sub

Wednesday 11 February 2015

Java Script Ineresting Programming

Divison Movement using Java Script

Divison is HTML tag which we used as an accumulater for other HTML control. We can apply many thing dynamicaly on a webpage using divison. Here I have write some text in divison and some css which made my divison more attractive . I have made display propety absolute which make me able to change its position using java script function, for implement timer like functionality which calls function continously using setTimeOut function and result is front of you.


<html>
<title>Girfa : Student Help</title>
<head>
<script language="javascript">  
    var i=0;
    function img_move()
    {                        
         var ob=document.getElementById('s1');
         i=parseInt(ob.style.top);
         i=i+5;
         ob.style.top=i+'px';       
         if(s1.style.top=='100px')
         {
        
            i=10;
             ob.style.top=i+'px';
         }
         s=setTimeout("img_move()",100);
     }
</script>
</head>
<body onload="img_move()">

Wednesday 4 February 2015

How to make Hindi website

भाषा एक ऐसा माध्यम है। जिससे मनूष्य एक दूसरे से बात चीत करता है। दूनिया में कई तरीके की भाषायें उपयोग होती है। अगर भारत की बात करें, तो हिन्दी, यहाॅ सबसे ज्यादा उपयोग कि जाती है। इस लिए आज वेबसाईट हिन्दी में बनाने की जरुरत होती है। हिन्दी में बेवसाईट बनाना बहूत आसान हैं, आप अपना कन्टेन हिन्दी में क्रर्तिदेव फॅान्ट का उपयोग करके लिख ले, और आॅनलाईन इस फाॅन्ट को यूनिक को में बदलले ।
यूनिक कोड को सारे ब्राडज़्ार सपोर्ट करते है। इसलिए आप इसे किसी भी वेबपेज पर उपयोग कर सकते हे।  

Saturday 31 January 2015

Visual Basic 6.0 Graphics

In Visual Basic 6.0, various graphics methods and properties are used to draw on a Form or PictureBox control. Graphics in Visual Basic 6.0 are based on the Windows Graphics Device Interface (GDI) APIs.

Drawing Hut Using Line (VB6.0)



Private Sub Command1_Click()
   
    Me.Line (5000, 9000)-(5000, 5500)
    Me.Line (5000, 5500)-(6500, 3500)

Sunday 28 December 2014

UGC Net Answer Key December 2014

Thursday 11 December 2014

Visual Basic .Net Window Programming

Horizontal and Vertical Scroll Bar,Numeric Scroll Bar,Progress Bar and Domain Name Scroll Bar Demo


Public Class Form1

    Dim i As Integer

    Private Sub VScrollBar1_Scroll_1(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles VScrollBar1.Scroll
        lblR.Text = VScrollBar1.Value
        Me.BackColor = Color.FromArgb(VScrollBar1.Value, VScrollBar2.Value, VScrollBar3.Value)
    End Sub

Thursday 4 December 2014

C# Window Programming


Combo Box

A combo box is a commonly used graphical user interface widget (or control). Traditionally, it is a combination of a drop-down list or list box and a single-line editable textbox, allowing the user to either type a value directly or select a value from the list. The term "combo box" is sometimes used to mean "drop-down list". In both Java and .NET, "combo box" is not a synonym for "drop-down list". Definition of "drop down list" is sometimes clarified with terms such as "non-editable combo box" (or something similar) to distinguish it from "combo box".


Thursday 27 November 2014

C# Basic Concept and Tutorial

Static Classes

A class can be declared static, which indicates that it contains only static members. It is not possible to use the new keyword to create instances of a static class. Static classes are loaded automatically by the .NET Framework common language runtime (CLR) when the program or namespace that contains the class is loaded.
Use a static class to contain methods that are not associated with a particular object. For example, it is a common requirement to create a set of methods that do not act on instance data and are not associated to a specific object in your code. You could use a static class to hold those methods.
Following are the main features of a static class:
·         They only contain static members.
·         They cannot be instantiated.
·         They are sealed.
·         They cannot contain Instance Constructors (C# Programming Guide).
Creating a static class is therefore basically the same as creating a class that contains only static members and a private constructor. A private constructor prevents the class from being instantiated.
The advantage of using a static class is that the compiler can check to make sure that no instance members are accidentally added. The compiler will guarantee that instances of this class cannot be created.
Static classes are sealed and therefore cannot be inherited. They cannot inherit from any class except Object. Static classes cannot contain an instance constructor; however, they can have a static constructor. For more information

Static Members

A static method, field, property, or event is callable on a class even when no instance of the class has been created. If any instances of the class are created, they cannot be used to access the static member. Only one copy of static fields and events exists, and static methods and properties can only access static fields and static events. Static members are often used to represent data or calculations that do not change in response to object state; for example, a math library might contain static methods for calculating sine and cosine.
Static methods can be overloaded but not overridden.
Static class members are declared by using the static keyword before the return type of the member, for example:

Wednesday 26 November 2014

C# Programming Practical Questions


Question : Write a program which accept input of full path of a file and produce following output?
Input : C:/Users/Public/Pictures/SamplePictures/Desert.jpg
Output :
Extension : jpg
File Name : Desert
Path : C:/Users/Public/Pictures/SamplePictures


Solution :


import java.util.*;
public class Main
{


       public static void main(String[] args)
    {
        String str;
        Scanner sc=new Scanner(System.in);
        System.out.print("Enter your name>> ");
        str=sc.nextLine();


        int ep,sp;
        ep=str.indexOf(".");
        sp=str.lastIndexOf("\\");
        System.out.print("\nExtention  is "+str.substring(ep+1,str.length()));
        System.out.println("\nFile Name is "+str.substring(sp+1,ep));
        System.out.println("\npath is "+str.substring(0,sp));




    }
}



C# Tutorial and Notes

Static Classes

A class can be declared static, which indicates that it contains only static members. It is not possible to use the new keyword to create instances of a static class. Static classes are loaded automatically by the .NET Framework common language runtime (CLR) when the program or namespace that contains the class is loaded.
Use a static class to contain methods that are not associated with a particular object. For example, it is a common requirement to create a set of methods that do not act on instance data and are not associated to a specific object in your code. You could use a static class to hold those methods.
Following are the main features of a static class:
·         They only contain static members.
·         They cannot be instantiated.
·         They are sealed.
·         They cannot contain Instance Constructors (C# Programming Guide).
Creating a static class is therefore basically the same as creating a class that contains only static members and a private constructor. A private constructor prevents the class from being instantiated.
The advantage of using a static class is that the compiler can check to make sure that no instance members are accidentally added. The compiler will guarantee that instances of this class cannot be created.
Static classes are sealed and therefore cannot be inherited. They cannot inherit from any class except Object. Static classes cannot contain an instance constructor; however, they can have a static constructor. For more information

Static Members

A static method, field, property, or event is callable on a class even when no instance of the class has been created. If any instances of the class are created, they cannot be used to access the static member. Only one copy of static fields and events exists, and static methods and properties can only access static fields and static events. Static members are often used to represent data or calculations that do not change in response to object state; for example, a math library might contain static methods for calculating sine and cosine.
Static methods can be overloaded but not overridden.
Static class members are declared by using the static keyword before the return type of the member, for example: