Posted by : conceptedu in (Interview Questions)

SOFTWARE DESIGN

Tagged Under : , , ,

Frequently Asked Questions - Hardware & Software Design

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?
Give two ways of converting a two input NAND gate to an inverter 
Given a circuit, draw its exact timing response. (I was given a
Pseudo Random Signal Generator; you can expect any sequential ckt)
What are set up time & hold time constraints? What do they signify?
Which one is critical for estimating maximum clock frequency of a
circuit?
Give a circuit to divide frequency of clock cycle by two
Design a divide-by-3 sequential circuit with 50% duty circle.
(Hint: Double the Clock)
Suppose you have a combinational circuit between two registers
driven by a clock.What will you do if the delay of the combinational
circuit is greater than your clock signal? (You can’t resize the
combinational circuit transistors)
The answer to the above question is breaking the combinational
circuit and pipelining it. What will be affected if you do this?
What are the different Adder circuits you studied?
Give the truth table for a Half Adder. Give a gate level
implementation of the same.
Draw a Transmission Gate-based D-Latch.
Design a Transmission Gate based XOR. Now, how do you convert it
to XNOR? (Without inverting the output)
How do you detect if two 8-bit signals are same?
How do you detect a sequence of “1101″ arriving serially from a
signal line?
Design any FSM in VHDL or Verilog.
Explain RC circuit’s charging and discharging.
Explain the working of a binary counter.
Describe how you would reverse a singly linked list.
 

Posted by : conceptedu in (Interview Questions)

OPERATING SYSTEM CONCEPTS

Tagged Under : , , ,

Frequently Asked Questions - Operating System Concepts

  • What is MUTEX ?
  • What isthe difference between a ‘thread’ and a ‘process’?
  • What is INODE?
  • Explain the working of Virtual Memory.
  • How does Windows NT supports Multitasking?
  • Explain the Unix Kernel.
  • What is Concurrency? Expain with example Deadlock and Starvation.
  • What are your solution strategies for “Dining Philosophers Problem” ?
  • Explain Memory Partitioning, Paging, Segmentation.
  • Explain Scheduling.
  • Operating System Security.
  • What is Semaphore?
  • Explain the following file systems : NTFS, Macintosh(HPFS), FAT .
  • What are the different process states?
  • What is Marshalling?
  • Define and explain COM?
  • What is Marshalling?
  • Difference - Loading and Linking ?
  • What are the basic functions of an operating system?
  • Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by them.
  • What are the difference phases of software development? Explain briefly?
  • Differentiate between RAM and ROM?
  • What is DRAM? In which form does it store data?
  • What is cache memory?
  • What is hard disk and what is its purpose?
  • Differentiate between Complier and Interpreter?
  • What are the different tasks of Lexical analysis?
  • What are the different functions of Syntax phase, Sheduler?
  • What are the main difference between Micro-Controller and Micro- Processor?
  • Describe different job scheduling in operating systems.
  • What is a Real-Time System ?
  • What is the difference between Hard and Soft real-time systems ?
  • What is a mission critical system ?
  • What is the important aspect of a real-time system ?
  •  If two processes which shares same system memory and system clock in a distributed system, What is it called?
  • What is the state of the processor, when a process is waiting for some event to occur?
  • What do you mean by deadlock?
  • Explain the difference between microkernel and macro kernel.
  • Give an example of microkernel.
  • When would you choose bottom up methodology?
  • When would you choose top down methodology?
  • Write a small dc shell script to find number of FF in the design.
  • Why paging is used ?
  • Which is the best page replacement algorithm and Why? How much time is spent usually in each phases and why?
  • Difference between Primary storage and secondary storage?
  • What is multi tasking, multi programming, multi threading?
  • Difference between multi threading and multi tasking?
  • What is software life cycle?
  • Demand paging, page faults, replacement algorithms, thrashing, etc.
  • Explain about paged segmentation and segment paging
  • While running DOS on a PC, which command would be used to duplicate the entire diskette?

 

Custom Search