Computer Language - Multiple Choice Questions

Computer Language Multiple Choice Questions

 1. The language made up of binary coded instructions 

A. Machine 

B. C. 

C. BASIC. 

D. High level 

Answer = Machine


2. The ___________ contains the address of the next instruction to be executed. 

A. IR. 

B. PC. 

C. Accumulator 

D. System counter 

Answer = PC


3.  The memory unit is made up of _____ bytes 

A. 256. 

B. 124. 

C. 4096. 

D. 3096. 

Answer = 4096


4. A document that specifies how many times and with what data the program must be run in order to thoroughly test it. 

A. addressing plan 

B. test plan 

C. validation plan 

D. verification plan 

Answer = test plan


5. An approach that designs test cases by looking at the allowable data values 

A. Maintenance 

B. Evaluation 

C. Data coverage 

D. Validation 

Answer = Data coverage


6. The formal grammar rules governing the construction of valid instruction. 

A. test case 

B. syntax 

C. program 

D. semantics 

Answer = syntax


7.   A program that reads each of the instructions in mnemonic form and translates it into the machine-language equivalent. 

A. Machine language 

B. Assembler 

C. Interpreter 

D. C program 

Answer = Assembler


8. An approach that designs test cases by looking at the allowable data values 

A. Data coverage 

B. Code Coverage 

C. Debugging 

D. Validation 

Answer = Data coverage


9. The rules that give meaning to the instructions 

A. Semantics 

B. Syntax 

C. Code 

D. Cases 

Answer = Semantics


10. Which is interpreted language.

A. C++. 

B. C. 

C. MATLAB. 

D. Fortran 

Answer = MATLAB


11. In compiled language, the translation to machine-language is performed incrementally at run-time. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = False


12.  A text file that contains our program is called as __________. 

A. Exe file 

B. Doc file 

C. Obj file 

D. Source file 

Answer = Source file


13. First statement in a fortran code is _________. 

A. include statement 

B. import statement 

C. program statement 

D. @data statement 

Answer = program statement


14. A Fortran is not ___________. 

A. System supported 

B. Source supported 

C. Case Sensitive 

D. Programmer supported 

Answer = Case Sensitive


15. The delimiter in a FORTRAN code. 

A. Semicolon 

B. Blank space 

C. Colon 

D. Comma 

Answer = Blank space


16. A program that reads the source code and converts it to a form usable by the computer. 

A. Interpreter 

B. Compiler 

C. Linker 

D. Assembler 

Answer = Compiler


17. A valid variable declaration in FORTRAN is __________. 

A. real :: Celsius 

B. real Celsius;. 

C. Celsius real;. 

D. real : Celsius 

Answer = real :: Celsius


18. In FORTRAN, the declarations of variables can be modified using the _____ parameter. 

A. kind 

B. make 

C. select 

D. change 

Answer = kind


19. COBOL stands for _________. 

A. Common Business Oriented Language 

B. Common Business Object Language 

C. Common Beneficial Oriented Language 

D. Common Beneficial Object Language 

Answer = Common Business Oriented Language


20. COBOL is a language that keeps evolving. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


21. Which of the following is not a part of the program division in COBOL.

A. Identification 

B. Environment 

C. Procedure 

D. Compilation 

Answer = Compilation


22.  Which of the following is not a part of the Identification division.

A. Paragraphs 

B. Entries 

C. Phrases 

D. Clauses 

Answer = Phrases


23. D in COBOL stands for _________. 

A. Data 

B. Draft 

C. Debugger 

D. Debugging lines 

Answer = Debugging lines


24. Comment in COBOL is denoted by  ________. 

A. *. 

B. /. 

C. //. 

D. ;. 

Answer = *


25. The data division is used to ________. 

A. Declare program id 

B. Declare variables 

C. File control 

D. Input-Output section 

Answer = Declare variables


26.  Which is not a data type in COBOL.

A. numeric 

B. alphanumeric 

C. alphabetic 

D. float 

Answer = float


27. What does S denote in a picture clause.

A. A symbol 

B. A character 

C. A sign 

D. Alphanumeric sign 

Answer = A character


28. _____________ denotes the format in which data is stored in memory. 

A. kind 

B. attach 

C. select 

D. usage 

Answer = usage


29. Prolog comes under ___________. 

A. Logic Programming 

B. Procedural Programming 

C. OOP. 

D. Functional 

Answer = Logic Programming


30. Java is procedural programming. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = False


31. A  program that can execute high-level language programs 

A. Compiler 

B. Interpreter 

C. Sensor 

D. Circuitry 

Answer = Interpreter


32.  Executables might be called ________. 

A. native code 

B. executable code 

C. complex code 

D. machine code 

Answer = native code


33. Source program is compiled to an intermediate form called ___________. 

A. Byte Code 

B. Smart code 

C. Executable code 

D. Machine code 

Answer = Byte Code


34. _______________ is the assembly language for an imaginary architecture. 

A. Byte code 

B. Machine code 

C. Native code 

D. Executable code 

Answer = Byte code


35. JIT stands for.

A. Just in time 

B. Jump in time 

C. Jump in text 

D. Jump in terms 

Answer = Just in time


36. JVM stands for.

A. Java virtual machine 

B. Java visual machine 

C. JRE virtual machine 

D. JRE visual machine 

Answer = Java virtual machine


37. A language supported by Ms Net platform. 

A. C. 

B. C++. 

C. java 

D. C-Sharp 

Answer = C-Sharp


38.  is supported by Ms Net platform JAVA was originally designed for web purposes 

A.  Which of the following isn’t a characteristic of High level languages.

B. machine code 

C. platform independent 

D. interactive execution 

Answer =  Which of the following isn’t a characteristic of High level languages?


39. Each personal computer has a _________ that manages the computer’s arithmetical, logical and control activities 

A. Microprocessor 

B. Assembler 

C. Microcontroller 

D. Interpreter 

Answer = Microprocessor


40. Assembly Language requires less memory and execution time. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


41. The data size of a word is _________. 

A. 2-byte 

B. 4-byte 

C. 8-byted)16-byte 

D. None of the mentioned 

Answer = 2-byte


42. A direct reference of specific location. 

A. Segment Address 

B. Absolute Address 

C. Offset 

D. Memory Address 

Answer = Absolute Address


43. A Borland Turbo Assembler. 

A. nasm 

B. tasm 

C. gas 

D. asm 

Answer = tasm


44. The instructions that tell the assembler what to do. 

A. Executable instructions 

B. Pseudo-ops 

C. Logical instructions 

D. Macros 

Answer = Executable instructions


45. The segment containing data values passed to functions and procedures within the program. 

A. Code 

B. Data 

C. Stack 

D. System 

Answer = Stack


46. To speed up the processor operations, the processor includes some internal memory storage locations, called ___________. 

A. Drives 

B. Memory 

C. Units 

D. Registers 

Answer = Registers


47. To locate the exact location of data in memory, we need the starting address of the segment, which is found in the DS register and an offset value This offset value is also called.

A. Effective Address 

B. Direct offset address 

C. Memory address 

D. General Address 

Answer = Effective Address


48. Each byte of character is stored as its ASCII value in _______. 

A. Hexadecimal 

B. Binary 

C. Octal 

D. Decimal 

Answer = Hexadecimal

Previous Post Next Post