What is the time complexity to count the number of elements in the linked list?
Anonymous Quiz
15%
O(1)
64%
O(n)
17%
O(logn)
4%
O(n2)
What is required in order to implement the Lexical Scoping?
Anonymous Quiz
46%
To reference the current scope chain
31%
Dereference the current scope chain
16%
Get the object
6%
Return the value
What is the space complexity for deleting a linked list?
Anonymous Quiz
21%
O(1)
43%
O(n)
26%
Either O(1) or O(n)
11%
O(logn)
Which one of the following utilize the CPU cycles in a massive manner?
Anonymous Quiz
51%
GUI (Graphic User Interface)
11%
Statically generated graphics
5%
Generic scoping
33%
Dynamically generated graphics
Explanation:
The term "Dynamic generated graphic" refers to simulate movement, motion, or generating a specific environment using the computer. It can also be thought of as multiple plots associated with time. Hence the graphics generated in the dynamic manner from the real time data utilize the huge part of the CPU cycles.
The term "Dynamic generated graphic" refers to simulate movement, motion, or generating a specific environment using the computer. It can also be thought of as multiple plots associated with time. Hence the graphics generated in the dynamic manner from the real time data utilize the huge part of the CPU cycles.
How to identify if a timezone is eligible for DayLight Saving?
Anonymous Quiz
15%
useDaylightTime() of Time class
15%
useDaylightTime() of Date class
49%
useDaylightTime() of TimeZone class
21%
useDaylightTime() of DateTime class
What is 'y' in the below C program?
Anonymous Quiz
21%
'x' is an array of three pointers
39%
'x' is an array of three function pointers
15%
'x' is a pointer
25%
Error in 'x' declaration
Explanation:
The statement typedef char (*(*arrfptr[4])())[20]; means arfptr is an array of 3 function pointer which will return an array of 20 dimension whose data type is char.
Therefore 'x' is an array of three function pointers.
The statement typedef char (*(*arrfptr[4])())[20]; means arfptr is an array of 3 function pointer which will return an array of 20 dimension whose data type is char.
Therefore 'x' is an array of three function pointers.
Which of the following is used for comments in C++?
Anonymous Quiz
21%
// comment
23%
/* comment */
54%
both // comment or /* comment */
2%
// comment */
Which of these is not an application of a linked list?
Anonymous Quiz
23%
To implement file systems
26%
For separate chaining in hash-tables
17%
To implement non-binary trees
35%
Random Access of elements
Explanation:
To implement file system, for separate chaining in hash-tables and to implement non-binary trees linked lists are used. Elements are accessed sequentially in linked list. Random access of elements is not an applications of linked list.
To implement file system, for separate chaining in hash-tables and to implement non-binary trees linked lists are used. Elements are accessed sequentially in linked list. Random access of elements is not an applications of linked list.
In JavaScript, what kind of scoping is used?
Anonymous Quiz
13%
Literal scoping
31%
Sequential scoping
23%
Segmental scoping
32%
Lexical scoping
Explanation:
In JavaScript, the lexical scoping is used just like many other modern languages.This means a function gets executed using the scope chain which was in effect, when they are defined instead of variable scope which was in effect when they are invoked/called.
In JavaScript, the lexical scoping is used just like many other modern languages.This means a function gets executed using the scope chain which was in effect, when they are defined instead of variable scope which was in effect when they are invoked/called.
What is the replacement of joda time library in java 8?
Anonymous Quiz
35%
java.time (JSR-310)
28%
java.date (JSR-310)
16%
java.joda
21%
java.jodaTime