What is a memory efficient double linked list?
Anonymous Quiz
35%
Each node has only one pointer to traverse the list back and forth
15%
The list has breakpoints for faster traversal
19%
An auxiliary singly linked list acts as a helper list to traverse through the doubly linked list
31%
A doubly linked list that uses bitwise AND operator for storing addresses
π₯1
Explanation: Memory efficient doubly linked list has only one pointer to traverse the list back and forth. The implementation is based on pointer difference. It uses bitwise XOR operator to store the front and rear pointer addresses. Instead of storing actual memory address, every node store the XOR address of previous and next nodes.
Which HTML element is used to put the JavaScript code?
Anonymous Quiz
14%
<javascript>
12%
<js>
1%
<scripting>
73%
<script>
π3
How to get difference between two dates in java?
Anonymous Quiz
24%
long diffInMilli = java.time.Duration.between(dateTime1, dateTime2).toMillis();
31%
long diffInMilli = java.time.difference(dateTime1, dateTime2).toMillis();
36%
Date diffInMilli = java.time.Duration.between(dateTime1, dateTime2).toMillis();
9%
Time diffInMilli = java.time.Duration.between(dateTime1, dateTime2).toMillis();
π1
π1
9. What are the escape sequences?
Anonymous Quiz
38%
Set of characters that convey special meaning in a program
23%
Set of characters that whose use are avoided in C++ programs
13%
Set of characters that are used in the name of the main function of the program
26%
Set of characters that are avoided in cout statements
π2
Enjoy our content? Advertise on this channel and reach a highly engaged audience! ππ»
It's easy with Telega.io. As the leading platform for native ads and integrations on Telegram, it provides user-friendly and efficient tools for quick and automated ad launches.
β‘οΈ Place your ad here in three simple steps:
1 Sign up
2 Top up the balance in a convenient way
3 Create your advertising post
If your ad aligns with our content, weβll gladly publish it.
Start your promotion journey now!
It's easy with Telega.io. As the leading platform for native ads and integrations on Telegram, it provides user-friendly and efficient tools for quick and automated ad launches.
β‘οΈ Place your ad here in three simple steps:
1 Sign up
2 Top up the balance in a convenient way
3 Create your advertising post
If your ad aligns with our content, weβll gladly publish it.
Start your promotion journey now!
π1
How do you calculate the pointer difference in a memory efficient double linked list?
Anonymous Quiz
18%
head xor tail
39%
pointer to previous node xor pointer to next node
24%
pointer to previous node β pointer to next node
18%
pointer to next node β pointer to previous node
π2
Which of the following statement is not correct in the case of JavaScript?
Anonymous Quiz
28%
JavaScript is a light-weighted and interpreted language.
23%
JavaScript is a high-level programming language.
21%
JavaScript is a case-sensitive language
29%
JavaScript provides reasonable control to the users over the web browsers.
How to get UTC time in java?
Anonymous Quiz
40%
Time.getUTC();
23%
Date.getUTC();
9%
Instant.now();
28%
TimeZone.getUTC();
π2
Select the correct statement which is a combination of these two statements.
Statement 1: p= (char*) malloc(100);
Statement 2: char *p;
Statement 1: p= (char*) malloc(100);
Statement 2: char *p;
Anonymous Quiz
56%
char *p = (char*)malloc(100);
31%
char *p = (char) malloc(100);
9%
char p = *malloc(100);
4%
None
Which of the following escape sequence represents carriage return?
Anonymous Quiz
38%
\r
27%
\n
20%
\n\r
15%
\c
What is the worst case time complexity of inserting a node in a doubly linked list?
Anonymous Quiz
29%
O(nlogn)
19%
O(logn)
37%
O(n)
15%
O(1)
π2π1
Why is JavaScript called a structured programming language?
Anonymous Quiz
37%
Because all popular web browsers support JavaScript as they provide built-in execution environments
35%
Because it is an OOP language that uses prototypes rather than using classes for inheritance
20%
Because it follows syntax and structure of C language, which is a structured programming language
8%
Because it ignores spaces, tabs, and newlines that appear in JavaScript programs
Which of these is long data type literal?
Anonymous Quiz
36%
0x99fffL
15%
ABCDEFG
25%
0x99fffa
24%
99671246
For the below mention C statement, what is your comment?
signed int *p=(int*)malloc(sizeof(unsigned int));
signed int *p=(int*)malloc(sizeof(unsigned int));
Anonymous Quiz
22%
Would throw Runtime error
33%
Improper typecasting
28%
int value in the memory
18%
No problem with the statement
π1
π1
What differentiates a circular linked list from a normal linked list?
Anonymous Quiz
59%
You cannot have the βnextβ pointer point to null in a circular linked list
10%
It is faster to traverse the circular linked list
24%
In a circular linked list, each node points to the previous node instead of the next node
7%
Head node is known in circular linked list
Explanation:
In a normal linked list, the βnextβ pointer of the last node points to null. However, in a circular linked list, the βnextβ pointer of the last node points to the head (first element) of the list. Every node in a circular linked list can be a starting point(head).
In a normal linked list, the βnextβ pointer of the last node points to null. However, in a circular linked list, the βnextβ pointer of the last node points to the head (first element) of the list. Every node in a circular linked list can be a starting point(head).
π1