KyaPoocha.com

Huge Collection of Interview Questions


Archive for September, 2006

What does “1″+3+6 evaluate to and also what about 2+5+”6″? 

Since 1 is a string, everything is a string, so the result is 136 and in the second part : 2 and 5 are integers, this is number arithmetic, since 6 is a string,... Read more »

What is negative infinity? 

It’s a number in JavaScript, derived by dividing negative number by zero.  Read more »

What does isNaN function do? 

Return true if the argument is not a number.  Read more »

How do you convert numbers between different bases in JavaScript? 

Use the parseInt() function, that takes a string as the first parameter, and the base as a second parameter. So to convert hexadecimal 3F to decimal, use parseInt... Read more »

What are JavaScript data types? 

Number, String, Boolean, Function, Object, Null, Undefined.  Read more »

Explain briefly about processor, assembler, loader, linker and the functions executed by them. 

Processor : performs all the functions for a program in execution ie., ALU, MU, CU. Assembler : converts High level to Assembly Language or Low level language. Loader... Read more »

What is a Real-Time System? 

A real time process is a process that must respond to the events within a certain time period. A real time operating system is an operating system that can run real... Read more »

What is cache memory? 

Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. As the microprocessor processes... Read more »

What is Context Switch? 

Switching the CPU to another process requires saving the state of the old process and loading the saved state for the new process. This task is known as a context... Read more »

What is CPU Scheduler? 

Selects from among the processes in memory that are ready to execute, and allocates the CPU to one of them. CPU scheduling decisions may take place when a process:... Read more »

What is Dispatcher? 

Dispatcher module gives control of the CPU to the process selected by the short-term scheduler; this involves: Switching context, Switching to user mode, Jumping... Read more »

What is DRAM? In which form does it store data? 

DRAM is not the best, but it’s cheap, does the job, and is available almost everywhere you look. DRAM data resides in a cell made of a capacitor and a transistor.... Read more »

What is fragmentation? Different types of fragmentation? 

Fragmentation occurs in a dynamic memory allocation system when many of the free blocks are too small to satisfy any request. External Fragmentation: External Fragmentation... Read more »

What is hard disk and what is its purpose? 

Hard disk is the secondary storage device, which holds the data in bulk, and it holds the data on the magnetic medium of the disk.Hard disks have a hard platter... Read more »

What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem? 

Thrashing is caused by under allocation of the minimum number of pages required by a process, forcing it to continuously page fault. The system can detect thrashing... Read more »

Page 5 of 8« First...«34567»...Last »