Sie sind auf Seite 1von 9

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II CODE : GE2155 SEM : II

REG. NO. : YEAR : I I. Write UNIX commands for the following: 1. List all the users logged in 2. Clear your display 3. List all the files beginning with a 4. Create a directory called hello 5. Remove a particular file II. Write a Shell script to check whether the given number is Odd or Even III. Write a C program for Illustration of Dynamic memory allocation. Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Display the calendar for the month of June 2011 2. Display the self login details of the system 3. Create a file called hello and enter details into the file 4. Display the current working directory 5. Display the number of words in a file II Write a Shell script to find square of a range of numbers III Write a C program for finding the factorial of a given number. Commands (20) Program 1 (35) Program 2 (35) Viva (10)

Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Display the message Welcome to UNIX lab on the screen 2. Display the system date 3. View the contents of an already created file 4. Remove a directory 5. Clear the screen II Write a Shell script to find Greatest of 3 numbers

III Write a C program for Illustration of Pointers (display the value and address of a variable using pointer) Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : I Write UNIX commands for the following: 1. Display the number of lines in a file 2. List all files in reverse alphabetical order 3. Copy the contents of one file to another 4. Display the current working directory 5. Display the time in HH:MM:SS format II Write a Shell script to a. Swap 2 numbers using temporary variable

YEAR

b. Swap 2 numbers without using temporary variable III Write a C program for the illustration of call by reference. Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : I Write UNIX commands for the following: 1. View the contents of a file 2. Display the current working directory 3. Copy the contents of one file to another 4. Move one file from one location to another 5. Display the number of characters in a file II Write a shell script to reverse a given number

YEAR

III Write a C program to create a text file and put some content on it. Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II CODE : GE2155 SEM : II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Display the system date 2. Display the self login details of the system 3. Change from one directory to another 4. Remove a file 5. Display the number of lines, words and characters in a file II Write a shell script to find factorial of a given number III Write a C program to display the contents of any file. Commands (20) Program 1 (35) Program 2 (35) Viva (10)

Total (100)

Internal Examiner

External Examiner

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II CODE : GE2155 SEM : II

REG. NO. : I Write UNIX commands for the following: 1. Display date in mm/dd/yy form. 2. Clear the screen 3. Print Hello World on the screen 4. Create a directory called Hai 5. Display all files whose names begin with t II Write a shell script for Fibonacci series generation III Write a C programs to display the contents of any file. Commands (20) Program 1 (35) Program 2 (35)

YEAR

Viva (10)

Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Display details of all those logged in to the system 2. Remove a directory 3. Display the number of lines in a file 4. Copy the contents of file1 to file2 5. Clear the screen II Write a Shell script for Armstrong number checking III Write a C program to append some content to an existing file. Commands (20) Program 1 (35) Program 2 (35) Viva (10)

Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : I Write UNIX commands for the following: 1. Display the current working directory 2. Delete a file 3. Create a directory 4. List all files in a directory 5. Display the system date II Write a shell script for Palindrome checking

YEAR

III Write a C program for the Illustration of Dynamic memory allocation. Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Print the message Hello World on the screen 2. Create a file called Myfile and enter your profile into it. 3. Remove a directory 4. Sort contents of the file in the alphabetical order 5. Display the current working directory II Write a Shell script for Prime number checking III Write a C program for Illustration of Call by Value. Commands (20) Program 1 (35) Program 2 (35) Viva (10)

Total (100)

Internal Examiner

External Examiner

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II CODE : GE2155 SEM : II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Display the text typed from the keyboard 2. Display details of all those logged in to the system 3. Create a directory called hello 4. Change from one directory to another 5. Display the number of lines, words and characters in a file II Write a Shell script for Palindrome checking

III Write a C program for Finding factorial of a given number.


Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Print the message Welcome to UNIX Lab on the screen 2. Display the last two digits of the year 3. View the contents of a file 4. Display the current working directory 5. Copy the contents of one file to another II Write a Shell script for Student mark calculation.

III Write a C program for Illustration of function with argument and return value Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Display the system date 2. Change from one directory to another 3. To display files in the reverse alphabetical order 4. Remove a file 5. Display weekday in an abbreviated form. II Write a Shell script for Menu driven Command execution.

III Write a C program for Illustration of function with no argument and no return value . Commands Program 1 Program 2 Viva Total (20) (35) (35) (10) (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : I Write UNIX commands for the following: 1. Display the current working directory 2. Delete a file 3. Display the time in HH:MM:SS format. 4. Create a directory 5. Displays the help manual for UNIX commands. II Write a shell script for Palindrome checking

YEAR

III Write a C program for Illustration of function with argument and no return value Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

CODE

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II : GE2155 SEM :

II

REG. NO. : YEAR I Write UNIX commands for the following: 1. Display the calendar for the month of April 2011 2. Display details of all those logged in to the system 3. Create a directory called hello 4. Change from one directory to another 5. Display the number of lines, words and characters in a file II Write a Shell script for Armstrong number generation.

III Write a C program for Finding the factorial of a given number.


Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

ANNA UNIVERSITY PRACTICAL EXAMINATION NOV-2012 2116-RAJALAKSHMI ENGINEERING COLLEGE COMPUTER PRACTICE LAB- II CODE : GE2155 SEM : II

REG. NO. : YEAR : I I. Write UNIX commands for the following: 1. List all the users logged in 2. Clear your display 3. List all the files beginning with a 4. Create a directory called hello 5. Remove a particular file II. Write a Shell script to check whether the given number is Positive or Negative III. Write a C program for Illustration of Dynamic memory allocation. Commands (20) Program 1 (35) Program 2 (35) Viva (10) Total (100)

Internal Examiner

External Examiner

Das könnte Ihnen auch gefallen