JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech IV REAL TIME SYSTEMS Previous Question Paper (January/February - 2023 - R18)
Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.
Part A
Differentiate between fork() and vfork().
Answer
The fork() system call creates a new process by duplicating the calling process, where both processes have their own separate address space. In contrast, vfork() creates a new process that shares the parent's address space until an exec() or exit() call is made, and the parent process is suspended until the child completes.
Discuss about lseek() command.
Answer
The lseek() system call is used to reposition the read/write file offset of an open file descriptor. It allows a program to move the file pointer to a specific byte location, enabling random access to files. The syntax is off_t lseek(int fd, off_t offset, int whence), where whence determines if the offset is relative to the start, current position, or end of the file.
Define a task.
Answer
Sign in to view the complete answer paper.
Discuss various task states.
Answer
Sign in to view the complete answer paper.
What is a signal?
Answer
Sign in to view the complete answer paper.
What are the classification of event types?
Answer
Sign in to view the complete answer paper.
Differentiate between exceptions and interrupts.
Answer
Sign in to view the complete answer paper.
What are spurious interrupts?
Answer
Sign in to view the complete answer paper.
List out the functions of Embedded Linux.
Answer
Sign in to view the complete answer paper.
Discuss about the characteristics of MicroC/OS-II.
Answer
Sign in to view the complete answer paper.
Part B
Discuss about any six directory Commands in Linux with their functions and examples.
Answer
Sign in to view the complete answer paper.
Explain i) fork() ii) vfork() iii) exit() iv) wait () v) exec ().
Answer
Sign in to view the complete answer paper.
Give an overview of File I/O commands.
Answer
Sign in to view the complete answer paper.
Give an overview of process control commands.
Answer
Sign in to view the complete answer paper.
What is a Scheduler and discuss about its services?
Answer
Sign in to view the complete answer paper.
Briefly explain different types of scheduling strategies used in RTOS.
Answer
Sign in to view the complete answer paper.
Define RTOS? What is the difference between OS and RTOS?
Answer
Sign in to view the complete answer paper.
Discuss the different operations that can be performed on semaphores.
Answer
Sign in to view the complete answer paper.
Explain the I/O subsystem with RTOS examples.
Answer
Sign in to view the complete answer paper.
Explain the event registers with examples.
Answer
Sign in to view the complete answer paper.
Discuss in brief about Pipes and Pipe states.
Answer
Sign in to view the complete answer paper.
Discuss about i) popen ii) pclose system calls.
Answer
Sign in to view the complete answer paper.
What is an exception? Explain the process of handling exceptions in RTOS.
Answer
Sign in to view the complete answer paper.
Discuss about soft timers and various operations of soft timers.
Answer
Sign in to view the complete answer paper.
What is VxWorks?
Answer
Sign in to view the complete answer paper.
How process management is implemented in VxWorks?
Answer
Sign in to view the complete answer paper.
Define porting of RT Linux.
Answer
Sign in to view the complete answer paper.
Discuss general requirements of processor to port RT Linux along with hardware/software architecture.
Answer
Sign in to view the complete answer paper.