Download Model question papers & previous years question papers
Submit Previous Years University Question Papers
Posted Date: 29 Dec 2008 Posted By:: Darshak Member Level: Silver Points: 5 (₹ 1)
2002 Hemchandracharya North Gujarat University M Tech Automobile 103 Computer Fundamentals & Programming in C Question paper
First Year m. sc. (CA & IT) Examination
March/April – 2002
Computer Fandamental & prog. In ‘C' : Paper - 103
Time : 3 Hours] [Total Marks : 70
1 (a) do as directed : (any two) 2
(i) (ABC.EF)16 = (?)8
(ii) (235)8 = (?)16
(iii) (1101.01)2 = (?)8
(b) do as directed : (any three) 6
(i) (128.075)10 = (?)2
(ii) (110110.101101)2 = (?)10
(iii) (1010110.1010)2 = (?)10
(iv) (235.125)10 = (?)2
(c) Attempt any two : 6
(i) Explain cache memory.
(ii) Explain any one optical storage device in brief.
(iii) Explain any one input device in briefly.
2 (a) Answer the following questions : (any two) 8
(i) Explain switch statement with example.
(ii) Listout ‘C' operators. Explain any two
(iii) explain with example getchar ( ) and
putchar ( ) library function.
(b) answer the following question:(any three) 6
(i) Give differences between ‘break' and ‘Continue'.
(ii) Give differences between local variable and global variable.
(iii) Explain keyword ‘extern' with example.
(iv) What is recursion ? Explain in brief ?
3 (a) Attempt any two : 14
(i) write a program to calaculate the value of sum for the
1 + 3/2! + 5/4! + 7/6!+ 9/8! +………….
(ii) write a program to display following output on the screen:
2 3 2
3 4 5 4 3
4 5 6 7 6 5 4
5 6 7 8 9 8 7 6 5
(iii) write a program to copy one string into another using UDF
mystring copy ().
(b) Give output for in a given code : (any three) 9
(i) int a=2,b=4,c=6;
x=a + b/c – b*c + b;
y = + + a * – – b/c + + ;
printf(“\n a= %d \t b= %d\t c=%d",a,b,c);
for (k =1; k <= 5;)
for (m=1; 1; m++)
if (m = = 3) break;
main ( )
void fun (int *a, int *b);
void fun(int *a, int *b)
*a = *a**a;
*b = *b + *b;
int a = 35, b;
b = fun(a);
printf(“\n b = %d",b);
fun (int a)
if (a > 0) return (1);
4 (a) answer the following questions : (any two) 5
i. what is EOF indicate ? What is feefo() function do ?
ii. Explain fseek() function.
iii. Explain in brief ‘call by reference'.
(b) Attempt any two : 14
(i) Assume ‘student.txt' file is already created which contain
information about student Roll No., Name, Telephone and Year. write one program to append one record in to this file
And display all records from file.
(ii) Create one integer value contained file. From this file create
another two file. One for odd and second for even nos. Print
the result of both the file.
(iii) Define a structure called ‘donor' that will describe following
Name, Address, Age, Blood type (type 1, 2, 3, or 4)
Write a program to read information about blood donors and display a list of blood donors whose Age is below 25
and blood type is 2.
Return to question paper search
and make money from adsense revenue sharing program
Are you preparing for a university examination? Download model question papers
and practise before you write the exam.