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. Lists commands you have done recently
    2. Estimates the disk usage of a directory in bytes
    3. Lists files in current directory
    4. Estimates how much disk space is free
    5. Print current date


    Write Shell Scripts to perform the following activities (ATTEMPT ANY TWO)     (10)
    1. Displays an informative message and then runs the 'ls' command
    2. Print the environment variable PATH
    3. Take two integers as input and print minimum between them


    Write programs in C or Java langauge to perform the following activities (ATTEMPT ANY TWO)     (10)
    1. Take a string as input and compare it with string LINUX
    2. Print even intergers between 1 and 100
    3. Take two integers as input and print maximum between them