Question on Some Other Tools in UNIX.
Question Bank
16.1 What is the primary use of tar command?
16.2 Describe the options available and their use in tar command.
16.3 What is the strategy you would follow to transfer your files over the network when you change your place of work? (Assume your new location has given you a login account.)
16.4 Write a shell script that will replicate the behavior of tar program.
16.5 What is the extent of compression achieved say for text files under UNIX?
Compare the efficacy of the compression when you zip with when you use compress command for text files.
16.6 Why compression of image files can be organized differently then say text files?
16.7 What is a lossy compression? Is the compression of a text file using compress command in UNIX lossy?
16.8 How does one attempt profiling of a program? Suppose a program is developed by having a main program which is used as a switching program to always call a function. Suggest a strategy that will find out which function engages the processor most?
16.9 Write two programs, one to perform matrix addition of int numbers and other to perform matrix multiplication of doubles. Use large matrices of 1000*1000.
Populate the matrices using some number generators. Check the running times of the two programs using the linux profiler.
Comments
Post a Comment