MCQ Test of Osssc, General Knowledge Computer - Study Material
Page 1 :
Q3. Which of the following gives the memory address of the first element in, array?, , A.) array;, B.) array [1], C.) array (2);, , D.) array [0};, , Q4. Which of the following is called address operator?, A)*, , B.) &, , c.), , D.) %, , Q5. Which function is used to read a single character from the console in, C++?, , A.) cin.get(ch), B.) getline (ch), C.) read (ch), , D.) scanf (ch), , Q6. Declaration a pointer more than once may cause, A.) Error, B.) Abort, , C.) Null —D.) Trap
Page 2 :
Q7. What is the size of a Boolean variable in C++?, A.) 4 bit, , B.) 1 byte, , C.) 4 bytes, , D.) 2 bytes, , Q8. Which of the following is C++ equivalent for scanf()?, A.) input, B.) cout, C.) print, , D.) cin, , Q9. On which of the following storage media, storage of information is, organized as a single continuous spiral groove?, , A.) Ram, B.) Floppy disk, , C.) CD-ROM, , Q10. Which of the following actions will not delete a file on windows, desktop?, , A.) Select File, hit delete key, B.) Double click on file, hit delete key, , C.) Drag and drop in recycle bin
Page 3 :
Q11. How long is an IPv6?, A.) 32 bits, , B.) 128 bytes, , C.) 128 bits, , D.) 125 bits, , Q12. To change the size of an image in HTML, use, A.) Pliers, B.) Top and bottom, , C.) Height and width, , Q13. Which of the following circuit is used as a ‘Memory device ‘in a, computer?, , A.) Rectifier, B.) Flip Flop, , C.) Comparator, , Q14, A C++ code line ends with __, A.) A Semicolon (;), , B.) A Fullstop (.), , C.) A Comma (,), , D.) A Slash (/), , ais. Function is used to allocate space for array in memory.
Page 4 :
A.) malloc (), B.) calloc (), C.) alloc (), , D.) realloc (), , Q16. Default constructorhas__—aarguments., A.) Two Argument, , B.) One Argument, , C.) No argument, , D.) None of these, , Q17. An exception in C++ can be generated using which keywords., A.) throw, , B.) threw, , C.) thrown, , D.) throws, , Q18. A system has 3 processes sharing 4 resources. If each process needs a, maximum of 2 units, then, , A.) Deadlock can never occur, B.) Deadlock may occur, , C.) Deadlock has to occur, , Q19. Representation of data structure in memory is known as:
Page 5 :
A.) Recursive, B.) Abstract data type, , C.) Storage structure, , Q20. A positive AND gate is also a negative, A.) NAND gate, B.) OR gate, , C.) AND gate, , Q21. Conversion of decimal number (61)+o to it's binary number equivalent is, A.) (110011)2, B.) (11001110)2, , C.) (111101)2, , Q22. Conversion of an octal number (112): to hexadecimal number is, A.) (4A)16, B.) (SA)i6, , C.) (15)16, , Q23. Express -7 as 16-bit signed binary numbers., A.) 0000 0000 0000 0111, B.) 1000 0000 0000 0111, , C.) 0111 0000 0000 0001