Hemchandracharya North Gujarat University 103 Computer Fundamentals & Programming in C model question papers



Download Model question papers & previous years 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



Course: M Tech Automobile   University/board: Hemchandracharya North Gujarat University





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
following series:
1 + 3/2! + 5/4! + 7/6!+ 9/8! +………….
(ii) write a program to display following output on the screen:
1
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;
float x.y;
x=a + b/c – b*c + b;
printf(“\n x=%f",x);
y = + + a * – – b/c + + ;
printf(“\n y=%f",y);
printf(“\n a= %d \t b= %d\t c=%d",a,b,c);
(ii)
int k=0,m=0;
for (k =1; k <= 5;)
{
for (m=1; 1; m++)
{
printf(“%d\t",m);
if (m = = 3) break;
}
printf(“\n");
k++;
}
(iii)
main ( )
{
void fun (int *a, int *b);
int x,y;
x=5;y=2;
fun (&x,&y);
printf(“\nx=%d\t y=%d",x,y);
}
void fun(int *a, int *b)
{
*a = *a**a;
*b = *b + *b;
}
(iv)
main()
{
int a = 35, b;
b = fun(a);
printf(“\n b = %d",b);
}
fun (int a)
{
if (a > 0) return (1);
else
return (0);
}
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
information :
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

Next Question Paper: 103 Computer Fundamentals & Programming in C

Previous Question Paper: 103 Computer Fundamentals & Programming in C

Related Question Papers:


  • 102 : Advance Mathematics


  • 102 : Advance Mathematics


  • 101 : Communication Skills


  • 101 : Communication Skills


  • 101 : Communication Skills


  • Categories


    Submit Previous Years University Question Papers 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.


    Looking for University or College admissions in India for 2021 - 2022 Academic Year?

    APPLY NOW
    Top Contributors
    TodayLast 7 Daysmore...

    Awards & Gifts
     
    SpiderWorks Technologies Pvt Ltd, Kochi - India. © All Rights Reserved.