Are you guys looking for computer science MCQ Questions with Answers PDF Free Download as per computer science new exam pattern? You came to the right page. This may assist you to understand and check your knowledge about the Subjects. Students also can take a free test of the Multiple Choice Questions of computer science. Each question has four options followed by the right answer. These computer science MCQ Questions are selected supported by the newest exam pattern.
Q1. The macro processor must perform
(A) Recognize macro definitions and macro calls
(B) Save the macro definitions
(C) Expand macro calls and substitute arguments
(D) All of the above
Answer: (D) All of the above
Q2. In an absolute loading scheme, which loader function is accomplished by loader?
(A) Reallocation
(B) Allocation
(C) Linking
(D) Loading
Answer: (D) Loading
Q3. A system program that combines the separately compiled modules of a program into a form suitable for execution
(A) Assembler
(B) Linking loader
(C) Cross compiler
(D) Load and go
Answer: (B) Linking loader
Q4. Loaders that allow for program relocation are called
(A) Relocating loaders
(B) Relative loaders
(C) Both (a) and (b)
(D) None of the above
Answer: (C) Both (a) and (b)
Q5. Which table is a permanent databases that has an entry for each terminal symbol?
(A) Terminal table
(B) Literal table
(C) Identifier table
(D) Reductions
Answer: (A) Terminal table
Q6. In which way(s) can a macro processor for assembly language be implemented?
(A) Independent two-pass processor
(B) Independent one-pass processor
(C) Processor incorporated into pass of a standard two-pass assembler
(D) All of the above
Answer:(D) All of the above
Q7. Assembly code data base is associated with
(A) A permanent table which lists all key words and special symbols of the language in symbolic form
(B) A permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
(C) Consists of a full or partial list or the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
(D) Assembly language version of the program which is created by the code generation phase and is input to the assembly phase
Answer: (D) Assembly language version of the program which is created by the code generation phase and is input to the assembly phase
Q8. A self-relocating program is one which
(A) Cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
(B) Consists of a program and relevant information for its relocation
(C) Can itself perform the relocation of its address-sensitive portions
(D) All of the above
Answer: (C) Can itself perform the relocation of its address-sensitive portions
Q9. In analyzing the compilation of PL/I program, the term “Lexical analysis” is associated with
(A) Recognition of basic syntactic constructs through reductions
(B) Recognition of basic elements and creation of uniform symbols
(C) Creation of more optional matrix
(D) Use of macro processor to produce more optimal assembly code
Answer: (B) Recognition of basic elements and creation of uniform symbols
Q10. The advantage(s) of incorporating the macro processor into pass 1 is/ are:
(A) Many functions do not have to be implemented twice
(B) Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler
(C) More flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros
(D) All of the above
Answer:(D) All of the above
Q11. Convert the BRNE h#01E6, i assembly language instructions into hexadecimal machine language:
(A) 0111EF
(B) 9001E6
(C) DA000F
(D) 40
Answer: (B) 9001E6
Q12. Job Control Language (JCL) statements are Used to
(A) Read the input from the slow-speed card reader to the high-speed magnetic disk
(B) Specify, to the operating system, the beginning and end of a job in a batch
(C) Allocate the CPU to a job
(D) All of the above
Answer: (B) Specify, to the operating system, the beginning and end of a job in a batch
Q13. A base register table
(A) Is a term that refers to the control programs of an operating system
(B) Is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain
(C) Allows multiple programs to reside in separate areas of core at the same time
(D) Allows the programmer to write base registers and displacements explicitly in the source program
Answer: (B) Is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain
Q14. Convert the 48 machine language instructions into assembly language, assuming that they were not generated by pseudo-ops:
(A) ASRA
(B) LOADA h#OD4E, i
(C) STOREA h#014B, d
(D) ADDA h#01FE, i
Answer: (A) ASRA
Q15. In an absolute loading scheme, which loader function is accomplished by assembler
(A) Reallocation
(B) Allocation
(C) Linking
(D) Loading
Answer: (A) Reallocation
Language Processors MCQ – All Set
We hope the given computer science Engineering on Language Processors MCQ Questions with Answers will definitely yield fruitful results. Hope you got enough ideas on the MCQs on Language Processors. If you have any queries related to computer science Engineering on Language Processors MCQs Multiple Choice Questions with Answers, drop your questions below and will get back to you as soon as possible.