InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Difference B/w Taskdelay And Nanosleep? |
|
Answer» Taskdelay Wind VXWORKS: puts a TASK in delayed state for specified ticks, NANOSLEEP posix : puts process in SLEEP for specified nano seconds. Taskdelay Wind vxworks: puts a task in delayed state for specified ticks, Nanosleep posix : puts process in sleep for specified nano seconds. |
|
| 2. |
What Is Mutex ? |
|
Answer» MUTEX is MUTUAL exclusion, which provides exclusive hold on RESOURCE . In vxworks mutual exclusion SEMAPHORE supports different features:
Mutex is mutual exclusion, which provides exclusive hold on resource . In vxworks mutual exclusion semaphore supports different features: |
|
| 3. |
What Is Tornado And Its Features? |
Answer»
|
|
| 4. |
What Is The Difference B/w Downloadable And Bootable Application? |
|
Answer» Bootable Project - A project used to configure and build VXWORKS images for a particular BSP. Application code may be STATICALLY linked to such a VxWorks image, and the application’s start-up code may be specified. DOWNLOADABLE Project - A project used to MANAGE and build application modules which can be downloaded and DYNAMICALLY linked with a running VxWorks image. Allows "on the fly" development. Bootable Project - A project used to configure and build VxWorks images for a particular BSP. Application code may be statically linked to such a VxWorks image, and the application’s start-up code may be specified. Downloadable Project - A project used to manage and build application modules which can be downloaded and dynamically linked with a running VxWorks image. Allows "on the fly" development. |
|
| 5. |
What Does Target Server Do? |
|
Answer» Target server PROVIDES host-based management of target resources needed by development TOOLS:
Target server provides host-based management of target resources needed by development tools: |
|
| 6. |
Advantages Of Vx Works And Why? |
|
Answer» Vxworks provides characteristics like Deterministic,Multitasking, Fast Context Switching, Support for Preemptive Based SCHEDULING Support for Multiple Priority level,Support for Inter Task Communication, Support for Inter Task SYNCHRONIZATION, Low Interrupt LATENCY Low Memory Footprint, SCALABLE Which makes intertask communication faster and context switching latency is REDUCED because, all tasks resides in common address space,no swaping and paging of memory is used. Vxworks can be scaled, unnecessary components can be easily excluded.memory usage will be greatly reduced because of this feature. Vxworks is extendable, new components can be added like a task. Vxworks provides characteristics like Deterministic,Multitasking, Fast Context Switching, Support for Preemptive Based Scheduling Support for Multiple Priority level,Support for Inter Task Communication, Support for Inter Task Synchronization, Low Interrupt Latency Low Memory Footprint, Scalable Which makes intertask communication faster and context switching latency is reduced because, all tasks resides in common address space,no swaping and paging of memory is used. Vxworks can be scaled, unnecessary components can be easily excluded.memory usage will be greatly reduced because of this feature. Vxworks is extendable, new components can be added like a task. |
|
| 7. |
What R Scheduling Algorithms? |
|
Answer» There are 2 scheduling algorithms in Vxworks
There are 2 scheduling algorithms in Vxworks |
|
| 8. |
Difference B/w Vxworks And Linux Os? |
|
Answer» VXWORKS runs in one mode. No protected vs. user mode SWITCHING is done. RUNNING in supervisor mode on most processors, and not using traps for system calls. linux provides resource RECLAMATION; by default, VxWorks does not. VxWorks does not have full "process"; it only has tasks, or "threads". VxWorks runs in one mode. No protected vs. user mode switching is done. Running in supervisor mode on most processors, and not using traps for system calls. linux provides resource reclamation; by default, VxWorks does not. VxWorks does not have full "process"; it only has tasks, or "threads". |
|
| 9. |
What Are Message Queues And Pipes? |
|
Answer» Message queues and pipes are a way of inter TASK communication USED to send and receive message between two tasks. Pipes are virtual Io and unidirectional.messages are sent and received in form of BYTES. Message queue can be created with variable length messages are sent by passing address of the buffer which holds the message . message queue created with queue length of one is called as mailbox , it can be used for synchronization. User reserved memory System memory pool WDB_POOL_SIZE Vxworks + application interrupt VECTOR table,bootline, exception message Message queues and pipes are a way of inter task communication used to send and receive message between two tasks. Pipes are virtual Io and unidirectional.messages are sent and received in form of bytes. Message queue can be created with variable length messages are sent by passing address of the buffer which holds the message . message queue created with queue length of one is called as mailbox , it can be used for synchronization. User reserved memory System memory pool WDB_POOL_SIZE Vxworks + application interrupt vector table,bootline, exception message |
|
| 10. |
What Is Task Switching? |
|
Answer» When KERNEL finds highest priority task than the current running task then it will PREEMPT the current running task and ALLOCATE memory for the highest priority task. Time taken to switch from one task context to ANOTHER task context another task context is called task switching. When kernel finds highest priority task than the current running task then it will preempt the current running task and allocate memory for the highest priority task. Time taken to switch from one task context to another task context another task context is called task switching. |
|
| 11. |
What Is Ipc (inter Process Communication) ? |
|
Answer» A TECHNIQUE USED to COMMUNICATE between two process executing on same processor or on different processor Any of this ipc can be used for COMMUNICATION, Message queue , Pipes, SHARED memory. A technique used to communicate between two process executing on same processor or on different processor Any of this ipc can be used for communication, Message queue , Pipes, Shared memory. |
|
| 12. |
How Vx Works Differ From Unix.? |
|
Answer» VxWorks runs in one mode. No protected VS. user mode switching is done. Running in SUPERVISOR mode on most processors, and not using traps for system calls. UNIX provides RESOURCE reclamation; by default, VxWorks does not. VxWorks does not have FULL "process"; it only has TASKS, or "threads". VxWorks runs in one mode. No protected vs. user mode switching is done. Running in supervisor mode on most processors, and not using traps for system calls. UNIX provides resource reclamation; by default, VxWorks does not. VxWorks does not have full "process"; it only has tasks, or "threads". |
|
| 13. |
What Is Difference Between Signals And Interrupts? |
|
Answer» Signals will TELL about that some invent has occurred. But when an interrupt has occurred the system has to STOP the current TASK and has to switch to ISR. Signals will tell about that some invent has occurred. But when an interrupt has occurred the system has to stop the current task and has to switch to ISR. |
|
| 14. |
What Is The Memory Layout In Vx Works? |
|
Answer» The MEMORY LAYOUT in vxworks is known as flat PHYSICAL address SPACE, The DIAGRAM shows, how the memory is been divided in to different regions on target board RAM SysPhysMemTop() The memory layout in vxworks is known as flat physical address space, The diagram shows, how the memory is been divided in to different regions on target board RAM SysPhysMemTop() |
|