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 online quiz

Tuesday, May 11, 2010 Posted In Edit This
Quiz Start Time: 09:13 PM
Time Left 71
sec(s)
Question # 1 of 10 ( Start time: 09:13:05 PM ) Total Marks: 1
The statement cout << yptr will show the __________the yptr points to.
Select correct option:
Value
memory address
Variable
None of the given







Quiz Start Time: 09:13 PM
Time Left 55
sec(s)
Question # 2 of 10 ( Start time: 09:14:27 PM ) Total Marks: 1
The increment of a pointer depends on its___________.
Select correct option:
variable
value
data type
None of the given






Quiz Start Time: 09:13 PM
Time Left 78
sec(s)
Question # 3 of 10 ( Start time: 09:15:22 PM ) Total Marks: 1
dereferencing operator is represented by _______
Select correct option:
*
+

None of the given






Quiz Start Time: 09:13 PM
Time Left 51
sec(s)
Question # 4 of 10 ( Start time: 09:15:55 PM ) Total Marks: 1
Pointers store the ____________________
Select correct option:
value of a variable
memory address
characters
None of the given






Quiz Start Time: 09:13 PM
Time Left 57
sec(s)
Question # 5 of 10 ( Start time: 09:16:42 PM ) Total Marks: 1
In C-language the string “AZMAT” is equal to______________
Select correct option:
Azmat
azmat
AZMAT
None of the given






Quiz Start Time: 09:13 PM
Time Left 33
sec(s)
Question # 6 of 10 ( Start time: 09:17:28 PM ) Total Marks: 1
Pointers are a special type of __________in which a memory address is stored
Select correct option:
variables
Location
Characters
None of the given






Quiz Start Time: 09:13 PM
Time Left 81
sec(s)
Question # 7 of 10 ( Start time: 09:18:50 PM ) Total Marks: 1
suppose we have int y[10]; To access the 4th element of the array we write_________
Select correct option:
y[4];
y[3];
y[2];
none of given






Quiz Start Time: 09:13 PM
Time Left 42
sec(s)
Question # 8 of 10 ( Start time: 09:19:19 PM ) Total Marks: 1
In Analysis, we try to have a______________
Select correct option:
Determined the inputs
Break up of problem
Precise problem statement
None of the given






Quiz Start Time: 09:13 PM
Time Left 74
sec(s)
Question # 9 of 10 ( Start time: 09:20:14 PM ) Total Marks: 1
From the following; which on is the correct syntax of an array declaration: array size is 5 and it is of float data type?
Select correct option:
float [5] name;
name[5] float;
float name[5];
None of the given options






Quiz Start Time: 09:13 PM
Time Left 84
sec(s)
Question # 10 of 10 ( Start time: 09:20:38 PM ) Total Marks: 1
_________ Keyword is used to return some value from a function.
Select correct option:
break
return
continue
goto
............
suppose we have int y[10]; To access the 4th element of the array we write_______


y[4];
y[3];
y[2];
none of given

From the following; which one is the range of Random number generator function rand()?

0 – 32768
1 – 32768
0 – 32767
1 – 32767

From following; which one is the correct syntax of an array initialize: Array size is 10 and it is of double data type to value 0?

arr[10] = {0.0};
double arr[10]= 0.0;
double arr[10] = {0.0};
double arr[] = 0.0;

The string in the array is terminated by a _____

zero
nil
null
one




In C/C++; by default arguments are passed by _____ to a function.

Reference
Value
Type
Data

1
char name [] = “Hello World” ; In the above statement, a memory of _______ characters will be allocated


13
11
12
10
_______ Keyword is used to return some value from a function.


break
return
continue
goto

Which of the function call is call by value for the following function prototype? float add(int);

add(&x);
add(x);
add(int x);
add(*x);

The increment of a pointer depends on its_________.

variable
value
data type
None of the given


The ASCHI code of null character is_________


000
010
111
110

Pointers are a special type of __________in which a memory address is stored
Select correct option:
variables
Location
Characters
None of the given



Transpose of a matrix means that when we interchange rows and columns_____________
Select correct option:
the first row becomes the Last column
the first row becomes the first column
the Last row becomes the first column
the first column becomes the first row

Pointers store the ____________________
Select correct option:
value of a variable
memory address
characters
None of the given

Which of the following function call is “call by reference” for the following function prototype? int add (int *);
Select correct option:
add(&x);
add(int x);
add(x);
add(*x);

The name of the array is a constant pointer which contains the memory address of the ____________of the array.
Select correct option:
first element
Last element
second element
None of the given

array name always contains the memory address of the ___________of the array
Select correct option:
entire elements
last element
first element
None of the given


At the___________, we try to break up the problem into functional units
Select correct option:
analysis phase
design phase
Implementation phase
None of the given


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