Professional Documents
Culture Documents
cs201 Quiz 1 To 15helpfull in Exam
cs201 Quiz 1 To 15helpfull in Exam
com
012345
0 2 4 6 8 10
01010
OK
10101
000
OK
010
111
110
www.vuplanet.com
www.vuplanet.com
OK
Underscore
OK
Special character
Digit
www.vuplanet.com
www.vuplanet.com
referencing operator
dereferencing operator
OK
simple operator
Difficult to compile.
All of these.
Easy to understand.
OK
Assignment operators
www.vuplanet.com
www.vuplanet.com
Logical operator
OK
Unary operator
Add 1 in X value
OK
Add 2 in X value
None of these
functional units
OK
non-functional units
www.vuplanet.com
www.vuplanet.com
small units
30
OK
29
28
add(&x);
OK
add(int x);
add(x);
www.vuplanet.com
www.vuplanet.com
add(*x);
Not required
Good programming
Relevant
Must
OK
name[5] float;
float name[5];
OK
www.vuplanet.com
www.vuplanet.com
variables
OK
Location
Characters
To display message
OK
www.vuplanet.com
www.vuplanet.com
52
50
51
OK
57
y[4];
y[3];
OK
y[2];
none of given
variable
www.vuplanet.com
www.vuplanet.com
value
data type
OK
Yes
OK
No
first element
Last element
second element
www.vuplanet.com
www.vuplanet.com
add(int x);
add(&x);
add(x);
OK
add (*x);
add(&x);
OK
add(int x);
add(x);
add(*x);
www.vuplanet.com
www.vuplanet.com
arr[10] = {0.0};
OK
Reference
Value
OK
Type
Data
Arithmetic
www.vuplanet.com
www.vuplanet.com
Logical
Relational
OK
Conational
Azmat
azmat
AZMAT
OK
www.vuplanet.com
www.vuplanet.com
Editors
Debugger
Linker
Compiler
OK
13
11
12
OK
10
OK(remainder equal to 1)
www.vuplanet.com
www.vuplanet.com
Yes
OK
No
Linux
Unix
OK
Windows
Mac OS
www.vuplanet.com
www.vuplanet.com
add(&x);
OK
add(int x);
add(x);
add(*x);
logical error
syntax error
None of these
www.vuplanet.com
www.vuplanet.com
OK
OK
www.vuplanet.com
www.vuplanet.com
Zero time
OK
One time
N Time
None of these
Code
Program
OK
Statement
www.vuplanet.com
www.vuplanet.com
OK
int counter = 0 ;
while(counter < 15)
cout << counter << “ ”;
counter++;
www.vuplanet.com
www.vuplanet.com
0 – 32768
1 – 32768
0 – 32767
1 – 32767
Decision
www.vuplanet.com
www.vuplanet.com
Sequential
Repetition
OK
OK
To display message
Return Type
OK
Function data
www.vuplanet.com
www.vuplanet.com
Function arguments
Function name
www.vuplanet.com