Computer & Informatics - question paper 2013

free download of Section A design and manufaturing old question papers
Post Reply
Posts: 19
Joined: Fri Jun 17, 2016 3:58 pm

Computer & Informatics - question paper 2013

Post by champcsm »

Winter 2013

Time : Three hours
Maximum Marks : 100

Answer FI VE questions, taking any TWO from Group A,

ANY TWO from Group B and ALL from Group C.

1. (a) What is the difference between iteration and recursion ? What are their relative
advantages? Write a program to find the value of nm using recursion. 2+2+4

(b) Write a program to convert uppercase string to lowercase string without using strlwr( ). 5
(c) How does an inline function differ from a pre-processor macro?
Write a program to illustrate the use of object arrays. 2+5
2. (a) What is a destructor? When is it invoked? Write a program to illustrate that the
destructor has been invoked implicitly by the complier. 5

(b) What is the difference between array of integer pointers and pointer to an integer array? Discus with a suitable example.

(c) Write a program to check whether a year is leap year or not. What do you understand by
scope of a variable? What is a scope resolution Operator? Give an example. 9
3. (a) What is the difference between the following two # include directives:
# include “abc.h”
#include <abc.h>
Write a program to carry out the following: 4+4

(i) To read a text file “INPUT.TXT”
(ii) Print each word in the file.

(b) What is the difference between array and linked list? Create a structure to specify data on students given below:
Roll number, Name, Department, Course, Year of joining. Assume that there are not more than 300 students in the college.
(i) Write a function to print names of all students who joined in a particular year.

(ii) Write a function to print the data on a student whose roll number is given.
2 + 10
4. (a) Write a program for conversion of a decimal number to binary number. 5

(b) What is the difference between call by value and call by reference? Discuss with a
suitable example. 5
(C) Write a C function to pick the largest number from an 4 x 4 matrix. 5
(d) What do you mean by a virtual function and explain its use with suitable example
program. 5

Group B

5. (a) What to you understand by normalization of a database? What is the advantage of normalization?
(b) Prove, Using Boolean algebra, that 6
(X+Y’)(X+Z’)=(X+Y’ +Z)(X+Y’+Z)(X+Y+Z)
(c) Draw the logic circuit for the following expression using NAND gate only :
((XY’Z’)’(XY’Z))’. 7

6. (a) Write working principle of a CRT monitor. What is the difference between raster scan
and vector scan? 3+3
(b) What is a batch file? Create a batch file for the following: 4 + 4
(i) To display the current date and time
(ii) List the files in the working directory with extension of .txt.
(c) Explain, in sequence, all the tasks performed at the time of booting up. 6
7. (a) Briefly describe client-server model and its application. 5
(b) What is the role of a modem? Discuss the concept of multiplexing and demultiplexing?
(c) What is a network topology? Discuss two popular network topologies with their
relative advantages and disadvantages. 7
8. (a) Briefly describe OSI model for computer networks. 8
(b) Describe the following networking components: 4 x 3
(i) Bridge
(ii) Two layer switch
(iii) Router
(iv) Gateways.
Group C
9. Find the outputs for (i) to (vi) and answer in brief for (vii) to (x): 10 x 2

(i) int a = 32768’
Printf(“%d”.a): (Assume integer takes two bytes of memory).

(ii) printf(“%d”,printf(abc”));
(iii) int a [ ] ={1,3,2}; printf(“%d”, (a[2]+2 [a]));

(iv) int a=97; printf(“%c”,a);

(v) int I =0;
for (printf(“A”), i<2;printf(“C”)){printf(“B”);i++;}
(vi) int a = 5;
printf(“%d%d%d”, a = = 2, a = 3, a >5);
(vii) What do you mean by “throughput” of an operating system?
(viii) Identify at least one factor that makes Cache memory faster than main memory.
(ix) What do you mean by word length of a computer?
(x) What is the difference between a complier and an interpreter?

Computer & Informatics - question paper 2013



Post Reply

Return to “Fundamental of Design and Manufacturing (AD 301))”