About Me

My photo
Vijayapur, Karnataka, India
I am interested in Teaching.

Saturday 23 September 2017

PCD Assignment 2 for II sem 'K' division students

1. Discuss the following loop statements with syntax and programming examples.
     while, do while and for

2. Discuss the following loop interrupt statements with syntax and programming examples.
    break and continue

3. Discuss goto unconditional statement with syntax and example.

4. Write differences between while and do while loop statements.

5. Write differences between break and continue statements.

6. What is one dimensional array? Discuss its declaration and initialization with syntax and examples.

7. What is two dimensional array? Discuss its declaration and initialization with syntax and examples.

8. What is string? Explain its declaration and initialize with examples.

9. Explain all string handling functions with examples.

Write c programs for following.

To find factorial of 'n' using while loop.
To find factorial of 'n' using do while loop.
To find factorial of 'n' using for loop.
To find largest and lowest of n numbers.
To check, whether the number 'n' is prime number or not prime number.
To sort 'n' numbers in ascending order by using bubble sort technique.
To implement linear search technique.
To implement binary search technique.
To find addition of two matrices.
To find multiplication of two matrices.












Friday 22 September 2017

USP Assignment-2 for III Sem. 'B' CSE students

1. What are file permissions? Discuss the two ways of changing files permissions with examples.

2. Explain chmod command with syntax and examples.

3. What are directory permissions? Discuss with examples.

4. Write the default file permissions in UNIX and explain.

5. Write the default directory permissions in UNIX and explain.

6. Write the Unix commands to set the following file permissions by using both Relative and Absolute methods for the following files.
       -rw_rwxr_x             file1
      -_w_rwx_wx            file2

7. Write the Unix commands to set the following file permissions by using both Relative and Absolute methods for the following directories.
       drw_rw_r_ _          CSE
       dr_xrwx rw _          ISE

8. Discuss the three modes of vi editor with neat diagram.

9. Discuss Navigation Commands used in vi editor with examples.

10. Discuss the commands used for "Editing Text in vi editor".

11. Discuss about "searching and replacing patterns in vi editor"

12.  How to configure the vi environment. Discuss the commands. (set,ab,map)

13. Write short note on ".exrc" file.

................................................................................................................................................

1. Discuss the steps involved in "Shell's Interpretive Cycle".

2. List and explain with examples about "wild card characters" used with filenames in Unix.

3. Discuss "removing special meaning of wild cards" with examples.
    (Escaping and Quoting)

4. What is redirection in Unix? Discuss three types of redirection with neat diagram and examples.
    (three standard files)








 


Wednesday 13 September 2017

Portion for First I.A. USP

Module-1    All bits....

Module-2   Types of Unix files, 

                    Parent Child Relationship, 

                    Working with directories (commands), 

                    Working with files (commands) 



GCD of two numbers and its application...

The greatest common divisor (gcd) of two numbers is the largest positive integer that divides both numbers without leaving a remainder. The ...