How To Exam?

a knowledge trading engine...


SRM University 2007 B.Tech Electronics and Communications Engineering SYLLABUS / BANK FOR COMPUTER PROGRAMMING - Question Paper

Wednesday, 30 January 2013 09:40Web
6. Write a program to multiply a matrix of order M*N with b matrix of order N*L
7. Write a program to obtain and print the transpose of a matrix.
8. Write a program to print the smallest value in a provided array along with the position in the array
9. Write a program to obtain the 2nd largest value in the array of numbers
10. Write a program to learn x1,x2,x3....upto xn of raw data and calculate the number of data above and beneath the mean (average) using while statement to obtain avg.
11. Write a program to sort the elements of an array in descending order
12. Write a program to search an element in an array of N elements
13. Write a program to obtain the product of 2 matrix
14. four tests are provided to a class of 30 students.Write a program that calculates the avg. in every tests and the class avg. of all the tests.
15. learn and Display a character array until '$'
16. Write a program to input info about N students in a class provided the following:
Roll no,Student name,Total marks.The program should output the marks of specified
students provided his/her roll numbers.(using structure)
17. Declare structure of students with details like roll no,student name,total marks.Using this declare an array with 50 elements.Write a program to learn details of 'N' students and print the list of students who have scored 75 marks and above.
18.Create a structure to store the subsequent info of an employee.
Employees no,name, pay,date of joining.
It is decided to increase the pay as the subsequent rules.
pay <=Rs.2000 :15% increase
pay <=Rs.5000 but >Rs2000 :10% increase
pay > Rs.1500 :no increase
write a program using a function
19. learn a employee biodata from a file using structure("biodata.txt")and display is in the screen.
20. learn ten biodatas from a file ("bioten.txt") and display is in the screen.



UNIT - IV

PART - A

1. Name any five salient features of UNIX operating system.
2. What is the basic difference ranging from DOS, WINDOWS 95 and UNIX.
3. State 2 various ways in which you would identify whether a provided file is an ordinary file or a directory.
4. What does uid and gid signify?
5. Write the UNIX equivalent of the subsequent DOS commands.
DIR DEL COPY kind CD MD RD REN
6. What is the meaning of . and .. ?
7. How will you print the listing of the parent directory from the current directory?
8. How will you forcibly remove a file to which you don’t have write permission?
9. How will you print the contents of files “aaa” “bbb” “ccc” using a single command?
10. What is Boot Block?
11. What is Super Block?
12. What is Inode Table?
13. What is Data Block?
14. When a file is deleted what happens to its entry in the inode table?
15. What do you mean by a filter? provide examples of filters.
16. Which of the subsequent are filters?
Date head grep tail ls more who pg ps tee
17. Can we redirect the output to keyboard and redirect input to screen?
18. What is the difference ranging from the commands :
cat < file1 > file2
cat > file2 < file1
19. List out the logical operators in UNIX.
20. Write about shell variables.
21. Write about shell keywords.
22. Write about arithmetic operators in shell programming.
23. Explain learn command in UNIX.
24. What is tput? discuss.
25. What are the typical characteristics of a UNIX file system?
26. How will you list the current directory in columnar format?
27. What is the usual permission settings for a file and a directory?
28. Can a file have more than 2 links?
29. Which command is used to write in-core super block and inode table info to the disk.
30. What is the size of every entry in the inode table?

PART - B

1. Write about the UNIX file system.
2. List out all file and directory related commands in UNIX.
3. What is piping? discuss with example.
4. List out the commonly used filters in UNIX and discuss.
5. Explain about various form of if statement in UNIX with example.
6. Write about the test command in detail with example.
7. Explain the following:
8. (i) Write about the loop control structures in UNIX.
(ii) discuss the subsequent :
(a) while statement
(b) until statement
(c) for loop
9. (a) Write a shell script to print prime numbers from one to 300.
(b)Write a shell program to obtain the factorial of any number entered through the keyboard.
10. What will be the effect of subsequent UNIX commands.
(i) umask022
(ii) umask
(iii) ulimit512
(iv) in dir1 dir2 (dir2 is existing on the disk)
(v) du ../..
(vi) du .






UNIT – V

PART - A

1. Give 2 limitations of Unix operating systems.
2. What is file transfer protocol?
3. What is Telnet?
4. How telnets accessed?
5. Explain GREP command.
6. Explain EGREP command.
7. Explain Sed command.
8. Explain Awk command.
9. Explain Vi command.
10. What is a fork process?
11. What are commonly used edit commands.
12. What are the operators used in Sed regular expressions?
13. Give the EGREP command line choices.
14. How EGREP commands differ from GREP command?
15. Give the usage of Sed command.
16. Give a few regular expressions in Awk
17. What operators can be used in AWK?
18. Explain the Awk variables.
19. Give a few of the Awk functions.
20. Explain the purpose of using Vi editor command.

PART - B

1. Explain briefly the limitations of Unix operating system.
2. Discuss briefly the file transfer protocol? Why it is used?
3. How would you access the remote system by Telnet?
4. Explain the subsequent commands.
(a) GREP
(b) EGREP
(c) SED
(d) AWK
(e) VI
5. Explain the fork( ) process with an example.
6. Explain the usage of Sed command with example.
7. Explain briefly the use of regular expressions in Sed.
8. Explain in brief the GREP and EGREP command with example.
9. How would you invoke Awk? discuss the use of regular expression in Awk.
10. Discuss about the different functions and variables in Awk.


?????






( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER SRM University 2007 B.Tech Electronics and Communications Engineering SYLLABUS / BANK FOR COMPUTER PROGRAMMING - Question Paper