Basic Electronics & Computer Application

Internal Examination

Total marks= 30

MCQ Type (10x1=10)

1.  1 Nibble is equal to

a.  4 bits b. 8 bits c. 16 bits d. 32 bits

2.  Operating system is

a.  System software b. Application software c. programming software

b.  d. firmware

3.  In C language Division by zero is

a.  Compile time error b. run time error c. not an error d. none of these

4.  Which is the external command in Dos

a.  edit b. ren c. del d. date

5.  RAM stands for

a.  Random access memory b. read access memory c. rewrite access memory

c.  None of these

6.  m=5, if y= ++m+m, find the value of y in C

a.  12 b. 13 c. 11 d. 10

7.  The storage space of in memory for int in

a.  I byte b. 2 byte 3. 4 byte d. 8 byte

8.  Binary 11111110 is equivalent to hexadecimal

a.  EF b. FE c. EE d. FF

9.  Linux is a

a.  Single user OS b. multi user OS c. batched OS d. distributed

10.  Why rd and del commands are used in DOS?

a.  Reduce directory and delete file

b.  Remove directory and resume file

c.  Remove directory and delete file

d.  None of these

Short Answer type questions (Any one) 1x5=5

2. What are keywords and identifiers? What is Ternary operator?

Give the example. 5

3. What are the various generations of computers? Explain briefly.

5

Long Answer Type questions (Any one) 1x15-15

4.

(a). WAP C to convert a Fahrenheit temperature into centigrade temperature of a city. 4

(b). Difference between call by value and the call by reference with examples. 4

(c). Difference between while and do-while loop with examples. 4

(d). what are the different storage classes in C? 3

5.

(a). Convert from octal to hexadecimal of 7627. 2

(b). What are the functions of the following dos command:

dir, md, xcopy , cd 4

(c) Convert from binary to decimal of 10101.11 2

(d) WAP in C to print your name 10 times. 4

(e) What are tokens? Explain with example. 3

------x------