FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download JNTUH MCA 3rd Sem R13 2017 August 813AM Linux Programming Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 3rd Sem (Third Semester) Regulation-R13 2017 August 813AM Linux Programming Previous Question Paper

This post was last modified on 17 March 2023

This download link is referred from the post: JNTUH MCA 3rd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university


FirstRanker.com

Firstranker's choice

Code No: 813AM R13

--- Content provided by FirstRanker.com ---





JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

--- Content provided by FirstRanker.com ---

MCA III Semester Examinations, August - 2017

LINUX PROGRAMMING

Time: 3 Hours Max. Marks: 60

Note:

This question paper contains two parts A and B.

--- Content provided by FirstRanker.com ---

Part A is compulsory which carries 20 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 8 marks and may have a, b, c as sub questions.

PART - A

5 x 4 Marks = 20

  1. Write a bash script that displays a list of all the directory files in the current directory.[4]
  2. What are the differences among stat family (stat, fstat and lstat) of functions? [4]
  3. --- Content provided by FirstRanker.com ---

  4. What are the differences between fork( ) and vfork( ) functions? [4]
  5. Give the syntax of semop( ) function. What are its uses? [4]
  6. Draw a diagram that shows the calling sequence of socket system calls for connection oriented communication between a Client and a Server. [4]

PART -B

5 x 8 Marks = 40

--- Content provided by FirstRanker.com ---

  1. Explain with examples the quoting methods in shell.

    Write an awk script to find the number of characters, words and lines in a file. [4+4]

    OR

    Explain the purpose of following commands:

    1) chmod ii) tar

    --- Content provided by FirstRanker.com ---

    Write a bash script that uses a function to find the factorial of a number. [4+4]

  2. Write a C program that takes a file name as command-line argument and displays the following information on the file:

    1) file type ii) last access time. [4+4]

    OR

    --- Content provided by FirstRanker.com ---

    Write a C program to display all the directory files in the current directory.

    What is the main difference between mandatory file locking and advisory file locking?

    [4+4]

  3. Explain with examples the different ways in which a process can respond to signals.

    --- Content provided by FirstRanker.com ---

    Why were the signal facilities provided by Unix unreliable in older versions of Unix?

    [4+4]

    OR

    When a child process is created, what resources are inherited from its parent? What attributes are different between the parent and the child process?

    Explain with syntax the purpose of kill( ) function. [4+4]

    --- Content provided by FirstRanker.com ---

  4. How are the named and unnamed pipes created? What are the differences between them?

    Explain with syntax the purpose of popen( ) and pclose( )functions. [4+4]

    OR

    Explain with syntax the purpose of the following message queue functions:

    --- Content provided by FirstRanker.com ---

    a) msgget( ) b) msgsnd() c) msgrcv() d) msgctl( ) [8]

  5. Write C Programs (Send.c and Recv.c) to perform the following:

    One process reads a string from standard input device into a Shared memory segment.

    Another process writes the same string from the Shared memory segment to the standard output device. [8]

    --- Content provided by FirstRanker.com ---

    OR

    Write C Programs (Server.c and Client.c) for connection oriented communication between Client and Server processes to perform the following using sockets in the internet domain:

    Client process sends a string to the Server process. The Server process receives the string, reverses it and sends it back to the Client process. [8]

--00000--

--- Content provided by FirstRanker.com ---


FirstRanker.com

Firstranker's choice


--- Content provided by FirstRanker.com ---


This download link is referred from the post: JNTUH MCA 3rd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university