Saturday 13 August 2016

UGC Net Computer Science Paper 3 July-16 Page 3

21. Which of the following is false regarding the evaluation of computer programming language?
(1) Application oriented feature
(2) Efficiency and readability
(3) Software Development
(4) Hardware maintenance cost
Answer : 1

Wednesday 10 August 2016

PHP Associative Array


An associative array is little bit different from regular array as in c and many language.

An array is a collection of similar data type which can be read by index

i.e. ar[8] here 8 is an index

In Associative array a key is used instead of index for getting array element. Key must be unique otherwise you can’t get all elements uniquely following code implement this logic

Tuesday 9 August 2016

Collection in C Sharp

/ Create a list of strings.
            var ob = new List<string>();
            ob.Add("Girfa");
            ob.Add("Student");
            ob.Add("Help");
            ob.Add("Blogger");

Indexers C Charp

class IndexeCls
    {
        private string[] namelist = new string[size];
        static public int size = 3;
        public IndexeCls()
        {
            for (int i = 0; i < size; i++)
                namelist[i] = "N. A.";
        }