How To Exam?

a knowledge trading engine...


Kurukshetra University 2007 B.Tech Electronics and Communications Engineering Fundamental of Computers (FOC) - Question Paper

Wednesday, 03 July 2013 06:05Web

Fundamental of Computers
Maximum Marks : 100
Paper - FOC

Note : Attempt any 5 ques. selecting at lowest 1 from every units.



UNIT-I

1. Convert the subsequent hexadecimal numbers to binary and decimal:
A2B5, 1110, 5678, EFCD, GOLO. [5 x 4]

2.(a) How info is represented inside the computer ? [10]
(b) elaborate ASCII code and portfix notations ? [10]

UNIT-II

3. Differentiate between:

(a) Linker and Loader
(b) Internet and WWW
(c) ISP and ISDN
(d) Compiler and Interpreter. [5 x 4]

4. What do you mean by recursive algorithms ? Can recursive algorithms be represented by flow charts ? explain with the help of an example. [10]

(b) explain the working of E-Mails Which protocols are used for E-mail ? [10]

UNIT-III

5. (a) Which of the subsequent are invalid variable names and why ?

Interest Paid, si-int, AVERAGE, percent, 134, Float, Name, weight in kg. [4]

(b) What is the purpose of subsequent in print f:

% e, % h, %x, % g ? provide 1 example of every. [8]

(c) Write a C program to convert provided number of days to equivalent number of years, weeks and days e.g. 375 days equal one year, one week and three days. Ignore leap years. [8]

6.(a) For (i = 0; i <= 20, i++ )
print f ("%", i);

In this for loop if i ++ is changed with ++ i, what values will be printed ? Justify. [6]

(b) Write a function to check whether a provided number is prime or not. [6]

(c) Differentiate ranging from local, global and external vanables. explain their scope with the help of examples. [8]

UNIT-IV

7.(a) Without using array related syntax, obtain whether a string is Palindrome or not. [10]

(b) int i, j, = 25; int* pi,*pj = & j; *pj=j + 5;
i = *pj + 5; pi = pi; *pi = i +j;
Suppose value assigned to i starts at F 9C His nd of j starts at F 9E Hexa. Justify subsequent answers:
(i) What value is represented by pi and Pi ? [5]
(ii) What final value is assigned to *pi and i ? [5]

8.(a) provide an example of every showing proper syntax:
(i) Nested array structures [5]
(ii) Enumerated data kind. [5]

(b) Create a file to store your detailed marks card. Do not use your real name. Also mention the commands that can be used to open, close, scan and print the contents of this file. [10]



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Kurukshetra University 2007 B.Tech Electronics and Communications Engineering Fundamental of Computers (FOC) - Question Paper