Computer Architecture & Low Level Interview Questions
- 0of 0 votes
AnswerHow do compilers work?
- Mallika.I. February 19, 2008| Report Duplicate | Flag | PURGE
Barclays Capital Analyst Computer Architecture & Low Level - 0of 0 votes
AnswersWhat is a mutex used for?
- cafemocha January 30, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Computer Architecture & Low Level - 1of 1 vote
Answerwhat is booting?
- Munivelu K Reddy October 17, 2007| Report Duplicate | Flag | PURGE
Bocada Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersReverse the bits in an incoming bitstream given a function that has its input parameters as a char *ptr and tot_siz where tot_siz is the size of the buffer..
- SigPro July 13, 2007| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersThe function (fopen() and fprintf()) returns EINTR when interrupted by a signal that was caught. We want to test this by sending a signal to interrupt fopen/fprintf when it is called. When should the signal be sent?
- Ravi Kant Pandey May 17, 2007| Report Duplicate | Flag | PURGE
IBM Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersName all the registers in the X86 machine.
- vodangkhoa January 31, 2007| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersHow much memory will the following code take.
- Sach (Sachin) December 21, 2006
void example
{
int bytes;
virtual functionName{ };
}| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersWhat is buffer overflow and how do you exploit it?
- vodangkhoa December 13, 2006| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Computer Architecture & Low Level - 1of 1 vote
AnswersFor small dataset (less than 200 elements), why is unsorted array has better performance than binary tree? This wasn't the case 20 years ago. (Hint: It has to do with computer architecture.)
- vodangkhoa November 12, 2006| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Computer Architecture & Low Level Data Structures - 0of 0 votes
AnswersHow would you discover a memory leak in a software product that contains thousands of lines? I said build a reference table for dynamically allocated variables, similar to one java does, and he seemed OK with that.
- Oz. October 23, 2006| Report Duplicate | Flag | PURGE
Zillow Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
Answers3) What are memory leaks ? what tools you have used ?
- Alfy July 31, 2006
4) Whats the size of integer, double - basic questions ?
5) How will you determine the size of an variable without using sizeof operator ?
Ans: Basically get the difference on the pointer address for the current and the incremented position and storing the difference on data type ptrdiff_t.| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
Answers6) whats the difference between malloc and calloc ?
- Alfy July 31, 2006
7) whats the difference between new and malloc ?
8) whats a virtual function ?| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
AnswersAssume that you are working on a small device which has a CPU with no MMU (Memory Management Unit) and a limited amount of memory (1M). We want to be able to run apps on the device that may need more than 1M throughout their execution, although they never need more than 1M at any particular instant. We are in control of the operating system running on the device as well as all tools, compilers, linkers, etc. Discuss ideas on implementing a virtual memory management system on the machine.
- MK July 15, 2006| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersWhen would a program crash in a buffer overrun case. Gave me,
- AJ April 24, 2006
buff[50];
for( int i=0; i <100; i++ )
buff[i] = 0;
What will happen to first 50 bytes assigned, when would the program crash| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
AnswersQ) Lets say you have a disk of size N with N blocks. Every block stores part of a file. Every file starts from a single block.
- Sach (Sachin) April 22, 2006
The block size is not enough to store a file. Every block has a used/unused bit and a pointer to the next block in the disk which will store the next part of the file
and so on. A block which stores the end of a file points to null. Also a block whose unused bit is 0 doesnt point to anything and is not pointed to by any block.
Now u have an index of files with filename as index and the value as the first block in which the file starts.Lets says u somehow lose these indices and values.
How will you find an efficient algorithm to recreate this index structure with values. You can use any filenames while creating the indices.
(While solving one shld think of cases where the file starts at block 4 which points to 1 then to 2 and ends at 3)| Report Duplicate | Flag | PURGE
Microsoft Computer Architecture & Low Level - 0of 0 votes
AnswersIf a variable is a Global Variable, then where it's stored in memory?
- Karthik Srinivasan April 17, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
AnswerInterviewer>If there are variable defined where the variable stored in the memory?
- Karthik Srinivasan April 17, 2006
My Answere> All temporary variable are stored in Stack.| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
AnswersGiven a chunk of memory
- vodangkhoa March 05, 2006
1. Implement malloc.
2. Implement free.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Computer Architecture & Low Level - 1of 0 votes
AnswersA disk is partioned into two hemispheres colored in black and white and the disk is rotating.By appropriate positioning of sensors (A sensor can read the disk near it as black or white) we need to find the direction of the motion of the disk.
- vodangkhoa March 05, 2006| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersExplain Virtual Memory. What is the TLB?
- vodangkhoa February 04, 2006| Report Duplicate | Flag | PURGE
NVIDIA Agilent Technologies Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
AnswersWhy is Virtual Memory important?
- vodangkhoa December 20, 2005| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersWhat's XD bit? How does buffer overflow work?
- vodangkhoa November 29, 2005| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
AnswersDraw all the components of a computer!
- vodangkhoa November 29, 2005| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Computer Architecture & Low Level