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 back one directory
    2. Lists who is logged on your machine
    3. Create a hello.c file into directory cprogs
    4. Lists file details in the current directory
    5. Displays user name
    6. Find which files contain a certain word


    Write Shell Scripts to perform the following activities (ATTEMPT ANY TWO)     (10)
    1. Take an integer as an input and print integers starting from 1 upto that integer
    2. Print the environment variable PATH
    3. Take two integers as input and print minimum between them
    4. Take two integers as input and print maximum between them


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