Arista Networks Interview Question for Software Engineer / Developers


Country: United States
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
0
of 0 vote

What's BSS?

- eugene.yarovoi January 15, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

BSS is a segment in RAM.
_en.wikipedia.org/wiki/.bss
_en.wikipedia.org/wiki/Data_segment

- Rasmi Ranjan Nayak January 20, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

BSS is a segment in RAM.
_en.wikipedia.org/wiki/.bss
_en.wikipedia.org/wiki/Data_segment

- Rasmi Ranjan Nayak January 20, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

IS IT NULL POINTER ASSIGNMENT

- Anonymous January 19, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

In computer programming, the name .bss or bss is used by many compilers and linkers for a part of the data segment containing statically-allocated variables represented solely by zero-valued bits initially (i.e., when execution begins). It is often referred to as the "bss section" or "bss segment".

In C, statically-allocated variables without an explicit initializer are initialized to zero (for arithmetic types) or a null pointer (for pointer types). Implementations of C typically represent zero values and null pointer values using a bit pattern consisting solely of zero-valued bits (though this is not required by the C standard)

- Abhishek February 07, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

mapped to virtual address or physical address?

usually in virtual space, BSS is mapped below the data segment but does not really occupy any space in the image per say as u only need it when referencing it (since they are zero), space is created in memory.

Compilers put it in virtual space, i dont see why BSS cannot really occupy the virtual address of the text area, its just the standard is more like text,data,bss , you can design or configure your compiler to do it, but make sure of CPU requirements and page boundaries

In physical space, theoretically, i still see no reason why they cannot occupy the physical frame 0, practically, interrupt handlers occupy that space and for a reason, isr dont use MMUs or 1-1 MMUs if CPU has MMU always on , but again, very very secure systems can relocate the ISRs to another location in physical memory , this could be a very good research study

Note: being in lowest memory location has got nothing to do with NULL pointer, thats C issue, you can load contents via assembly from address 0! (again see the CPU architecture)

- -R June 27, 2014 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More