0% found this document useful (0 votes)
35 views2 pages

Linuxpaper

This document contains instructions for a Linux programming exam. It is divided into two parts: Part A contains 10 short answer questions worth 2 marks each for a total of 20 marks. Part B contains 5 long answer questions worth 10 marks each for a total of 50 marks. Students must answer all questions in Part A and choose one question from each unit in Part B. The questions cover topics like Linux shells, process utilities, file permissions, interprocess communication, and socket programming.

Uploaded by

bodhu varun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Linuxpaper

This document contains instructions for a Linux programming exam. It is divided into two parts: Part A contains 10 short answer questions worth 2 marks each for a total of 20 marks. Part B contains 5 long answer questions worth 10 marks each for a total of 50 marks. Students must answer all questions in Part A and choose one question from each unit in Part B. The questions cover topics like Linux shells, process utilities, file permissions, interprocess communication, and socket programming.

Uploaded by

bodhu varun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

R17 Regulation Subject code: 1P7EB

TKR COLLEGE OF ENGINEERING AND TECHNOLOGY


(Autonomous, Accredited by NAAC with ‘A’ Grade)

B.Tech IV Year I Semester Regular Examinations, February 2021


LINUX PROGRAMMING
(Computer Science and Engineering)
Maximum Marks: 70 Date: 23.02.2021 Duration: 3 hours
Note: 1.This question paper contains two parts A and B.
2. Part A is compulsory which carries 20 marks. Answer all questions in Part A.
3. Part B consists of 5 Units. Answer any one full question from each unit.
4. Each question carries 10 marks and may have a, b, c, d as sub questions.

Part-A
All the following questions carry equal marks (10x2M=20 Marks)
1 Define Shell and mention the properties of LINUX
2 Mention the use of the fork system call and command “passwd”
3 Write the syntax of open system call.
4 Write the syntax of mount() system call.
5 Define zombie process
6 Differentiate user priorities and kernel priorities
7 Differentiate dependent process and independent process.
8 Differentiate named and unnamed pipes.
9 Give real time examples for shared memory.
10 Define Socket. List the system calls which support socket programming.
Part-B
Answer All the following questions. (10M X 5=50Marks)
11 Explain in detail about the process utilities, text processing utilities and backup utilities.
(10M)
OR
12 Explain the various shell commands with proper syntax and example.(10M)
13 (a) Write short note on file locking and record locking. (5M)
(b) Discuss about File permissions. (5M)
OR
14 Discuss the following commands(10M)
(a) mkdir(2)
(b) rmdir(2)
(c) chdir(2)
(d) opendir(2)
(e) closedir(2)
15 Explain the layout of execution of C program in main memory with example.(10M)
OR
16 (a) Write short notes on signal. (5M)
(b) Differentiate reliable signals and unreliable signals. (5M)
17 Explain in detail about Interprocess communication.(10M)

Page 1 of 2
OR
18 Define Semaphores. Explain how kernel support for semaphores.(10M)
19 Explain in detail about the system calls which support TCP protocol and UDP
protocol.(10M)
OR
20 Discuss in detail about the APIs for shared memory.(10M)

Page 2 of 2

You might also like