# Quiz-1

Hello PrepSter,

If you find any errors in the quiz below kindly comment in the comment section and we will make it our priority to fix it.

Also if you have a better of the solution to the questions, please do comment them below and if we find it better than ours, we will post it in our website.

Question 1

Time: 00:00:00
Suppose that in a C program snippet, followings statements are used.
`i) ``sizeof``(``int``);`

`ii) ``sizeof``(``int``*);`

`iii) ``sizeof``(``int``**);`

Only i) would compile successfully and it would return size as 4

Only i) would compile successfully and it would return size as 4

i), ii) and iii) would compile successfully and size of each would be same i.e. 4

i), ii) and iii) would compile successfully and size of each would be same i.e. 4

i), ii) and iii) would compile successfully but the size of each would be different and would be decided at run time.

i), ii) and iii) would compile successfully but the size of each would be different and would be decided at run time.

ii) and iii) would result in compile error but i) would compile and result in size as 4.

ii) and iii) would result in compile error but i) would compile and result in size as 4.

Once you attempt the question then PrepInsta explanation will be displayed.

Question 2

Time: 00:00:00
Assume int is 4 bytes, char is 1 byte and float is 4 bytes. Also, assume that pointer size is 4 bytes (i.e. typical case)

 `char` `*pChar;` `int` `*pInt;` `float` `*pFloat;` `sizeof``(pChar);` `sizeof``(pInt);` `sizeof``(pFloat);`

2 3 8

2 3 8

4 4 4

4 4 4

1 4 4

1 4 4

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Question 3

Time: 00:00:00
`#include "stdlib.h"`

`int` `main()`

`{`

` ``int` `*pInt;`

` ``int` `**ppInt1;`

` ``int` `**ppInt2;`

` ``pInt = (``int``*)``malloc``(``sizeof``(``int``));`

` ``ppInt1 = (``int``**)``malloc``(10*``sizeof``(``int``*));`

` ``ppInt2 = (``int``**)``malloc``(10*``sizeof``(``int``*));`

` ``free``(pInt);`

` ``free``(ppInt1);`

` ``free``(*ppInt2);`

` ``return` `0;`

`}`

malloc() for ppInt1 and ppInt2 isn’t correct. It’ll give compile time error.

malloc() for ppInt1 and ppInt2 isn’t correct. It’ll give compile time error.

free(*ppInt2) is not correct. It’ll give compile time error

free(*ppInt2) is not correct. It’ll give compile time error

free(*ppInt2) is not correct. It’ll give run time error.

free(*ppInt2) is not correct. It’ll give run time error.

No issue with any of the malloc() and free() i.e. no compile/run time error.

No issue with any of the malloc() and free() i.e. no compile/run time error.

Once you attempt the question then PrepInsta explanation will be displayed.

Question 4

Time: 00:00:00
What is the full form of SDRAM?

Special Dynamic Random Access Memory

Special Dynamic Random Access Memory

Synchronous Dynamic Random Access Memory

Synchronous Dynamic Random Access Memory

Once you attempt the question then PrepInsta explanation will be displayed.

Question 5

Time: 00:00:00
Which electronics component is used in first generation computers?

Transistors

Transistors

Vaccum tubes and Valves

Vaccum tubes and Valves

Integrated Circuits

Integrated Circuits

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Question 6

Time: 00:00:00
What is the full form of OCR?

Optical Character Recogition

Optical Character Recogition

Optical Character Region

Optical Character Region

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Question 7

Time: 00:00:00
What is the full form of MICR?

Magnetic Ink Character Recognition.

Magnetic Ink Character Recognition.

Magnetic Inkjet Character Recognition .

Magnetic Inkjet Character Recognition .

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Question 8

Time: 00:00:00
Which input device is used to scan cheque in banks?

OCR

OCR

MICR

MICR

OMR

OMR

All of these

All of these

Once you attempt the question then PrepInsta explanation will be displayed.

Question 9

Time: 00:00:00
Flat panel is type of a monitor?

Yes

Yes

No

No

Cant say

Cant say

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Question 10

Time: 00:00:00
Programmer who works with high level languages and have better understanding with applications are considered as

design programmer

design programmer

application programmer

application programmer

analysis programmer

analysis programmer

train programmer

train programmer

Once you attempt the question then PrepInsta explanation will be displayed.