Which of the following is false about a doubly linked list?
Anonymous Quiz
10%
We can navigate in both the directions
19%
It requires more space than a singly linked list
24%
The insertion and deletion of a node take a bit longer
47%
Implementing a doubly linked list is easier than singly linked list
Explanation:
A doubly linked list has two pointers ‘left’ and ‘right’ which enable it to traverse in either direction. Compared to singly liked list which has only a ‘next’ pointer, doubly linked list requires extra space to store this extra pointer. Every insertion and deletion requires manipulation of two pointers, hence it takes a bit longer time. Implementing doubly linked list involves setting both left and right pointers to correct nodes and takes more time than singly linked list.
A doubly linked list has two pointers ‘left’ and ‘right’ which enable it to traverse in either direction. Compared to singly liked list which has only a ‘next’ pointer, doubly linked list requires extra space to store this extra pointer. Every insertion and deletion requires manipulation of two pointers, hence it takes a bit longer time. Implementing doubly linked list involves setting both left and right pointers to correct nodes and takes more time than singly linked list.
Which one of the following can be considered as the opposite approach of the Lexical Scoping?
Anonymous Quiz
50%
Dynamic scoping
20%
Literal scoping
15%
Static scoping
16%
Generic scoping
Explanation:
The dynamic scoping can be considered as the opposite approach to the lexical scoping. In the dynamic scoping, it does not matter that how the code is written but what matters is how's the code executes. At the time of execution of every new function, a new scope associated with it gets pushed onto the stack and this scope normally stored along with the function call stack.At that point, when a variable is referenced in a function's definition, the scope is immediately checked in every call stack to know if it returns a value.
The dynamic scoping can be considered as the opposite approach to the lexical scoping. In the dynamic scoping, it does not matter that how the code is written but what matters is how's the code executes. At the time of execution of every new function, a new scope associated with it gets pushed onto the stack and this scope normally stored along with the function call stack.At that point, when a variable is referenced in a function's definition, the scope is immediately checked in every call stack to know if it returns a value.
How is Date stored in database in java?
Anonymous Quiz
26%
java.sql.Date
29%
java.util.Date
21%
java.sql.DateTime
24%
java.util.DateTime
In a structure, if a variable works as a pointer then from the given below operators which operator is used for accessing data of the structure using the variable pointer in C language?
Anonymous Quiz
21%
%
55%
->
16%
.
9%
#
Coding Interview Preparation
Here are some highly recommended tools and materials to help you succeed in your tech interviews.
AlgoMonster:
Learn coding interview patterns which can be used to solve variety of coding problems on LeetCode and NeetCode
Educative-99:
a curated set of 99 coding interview questions designed to help candidates master 26 essential problem-solving patterns. It provides a hands-on, setup-free coding environment where users can efficiently practice and internalize coding patterns crucial for tech interviews, making it easier to tackle various coding challenges in a structured manner
LeetCode:
Practice coding problems of varying difficulty levels.
NeetCode:
Get access to a structured plan for mastering coding problems.
Cracking the Coding Interview: A comprehensive guidebook with 189 programming questions and solutions.
Here are some highly recommended tools and materials to help you succeed in your tech interviews.
AlgoMonster:
Learn coding interview patterns which can be used to solve variety of coding problems on LeetCode and NeetCode
Educative-99:
a curated set of 99 coding interview questions designed to help candidates master 26 essential problem-solving patterns. It provides a hands-on, setup-free coding environment where users can efficiently practice and internalize coding patterns crucial for tech interviews, making it easier to tackle various coding challenges in a structured manner
LeetCode:
Practice coding problems of varying difficulty levels.
NeetCode:
Get access to a structured plan for mastering coding problems.
Cracking the Coding Interview: A comprehensive guidebook with 189 programming questions and solutions.
Which function is used to read a single character from the console in C++?
Anonymous Quiz
33%
getline(ch)
36%
cin.get(ch)
11%
read(ch)
20%
scanf(ch)
System Design Interview Preparation
System Design Interview Books:
Essential reads for understanding system design concepts and interview questions.
Grokking the System Design Interview by Design Guru:
A practical guide to system design with real-world scenarios.
Codemia io —
Practice System Design Problems in Leetcode style on Codemia , they got more than 120 problems on System dseign with editorial solutions and diagrams.
Designing Data-Intensive Applications:
Learn about the architecture of data systems and how to design data-heavy applications.
System Design Interview Books:
Essential reads for understanding system design concepts and interview questions.
Grokking the System Design Interview by Design Guru:
A practical guide to system design with real-world scenarios.
Codemia io —
Practice System Design Problems in Leetcode style on Codemia , they got more than 120 problems on System dseign with editorial solutions and diagrams.
Designing Data-Intensive Applications:
Learn about the architecture of data systems and how to design data-heavy applications.
Which one of the following algorithmic languages is not the lexical scoping standardized in?
Anonymous Quiz
40%
Html
25%
Ada
22%
Pascal
12%
Modula2
Behavioral Interview
Tech Interview Handbook:
A go-to resource for behavioral interview questions and tips.
A Life Engineered (YouTube):
Insights and advice from industry professionals on YouTube.
STAR Method:
A technique for answering behavioral questions by discussing the Situation, Task, Action, and Result.
Tech Interview Handbook:
A go-to resource for behavioral interview questions and tips.
A Life Engineered (YouTube):
Insights and advice from industry professionals on YouTube.
STAR Method:
A technique for answering behavioral questions by discussing the Situation, Task, Action, and Result.
Which of the following POSIX signals generate events?
Anonymous Quiz
48%
SIGINT
35%
SIGDOWN
12%
SIGFLOAT
5%
SIGSHORT
Object-Oriented Design (OOD) Interview
Interview-ready:
Tools and courses to help you prepare for OOD interviews.
Educative:
Interactive learning paths for mastering design patterns and OOD principles.
Codemia io
They have recently added OOAD sections with many questions like parking lot design, vending machine design and much more.
Head First Design Patterns Book:
An engaging book that simplifies complex design patterns with practical examples.
Interview-ready:
Tools and courses to help you prepare for OOD interviews.
Educative:
Interactive learning paths for mastering design patterns and OOD principles.
Codemia io
They have recently added OOAD sections with many questions like parking lot design, vending machine design and much more.
Head First Design Patterns Book:
An engaging book that simplifies complex design patterns with practical examples.
What does LocalTime represent in java?
Anonymous Quiz
10%
Date without time
20%
Time without Date
27%
Date and Time
42%
Date and Time with timezone
Mock Interviews
DesignGurus io :
if you want to do mock interviews with ex Facebook and Microsoft engineers on System design and coding interview then DesignGuru.io is a great place.
Interviewing.io: Practice interviews with experienced engineers.
Pramp:
Pair up with peers to practice coding and system design interviews.
Meetapro:
Book sessions with experts for personalized feedback and improvement.
You can also find mock interviews video on YouTube like this to get a feel before you actually book your mock interview session with these sites
DesignGurus io :
if you want to do mock interviews with ex Facebook and Microsoft engineers on System design and coding interview then DesignGuru.io is a great place.
Interviewing.io: Practice interviews with experienced engineers.
Pramp:
Pair up with peers to practice coding and system design interviews.
Meetapro:
Book sessions with experts for personalized feedback and improvement.
You can also find mock interviews video on YouTube like this to get a feel before you actually book your mock interview session with these sites
For the array element a[i][j][k][2], determine the equivalent pointer expression.
Anonymous Quiz
66%
*(*(*(*(a+i)+j)+k)+2)
16%
*( ((a+m)+n+o+p)
13%
((((a+m)+n)+o)+p)
4%
*( (((a+m)+n)+o+p)
Which function is used to write a single character to console in C++?
Anonymous Quiz
47%
cout.put(ch)
19%
cout.putline(ch)
11%
write(ch)
24%
printf(ch)
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
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>
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();