Asked by a famous microprocessor manufacturer.
- What is Finite Automata
- What is a Turing machine?
- How many processors are there in a pentium microprocessor? In Sparc?
- Difference between RISC and CISC
- Is RISC always fast?
- What is a real time system?
- Name some real time OSs.
- Is DOS a real time OS?
- What is a kernel,shell?
- What is binary search, traversal, hashing?
- Write a code to count the no. of 1’s in a binary representation of a number.
- Memory taken for char *, int * etc.
-
char *cp; int *ip; cp++; ip++;
What is the result?
- Compare the no. of bytes in unix and Dos for long, char, short, int.
- How do you make programs portable on unix and Dos under such circumstances?
- In C++, what is a constructor, destructor?
- What is friend?
- What is waterfall model, prototype model?
- What is testing? What is unit testing, integration testing, etc?
- What is indexing when talking about databases?
- What is atomicity?
- Can recursive programs be written in C++, Write a recursive program to calculate factorial in C++.
- What is best data structure to store the processes info in a real time operating system?
>

4 Comments on Hardware and software design questions
I think that the questions are there for US to LOOK THEM UP and FIND the answers for ourselves…that way, we will KNOW the answers, rather than just memorizing them!
Friends,
The Admin of Techinterview did a great Job.
Instead of begging him for answers, Atleast write two lines of PRAISE for his/her hard work of giving us so many questions and tips.
And yes , he wants us to find answers and post here. As i am a Newbie for now I can Only THANK the admin of website for this great work.
Love you all,
Newbie@BollywoodSargam.com
http://www.BollywoodSargam.com
http://www.Chantu.com of ChantuDotCom
Great job, who ever did it. Bravo. As for those laid backs craving for answers, hope these help.
Q5. Not necesarily.
Q13. Runtime error, segmentatin fault. Trying to increment and uninitialized pointer.
Q18. Waterfall: Complete the next stage of development, design etc. after the previous stage is done. Very expensive if errors found at later stage. It’s water-tight!
Prototype: Build a prototype of the final, this is usually done to completely understand customer’s requirements; and also to find the how the final product would look like.
Q19. Testing. Find the bugs before the customer bugs you! Unit testing, each unit tested separately for its functionality. Integration testing, units integrated and then tested for intefaces thru which the units communicate.
Q20. Just like you have index in every book, telephone directory.
Q 21. Atomicity: All or none. All the instructions, called as atomic, execute to completion and if one fails then all fail. Eg. Semaphore Locking.
Q23. My guess a linked list of structures.
Q23. The priority Queue is used for real time systme. It will help in tasking scheduling.