About Me

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

Tuesday 28 November 2017

Computer Programming Lab: Viva-Voce Questions on C programming language

Dear students,

You are hereby informed to follow the following instructions to get good marks in Practical Examinations.

Wear the formal and decent dresses on the practical examination day!

Do prayer and move towards exams.

Be calm and healthier on that day.

Day before the exam, do not eat spicy food.

Move to laboratory with HALL TICKET and JOURNAL (Observation notebook)

Be polite with all the staff members in laboratory.

Be positive and be confident.

First, fill all the academic details on answer sheet correctly.

First, complete the write up work and show to examiners.

Then, start the machine.

Give appropriate file name with dot C extension.

Do not forget to save the file after every modification, Press F2 in between

Remember the filename.

Remove the errors by your own and save the file.

Check the  CHITS near by your bench and if found, inform the staff members.

You should not have any other chits or mobile phone with you.

Once, you execute the C program, call examiners and show the output for different set of inputs.

Then, write outputs in your answer booklet.

You will be called for Viva-Voce at any time, be ready...

Most commonly asked Viva Voce Questions are as follows.

What is computer program?

What is the difference between variable and constant.

What are data types?

Can you name operators supported by C?

What is compiler?

Why do we compile the program?

What are I/O functions?

Name formatted I/O functions.

Name input functions available in C.

Name output functions available in C.

Why? do we include stdio.h include our C program.

Name decision making (conditional) statements available in C.

Can you tell me the differences between simple if, if else, nested if, else if ladder and switch.

Name loop statements available in C.

Can you tell me the differences while, do while and for loop statements.

What is the difference between break, continue and goto statements?

What is an array?

What is an structure?

What is a string?

Can you tell me the drawback of arrays?

Can you tell me the difference between arrays and structures?

Name string handling functions and their use.

What is user defined function? Can you tell me advantages.

Name parameter passing mechanisms.

Difference between call by value and call by reference

What is pointer?

Advantages of pointers.

What is FILE?

Name file handling functions.

What is data structure?

Name types of data structure.

What is stack?

Can you tell me the operations to be perform on stack.

Can you tell me the applications of stack.

What is queue?

What is linked list?

What are pre processors? Give examples.



Good luck and all the best.......

Yours....

Chidanand S. Kusur
Asst. Prof.
Dept. of CSE
BLDEA's V. P. Dr. P. G. H. College of Engineering and Technology,
Vijayapur.
cs.kusur@gmail.com, cs.kusur@bldeacet.ac.in
9739762682

Note: send your feedback to cs.kusur@gmail.com that encourages me to help you more.



























Tuesday 14 November 2017

Third Assignment of USP (Open Book Test on 15th Nov 2017)

What is shell script? Explain the following statements with syntax and examples. (10 marks)
    i) if     ii) case    iii) while  iv) for


What is shell programming? Write a shell program to create a menu and execute a given options based on users choice. Options include.
i)List of users  ii) List of processes  iii) List of files  iv) Current date   v)Content of files   vi) Display current login users (10 marks)

Explain the following with an example.  (8 marks)
    i) head    ii) tail   iii) cut   iv) paste


Explain with example set and shift commands in Unix to manipulate positional parameters. (08 marks)


Explain sort command with options and examples. (6 marks)


Distinguish between hard link and soft link with neat diagram and examples. (06 marks)


What is process? Explain the mechanisms of process creation. (06 marks)


Explain the following commands. (6 marks)
i) at  ii)batch  iii) cron  & crontab