Bissoy
Login
Get Advice on Live Video Call
Earn $ Cash $ with
consultations on Bissoy App
Select differences between reference type and value type: i. Memory allocated to ‘Value type’ is from heap and reference type is from ‘System. ValueType’ ii. Memory allocated to ‘Value type’ is from ‘System. ValueType’ and reference type is from ‘Heap’ iii. Structures, enumerated types derived from ‘System. ValueType’ are created on stack, hence known as ValueType and all ‘classes’ are reference type because values are stored on heap
A
i, iii
B
ii, iii
C
i, ii, iii
D
i
Correct Answer:
ii, iii
By definition.
Consider the following statements about the residuary powers of the legislations:
1. The Parliament has exclusive power to make any law with respect to any matter not enumerated in List II or List III.
2. State Legislatures have exclusive power to make any law with respect to any matter enumerated in List-II.
3. The Parliament as well as State Legislatures have exclusive power to make any law with respect to any matter not enumerated in List II or List III.
Which of the statements given above is/are correct?
A
1 and 2
B
1 only
C
2 only
D
1 and 3
Which of the following statements regarding Stacks is/are True? i) The stack always grows towards higher addresses ii) The stack always grows towards lower addresses iii) The stack has a fixed size iv) The width of the stack is 32 bits
A
i and iii
B
i and iv
C
ii and iv
D
iii and iv
You are asked to perform a queue operation using a stack. Assume the size of the stack is some value ‘n’ and there are ‘m’ number of variables in this stack. The time complexity of performing deQueue operation is (Using only stack operations like push and pop)(Tightly bound).
A
O(m)
B
O(n)
Consider the following statements with reference to Kant and select the correct option.
1. Kant rejects the notion that space and time are concepts which have been derived from our experience of relations between things.
2. Kant accepts the notion that space and time are concepts which have been derived from our experience of relations between things.
3. Kant rejects the notion that space and time are concepts which are not derived from our experience of relations between things.
A
Only 1 is true
B
1 and 2 are true
C
Only 2 is true
D
2 and 3 are true
Three math classes , X, Y , and Z, take an algebra test. The average score in class X is 83. The average score in class Y is 76. The average score in class Z is 85. The average score of all students in classes X and Y together is 79. The average score of all student classes Y and Z together is 81. What is the average for all the three classes?
A
81
B
81.5
C
82
D
84.5
Select the correct differences between char and varchar data types? i. varchar is non unicode and char is unicode character data type ii. char is ‘n’ bytes whereas varchar is actual length in bytes of data entered in terms of storage size iii. varchar is variable in length and char is the fixed length string iv. For varchar, if a string is less than the maximum length then it is stored in verbatim without any extra characters while for char if a string is less than the set length it is padded with extra characters to equalize its length to given length
A
i, iii, iv
B
ii, iii, iv
C
i, ii, iv
D
iii, iv
All the derived classes can access only a few members of base class that other derived classes can’t access at same time, in hierarchical inheritance.
A
True
B
False
Which of the following are true? (i) A programming language option does not permit global variables of any king and has no nesting of procedures/functions, but permits recursion can be implemented with static storage allocation (ii) Multi-level access link (or display) arrangement is needed to arrange activation records-only if the programming language being implemented has nesting of procedures/function (iii) Recursion in programming languages cannot be implemented with dynamic storage allocation (iv) Nesting of procedures/functions and recursion require a dynamic heap allocation scheme and cannot be implemented with a stack-based allocation scheme for activation records (v) Languages which permit a function to return a function as its result cannot be implemented with a stack-based storage allocation scheme for activation records.
A
(ii) and (v) only
B
(i), (iii) and (iv) only
C
(i), (ii) and (v)
D
(ii), (iii) and (v) only
Which of the following statements are correct with the origin and development of values?
1. Values originate from human desires and interests.
2. Interaction between individuals in environment and situations originate values.
3. It is human being who originates values and protects it.
4. Attitude of an individual is based on values.
A
1 and 2
B
2 and 3
C
1, 2 and 3
D
1, 2, 3 and 4
A school has 10 classes with the same number of students in each class. One day, the weather was bad and many students were absent. 3 classes were half full. 5 classes were 3/4 full and 2 classes were 1/6 empty. A total of 74 students were absent. What is the total number of students in this school?
A
200
B
220
C
240
D
400