VMWare Inc Interview Question for Software Engineer / Developers






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

The best analogy I could think about system call is that they are API provided to the application programmer to utilize the kernel functions such as open a file to read/write/execute done usin open/close etc.
I am not sure if this holds for all cpu architectures, but the system call is able to force the execution state of processor from user to kernel mode by executing code to generate software interrupt also called as SWI. The interrupt handling is always done in kernel mode and as system call map table is able to resolve SWI number with the particular functionality, thus the user is able to performed desired action provided by that particular system call implementer.

- ZooZoo February 21, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

System calls are the functions provided to the user to perform a certain task. Whenever a user makes a call to the corresponding fn/syscall there is a TRAP (exception) that occurs to switch from user mode to the kernel mode and this jump is made without knowing in advance, what function is to be performed. The O.S handler(trap handler) further looks up at the location and takes an appropriate action.

- Anonymous May 20, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

100

- rbhdfgrdar December 01, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

youtube.com/watch?v=FkIWDAtVIUM

- Nit May 22, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The operating system is responsible for
Process Management (starting, running, stopping processes)
File Management(creating, opening, closing, reading, writing, renaming files)
Memory Management (allocating, deallocating memory)
Other stuff (timing, scheduling, network management)
An application program makes a system call to get the operating system to perform a service for it, like reading from a file.

System calls in 32 bit linux
To make a system call in 32-bit Linux, place the system call number in eax, then its arguments, in order, in ebx, ecx, edx, esi, edi, and ebp, then invoke int 0x80.
Some system calls return information, usually in eax.
All registers are saved across the system call.

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

The operating system is responsible for
Process Management (starting, running, stopping processes)
File Management(creating, opening, closing, reading, writing, renaming files)
Memory Management (allocating, deallocating memory)
Other stuff (timing, scheduling, network management)
An application program makes a system call to get the operating system to perform a service for it, like reading from a file.

System calls in 32 bit linux
To make a system call in 32-bit Linux, place the system call number in eax, then its arguments, in order, in ebx, ecx, edx, esi, edi, and ebp, then invoke int 0x80.
Some system calls return information, usually in eax.
All registers are saved across the system call.

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

The operating system is responsible for
Process Management (starting, running, stopping processes)
File Management(creating, opening, closing, reading, writing, renaming files)
Memory Management (allocating, deallocating memory)
Other stuff (timing, scheduling, network management)
An application program makes a system call to get the operating system to perform a service for it, like reading from a file.

System calls in 32 bit linux
To make a system call in 32-bit Linux, place the system call number in eax, then its arguments, in order, in ebx, ecx, edx, esi, edi, and ebp, then invoke int 0x80.
Some system calls return information, usually in eax.
All registers are saved across the system call.

- gdsarora14 February 19, 2017 | 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