VUsolutions Transferred to AchiKhasi.com

From December 2011, this blog www.VUsolutions.blogspot.com is transferred to http://achikhasi.com/vu/ . So, you may visit http://achikhasi.com/vu/ for latest study related help.

Back to home VUsolutions

VUsolutions Fans Club [join us for MORE solutions]

VUsolutions on Facebook

CS201 VU Midterm Current Paper (May 2011)

Friday, May 13, 2011 Posted In Edit This
CS201

1)Differentiate between Random access and Sequential access 5marks

2)Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0. 5marks
Another:

 cs201 exam half hour before.

objective may say kuch bata deta hoo jo aya tha mujhay;

-    C-language kis labortary may invent hoi.
-
    C is widely known as development language of _______ operating system.
        Linux
        Windows
        Unix
        Mac OS

-     What will be the result of arithmetic expression 6+27/3*3?
        33
        45
        9
        30

-     What will be the correct syntax for initialization of pointer ptrwith string "programming"?

        char ptr = 'programming' ;

        char *ptr = "programming" ;

        char *ptr = 'programming' ;

        *ptr = "programming" ; 

-     Which character is inserted at the end of string to indicate the end of string?

        new line


        tab

        null

        carriage return 

-     ek question that like variable say related jis ki option kuch is tarah say the;

int (i)
int [2]

and subjective may say;

Q1-    Write down the output of the following code?

int array[7], sum = 0;
    for(int i=0;i<7;i++)
    {
    array[i] = i;
    sum+= array[i];
}
    cout<< " Sum = " <<sum;   

Q2-     Explain C-String with an example?

Q3-     anonymous structure and anonymous union k baray likhain?
Q4-     2 question practical related thay jis may code dya gya tha us ko theek kerna tha
geek ki option say.

Back to home VUsolutions

Shaadi.com: Just create ur account & find ur partner or EARN money, its reall & EASY

VUsolutions Followers (Join NOW and Get Extra Benefits)

Install LATEST toolbar having lot of features - GET solutions on Desktop

toolbar powered by Conduit
Caliplus 300x250 NoFlam VitoLiv 468x60 GlucoLo