summaryrefslogtreecommitdiff
path: root/1088/CH1
diff options
context:
space:
mode:
Diffstat (limited to '1088/CH1')
-rwxr-xr-x1088/CH1/EX1.1/Example1.sce27
-rwxr-xr-x1088/CH1/EX1.1/Result1.pdf39
-rwxr-xr-x1088/CH1/EX1.1/Result1.txt39
-rwxr-xr-x1088/CH1/EX1.2/Example2.sce9
-rwxr-xr-x1088/CH1/EX1.2/Result2.pdf36
-rwxr-xr-x1088/CH1/EX1.2/Result2.txt36
-rwxr-xr-x1088/CH1/EX1.3/Example3.sce21
-rwxr-xr-x1088/CH1/EX1.3/Result3.pdf102
-rwxr-xr-x1088/CH1/EX1.3/Result3.txt102
-rwxr-xr-x1088/CH1/EX1.4/Example4.sce22
-rwxr-xr-x1088/CH1/EX1.4/Result4.pdf46
-rwxr-xr-x1088/CH1/EX1.4/Result4.txt46
-rwxr-xr-x1088/CH1/EX1.5/Example5.sce16
-rwxr-xr-x1088/CH1/EX1.5/Result5.pdf282
-rwxr-xr-x1088/CH1/EX1.5/Result5.txt282
-rwxr-xr-x1088/CH1/EX1.6/Example6.sce19
-rwxr-xr-x1088/CH1/EX1.6/Result6.pdf104
-rwxr-xr-x1088/CH1/EX1.6/Result6.txt104
-rwxr-xr-x1088/CH1/EX1.7/Example7.sce22
-rwxr-xr-x1088/CH1/EX1.7/Result7.pdf44
-rwxr-xr-x1088/CH1/EX1.7/Result7.txt44
-rwxr-xr-x1088/CH1/EX1.8/Example8.sce12
-rwxr-xr-x1088/CH1/EX1.8/Result8.pdf43
-rwxr-xr-x1088/CH1/EX1.8/Result8.txt43
-rwxr-xr-x1088/CH1/EX1.9/Example9.sce13
-rwxr-xr-x1088/CH1/EX1.9/Result9.pdf44
-rwxr-xr-x1088/CH1/EX1.9/Result9.txt44
27 files changed, 1641 insertions, 0 deletions
diff --git a/1088/CH1/EX1.1/Example1.sce b/1088/CH1/EX1.1/Example1.sce
new file mode 100755
index 000000000..861d5a0b6
--- /dev/null
+++ b/1088/CH1/EX1.1/Example1.sce
@@ -0,0 +1,27 @@
+clear()
+dt=getdate()
+//clc()
+disp("Example 1 : Write a code sequence to display the current date and time")
+printf("\n**********************************************************\n")
+disp("Answer : ")
+printf("\n")
+printf("The current date is %s and the current time is %d : %d : %d \nThe day is ",date(),dt(7),dt(8),dt(9))
+select dt(5)
+ case 1 then
+ printf("Sunday")
+ case 2 then
+ printf("Monday")
+ case 3 then
+ printf("Tuesday")
+ case 4 then
+ printf("Wednesday")
+ case 5 then
+ printf("Thursday")
+ case 6 then
+ printf("Friday")
+ case 7 then
+ printf("Saturday")
+end
+printf(".")
+printf("\n**********************************************************\n")
+
diff --git a/1088/CH1/EX1.1/Result1.pdf b/1088/CH1/EX1.1/Result1.pdf
new file mode 100755
index 000000000..07f035a33
--- /dev/null
+++ b/1088/CH1/EX1.1/Result1.pdf
@@ -0,0 +1,39 @@
+ ans =
+
+ 1.
+
+-->exec('Example1.sci',0)
+ dt =
+
+ 2013. 5. 22. 149. 4. 29. 15. 43. 40. 732.
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 1 : Write a code sequence to display the current date and time
+
+**********************************************************
+
+ Answer :
+
+The current date is 29-May-2013 and the current time is 15 : 43 : 40
+The day is Wednesday.
+**********************************************************
+
+-->diary('Result1.txt','close')
diff --git a/1088/CH1/EX1.1/Result1.txt b/1088/CH1/EX1.1/Result1.txt
new file mode 100755
index 000000000..07f035a33
--- /dev/null
+++ b/1088/CH1/EX1.1/Result1.txt
@@ -0,0 +1,39 @@
+ ans =
+
+ 1.
+
+-->exec('Example1.sci',0)
+ dt =
+
+ 2013. 5. 22. 149. 4. 29. 15. 43. 40. 732.
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 1 : Write a code sequence to display the current date and time
+
+**********************************************************
+
+ Answer :
+
+The current date is 29-May-2013 and the current time is 15 : 43 : 40
+The day is Wednesday.
+**********************************************************
+
+-->diary('Result1.txt','close')
diff --git a/1088/CH1/EX1.2/Example2.sce b/1088/CH1/EX1.2/Example2.sce
new file mode 100755
index 000000000..b61626330
--- /dev/null
+++ b/1088/CH1/EX1.2/Example2.sce
@@ -0,0 +1,9 @@
+clear()
+//clc()
+disp("Example 2 : Clear the current session window at the press of a key")
+printf("\n**********************************************************\n")
+disp("Answer :")
+disp("")
+disp("Press any key to clear the Session window ")
+halt("")
+//clc()
diff --git a/1088/CH1/EX1.2/Result2.pdf b/1088/CH1/EX1.2/Result2.pdf
new file mode 100755
index 000000000..b780eb4bd
--- /dev/null
+++ b/1088/CH1/EX1.2/Result2.pdf
@@ -0,0 +1,36 @@
+ ans =
+
+ 1.
+
+-->exec('Example2.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 2 : Clear the curren session window at the press of a key
+
+**********************************************************
+
+ Answer :
+
+
+
+ Press any key to clear the Session window
+
+-->diary('Result2.txt','close')
diff --git a/1088/CH1/EX1.2/Result2.txt b/1088/CH1/EX1.2/Result2.txt
new file mode 100755
index 000000000..b780eb4bd
--- /dev/null
+++ b/1088/CH1/EX1.2/Result2.txt
@@ -0,0 +1,36 @@
+ ans =
+
+ 1.
+
+-->exec('Example2.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 2 : Clear the curren session window at the press of a key
+
+**********************************************************
+
+ Answer :
+
+
+
+ Press any key to clear the Session window
+
+-->diary('Result2.txt','close')
diff --git a/1088/CH1/EX1.3/Example3.sce b/1088/CH1/EX1.3/Example3.sce
new file mode 100755
index 000000000..82f6d2e2d
--- /dev/null
+++ b/1088/CH1/EX1.3/Example3.sce
@@ -0,0 +1,21 @@
+clear()
+//clc()
+printf("Example 3 : Display the calendar of the current month and of a date \nentered by the user ")
+printf("\n**********************************************************\n")
+printf("Answer :\n\n\n")
+printf("The current date is %s whose calendar is ",date())
+ct=calendar()
+clc(19)
+disp(ct(1))
+disp(ct(2))
+disp(ct(3))
+printf("\n--------------------------------------------------------------------------------------\n")
+printf("Enter a date whose calendar is to be displayed \n")
+x=input('Enter in the format [dd,mm,yyyy],ALONG WITH THE PARENTHESIS ')
+ct=calendar(x(3),x(2))
+clc(21)
+disp(ct(1))
+disp(ct(2))
+disp(ct(3))
+printf("\n\nEntered Date is %d - %d - %d \n",x(1),x(2),x(3))
+printf("\n***********************************************************")
diff --git a/1088/CH1/EX1.3/Result3.pdf b/1088/CH1/EX1.3/Result3.pdf
new file mode 100755
index 000000000..8589e7214
--- /dev/null
+++ b/1088/CH1/EX1.3/Result3.pdf
@@ -0,0 +1,102 @@
+ ans =
+
+ 1.
+
+-->exec('Example3.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+Example 3 : Display the calendar of the current month and of a date
+entered by the user
+**********************************************************
+Answer :
+
+
+The current date is 29-May-2013 whose calendar is ct =
+
+
+ ct(1)
+
+ May 2013
+
+ ct(2)
+
+ M Tu W Th F Sat Sun
+
+ ct(3)
+
+ 0. 0. 1. 2. 3. 4. 5.
+ 6. 7. 8. 9. 10. 11. 12.
+ 13. 14. 15. 16. 17. 18. 19.
+ 20. 21. 22. 23. 24. 25. 26.
+ 27. 28. 29. 30. 31. 0. 0.
+ 0. 0. 0. 0. 0. 0. 0.
+
+ May 2013
+
+ M Tu W Th F Sat Sun
+
+ 0. 0. 1. 2. 3. 4. 5.
+ 6. 7. 8. 9. 10. 11. 12.
+ 13. 14. 15. 16. 17. 18. 19.
+ 20. 21. 22. 23. 24. 25. 26.
+ 27. 28. 29. 30. 31. 0. 0.
+ 0. 0. 0. 0. 0. 0. 0.
+
+--------------------------------------------------------------------------------------
+Enter a date whose calendar is to be displayed
+ x =
+
+ 29. 9. 1952.
+ ct =
+
+
+ ct(1)
+
+ Sep 1952
+
+ ct(2)
+
+ M Tu W Th F Sat Sun
+
+ ct(3)
+
+ 1. 2. 3. 4. 5. 6. 7.
+ 8. 9. 10. 11. 12. 13. 14.
+ 15. 16. 17. 18. 19. 20. 21.
+ 22. 23. 24. 25. 26. 27. 28.
+ 29. 30. 0. 0. 0. 0. 0.
+ 0. 0. 0. 0. 0. 0. 0.
+
+ Sep 1952
+
+ M Tu W Th F Sat Sun
+
+ 1. 2. 3. 4. 5. 6. 7.
+ 8. 9. 10. 11. 12. 13. 14.
+ 15. 16. 17. 18. 19. 20. 21.
+ 22. 23. 24. 25. 26. 27. 28.
+ 29. 30. 0. 0. 0. 0. 0.
+ 0. 0. 0. 0. 0. 0. 0.
+
+
+Entered Date is 29 - 9 - 1952
+
+***********************************************************
+-->diary('Result3.txt','close')
diff --git a/1088/CH1/EX1.3/Result3.txt b/1088/CH1/EX1.3/Result3.txt
new file mode 100755
index 000000000..8589e7214
--- /dev/null
+++ b/1088/CH1/EX1.3/Result3.txt
@@ -0,0 +1,102 @@
+ ans =
+
+ 1.
+
+-->exec('Example3.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+Example 3 : Display the calendar of the current month and of a date
+entered by the user
+**********************************************************
+Answer :
+
+
+The current date is 29-May-2013 whose calendar is ct =
+
+
+ ct(1)
+
+ May 2013
+
+ ct(2)
+
+ M Tu W Th F Sat Sun
+
+ ct(3)
+
+ 0. 0. 1. 2. 3. 4. 5.
+ 6. 7. 8. 9. 10. 11. 12.
+ 13. 14. 15. 16. 17. 18. 19.
+ 20. 21. 22. 23. 24. 25. 26.
+ 27. 28. 29. 30. 31. 0. 0.
+ 0. 0. 0. 0. 0. 0. 0.
+
+ May 2013
+
+ M Tu W Th F Sat Sun
+
+ 0. 0. 1. 2. 3. 4. 5.
+ 6. 7. 8. 9. 10. 11. 12.
+ 13. 14. 15. 16. 17. 18. 19.
+ 20. 21. 22. 23. 24. 25. 26.
+ 27. 28. 29. 30. 31. 0. 0.
+ 0. 0. 0. 0. 0. 0. 0.
+
+--------------------------------------------------------------------------------------
+Enter a date whose calendar is to be displayed
+ x =
+
+ 29. 9. 1952.
+ ct =
+
+
+ ct(1)
+
+ Sep 1952
+
+ ct(2)
+
+ M Tu W Th F Sat Sun
+
+ ct(3)
+
+ 1. 2. 3. 4. 5. 6. 7.
+ 8. 9. 10. 11. 12. 13. 14.
+ 15. 16. 17. 18. 19. 20. 21.
+ 22. 23. 24. 25. 26. 27. 28.
+ 29. 30. 0. 0. 0. 0. 0.
+ 0. 0. 0. 0. 0. 0. 0.
+
+ Sep 1952
+
+ M Tu W Th F Sat Sun
+
+ 1. 2. 3. 4. 5. 6. 7.
+ 8. 9. 10. 11. 12. 13. 14.
+ 15. 16. 17. 18. 19. 20. 21.
+ 22. 23. 24. 25. 26. 27. 28.
+ 29. 30. 0. 0. 0. 0. 0.
+ 0. 0. 0. 0. 0. 0. 0.
+
+
+Entered Date is 29 - 9 - 1952
+
+***********************************************************
+-->diary('Result3.txt','close')
diff --git a/1088/CH1/EX1.4/Example4.sce b/1088/CH1/EX1.4/Example4.sce
new file mode 100755
index 000000000..60c28fabc
--- /dev/null
+++ b/1088/CH1/EX1.4/Example4.sce
@@ -0,0 +1,22 @@
+clear
+clc
+
+disp("Example 4 : Display all the current users in the Current Unix Session")
+disp('')
+printf("\n*******************************************************************\n")
+disp("Answer :")
+printf("THE FOLLOWING LINES OF CODE RUN \nONLY IN SCILAB INSTALLED IN UNIX ENVIRONMENT.....")
+printf("\nTHE CONSOLE GETS EXITED IN OTHER\n OPERATING SYSTEMS")
+if(getos() ~= "Linux" )then
+ disp("")
+ halt('Press any key to end the script since the OS is not Linux')
+ printf("Close the Scilab Console?....\ny :Yes\nAny other key:No")
+ st = input('','s')
+ clc(1)
+ if( st == "y") then
+ exit
+ end
+else
+ unix_w("who")
+end
+printf("\n*******************************************************************\n")
diff --git a/1088/CH1/EX1.4/Result4.pdf b/1088/CH1/EX1.4/Result4.pdf
new file mode 100755
index 000000000..4ed2c97d9
--- /dev/null
+++ b/1088/CH1/EX1.4/Result4.pdf
@@ -0,0 +1,46 @@
+ ans =
+
+ 1.
+
+-->exec('Example4.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 4 : Display all the current users in the Current Unix Session
+
+
+
+*******************************************************************
+
+ Answer :
+THE FOLLOWING LINES OF CODE RUN
+ONLY IN SCILAB INSTALLED IN UNIX ENVIRONMENT.....
+THE CONSOLE GETS EXITED IN OTHER
+ OPERATING SYSTEMS
+
+Press any key to end the script since the OS is not LinuxClose the Scilab Console?....
+y :Yes
+Any other key:No st =
+
+ n
+
+*******************************************************************
+
+-->diary('Result4.txt','close')
diff --git a/1088/CH1/EX1.4/Result4.txt b/1088/CH1/EX1.4/Result4.txt
new file mode 100755
index 000000000..4ed2c97d9
--- /dev/null
+++ b/1088/CH1/EX1.4/Result4.txt
@@ -0,0 +1,46 @@
+ ans =
+
+ 1.
+
+-->exec('Example4.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 4 : Display all the current users in the Current Unix Session
+
+
+
+*******************************************************************
+
+ Answer :
+THE FOLLOWING LINES OF CODE RUN
+ONLY IN SCILAB INSTALLED IN UNIX ENVIRONMENT.....
+THE CONSOLE GETS EXITED IN OTHER
+ OPERATING SYSTEMS
+
+Press any key to end the script since the OS is not LinuxClose the Scilab Console?....
+y :Yes
+Any other key:No st =
+
+ n
+
+*******************************************************************
+
+-->diary('Result4.txt','close')
diff --git a/1088/CH1/EX1.5/Example5.sce b/1088/CH1/EX1.5/Example5.sce
new file mode 100755
index 000000000..529f9ee59
--- /dev/null
+++ b/1088/CH1/EX1.5/Example5.sce
@@ -0,0 +1,16 @@
+clear
+clc
+
+disp("Example 5: Display all the current working processes in the current session")
+printf("\n*******************************************************************\n")
+disp('Answer : ')
+disp('')
+halt('Press Enter to display the processes')
+if (getos()=='Windows') then
+clc(1)
+powershell('ps')
+else
+ clc(1)
+ unix_w('ps')
+end
+printf("\n*******************************************************************\n")
diff --git a/1088/CH1/EX1.5/Result5.pdf b/1088/CH1/EX1.5/Result5.pdf
new file mode 100755
index 000000000..0be8e4360
--- /dev/null
+++ b/1088/CH1/EX1.5/Result5.pdf
@@ -0,0 +1,282 @@
+ ans =
+
+ 1.
+
+-->exec('Example5.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 5: Display all the current working processes in the current session
+
+*******************************************************************
+
+ Answer :
+
+
+Press Enter to display the processes ans =
+
+! !
+! !
+!Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName !
+! !
+!------- ------ ----- ----- ----- ------ -- ----------- !
+! !
+! 66 8 1176 784 76 0.05 6756 ActivateDesktop !
+! !
+! 92 8 1608 1764 56 1912 AdminService !
+! !
+! 136 10 2000 2508 56 2124 Ath_CoexAgent !
+! !
+! 149 11 1824 1932 88 6128 atieclxx !
+! !
+! 108 6 840 1556 24 968 atiesrxx !
+! !
+! 121 9 7692 10500 67 0.39 5652 audiodg !
+! !
+! 117 8 1588 2184 82 1952 BrowserProtect !
+! !
+! 400 23 5720 7068 306 283.45 4660 BrowserProtect !
+! !
+! 354 48 42840 9356 761 1.68 5540 BtTray !
+! !
+! 1662 60 17920 4012 221 1.00 6684 BtvStack !
+! !
+! 856 99 80344 3936 807 23.68 940 CCC !
+! !
+! 161 21 22776 11752 178 0.58 616 chrome !
+! !
+! 1435 66 75772 97600 335 783.30 1644 chrome !
+! !
+! 173 35 82872 84188 248 27.19 2348 chrome !
+! !
+! 165 29 48844 42008 208 5.58 4492 chrome !
+! !
+! 160 30 40804 38684 203 11.04 4972 chrome !
+! !
+! 290 33 109220 85104 448 52.14 5220 chrome !
+! !
+! 163 26 28956 10792 193 2.82 5544 chrome !
+! !
+! 168 47 49932 47556 211 27.21 5900 chrome !
+! !
+! 170 15 4860 3504 161 0.28 5924 chrome !
+! !
+! 215 36 45692 58988 212 86.05 6104 chrome !
+! !
+! 161 21 12484 2308 171 0.67 7552 chrome !
+! !
+! 26 2 1480 1872 12 0.02 7912 cmd !
+! !
+! 33 5 628 292 23 1336 conhost !
+! !
+! 49 7 1020 612 57 0.05 1696 conhost !
+! !
+! 30 5 640 316 29 3220 conhost !
+! !
+! 31 5 640 340 29 3568 conhost !
+! !
+! 31 5 644 344 29 3792 conhost !
+! !
+! 30 5 644 320 29 4944 conhost !
+! !
+! 30 5 680 2712 48 5188 conhost !
+! !
+! 31 5 644 224 29 6524 conhost !
+! !
+! 30 5 640 340 29 6552 conhost !
+! !
+! 30 5 644 228 29 7176 conhost !
+! !
+! 522 16 2008 2248 48 724 csrss !
+! !
+! 522 26 2568 7996 155 7000 csrss !
+! !
+! 353 21 3708 6560 55 6988 dasHost !
+! !
+! 190 21 23164 22864 184 2672 dwm !
+! !
+! 201 11 4340 2588 124 0.39 6532 Energy Management !
+! !
+! 1786 122 54696 76260 422 41.78 4092 explorer !
+! !
+! 464 42 13848 22668 229 107.06 5404 fdm !
+! !
+! 121 10 1844 2640 56 1868 Fuel.Service !
+! !
+! 0 0 0 20 0 0 Idle !
+! !
+! 685 56 23856 22860 241 3.73 4132 install_reader11_e... !
+! !
+! 697 86 29528 4756 294 2.68 6820 ismagent !
+! !
+! 288 17 4840 6556 168 0.53 5708 LiveComm !
+! !
+! 1014 24 5024 30368 37 916 lsass !
+! !
+! 601 54 28984 36860 271 33.98 3156 mcagent !
+! !
+! 228 13 2312 7256 77 3812 McInst !
+! !
+! 918 58 23812 25184 219 2356 McSvHost !
+! !
+! 249 18 2912 11520 106 0.31 356 mcupdate !
+! !
+! 521 32 7696 13888 118 1592 mcupdmgr !
+! !
+! 50 5 864 3356 61 6700 McVscIns !
+! !
+! 113 11 1708 5444 44 372 mfefire !
+! !
+! 274 14 4956 10628 93 4820 mfehidin !
+! !
+! 185 10 2724 5620 32 4736 mfevtps !
+! !
+! 303 34 21124 3636 568 1.15 3136 MOM !
+! !
+! 85 9 1192 984 74 0.12 6372 Monitor !
+! !
+! 117 10 6308 8780 58 7292 msiexec !
+! !
+! 237 31 26164 9288 572 0.94 4612 MuteSync !
+! !
+! 75 6 876 524 44 1612 NitroPDFDriverServ... !
+! !
+! 49 6 748 116 16 1316 NLSSRV32 !
+! !
+! 351 23 9836 18504 149 3.01 3724 notepad !
+! !
+! 335 22 8320 18760 141 2.62 5356 notepad !
+! !
+! 337 22 8248 3888 141 1.44 5360 notepad !
+! !
+! 165 13 3424 2236 116 0.16 1452 OnekeyStudio !
+! !
+! 209 30 31032 2376 621 0.70 100 pcee4 !
+! !
+! 103 9 1312 1392 70 0.16 4464 PDVD10Serv !
+! !
+! 299 32 51192 56700 596 8.27 5032 powershell !
+! !
+! 199 12 3976 1232 99 0.12 7556 RAVBg64 !
+! !
+! 263 14 3528 1508 112 0.25 5648 RAVCpl64 !
+! !
+! 108 9 1496 1468 63 5092 RIconMan !
+! !
+! 221 14 3668 13628 102 0.56 1204 RuntimeBroker !
+! !
+! 68 7 960 628 30 240 schtasks !
+! !
+! 68 7 952 820 30 1944 schtasks !
+! !
+! 67 7 948 628 26 2032 schtasks !
+! !
+! 68 7 956 804 30 2244 schtasks !
+! !
+! 69 7 952 812 30 2372 schtasks !
+! !
+! 69 7 944 628 30 3004 schtasks !
+! !
+! 68 7 948 796 30 5680 schtasks !
+! !
+! 69 7 956 828 30 5960 schtasks !
+! !
+! 109 8 1724 4912 35 2912 SearchFilterHost !
+! !
+! 571 40 26028 21780 538 4136 SearchIndexer !
+! !
+! 296 11 2208 7196 64 3804 SearchProtocolHost !
+! !
+! 307 14 6588 20084 37 908 services !
+! !
+! 36 2 292 472 4 336 smss !
+! !
+! 340 16 3988 38544 47 1744 spoolsv !
+! !
+! 545 17 6068 30372 42 592 svchost !
+! !
+! 401 14 3716 27968 40 628 svchost !
+! !
+! 847 31 20300 91296 128 1032 svchost !
+! !
+! 2155 95 179840 105792 425 1092 svchost !
+! !
+! 825 43 13444 85940 126 1184 svchost !
+! !
+! 862 37 68836 93716 141 1240 svchost !
+! !
+! 731 44 15532 54344 1393 1384 svchost !
+! !
+! 523 42 20900 60956 124 1772 svchost !
+! !
+! 97 8 1444 17744 22 2772 svchost !
+! !
+! 420 30 5832 58452 80 3312 svchost !
+! !
+! 140 10 1668 25252 31 5804 svchost !
+! !
+! 39 4 592 160 14 7836 svchost !
+! !
+! 112 10 2096 1340 79 16.80 1988 SynLenovoGestureMgr !
+! !
+! 409 13 3444 3004 89 110.39 4280 SynTPEnh !
+! !
+! 20 5 640 308 41 0.02 7636 SynTPHelper !
+! !
+! 1102 0 128 2972 6 4 System !
+! !
+! 89 7 1096 700 28 3996 taskeng !
+! !
+! 263 23 5448 6940 254 1.03 5836 taskhostex !
+! !
+! 149 25 12328 1968 546 0.34 4260 utility !
+! !
+! 84 8 1000 2048 41 864 wininit !
+! !
+! 140 7 1192 1052 49 7996 winlogon !
+! !
+! 265 14 6352 9044 49 3236 WmiPrvSE !
+! !
+! 110 10 2228 4384 33 7872 WmiPrvSE !
+! !
+! 442 54 273808 146984 817 43.27 2208 WScilex !
+! !
+! 193 8 1204 1572 33 2976 WUDFHost !
+! !
+! 391 24 12444 5796 120 2076 Y2Desktop.Updater !
+! !
+! 118 10 1940 2760 77 111.71 4488 YCMMirage !
+! !
+! 707 56 31240 14560 209 5.96 3016 YontooDesktop !
+! !
+! 87 12 2144 1580 86 0.22 6680 YouCamTray !
+! !
+! !
+! !
+! !
+
+*******************************************************************
+
+-->diary('Result5.txt','new')
+ ans =
+
+ 2.
+
+-->diary('Result5.txt','close')
diff --git a/1088/CH1/EX1.5/Result5.txt b/1088/CH1/EX1.5/Result5.txt
new file mode 100755
index 000000000..0be8e4360
--- /dev/null
+++ b/1088/CH1/EX1.5/Result5.txt
@@ -0,0 +1,282 @@
+ ans =
+
+ 1.
+
+-->exec('Example5.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 5: Display all the current working processes in the current session
+
+*******************************************************************
+
+ Answer :
+
+
+Press Enter to display the processes ans =
+
+! !
+! !
+!Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName !
+! !
+!------- ------ ----- ----- ----- ------ -- ----------- !
+! !
+! 66 8 1176 784 76 0.05 6756 ActivateDesktop !
+! !
+! 92 8 1608 1764 56 1912 AdminService !
+! !
+! 136 10 2000 2508 56 2124 Ath_CoexAgent !
+! !
+! 149 11 1824 1932 88 6128 atieclxx !
+! !
+! 108 6 840 1556 24 968 atiesrxx !
+! !
+! 121 9 7692 10500 67 0.39 5652 audiodg !
+! !
+! 117 8 1588 2184 82 1952 BrowserProtect !
+! !
+! 400 23 5720 7068 306 283.45 4660 BrowserProtect !
+! !
+! 354 48 42840 9356 761 1.68 5540 BtTray !
+! !
+! 1662 60 17920 4012 221 1.00 6684 BtvStack !
+! !
+! 856 99 80344 3936 807 23.68 940 CCC !
+! !
+! 161 21 22776 11752 178 0.58 616 chrome !
+! !
+! 1435 66 75772 97600 335 783.30 1644 chrome !
+! !
+! 173 35 82872 84188 248 27.19 2348 chrome !
+! !
+! 165 29 48844 42008 208 5.58 4492 chrome !
+! !
+! 160 30 40804 38684 203 11.04 4972 chrome !
+! !
+! 290 33 109220 85104 448 52.14 5220 chrome !
+! !
+! 163 26 28956 10792 193 2.82 5544 chrome !
+! !
+! 168 47 49932 47556 211 27.21 5900 chrome !
+! !
+! 170 15 4860 3504 161 0.28 5924 chrome !
+! !
+! 215 36 45692 58988 212 86.05 6104 chrome !
+! !
+! 161 21 12484 2308 171 0.67 7552 chrome !
+! !
+! 26 2 1480 1872 12 0.02 7912 cmd !
+! !
+! 33 5 628 292 23 1336 conhost !
+! !
+! 49 7 1020 612 57 0.05 1696 conhost !
+! !
+! 30 5 640 316 29 3220 conhost !
+! !
+! 31 5 640 340 29 3568 conhost !
+! !
+! 31 5 644 344 29 3792 conhost !
+! !
+! 30 5 644 320 29 4944 conhost !
+! !
+! 30 5 680 2712 48 5188 conhost !
+! !
+! 31 5 644 224 29 6524 conhost !
+! !
+! 30 5 640 340 29 6552 conhost !
+! !
+! 30 5 644 228 29 7176 conhost !
+! !
+! 522 16 2008 2248 48 724 csrss !
+! !
+! 522 26 2568 7996 155 7000 csrss !
+! !
+! 353 21 3708 6560 55 6988 dasHost !
+! !
+! 190 21 23164 22864 184 2672 dwm !
+! !
+! 201 11 4340 2588 124 0.39 6532 Energy Management !
+! !
+! 1786 122 54696 76260 422 41.78 4092 explorer !
+! !
+! 464 42 13848 22668 229 107.06 5404 fdm !
+! !
+! 121 10 1844 2640 56 1868 Fuel.Service !
+! !
+! 0 0 0 20 0 0 Idle !
+! !
+! 685 56 23856 22860 241 3.73 4132 install_reader11_e... !
+! !
+! 697 86 29528 4756 294 2.68 6820 ismagent !
+! !
+! 288 17 4840 6556 168 0.53 5708 LiveComm !
+! !
+! 1014 24 5024 30368 37 916 lsass !
+! !
+! 601 54 28984 36860 271 33.98 3156 mcagent !
+! !
+! 228 13 2312 7256 77 3812 McInst !
+! !
+! 918 58 23812 25184 219 2356 McSvHost !
+! !
+! 249 18 2912 11520 106 0.31 356 mcupdate !
+! !
+! 521 32 7696 13888 118 1592 mcupdmgr !
+! !
+! 50 5 864 3356 61 6700 McVscIns !
+! !
+! 113 11 1708 5444 44 372 mfefire !
+! !
+! 274 14 4956 10628 93 4820 mfehidin !
+! !
+! 185 10 2724 5620 32 4736 mfevtps !
+! !
+! 303 34 21124 3636 568 1.15 3136 MOM !
+! !
+! 85 9 1192 984 74 0.12 6372 Monitor !
+! !
+! 117 10 6308 8780 58 7292 msiexec !
+! !
+! 237 31 26164 9288 572 0.94 4612 MuteSync !
+! !
+! 75 6 876 524 44 1612 NitroPDFDriverServ... !
+! !
+! 49 6 748 116 16 1316 NLSSRV32 !
+! !
+! 351 23 9836 18504 149 3.01 3724 notepad !
+! !
+! 335 22 8320 18760 141 2.62 5356 notepad !
+! !
+! 337 22 8248 3888 141 1.44 5360 notepad !
+! !
+! 165 13 3424 2236 116 0.16 1452 OnekeyStudio !
+! !
+! 209 30 31032 2376 621 0.70 100 pcee4 !
+! !
+! 103 9 1312 1392 70 0.16 4464 PDVD10Serv !
+! !
+! 299 32 51192 56700 596 8.27 5032 powershell !
+! !
+! 199 12 3976 1232 99 0.12 7556 RAVBg64 !
+! !
+! 263 14 3528 1508 112 0.25 5648 RAVCpl64 !
+! !
+! 108 9 1496 1468 63 5092 RIconMan !
+! !
+! 221 14 3668 13628 102 0.56 1204 RuntimeBroker !
+! !
+! 68 7 960 628 30 240 schtasks !
+! !
+! 68 7 952 820 30 1944 schtasks !
+! !
+! 67 7 948 628 26 2032 schtasks !
+! !
+! 68 7 956 804 30 2244 schtasks !
+! !
+! 69 7 952 812 30 2372 schtasks !
+! !
+! 69 7 944 628 30 3004 schtasks !
+! !
+! 68 7 948 796 30 5680 schtasks !
+! !
+! 69 7 956 828 30 5960 schtasks !
+! !
+! 109 8 1724 4912 35 2912 SearchFilterHost !
+! !
+! 571 40 26028 21780 538 4136 SearchIndexer !
+! !
+! 296 11 2208 7196 64 3804 SearchProtocolHost !
+! !
+! 307 14 6588 20084 37 908 services !
+! !
+! 36 2 292 472 4 336 smss !
+! !
+! 340 16 3988 38544 47 1744 spoolsv !
+! !
+! 545 17 6068 30372 42 592 svchost !
+! !
+! 401 14 3716 27968 40 628 svchost !
+! !
+! 847 31 20300 91296 128 1032 svchost !
+! !
+! 2155 95 179840 105792 425 1092 svchost !
+! !
+! 825 43 13444 85940 126 1184 svchost !
+! !
+! 862 37 68836 93716 141 1240 svchost !
+! !
+! 731 44 15532 54344 1393 1384 svchost !
+! !
+! 523 42 20900 60956 124 1772 svchost !
+! !
+! 97 8 1444 17744 22 2772 svchost !
+! !
+! 420 30 5832 58452 80 3312 svchost !
+! !
+! 140 10 1668 25252 31 5804 svchost !
+! !
+! 39 4 592 160 14 7836 svchost !
+! !
+! 112 10 2096 1340 79 16.80 1988 SynLenovoGestureMgr !
+! !
+! 409 13 3444 3004 89 110.39 4280 SynTPEnh !
+! !
+! 20 5 640 308 41 0.02 7636 SynTPHelper !
+! !
+! 1102 0 128 2972 6 4 System !
+! !
+! 89 7 1096 700 28 3996 taskeng !
+! !
+! 263 23 5448 6940 254 1.03 5836 taskhostex !
+! !
+! 149 25 12328 1968 546 0.34 4260 utility !
+! !
+! 84 8 1000 2048 41 864 wininit !
+! !
+! 140 7 1192 1052 49 7996 winlogon !
+! !
+! 265 14 6352 9044 49 3236 WmiPrvSE !
+! !
+! 110 10 2228 4384 33 7872 WmiPrvSE !
+! !
+! 442 54 273808 146984 817 43.27 2208 WScilex !
+! !
+! 193 8 1204 1572 33 2976 WUDFHost !
+! !
+! 391 24 12444 5796 120 2076 Y2Desktop.Updater !
+! !
+! 118 10 1940 2760 77 111.71 4488 YCMMirage !
+! !
+! 707 56 31240 14560 209 5.96 3016 YontooDesktop !
+! !
+! 87 12 2144 1580 86 0.22 6680 YouCamTray !
+! !
+! !
+! !
+! !
+
+*******************************************************************
+
+-->diary('Result5.txt','new')
+ ans =
+
+ 2.
+
+-->diary('Result5.txt','close')
diff --git a/1088/CH1/EX1.6/Example6.sce b/1088/CH1/EX1.6/Example6.sce
new file mode 100755
index 000000000..1650a8b5d
--- /dev/null
+++ b/1088/CH1/EX1.6/Example6.sce
@@ -0,0 +1,19 @@
+clear
+mode(-1)
+clc
+
+disp("Example 6 : Display all the files in the current directory and files beginning with ->Ex<-")
+printf("\n*******************************************************************\n")
+disp('Answer : ')
+halt('Press [Enter] to continue')
+disp('Files in the current directory ')
+mode(0)
+ls
+mode(-1)
+halt('Press Enter to see files beginning with ->Ex<-')
+printf("\n-------------------------------------------------------------------------------------------------\n")
+disp('Files Beginning with ->Ex<-')
+mode(0)
+ls Ex*
+mode(-1)
+printf("\n*******************************************************************\n")
diff --git a/1088/CH1/EX1.6/Result6.pdf b/1088/CH1/EX1.6/Result6.pdf
new file mode 100755
index 000000000..42786946e
--- /dev/null
+++ b/1088/CH1/EX1.6/Result6.pdf
@@ -0,0 +1,104 @@
+ ans =
+
+ 1.
+
+-->exec('Example6.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 6 : Display all the files in the current directory and files beginning with ->Ex<-
+
+*******************************************************************
+
+ Answer :
+Press [Enter] to continue
+ Files in the current directory
+ ans =
+
+!Result6.txt !
+! !
+!Result5_0.txt !
+! !
+!Result5.txt !
+! !
+!Result5.pdf !
+! !
+!Result4.txt !
+! !
+!Result4.pdf !
+! !
+!Result3.txt !
+! !
+!Result3.pdf !
+! !
+!Result2.txt !
+! !
+!Result2.pdf !
+! !
+!Result1.txt !
+! !
+!Result1.pdf !
+! !
+!Result1.docx !
+! !
+!Example9.sci !
+! !
+!Example8.sci !
+! !
+!Example7.sci !
+! !
+!Example6.sci !
+! !
+!Example5.sci !
+! !
+!Example4.sci !
+! !
+!Example3.sci !
+! !
+!Example2.sci !
+! !
+!Example1.sci !
+Press Enter to see files beginning with ->Ex<-
+-------------------------------------------------------------------------------------------------
+
+ Files Beginning with ->Ex<-
+ ans =
+
+!Example9.sci !
+! !
+!Example8.sci !
+! !
+!Example7.sci !
+! !
+!Example6.sci !
+! !
+!Example5.sci !
+! !
+!Example4.sci !
+! !
+!Example3.sci !
+! !
+!Example2.sci !
+! !
+!Example1.sci !
+
+*******************************************************************
+
+-->diary('Result6.txt','close')
diff --git a/1088/CH1/EX1.6/Result6.txt b/1088/CH1/EX1.6/Result6.txt
new file mode 100755
index 000000000..42786946e
--- /dev/null
+++ b/1088/CH1/EX1.6/Result6.txt
@@ -0,0 +1,104 @@
+ ans =
+
+ 1.
+
+-->exec('Example6.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 6 : Display all the files in the current directory and files beginning with ->Ex<-
+
+*******************************************************************
+
+ Answer :
+Press [Enter] to continue
+ Files in the current directory
+ ans =
+
+!Result6.txt !
+! !
+!Result5_0.txt !
+! !
+!Result5.txt !
+! !
+!Result5.pdf !
+! !
+!Result4.txt !
+! !
+!Result4.pdf !
+! !
+!Result3.txt !
+! !
+!Result3.pdf !
+! !
+!Result2.txt !
+! !
+!Result2.pdf !
+! !
+!Result1.txt !
+! !
+!Result1.pdf !
+! !
+!Result1.docx !
+! !
+!Example9.sci !
+! !
+!Example8.sci !
+! !
+!Example7.sci !
+! !
+!Example6.sci !
+! !
+!Example5.sci !
+! !
+!Example4.sci !
+! !
+!Example3.sci !
+! !
+!Example2.sci !
+! !
+!Example1.sci !
+Press Enter to see files beginning with ->Ex<-
+-------------------------------------------------------------------------------------------------
+
+ Files Beginning with ->Ex<-
+ ans =
+
+!Example9.sci !
+! !
+!Example8.sci !
+! !
+!Example7.sci !
+! !
+!Example6.sci !
+! !
+!Example5.sci !
+! !
+!Example4.sci !
+! !
+!Example3.sci !
+! !
+!Example2.sci !
+! !
+!Example1.sci !
+
+*******************************************************************
+
+-->diary('Result6.txt','close')
diff --git a/1088/CH1/EX1.7/Example7.sce b/1088/CH1/EX1.7/Example7.sce
new file mode 100755
index 000000000..942d7d51f
--- /dev/null
+++ b/1088/CH1/EX1.7/Example7.sce
@@ -0,0 +1,22 @@
+
+clear
+clc
+
+disp("Example 6 : Display the number of files in the current directory ")
+printf("\n*******************************************************************\n")
+disp("Answer :")
+printf("THE FOLLOWING LINES OF CODE RUN \nONLY IN SCILAB INSTALLED IN UNIX ENVIRONMENT.....")
+printf("\nTHE CONSOLE GETS EXITED IN OTHER\n OPERATING SYSTEMS")
+if(getos() ~= "Linux" )then
+ disp("")
+ halt('Press any key to end the script since the OS is not Linux')
+ printf("Close the Scilab Console?....\ny :Yes\nAny other key:No")
+ st = input('','s')
+ clc(1)
+ if( st == "y") then
+ exit
+ end
+else
+ unix_w("ls|wc")
+end
+printf("\n*******************************************************************\n")
diff --git a/1088/CH1/EX1.7/Result7.pdf b/1088/CH1/EX1.7/Result7.pdf
new file mode 100755
index 000000000..843143d89
--- /dev/null
+++ b/1088/CH1/EX1.7/Result7.pdf
@@ -0,0 +1,44 @@
+ ans =
+
+ 1.
+
+-->exec('Example7.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 6 : Display the number of files in the current directory
+
+*******************************************************************
+
+ Answer :
+THE FOLLOWING LINES OF CODE RUN
+ONLY IN SCILAB INSTALLED IN UNIX ENVIRONMENT.....
+THE CONSOLE GETS EXITED IN OTHER
+ OPERATING SYSTEMS
+
+Press any key to end the script since the OS is not LinuxClose the Scilab Console?....
+y :Yes
+Any other key:No st =
+
+ n
+
+*******************************************************************
+
+-->diary('Result7.txt','close')
diff --git a/1088/CH1/EX1.7/Result7.txt b/1088/CH1/EX1.7/Result7.txt
new file mode 100755
index 000000000..843143d89
--- /dev/null
+++ b/1088/CH1/EX1.7/Result7.txt
@@ -0,0 +1,44 @@
+ ans =
+
+ 1.
+
+-->exec('Example7.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 6 : Display the number of files in the current directory
+
+*******************************************************************
+
+ Answer :
+THE FOLLOWING LINES OF CODE RUN
+ONLY IN SCILAB INSTALLED IN UNIX ENVIRONMENT.....
+THE CONSOLE GETS EXITED IN OTHER
+ OPERATING SYSTEMS
+
+Press any key to end the script since the OS is not LinuxClose the Scilab Console?....
+y :Yes
+Any other key:No st =
+
+ n
+
+*******************************************************************
+
+-->diary('Result7.txt','close')
diff --git a/1088/CH1/EX1.8/Example8.sce b/1088/CH1/EX1.8/Example8.sce
new file mode 100755
index 000000000..a33c778d6
--- /dev/null
+++ b/1088/CH1/EX1.8/Example8.sce
@@ -0,0 +1,12 @@
+clear
+clc
+disp("Example 8: Write a code-sequence to find show primitive programming ")
+printf("\n*******************************************************************\n")
+disp("Answer : ")
+disp("The following programme takes an input from the user adds 2 to it and displays the result")
+disp("")
+halt("Ready???...Press Enter to continue")
+a=input("Enter any number : ")
+clc(1)
+printf("\n\nThe new result is %d",a+2)
+printf("\n*******************************************************************\n")
diff --git a/1088/CH1/EX1.8/Result8.pdf b/1088/CH1/EX1.8/Result8.pdf
new file mode 100755
index 000000000..4a390247b
--- /dev/null
+++ b/1088/CH1/EX1.8/Result8.pdf
@@ -0,0 +1,43 @@
+ ans =
+
+ 1.
+
+-->exec('Example8.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 8: Write a code-sequence to find show primitive programming
+
+*******************************************************************
+
+ Answer :
+
+ The following programme takes an input from the user adds 2 to it and displays the result
+
+
+Ready???...Press Enter to continue a =
+
+ 8.
+
+
+The new result is 10
+*******************************************************************
+
+-->diary('Result8.txt','close')
diff --git a/1088/CH1/EX1.8/Result8.txt b/1088/CH1/EX1.8/Result8.txt
new file mode 100755
index 000000000..4a390247b
--- /dev/null
+++ b/1088/CH1/EX1.8/Result8.txt
@@ -0,0 +1,43 @@
+ ans =
+
+ 1.
+
+-->exec('Example8.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 8: Write a code-sequence to find show primitive programming
+
+*******************************************************************
+
+ Answer :
+
+ The following programme takes an input from the user adds 2 to it and displays the result
+
+
+Ready???...Press Enter to continue a =
+
+ 8.
+
+
+The new result is 10
+*******************************************************************
+
+-->diary('Result8.txt','close')
diff --git a/1088/CH1/EX1.9/Example9.sce b/1088/CH1/EX1.9/Example9.sce
new file mode 100755
index 000000000..33ae98f6c
--- /dev/null
+++ b/1088/CH1/EX1.9/Example9.sce
@@ -0,0 +1,13 @@
+clear
+clc
+disp("Example 9: Write a code-sequence to exit the console")
+printf("\n*******************************************************************\n")
+disp("Answer : ")
+halt("Ready???...Press Enter to continue")
+ printf("Close the Scilab Console?....\ny :Yes\nAny other key:No")
+ st = input('','s')
+ clc(1)
+ if( st == "y") then
+ exit
+ end
+printf("\n*******************************************************************\n")
diff --git a/1088/CH1/EX1.9/Result9.pdf b/1088/CH1/EX1.9/Result9.pdf
new file mode 100755
index 000000000..40cc0aac4
--- /dev/null
+++ b/1088/CH1/EX1.9/Result9.pdf
@@ -0,0 +1,44 @@
+ ans =
+
+ 1.
+
+-->exec('Example9.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 9: Write a code-sequence to exit the console
+
+*******************************************************************
+
+ Answer :
+Ready???...Press Enter to continueClose the Scilab Console?....
+y :Yes
+Any other key:No st =
+
+ y
+
+*******************************************************************
+
+-->'The code gets exitted which cant be shown at the result document'
+ ans =
+
+ The code gets exitted which cant be shown at the result document
+
+-->diary('Result9.txt','close')
diff --git a/1088/CH1/EX1.9/Result9.txt b/1088/CH1/EX1.9/Result9.txt
new file mode 100755
index 000000000..40cc0aac4
--- /dev/null
+++ b/1088/CH1/EX1.9/Result9.txt
@@ -0,0 +1,44 @@
+ ans =
+
+ 1.
+
+-->exec('Example9.sci',0)
+Current date is 29-May-2013
+
+Welcome to the Textbook Companionship Project 2013
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Book Title : UNIX CONCEPTS AND APPLICATIONS
+
+ Book Edition : 4
+
+ Book Author : Sumitabha Das
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Code Author : Pranav Bhat T
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Chapter Number : 1
+
+ Chapter Title : GETTING STARTED
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+ Example 9: Write a code-sequence to exit the console
+
+*******************************************************************
+
+ Answer :
+Ready???...Press Enter to continueClose the Scilab Console?....
+y :Yes
+Any other key:No st =
+
+ y
+
+*******************************************************************
+
+-->'The code gets exitted which cant be shown at the result document'
+ ans =
+
+ The code gets exitted which cant be shown at the result document
+
+-->diary('Result9.txt','close')