You are on page 1of 1

eiTRA

TEST 2
Total Marks : 30
Time: 1 hr 30 mins

Instructions:
I) You must code to achieve optimization and will need to justify same.
II) Follow coding standards.

Perform ANY THREE.

1. Write a C program that reads several different names and addresses into the computer, rearranges
names in alphabetical order and then writes out the alphabetized order.

2. Write a program to copy its input to its output, replacing each tab by \t, each backspace by \b, and
each backslash by \\. This makes tabs and backspaces visible in an unambiguous way.

3. Write a program to print a set of files, starting each new one on a new page, with a title and a running
page count for each file.

4. Write a code which inspects a bit sequence. i.e. it searches particular bit sequence from bigger bit
stream. Use conditional compilation to generate two binaries one searches in same order and other in
reverse order.

You might also like