www.QuestionPaperDownload.com

Code No: 07A3EC17

R07

Set No. 2

II B.Tech I Semester Examinations,November 2010 UNIX AND SHELL PROGRAMMING Common to Information Technology, Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) What is the output statement in C shell? Explain its format. (b) What would be printed from the following script segment? Explain. for each i ( 12 11 10 8 7 ) echo $i end

[8+8]

2. What would be the effect of the following commands: (a) egrep “∧ [0 − 9] + [.][0 − 9] ∗ $” file1 (b) egrep “∧ 0[xX][0 − 9A − Fa − f] + $” file1 (c) grep “[0 − 9]. ∗ [0 − 9]. ∗ [0 − 9]. ∗ [0 − 9]” file1 > file2 (d) grep “∧ \(.\)\(.\).\2\1” file1 > file2 (e) grep ‘scanf ’ *.c (f) sed ‘s/[0 − 9][0 − 9]$/&.5/’ datafile (g) grep ‘\.pic$’ (h) grep -v “rao” xyz.

[2×8=16]

3. (a) Describe interrupt and EOF characters. (b) What do multiuser and multitasking mean.

[8+8]

4. Use a pipeline and command substitution to set the length of a line in ‘‘emp.dat” to a variable. [16] 5. (a) When will be begin pattern true? When it is false? Explain with an example. (b) Find the line that matches a regular expression in korn shell using grep. [8+8] 6. Diffrentiate grep, egrep and fgrep commands. Explain each with 3 suitable examples. [16] 7. (a) Explain the function concept with awk shell script including calling function, Returning values, comparing strings. (b) Explain the different string manipulations with example awk shell script.[8+8] 8. Write the syntax for the following and explain with an example: (a) lseek www.QuestionPaperDownload.com

www.QuestionPaperDownload.com

Code No: 07A3EC17

R07

Set No. 2

(b) chmod (c) chgrp (d) rmdir.

[4+4+4+4] ?????

www.QuestionPaperDownload.com

www.QuestionPaperDownload.com

Code No: 07A3EC17

R07

Set No. 4

II B.Tech I Semester Examinations,November 2010 UNIX AND SHELL PROGRAMMING Common to Information Technology, Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. Use a pipeline and command substitution to set the length of a line in ‘‘emp.dat” to a variable. [16] 2. What would be the effect of the following commands: (a) egrep “∧ [0 − 9] + [.][0 − 9] ∗ $” file1 (b) egrep “∧ 0[xX][0 − 9A − Fa − f] + $” file1 (c) grep “[0 − 9]. ∗ [0 − 9]. ∗ [0 − 9]. ∗ [0 − 9]” file1 > file2 (d) grep “∧ \(.\)\(.\).\2\1” file1 > file2 (e) grep ‘scanf ’ *.c (f) sed ‘s/[0 − 9][0 − 9]$/&.5/’ datafile (g) grep ‘\.pic$’ (h) grep -v “rao” xyz.

[2×8=16]

3. (a) What is the output statement in C shell? Explain its format. (b) What would be printed from the following script segment? Explain. for each i ( 12 11 10 8 7 ) echo $i end

[8+8]

4. Write the syntax for the following and explain with an example: (a) lseek (b) chmod (c) chgrp (d) rmdir.

[4+4+4+4]

5. Diffrentiate grep, egrep and fgrep commands.Explain each with 3 suitable examples. [16] 6. (a) Explain the function concept with awk shell script including calling function, Returning values, comparing strings. (b) Explain the different string manipulations with example awk shell script. [8+8] 7. (a) When will be begin pattern true? When it is false? Explain with an example. (b) Find the line that matches a regular expression in korn shell using grep. [8+8] www.QuestionPaperDownload.com

www.QuestionPaperDownload.com

Code No: 07A3EC17

R07

Set No. 4

8. (a) Describe interrupt and EOF characters. (b) What do multiuser and multitasking mean. ?????

www.QuestionPaperDownload.com

[8+8]

www.QuestionPaperDownload.com

Code No: 07A3EC17

R07

Set No. 1

II B.Tech I Semester Examinations,November 2010 UNIX AND SHELL PROGRAMMING Common to Information Technology, Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) Explain the function concept with awk shell script including calling function, Returning values, comparing strings. (b) Explain the different string manipulations with example awk shell script.[8+8] 2. (a) Describe interrupt and EOF characters. (b) What do multiuser and multitasking mean.

[8+8]

3. Use a pipeline and command substitution to set the length of a line in ‘‘emp.dat” to a variable. [16] 4. Write the syntax for the following and explain with an example: (a) lseek (b) chmod (c) chgrp (d) rmdir.

[4+4+4+4]

5. (a) When will be begin pattern true? When it is false? Explain with an example. (b) Find the line that matches a regular expression in korn shell using grep. [8+8] 6. (a) What is the output statement in C shell? Explain its format. (b) What would be printed from the following script segment? Explain. for each i ( 12 11 10 8 7 ) echo $i end 7. What would be the effect of the following commands: (a) egrep “∧ [0 − 9] + [.][0 − 9] ∗ $” file1 (b) egrep “∧ 0[xX][0 − 9A − Fa − f] + $” file1 (c) grep “[0 − 9]. ∗ [0 − 9]. ∗ [0 − 9]. ∗ [0 − 9]” file1 > file2 (d) grep “∧ \(.\)\(.\).\2\1” file1 > file2 (e) grep ‘scanf ’ *.c (f) sed ‘s/[0 − 9][0 − 9]$/&.5/’ datafile (g) grep ‘\.pic$’ www.QuestionPaperDownload.com

[8+8]

www.QuestionPaperDownload.com

Code No: 07A3EC17

R07

(h) grep -v “rao” xyz.

Set No. 1 [2×8=16]

8. Diffrentiate grep, egrep and fgrep commands.Explain each with 3 suitable examples. [16] ?????

www.QuestionPaperDownload.com

www.QuestionPaperDownload.com

Code No: 07A3EC17

R07

Set No. 3

II B.Tech I Semester Examinations,November 2010 UNIX AND SHELL PROGRAMMING Common to Information Technology, Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. Write the syntax for the following and explain with an example: (a) lseek (b) chmod (c) chgrp (d) rmdir.

[4+4+4+4]

2. What would be the effect of the following commands: (a) egrep “∧ [0 − 9] + [.][0 − 9] ∗ $” file1 (b) egrep “∧ 0[xX][0 − 9A − Fa − f] + $” file1 (c) grep “[0 − 9]. ∗ [0 − 9]. ∗ [0 − 9]. ∗ [0 − 9]” file1 > file2 (d) grep “∧ \(.\)\(.\).\2\1” file1 > file2 (e) grep ‘scanf ’ *.c (f) sed ‘s/[0 − 9][0 − 9]$/&.5/’ datafile (g) grep ‘\.pic$’ (h) grep -v “rao” xyz.

[2×8=16]

3. (a) When will be begin pattern true? When it is false? Explain with an example. (b) Find the line that matches a regular expression in korn shell using grep. [8+8] 4. (a) What is the output statement in C shell? Explain its format. (b) What would be printed from the following script segment? Explain. for each i ( 12 11 10 8 7 ) echo $i end

[8+8]

5. (a) Describe interrupt and EOF characters. (b) What do multiuser and multitasking mean.

[8+8]

6. Diffrentiate grep, egrep and fgrep commands.Explain each with 3 suitable examples. [16] 7. (a) Explain the function concept with awk shell script including calling function, Returning values, comparing strings. www.QuestionPaperDownload.com

www.QuestionPaperDownload.com

Code No: 07A3EC17

R07

Set No. 3

(b) Explain the different string manipulations with example awk shell script.[8+8] 8. Use a pipeline and command substitution to set the length of a line in ‘‘emp.dat” to a variable. [16] ?????

www.QuestionPaperDownload.com

B Tech 2-1 R07 UNIX2 Question Paper.pdf

Page 1 of 8. Code No: 07A3EC17 R07 Set No. 2. II B.Tech I Semester Examinations,November 2010. UNIX AND SHELL PROGRAMMING. Common to ...

360KB Sizes 1 Downloads 252 Views

Recommend Documents

B Tech 2-1 R07 EEE Question Paper.pdf
QuestionPaperDownload.com www.QuestionPaperDownload.com. Page 3 of 8. B Tech 2-1 R07 EEE Question Paper.pdf. B Tech 2-1 R07 EEE Question Paper.

B Tech 2-1 R07 PDC Question Paper.pdf
www.QuestionPaperDownload.com www.QuestionPaperDownload.com. Page 3 of 12. B Tech 2-1 R07 PDC Question Paper.pdf. B Tech 2-1 R07 PDC Question ...

B Tech 1st Year R07 MI Question paper.pdf
Computer Science & Engineering, Chemical Engineering, Electronics &. Instrumentation Engineering, Bio-Medical Engineering, Information. Technology ...

B Tech 2-1 R07 ECA Question Paper.pdf
Vinom = 40V,Vimin = 35V, Vimax = 45V Vz = 20V, rz = 5 ohms ILmin= 0mA,ILmax. = 100mA Izmin = 10mA, Izmax = 400mA. Find Pzmax and load resistance. [8+8]. 3. (a) The basic Switching regulator is designed to maintain a 12V dc output when. the unregulate

B Tech 2-1 R07 MFCS Question Paper.pdf
Show that R is an equivalence relation. (b) Let A = {1, 2, 3, 4} and P = {{1, 2,3}, {4}} be a partition of A. Find the. equivalence relation determined by P. [10+6]. 3.

B Tech 2-1 R07 BIOCHEM Question Paper.pdf
There was a problem loading this page. B Tech 2-1 R07 BIOCHEM Question Paper.pdf. B Tech 2-1 R07 BIOCHEM Question Paper.pdf. Open. Extract. Open with.

B Tech 2-1 R07 STLD Question Paper.pdf
(a) Give a detailed comparison between combinational logic circuits and sequential. logic circuits. (b) Design a basic flip flop and explain its operation. [8+8] ?

B Tech 2-1 R07 THEMSCI Question Paper.pdf
QuestionPaperDownload.com. Page 3 of 8. B Tech 2-1 R07 THEMSCI Question Paper.pdf. B Tech 2-1 R07 THEMSCI Question Paper.pdf. Open. Extract.

B Tech 2-1 R07 MMS Question Paper.pdf
QuestionPaperDownload.com. Page 3 of 8. B Tech 2-1 R07 MMS Question Paper.pdf. B Tech 2-1 R07 MMS Question Paper.pdf. Open. Extract. Open with.

B Tech 2-1 R07 FMHM Question Paper.pdf
QuestionPaperDownload.com. Page 3 of 8. B Tech 2-1 R07 FMHM Question Paper.pdf. B Tech 2-1 R07 FMHM Question Paper.pdf. Open. Extract. Open with.

B Tech 2-1 R07 ELEENG Question Paper.pdf
(b) Discuss the Ward Leonard method of Speed control of DC motors. [8+8]. 6. Discuss different classifications of analog instruments and explain each of them.

B Tech 2-1 R07 ACBC Question Paper.pdf
(a) Write a short note on Synthetic rubber. (b) Compare natural rubber and vulcanized rubber? (c) Write a note on the engineering uses of Vulcanised rubber?

B Tech 1st Year R07 R7100101-ENG Question Paper.pdf ...
Page 1 of 1. Code :R7100101 R7. B.Tech I Year (R07) Supplementary Examinations, December 2010. ENGLISH. (Common to Civil Engineering, Mechanical ...

B Tech 2-1 R07 BIOEE Question Paper.pdf
Describe various studies conducted on nerve conduction including Galvani and. Volta's experimentation, Goldman's theory and Hodgekin and huxely's observa- ...

B Tech 2-1 R07 EMF Question Paper.pdf
QuestionPaperDownload.com www.QuestionPaperDownload.com. Whoops! There was a problem loading this page. B Tech 2-1 R07 EMF Question Paper.pdf.

B Tech 4-1 R07 DIMP Question Paper.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. B Tech 4-1 R07 ...

B Tech 2-1 R07 FLUIDMECH Question Paper.pdf
What will be the discharge when a cast iron. pipe of roughness k = 0.3 mm is used ? what will be the percentage increase in. the discharge if the cast iron pipe is ...

B Tech 2-1 R07 MOF Question Paper.pdf
QuestionPaperDownload.com www.QuestionPaperDownload.com. Whoops! There was a problem loading this page. B Tech 2-1 R07 MOF Question Paper.pdf.

B Tech 2-1 R07 STLD Question Paper.pdf
(c) Give the truth table for the Boolean expression (X0+Y)0. [4+8+4]. 6. Using Q-M method to determine the prime implicants and obtain the possible. minimal ...

B Tech 2-1 R07 PTECH Question Paper.pdf
QuestionPaperDownload.com. Page 3 of 4. B Tech 2-1 R07 PTECH Question Paper.pdf. B Tech 2-1 R07 PTECH Question Paper.pdf. Open. Extract. Open with.

B Tech 2-1 R07 MT Question Paper.pdf
(b) What are the advantages and disadvantages of Ellingham diagrams? [8+8]. 6. (a) Explain what do you mean by thermodynamic equillibrium. (b) Discuss the ...

B Tech 4-1 R07 HVDCTRANSM-EEE Question paper.pdf ...
QuestionPaperDownload.com. Page 3 of 5. B Tech 4-1 R07 HVDCTRANSM-EEE Question paper.pdf. B Tech 4-1 R07 HVDCTRANSM-EEE Question paper.pdf.

B Tech 2-1 R07 DLD Question Paper.pdf
Page 1. Whoops! There was a problem loading more pages. Retrying... B Tech 2-1 R07 DLD Question Paper.pdf. B Tech 2-1 R07 DLD Question Paper.pdf.

B Tech 2-1 R07 OOPS Question Paper.pdf
discuss applicability of access modifiers to variables, methods and classes? [8+8]. 3.a) What is inheritance. Explain two benefits of inheritance, with an example ...