Institute of Management and Entrepreneurship Development (IMED), Pune

BCA (Semester-V)

SUBJECT: Introduction to Linux

Day:Saturday                Time:10.00 am - 1.00 pm
Date:September 19, 2016Max. Marks:60

Instructions:
  • Part-I: Oral Examination (20 Marks)
  • Part-II: Practical Examination (40 Marks) - Please write your answers in answer-book before you type them at Linux terminal.


  • Write respective Linux commands to perform the following activities (ATTEMPT ANY FOUR)     (20)
    1. Move into your HOME directory
    2. Estimates the disk usage of a directory in bytes
    3. Change file permissions to read only
    4. Make a copy of hello.c
    5. Make a directory called cprogs


    Write Shell Scripts to perform the following activities (ATTEMPT ANY TWO)     (10)
    1. Print the environment variable PATH
    2. Display information about the command line arguments


    Write programs in C or Java langauge to perform the following activities (ATTEMPT ANY TWO)     (10)
    1. Print odd integers between 1 and 100
    2. Take an integer as an input and print integers starting from 1 upto that integer
    3. Take two integers as input and print maximum between them