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)

2001 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





B-12703 Seat No.
First Year M.Sc. (CA & IT) Examination
May/June-2001
Computer Fundamental &
Prog. In ‘C' : Paper - 103

Time : 3 Hours ] [Total Marks : 35
Instruction : (i) All question are compulsory.
Figures to the right indicates marks of the corresponding questions.
1. A. Write short notes on any two. 7
(a) Types of ROM.
(b) Types of Printers. Explain about Dot-Matrix Printer.
(c) Classification of Computer according to size and work.
(d) History of Computer Languages.

B Do as directed. 3
(a) Any Three
(1) (1FF.F)16 = (?)8
(2) (1011011.1)2 = (?)16
(3) (770.71)8 = (?)16
(4) (11.1)2 = (?)8

(b) Any Two 4
(1) (111.01)2 – (111.10)2 using 1's complement.
(2) (255.875)10 = (?)16
(3) (001F)16 = (?)10
(4) (100.10)2 / (10.01)2

2 A Write Short not on any three. 12
(1) Nested if statement with required example.
(2) Write a short not on basic structure of ‘C' program.
(3) What is recursion Function? Explain it and write a recursion function. For calculate factorial of given positive integer.
(4) Explain given function for file in ‘C' with one example.
(1) fopen (2) fprintf
(3) fscanf (4) fgets
(5) Explain pre tested and post tested loop.

B. give the output for given code. (any four) 12
1.
stuct Student
{
int A;
char Name[40];
float Percentage;
}stud;
printf(“ Student %d “,sizeof(stud));
printf(“ Student Name %d “,sizeof(stud.name));
2.
int A, *B,C;
A=50;
B=&A;
C=(*B)++;
printf(“ value of A is -> %d\n",A);
printf(“ value of B is -> %d\t",B);
printf(“ value of C is ->%d\n",C);

3
int I=0,J=0;
for(I=1;I<=20;I++)
{
I++;
printf(“ Value of I is %d “,I);
if(I>=10)
break;
else
continue
}
4
void main()
{
int I , Ans=0 , J=1;
I=5;
J=10;
Multiply (I,J);
printf(“ value of I %d \n “ I);
printf(“ value of j %d \n “J);
printf(“ Answer is %d \n “, Ans);
}
void Multiply(int I, int j)
{
int Ans;
ans = i*j;
}

Int I,J;
Flaot Ans;
I=14;
J=7;
Ans = (J / I ) / ((I++) + ( j -));
printf(“ value of I %d \n “ I);
printf(“ value of j %d \n “J);
printf(“ Answer is %d \n “, Ans);

3. A. Write a ‘C' Program. (Any Two) (14)
(1) display this kind of output on screen using for loop.
*
* *
* *
* *
* * * * * * * * *
(2) Write a ‘C' program to display all prime numbers between 30 and 310 each in
new line.
(3) Write a ‘C' program to convert given decimal to binary no.
(4) Write a ‘C' program to find the sum of that numbers which are divisible by N
between 100 and 400. (Here no n is accept from user.)

B. Write a ‘C' program code for given problem. (Any One)(04)
(1) Write a function for reverse the given string. (Do not use
Library function.)
(2) write a code for accept and display 5 member information
Member No , Member Name , Balance.
Note : Member Name may contain space character. E.g.
Vipul Patel.

C. write a ‘C' program (Any one) (08)
(1) Accept 6 words and arrange it in dictionary order.
(2) Create one integer value contained file. From this file
Create another two files one for odd and second for
Even nos. Print the result of both files.
4. Do as directed. (03)
A. (Any three)
(1) write a general syntax for conditional operator.
(2) printf(“ Testing Value is %f\%",3.67); output is .
(3) A function must return a value. (True or False) justify your
Answer.
(4) printf(“ Testing Value is %d",sizeof((double)3.67));
output is .
B. Define givens terms. (any three) (03)
(1) Compiler
(2) Interpreter
(3) Variable
(4)Constants






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


  • 102 : Advance Mathematics


  • 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.