CSE MCQ
results in bus error
results in segmentation violation error
will not compile successfully
none of the above
with empty brackets
with its size
alone
15 bytes
10 bytes
50 bytes
30 bytes
num [9] is the last element of the array num
The value of num [ 8] is 3
The value of num [ 3 ] is 3
None of the above
automatic
external
static
either automatic or external depending on the place of occurrence
5x6 matrix with 9 non-zero entries
5x6 matrix with 10 non-zero entries
Efficient in accesing an entry
Efficient if the sparse matrix is a band matrix
Symbol table
Activation record
Both (a) and (b)
Dope vector
n-[log₂n]-2
n+[log₂n-2]
log₂n
none of these
Type COLOGNE:(LIME,PINE,MUSK,MENTHOL); var a:array[COLOGNE]of REAL;
var a:array[REAL]of REAL;
var a:array['A'..'Z']of REAL;
var a:array[BOOLEAN]of REAL;
0
1
2
3
1167
1164
1264
1169
Initialization is a part of definition
It is a declaratrion
It is a formal parameter
All of these
"12345"
nothing since 12345 is an integer
S is an illegal name for string
%s cannot be used for reading in values of S
&x[i-1] + sizeof (int)
x + sizeof (int) * i
x+i
Two
Eight
Twenty
Theoratically no limit. The only practical limits are memory size and compilers
Constant expressions are evaluated at compile
String constants can be concatenated at compile time
Size of array should be known at compile time
True
False
both (a) and (b)
security model is based on the notion of user accounts
creates a security access token that includes the security ID for users
NT operates with client server model
all of these
grappling hook program
main program
determine how and when the problem occurred
what amount of damage was done
when security has been violated