About Me

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

Monday 31 December 2018

Questions to be practice for Third I.A. CPS I Sem. G Division.


  1. Discuss elements of user defined functions with examples.
  2. Discuss the categories of functions with examples.
  3. What is recursive function? Write recursive function to generate first N fibonacci numbers.
  4. What are actual and formal parameters? Give Examples.
  5. Discuss the differences between call by value and call by reference with examples.
  6. Discuss the different ways to define structure and structure variables with examples.
  7. What is structure? Discuss the definition of structure, declaration and initialization of structure variable with syntax and examples.
  8. Discuss the nested structure  and typedef with examples.
  9. What is pointer? Discuss its declaration and initialization with syntax and examples.
  10. Write C program to read and display N students information (Roll No, Name, USN and Marks) using array of structure.
  11. Write user defined function isprime(n) that read n and return 1 if it is prime number; otherwise 0.
  12. Write function to swap two variables using call by reference method.
  13. Write C program to find standard deviation of n floating point numbers using pointers.
  14. Write a C program to sort N values using user defined function.






Friday 28 December 2018

Viva Voce Questions for CPL Lab. ( C langauage Lab.), VTU Belagavi. First year Engineering Course.

What is computer?

Name some input and output devices.

What is CPU?

Name types of memories.

Tell me about computer generations.

Can you name the types of computers.

What is computer network?

Can you name components used for computer network.

Name, the types of networks.

What is network topology? Name.

Who is the father of computer?

Who is the developer of C language?

List the types of computer languages.

What is algorithm?

What us flowchart?

What is pseudocode?

What is stdio.h?

What is void?

What are data types?

What is variable?

What is typecast?

What is computer program?

What are c tokens?

What are formatted I/O functions?

What are unformatted I/O functions?

Name the types of operators supported by C language.

What are bitwise operators?

Difference between increment and decrement operator.

Name decision making statements supported by c language.

Name loop statements supported by c language.

Difference between while and do while.

Difference between break and continue.

What is an array?

What are drawbacks of array?

Types of arrays.

What is bubble sort?

What is leap year?

What is function?

Types of functions.

Actual and formal parameters.

Categories of functions.

difference between call by value and call by reference.

What is recursive function?

What is structure?

Arrays of structures.

What is pointer?

What is dynamic memory allocation?

What are pre processors?






Sunday 16 December 2018

Thursday 13 December 2018

Tips to score more marks in VTU Examinations (Engineering)

Dear students,

You are clever and intelligent, do not loose your confidence. Yes, you can do well in exams.

Move towards examination hall with positive thoughts in such a way that, this time I do well.

Your's one positive thought helps you lot.

Be happier on examination day.

Be cool, try to feel weight less...be calm and cool in all situations...do not be over confident...

Move towards exam hall with all necessary things like Hall Ticket, 2 Dark Blank Ink Pens, Calculator.

Be independent; do not depend on others for asking pen, pencil, rubber, scale, etc.

Be well dressed i.e. formal.

Do prayer....before coming to exam; as well as before answering questions...in your peaceful soul....

Better; attempt that question first, in which you are perfect....

Very important is that, write question number correctly.

Underline important points in your answer.

Highlight the important word.

Give more examples.

Quality points are more important than quantity.

We need to have the habit of increasing quantity of quality; that comes by practice.

Wherever necessary, draw figure..

For every question; one page answer is compulsory.

For 10 marks minimum 2 to 3 pages (front and back)

Yours signature and supervisor signature on Answer booklet is compulsory...

Handwriting must be readable.....

Good luck....

All the best...

Chidanand S. Kusur
Asst. Prof., Dept. of CSE
BLDEA's CET, Vijayapur-03.

cs.kusur@gmail.com
9739762682


Assignment 3: C Programming for Problem Solving (CPS) I Sem G Div.

Questions on Functions

1. What is function? write its advantages and give examples.

2.Discuss the elements of user defined functions with example.

3. Discuss the categories of functions.

4. What are actual and formal parameters? Give examples.

5. What are parameter passing mechanism? Discuss the types. (call by value and call by reference)
    with examples. 

6. What is recursive example? Write recursive function to find factorial of N.

7. Discuss storage classes used in C with examples. (auto,global,static,register)




Write functions for following.


1. Function to find square of a number.

2. Function to find factorial of 'n'.

4. Write function named isprime(n) that return 1 if number is prime; otherwise, 0

5. Function to find length of a string.

6. Function to find largest of two numbers.

7. Function to find largest of N numbers.

8. To sort N numbers is ascending order.




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 ...