Computer Codes - Multiple Choice Questions

Computer Codes Multiple Choice Questions

 1. Which of the following is not a data type.

A. Symbolic Data 

B. Alphanumeric Data 

C. Numeric Data 

D. Alphabetic Data 

Answer = Symbolic Data


2. *@Ac# is a type of ________________ data. 

A. Symbolic 

B. Alphanumeric 

C. Alphabetic 

D. Numeric 

Answer = Alphanumeric


3. What are the entities whose values can be changed called.

A. Constants 

B. Variables 

C. Modules 

D. Tokens 

Answer = Variables


4. Which of the following is not a basic data type in C language.

A. float 

B. int 

C. real 

D. char 

Answer = real


5. BOOLEAN is a type of data type which basically gives a tautology or fallacy. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


6. What does FORTRAN stands for.

A. Formula Transfer 

B. Formula Transformation 

C. Formula Translation 

D. Format Transformation 

Answer = Formula Translation


7. The program written by the programmer in high level language is called _____________. 

A. Object Program 

B. Source Program 

C. Assembled Program 

D. Compiled Program 

Answer = Source Program


8. A standardized language used for commercial applications 

A. C. 

B. Java 

C. COBOL. 

D. FORTRAN. 

Answer = COBOL


9. ______________ define how the locations can be used. 

A. Data types 

B. Attributes 

C. Links 

D. Data Objects 

Answer = Attributes


10. What does EBCDIC stand for.

A. Extended Binary Converted Decimal Intermediate Code 

B. Extended Binary Coded Decimal Intermediate Code 

C. Extended Binary Coded Decimal Interchange Code 

D. Extended Binary Converted Decimal Interchange Code 

Answer = Extended Binary Coded Decimal Intermediate Code


11. In EBCDIC, a maximum of 128 different characters can be represented. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = False


12. The EBCDIC code for the character A is ______________. 

A. digit : 1100 zone : 0001. 

B. digit : 1111 zone : 0001. 

C. digit : 1100 zone : 1010. 

D. digit : 1111 zone : 1010. 

Answer = digit : 1100 zone : 0001


13.  The hex representation for F is _______________. 

A. C6. 

B. C5. 

C. D6. 

D. D1. 

Answer = C6


14. In EBCDIC, D5 is used to represent ________ character. 

A. J. 

B. N. 

C. O. 

D. K. 

Answer = N


15. Which of the following is not a character of the digit 1110.

A. s 

B. Z. 

C. O. 

D. X. 

Answer = O


16. What is the hexadecimal equivalent of the digit 9.

A. E9. 

B. F9. 

C. G9. 

D. H9. 

Answer = F9


17. The characters from 0 to 9 have their common digit as ___________. 

A. 1111. 

B. 0. 

C. 1. 

D. 1000. 

Answer = 1111


18. The EBCDIC is mainly used in ___________. 

A. Programming 

B. Machine Codes 

C.  Mainframes 

D. Super Computers 

Answer =  Mainframes


19. Which of the following character is available in EBCDIC but not in ASCII.

A. cent sign 

B. dollar sign 

C. comma 

D. punctuation 

Answer = cent sign


20. A group of bits used to represent a symbol is called a ____________. 

A. byte 

B. memory 

C. nibble 

D. code 

Answer = byte


21. BCD uses 6 bits to represent a symbol. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


22. Which of the following is not a type of computer code.

A. EBCDIC. 

B. BCD. 

C. ASCII. 

D. EDIC. 

Answer = EDIC


23.  The BCD representation of (34)10 is _______________. 

A. 6. 

B. 7. 

C. 8. 

D. 5. 

Answer = 7


24. Perform BCD addition of (23)BCD +  (20)BCD .. 

A. 110100. 

B. 1000011. 

C. 10011. 

D. 11100. 

Answer = 1000011


25. The weights used in Binary coded decimal code are:. 

A. 4,2,1. 

B. 8,4,2,1. 

C. 6,4,2,1. 

D. 2,1. 

Answer = 8,4,2,1


26. Write the decimal equivalent for (110001)BCD.. 

A. 31. 

B. 13. 

C. C1. 

D. 1C. 

Answer = 31


27. The 9’s complement of 45 is  _____________. 

A. 45. 

B. 54. 

C. 64. 

D. 46. 

Answer = 54


28. The 10’s complement of 455 is _________. 

A. 543. 

B. 544. 

C. 545. 

D. 546. 

Answer = 545


29. The Excess-3 representation of (0100)BCD is __________. 

A. 110. 

B. 1110. 

C. 111. 

D. 1100. 

Answer = 111


30. The numbers used to represent numeric values in EBCDIC are  _______. 

A. zoned 

B. unsigned 

C. packed 

D. eb 

Answer = zoned


31. Unicode provides a consistent way of encoding multilingual plain text. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


32. Which of the following is not a type of numeric value in zoned format.

A. Positive 

B. Negative 

C. Double 

D. Unsigned 

Answer = Double


33.  The sign indicator of unsigned numbers is  ____________. 

A. C. 

B. D. 

C. F. 

D. X. 

Answer = F


34. The EBCDIC value of the number 345 in zoned format is  __________. 

A. F3F4F5. 

B. E3E4E5. 

C. F3F4C5. 

D. F3F4D5. 

Answer = F3F4F5


35. Which of the following is a valid encoding format.

A. UTF-1. 

B. UTF-8. 

C. UTF-A. 

D. UTF-4. 

Answer = UTF-8


36. _________________ defines the assigned ordering among the characters used by the computer. 

A. Unicode 

B. Collating Sequence 

C. Accumulation 

D. Sorting 

Answer = Collating Sequence


37. The sorting sequence of the strings A1,23,1A will be ______________. 

A. 23 > A1 > 1A. 

B. 23 < 1A > A1. 

C. A1 > 1A > 23. 

D. A1 < 1A < 23. 

Answer = A1 < 1A < 23


38. The default character coding in HTML-5 is _____________. 

A. UTF-8. 

B. UTF-16. 

C. UTF-4. 

D. UTF-32. 

Answer = UTF-8


39. Numbers used in packed decimal format can be used for _____________ operations 

A. logical 

B. relational 

C. arithmetic 

D. bitwise 

Answer = arithmetic


40. What does ASCII stand for.

A. American Standard Code for Information Interchange 

B. American Scientific Code for Information Interchange 

C. American Scientific Code for Interchanging Information 

D. American Standard Code for Interchanging Information 

Answer = American Standard Code for Information Interchange


41. The decimal representation for the character ‘!’ in ASCII is ____________. 

A. 31. 

B. 32. 

C. 33. 

D. 34. 

Answer = 33


42. The two types of ASCII are _____________ and ____________. 

A. ASCII-4 and ASCII-8. 

B. ASCII-8 and ASCII-16. 

C. ASCII-7 and ASCII-8. 

D. ASCII-4 and ASCII-16. 

Answer = ASCII-7 and ASCII-8


43.  Any set of digits or alphabets are generally referred as ______________. 

A. Characters 

B. Symbols 

C. Bits 

D. Bytes 

Answer = Characters


44. The number of characters that can be represented in ASCII-8 are ______________. 

A. 128. 

B. 256. 

C. 32. 

D. 64. 

Answer = 256


45. The zone of alphabetic characters from A to O in ASCII is _____________. 

A. 1000. 

B. 100. 

C. 10. 

D. 1. 

Answer = 100


46. The representation of the number 8 in binary in ASCII-8 format _________. 

A. 111000. 

B. 1001000. 

C. 1000. 

D. 11000. 

Answer = 111000


47. Binary Coding for the letter X is ______________. 

A. 1011000. 

B. 111000. 

C. 10001000. 

D. 10100. 

Answer = 1011000

Previous Post Next Post