Saturday 30 July 2016

Smart Phone Impact on compter

cbse-ugc-net-paper-i-solved-july-2016-p5

50. A person walks 10 m infront and 10 m to the right. Then every time turning to his left, he walks 5, 15 and 15 m respectively. How far is he now from his starting point?
(1) 20 m             (2) 15 m
(3) 10 m             (4) 5 m
Answer : 4

51. A is sister of B. F is daughter of G. C is mother of B. D is father of C. E is mother of D. A is related to D as
(1) Grand daughter     (2) Daughter
(3) Daughter-in-law    (4) Sister
Answer : 1

Friday 29 July 2016

January, 2013 M4.1-R4: APPLICATION OF .NET TECHNOLOGY

January, 2013
M4.1-R4: APPLICATION OF .NET TECHNOLOGY

NOTE:

1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and
PART TWO contains FIVE questions.
2. PART ONE is to be answered in the TEAR-OFF ANSWER SHEET only, attached to the
question paper, as per the instructions contained therein. PART ONE is NOT to be answered in the
answer book.
3. Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be
supplied at the table when the answer sheet for PART ONE is returned. However, candidates, who
complete PART ONE earlier than one hour, can collect the answer book for PART TWO
immediately after handing over the answer sheet for PART ONE.

TOTAL TIME: 3 HOURS                                                                    TOTAL MARKS: 100

(PART ONE – 40; PART TWO – 60)

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “tear-off” answer sheet attached to the question paper,following instructions therein. (1x10)

1.1 Which of the following statements is incorrect about delegate?
A) Delegates are reference types
B) Delegates are object oriented
C) Delegates serve the same purpose as function pointers in C and pointers to member
function operators in C++
D) Only one method can be called using a delegate.

Wednesday 27 July 2016

Vb Net Dynamic Array Tutorial

Vb .Net Dynamic Array Program

dynamic array vb.net

Public Class Form1
    Dim ar As New ArrayList, a As Integer
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Vb Net One Dimentional array

VB.NET One Dimentional  Array

        Dim ar(4) As Integer
        For i = 0 To 4
            Console.Write("Enter {0} 'st number>> ", i + 1)
            ar(i) = Val(Console.ReadLine())
        Next
        For i = 0 To 4
            Console.Write(" {0},", ar(i))
        Next

More Example

C Sharp Visibility Mode Tutorial

C# Visibility Mode Program

class test
    {
         int a;
        protected int b;
        public test(int a,int b)
        {
            this.a = a;
            this.b = b;
        }
        public test()
        {

C Sharp Interface Tutorial

C# Interface Program

/* Error Code Attemt to multiple inheritance
     class a
    {
    }
    class b
    {
    }
    class c:a :b

C Sharp Inheritance Tutorial

C# Inheritance Program 

 class test
    {
       
        public void show()
        {
            Console.WriteLine("\nTest Calss");
        }
    }

C Sharp Constructure Inheritance Tutorial

C# Constructure Inheritance Program 

class test
    {
        int a, b;
        public test(int x,int y)
        {
            a = x;
            b = y;
        }

C Sharp Copy Constructure Tutorial

C# Copy Constructure Program

class test
    {
        String nm1, nm2;
        public test(string nm1, string nm2)
        {
            this.nm1 = nm1;
            this.nm2 = nm2;
        }
        public test(test ob) //Copy C

C Sharp Constructure Tutorial

C# Constructure Program 

 class test
    {
        int a, b;
       
        public test(int x,int y)
        {
            a = x;
            b = y;
        }
        public test(int x)
        {
            a = b = x;

C Sharp Overriding Tutorial

C# Overriding Program

 class test
    {
        public void show()
        {
            Console.WriteLine("\nInside of test class\n");
        }
    }
    class best : test

C Sharp Properties Tutorial

C# Properties Program

 class test
    {
        int x;
        public int setX
        {
            get
            {
                return x;
            }
            set
            {

C Sharp String Tutorial

C# String Tutorial

 class Program
    {
        static void Main(string[] args)
        {
            String str;
            Console.Write("Enter your string>> ");
            str = Console.ReadLine();

C Sharp Function Overload

C# Function Overload

class test
{
        public void sum()
        {
            int a, b, c;
            Console.Write("Enter first number>> ");
            a = int.Parse(Console.ReadLine());
            Console.Write("Enter second number>> ");
            b = int.Parse(Console.ReadLine());
            c=a+b;
            Console.Write("\nA={0}\nB={1}\nSum={2}",a,b,c);
        }

C Sharp This pointer tutorial

C# This pointer tutorial

class test
    {
        int x, y;
        public test(int x, int y)
        {
            this.x = x;
            this.y = y;

C Sharp Static Class Tutorial

C# Static Class Tutorial

class testmath
    {
        public static int sum(int a, int b)
        {
            return a + b;
        }
        public static Boolean prime(int a)
        {
            int b;
            for (b = 2; b < a; b++)
            {
                if (a % b == 0)
                    break;

C Sharp Delegate

C# Delegate 

A delegate is a simple class that is used to point to methods with a specific signature, becoming essentially a type-safe function pointer.
If you have a C++ background then  thinking of them as function pointers is helpful
A delegate can be seen as a placeholder for a/some method(s).
By defining a delegate, you are saying to the user of your class 
"Please feel free to put any method that match this signature here and it will be called each time my delegate is called".
class Program
    {
        delegate int mathop(int n, int m);//funtion pointer
        public  static int sum(int a, int b)
        {
            return a + b;
        }
        public  static int multi(int a, int b)
        {
            return a * b;
        }

C Sharp Class Basics Tutorial

C# Class Basics Tutorial

class student
    {
        int roll;
        string name;
        string city;
        public void setdata(int r, string n, string c)
        {
            roll = r;
            name = n;
            city = c;

C Sharp Variable Scope

C# Variable Scope

class Program
    {
        static void Main(string[] args)
        {
            int n = 10;
            {
                int m = 20;
                {
                    int p = 30;
                    Console.WriteLine("N={0}\nM={1}\nP={2}", n, m, p);
                }