Sunday, 15 July 2012

B.tech previous year question paper (sub- F.O.C)

Uttarakhand Tech. University
B.tech (firs year)
odd sem Examination, 2012
sub:- Fundamental of Computer and 
Programming


time:-3hr}
Note : attempt all questions, 20 marks each.

Q1:- Attempt any four parts of the following :
  1. Define the term computer. What are the different types of computer ?
  2. Explain any two character representation codes.
  3. How 72.45 will be stored in IEEE 754 standard ?
  4. How the different elements of CPU help in execution of a program ?
  5. Compare and contrast Unix and windows operating system ?
  6. Write and explain any five commands of Unix and Dos separately ?
Q2:- Attempt any four parts of the following :
  1. What is flow chart ? draw flow chart to fine out maximum of three numbers.
  2. Define alogorithum. Write an algorithum to find out the minimum of number from list of integers.
  3. What are the features of high level language ?
  4. Explain the different types of programming language.
  5. Discuss the salient features of vi editor.
  6. What is compiler ? Differentiate between compiler and interpreter.
Q3:- Attempt any two parts of the following :
  1. Explain the different storage classes used in C. Write a small program to show the usage of each one of them.
  2. (a) write a program in C to find out whether the given number is prime or not.
    (b) What are the difference between while and do while loop ?
  3. Write a function in C to swap two characters using call by value and call by reference.
Q4:- Attempt any two parts of the following :
  1. What is an array ? How the address of any element is calculated in 2D array ? Write a function in C to multiply two matrices.
  2. How string is stored in C ? Write a program in C to input a paragraph and find out the number of character words and lines used in that paragraph.
  3. Explain structure. Write a program in C to create a structure called "stud" having roll no. name and percentage as fields. Input at least 10 data and print the names of student. having percentage more than 70% and roll no. even.
Q5:- Attempt any four parts of the following :
  1. (a) Write a program in C that copies content of one file into another.
    (b) What is pointer to function ? Explain
  2. What are merits and demerits of dynamic memory allocation technique ? Write a program in support of your answer.
  3. Write short notes on :
    (a) Calloe
    (b) Pointer arithmetic
    (c) Multiple in direction.
---XXX---
Practice it and wish you all the best in your life....:)

No comments: