ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories >> Software >> Operating-Systems >> RTOS
 
  Vxworks (6)  Windows-CE (9)  RTOS-AllOther (16)
 


 

Back to Questions Page
 
Question
What is the difference b/n any GPOS and RTOS?Give suitable
examples or characteristic of RTOS to support your answer.
What changes can be done in a GPOS to make it work like a
RTOS? What basic features will you support, if you have to
design a RTOS?
Rank Answer Posted By  
 Question Submitted By :: SunitaKN
This Interview Question Asked @   Emulogic
I also faced this Question!!   © ALL Interview .com
Answer
GPOS- GP Opertaing System
RTOS -Real Time Operating System
 
0
Rr
 
 
Answer
An RTOS is a special case of GPOS. 
1. In RTOS every task must have a priority.
2. Pre-emption is a must feature.
3. Priority Inheritance is must otherwise priority 
inversion may cause unbounded wait.
 
0
Achal Ubbott
 
 
Question
Which RTOS supports Non-Preemptive scheduling ? Why other
scheduling methods are supported by such Oses?
Rank Answer Posted By  
 Question Submitted By :: SunitaKN
This Interview Question Asked @   Elico
I also faced this Question!!   © ALL Interview .com
Answer
The standard UNIX kernel is a nonpreemptive kernel; it does
not allow a user process to preempt a process executing in
kernel mode. Once a running process issues a system call and
enters kernel mode, preemptive context switches are disabled
until the system call is completed. Although there are
context switches, a system call may take an arbitrarily long
time to execute without voluntarily giving up the processor.
During that time, the process that made the system call may
delay the execution of a higher-priority, runnable, realtime
process.

The maximum process preemption latency for a nonpreemptive
kernel is the maximum amount of time it can take for the
running, kernel-mode process to switch out of kernel mode
back into user mode and then be preempted by a
higher-priority process. Under these conditions it is not
unusual for worst-case preemption to take seconds, which is
clearly unacceptable for many realtime applications.
 
0
SunitaKN
 
 
 
Question
IN RTOS HAVING 1OKBYTES OF MEMORY AND YOUR PROGRAMM FOR
ASKING  FOR 5KBYTES AND YOU GOT NULL ERROR ? WHY DOES IT
BEHAVES LIKE THIS
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
This might be because, you might be allocating memory
dynamically from the heap. But care is not taken to
deallocate the same.
as a result, there are memory leaks and finally the os says
that there is no free memory
 
2
Ravidevroy
 
 
Answer
The problem is because of memory fragmentation..

Though 10KB of memory is available but it will be in 
smaller chunks (less than 5KB).. when we request for 5KB 
malloc returns NULL as it coudnt find a chunk of size 5KB...
 
0
Feroz Ahmed
 
 
Question
what are the rules u follow when u r writing critical 
section of code?
Rank Answer Posted By  
 Question Submitted By :: Tarak
This Interview Question Asked @   TCS
I also faced this Question!!   © ALL Interview .com
Answer
1.The operation must be atomic
2.The atomicity is ensured by disabling the interrupts and 
immediately after crictical section enabling the 
interrupts..here slight precausion has to be taken i.e do 
not forget the enabling of interrupts ....
 
0
Teja
 
 
Question
what are the advantages and disadvantages of winCE compared 
to GPOS.
Rank Answer Posted By  
 Question Submitted By :: Satyagmk
I also faced this Question!!   © ALL Interview .com
Answer
Adv:
1) Supports various types of processor platforms
2) Possible to Customize the Kernel and can reduce its size
(upto ~300KB kernel size)
3) Especially for the embedded device platforms

Disadv:
1) Process limits, max. 32 process at a time in WinCE 5.0
2) Limited space allocation for each processes, 32MB/each
process
 
0
Geo
 
 
Question
Why MFC is not Supporting in Smartphones,This is also winCE 
mobile then why?
Rank Answer Posted By  
 Question Submitted By :: Satyagmk
I also faced this Question!!   © ALL Interview .com
Answer
I am not sure in every cases, whether this is true..??
May be the reason is,
While compared to PocketPc, smartphone has a limited h/w
resources, like memories etc. In order to reduce the
kernel+application size, they are removing the libraries for
the MFC .

 If anyone know a good reason for this, please post it
 
0
Geo
 
 
Answer
Well there is nothing to related with limited H/w I believe,
Because MFC is just a collection classes designed using the
Windows APIs , to provide ease of use. 
So the proper answer may Be...
To design any application on mobile.. We have very limited
APIs which user can directly used. Generally in Embedded
system (even in Soft RTOS also ) , if application design
using  less ( comfort )layer like MFC ( and other if it is
there :) ),then your aplication would be more efficient.
That's why even today's era... The application written in
Assembly is the most efficient application then others.

I still have more points to discuss..
 
0
Navin
 
 
Question
what are the levels in winCE arhitecture
Rank Answer Posted By  
 Question Submitted By :: Satyagmk
I also faced this Question!!   © ALL Interview .com
Answer
there are four levels in Win CE architecture.
They are 
1)Hardware layer
2)OEM layer
3)OS layer
4)Application layer

for more info refer to
http://msdn2.microsoft.com/en-us/library/ms905093.aspx
 
0
Rajasekaran
 
 
Question
what are the SDK's developed by winCE
Rank Answer Posted By  
 Question Submitted By :: Satyagmk
I also faced this Question!!   © ALL Interview .com
Answer
MSFT standard SDK's are,

1. Windows Mobile for Smartphone = Windows Mobile Standard.
2. Windows Mobile for Pocket PC = Windows Mobile Classic.
3. Windows Mobile for Pocket PC Phone Edition = Windows 
Mobile Professional.
 
0
Vadivel
 
 
Question
what is the difference between normal OS and winCE OS?
Rank Answer Posted By  
 Question Submitted By :: Satyagmk
I also faced this Question!!   © ALL Interview .com
Answer
normal os                       Wince
unlimited process               32 process
non preemptive                  preemptive
no XIP                           XIP
 
0
Biswajit
 
 
Answer
Normal OS(Desktop OS like XP)     Windows CE
-----------------------------     -----------
Not a Realtime OS                 Real TimeOS

non preemptive                    Preemptive

suitable for Desktop              suitable for small  
systems                           gadgets with like Portable
                       .                                
media players,Mobile phones 

Large memory footprint            Small memory foot print.
 
0
Rajasekaran
 
 
Answer
Normal OS                   wince 
drivers runs under          User space(part of device manager)
kernel space

cannot be customized       customized for embedded application
for embedded application   like mobile phones,thin client...
(exception linux)

kernel - monolithic        kernel- micro kernel
 
0
Raj
 
 
Question
What is CE Stands in winCCE
Rank Answer Posted By  
 Question Submitted By :: Satyagmk
I also faced this Question!!   © ALL Interview .com
Answer
In the name "Windows CE," the letters "CE" are not an 
abbreviation for anything, but rather they imply a number 
of the precepts around which Windows CE is designed, 
including "Compact," Connectable," 
Compatible," "Companion," and "Efficient."
 
0
Neethipnair
 
 
Answer
Its stands for "Compact Edition"
 
0
Ajay
 
 
Answer
consumer electronics
 
0
Biswajit
 
 
Answer
CE -> Compact Edition
 
0
Geo
 
 
Answer
It is surely meant for "Consumer Electronics"
 
0
Kiran K P
 
 
Answer
It's Compat Edition. I have read in many books... [ :) ]
 
0
Navin Salunke
 
 
Answer
Windows CE (also known officially as Windows Embedded 
Compact post version 6.0 [2][3], and sometimes abbreviated 
WinCE) is Microsoft's operating system for minimalistic 
computers and embedded systems. Windows CE is a distinctly 
different operating system and kernel, rather than a 
trimmed-down version of desktop Windows. It is not to be 
confused with Windows XP Embedded which is NT-based

(Refer http://en.wikipedia.org/wiki/Windows_CE)
 
0
Arun S Nair
 
 
Question
what is the speciality of winCE?
Rank Answer Posted By  
 Question Submitted By :: Satyagmk
I also faced this Question!!   © ALL Interview .com
Answer
- Supports various processor x86, MIPS, SH, ARM
- Real TimeOS
- Preemptive
- Max 32 process supported on or previous version of wince 
6.x
- XIP
- Small memory foot print.
- Suitable for small gadgets with like Portable media 
players, Mobile phones
 
0
Vadivel
 
 
Question
What is Device driver?
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   NetApp , Sun
I also faced this Question!!   © ALL Interview .com
Answer
It is software which talks to the device
 
0
Pradeep Dhondi
 
 
Answer
A device driver is a code that performs device control
operations specific to the device being addressed.
It is software layer that lies between applications and the
actual device.

or a more formal definition would be
Device drivers are distinct black boxes that make a
particular piece of hardware respond to a well defined
internal programming interface.
 
0
Sk
 
 
Answer
How a vehicle needs a driver to make the vehicle run 
properly, similarly for an embedded systems a device driver 
will make it run or work according to the user events or 
timer events or through some h/w interrupts. 

Its a software abstraction layer which will sit just above 
the h/w. So an application can be written using the device 
driver API calls. So depending on the API call being called 
from application, the device which has been programmed to 
do a specific task will be performed.
 
0
Sai Kiran
 
 
Answer
Device Driver lies between the Hardware & operating system.
Through this layer only all the request/response between the
OS & H/w are happening,
 
0
Geo
 
 
Answer
Device Driver is a software abstraction to the under lying
hardware, which allows an application programmer to access
the  device with out knowing the complexities of the hardware. 

In windows CE a device driver is a part of BSP. 

There are two types of drivers in Windows CE. 

    1. Native Device Drivers (Loaded and managed by GWES.exe)
    2. Stream Device Drivers (Loaded and managed by the
device   
       manager), which exposes a set of functions called
       stream device interface. The interfaces gives a file 
       like view for the device.
 
0
Bijosh
 
 
Answer
a device driver is typical for each kind of device. you may
find many diver softwares for an audio device. in linux a DD
is part of kernel. Driver is the software that makes a real
hardware device(chip/ ic) work. Its job is to configure the
device , create special files for that , read/write to the
device.
 
0
Achal Ubbott
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com