• Tidak ada hasil yang ditemukan

INSTITUTE OF AERONAUTICAL ENGINEERING - IARE

N/A
N/A
Protected

Academic year: 2025

Membagikan "INSTITUTE OF AERONAUTICAL ENGINEERING - IARE"

Copied!
2
0
0

Teks penuh

(1)

Hall Ticket No Question Paper Code: AIT005

INSTITUTE OF AERONAUTICAL ENGINEERING

(Autonomous)

B.Tech VI Semester End Examinations (Regular) - May, 2019 Regulation: IARE – R16

LINUX INTERNALS

Time: 3 Hours (IT) Max Marks: 70

Answer ONE Question from each Unit All Questions Carry Equal Marks

All parts of the question must be answered in one place only

UNIT – I

1. (a) Explain the control structures of shell programming with suitable examples. [7M]

(b) Write a shell script to check whether a given number is a prime number or not. [7M]

2. (a) Discuss elaborately about grep command with suitable examples. [7M]

(b) Write a shell script to generate Fibonacci series. [7M]

UNIT – II

3. (a) Describe the file system structure of Linux operating system with neat diagram. [7M]

(b) Write a C program for open a file, read and display the content of opened file, and unlink the

same file. [7M]

4. (a) Differentiate the following functions stat(), fstat(), and lstat() with syntax.

[7M]

(b) Write a C program that takes one or more file or directory names as input and reports the following information on the file:

i) File type

ii) Number of links

iii) Read, write and execute permissions iv) Time of last access

[7M]

UNIT – III

5. (a) What is process and what is the function to create new process ? Differentiate fork() and vfork()

with example? [7M]

(b) Define Orphan and Zombie process. Write a C program to create Zombie process.

[7M]

6. (a) What is a signal? Why we need them? Explain signal handler function in detail. [7M]

(b) Write a C program to catch signal SIGINT and display message “hello you are interrupted” after pressing ctrl + c, catch signal using signal handler function. [7M]

Page 1 of 2

(2)

UNIT – IV

7. (a) Differentiate pipe and named pipe concepts in inter process Communication. [7M]

(b) Write a C program to create a pipe between a parent and its child and to send data through the

pipe. [7M]

8. (a) What is message queue. Describe message queue API with syntax and example? [7M]

(b) Write a C program that receives 3 messages from the sender using message queues system calls and displays messages to output stream based on priority. [7M]

UNIT – V

9. (a) Explain the following functions [7M]

i) shmget() ii) shmctl() iii) shmat()

(b) Write a C program to achieve inter process communication through shared memory. [7M]

10. (a) Illustrate TCP socket connection establishment with a neat diagram? [7M]

(b) Write a C program to implement echo client server programme using UDP Socket elementary

functions. [7M]

− ◦ ◦ ◦ ◦ −

Page 2 of 2

Referensi

Dokumen terkait

Write a Java Program that loads names and phone numbers from a text file where the data is organized as one line per record and each field in a record are separated by a tab/t.It takes

a Discuss the four ways of disk usage of work station model in distributed operating system.[7M] b Write the scheduling algorithm in distributed system with example.. a Discuss the

Write a java program that reads a file name from the user, and then displays information about whether the file exists, whether the file is readable, whether the file is writable, the

a Draw the input and output characteristics of CB Configuration and explain [7M] b Determine the collector current and emitter current for a transistor with α = 0.99 and ICBO = 490µA

[7M] b With suitable circuit topology, voltage and current waveforms, reflect the effect of input source impedance on the average output of a single phase fully controlled converter..

[7M] b Write a program to define a structure that store details of 10 railway passengers as name, PNR number, Source, Destination and classSL/1A/2A/3A.. Display details of sleeper

Write the HTML code for fallowing image: [7M] UNIT - II 3 a Using servlet make a “registration” form that collects a first name, last name, and email address.. Send the data to a

[7M] b Write a function to pop an element and push an element into a stack using single linked list.. a Explain with an example how queue is useful to traverse a graph using