Sei sulla pagina 1di 12

1.

In analyzing the compilation of PL/I program, the term "Machine independent optimization" is associated with A. B. C. D. E. recognition of basic syntactic constructs through reductions. recognition of basic elements and creation of uniform symbols. creation of more optional matrix. use of macro processor to produce more optimal assembly code None of the above

Answer: Option C

2.

An instruction in a programming language that is replaced by a sequence of instructions prior to assembly or compiling is known as A. B. C. D. E. procedure name macro label literal None of the above

Answer: Option B

3.

A program A. B. C. D. E. is a device that performs a sequence of operations specified by instructions in memory. is the device where information is stored is a sequence of instructions is typically characterized by interactive processing and time of the CPU's time to allow quick response to each user. None of the above

Answer: Option C

4.

A self-relocating program is one which A. B. C. D. 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. consists of a program and relevant information for its relocation. can itself performs the relocation of its address-sensitive portions. All of the above

E.

None of the above

Answer: Option C

5.

Banker's algorithm for resource allocation deals with A. B. C. D. E. deadlock prevention deadlock avoidance deadlock recovery mutual exclusion None of the above

Answer: Option B 6. A sequence of instructions, in a computer language, to get the desired result, is known as A. B. C. D. E. Algorithm Decision Table Program All of the above None of the above

Answer: Option C

7.

Which, of the following, is true for testing and debugging? A. B. C. D. E. Testing checks for logical errors in the programs, while debugging is a process of correcting those errors in the program Testing detects the syntax errors in the program while debugging corrects those errors in the program Testing and debugging indicate the same thing All of the above None of the above

Answer: Option A

8.

Information in a memory that is no longer valid or wanted is known as A. B. C. non-volatile volatile surplus

D. E.

garbage None of the above

Answer: Option D

9.

Which of the following filename extension suggests that the file is a backup copy of another file? A. B. C. D. E. TXT COM BAS BAK None of the above

Answer: Option D

10. Relocation bits used by relocating loader are specified (generated) by A. B. C. D. E. Relocating loader itself Linker Assembler or translator Macro processor None of the above

Answer: Option B 11. Which of the following statements is false? A. B. C. D. E. a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process time sharing systems generally use preemptive CPU scheduling response time are more predictable in preemptive systems than in non preemptive systems real time systems generally use non-preemptive CPU scheduling None of the above

Answer: Option D

12. Nonmodifiable procedures are called A. B. serially usable procedures concurrent procedures

C. D. E.

reentrant procedures topdown procedures None of the above

Answer: Option C

13. The instruction register A. B. C. D. E. is a hardware memory device which denotes the location of the current instruction being executed. is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory. contains the address of the memory location that is to be read from or stored into. contains a copy of the designated memory location specified by the MAR after a "read" or the new contents of the memory prior to a "write". None of the above

Answer: Option B

14. Which of the following scheduling objectives should be applied to the following: the system should admit jobs to create a mix that will keep most devices busy A. B. C. D. E. to be fair to balance resource utilization to obey priorities to be predictable None of the above

Answer: Option B

15. Multiprogramming systems: A. B. C. D. E. are easier to develop than single programming system execute each job faster execute more jobs in the same time period are used only on large mainframe computers None of the above

Answer: Option C 16. Backups should be done

A. B. C. D. E.

daily for most installations weekly for most installations as several image copies, followed by an incremental as several incrementals, followed by an image copy None of the above

Answer: Option D

17. In an absolute loading scheme, which loader function is accomplished by assembler. A. B. C. D. E. Reallocation Allocation Linking Loading None of the above

Answer: Option A

18. The command interpreter A. B. C. D. E. is usually the primary user interface requires fixed format commands is menu drive is quite different from the SCL interpreter None of the above

Answer: Option A

19. A task in a blocked state A. B. C. D. E. is executable is running must still be placed in the run queues is waiting for same temporarily unavailable resources None of the above

Answer: Option D

20. System maintenance: A. B. C. D. E. is usually not necessary is necessary on all systems, regardless of how good is not required if the system is well written always requires several programs None of the above

Answer: Option B 21. Which of the following statements is not true about the FORTRAN language? A. B. C. D. E. FORTRAN is a high level language A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine FORTRAN is extensively used to write programs for performing scientific computations All of the above None of the above

Answer: Option B

22. A linker A. B. C. D. E. creates a load module is not necessary with variable partitions must be run after the loader is not needed with a good compiler None of the above

Answer: Option A

23. Uniform Symbols Table A. B. C. D. E. contains all constants in the program a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure. consists of a full or partial list of the token's as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation a permanent table which lists all key words and special symbols of the language in symbolic form. None of the above

Answer: Option C

24. In which of the storage placement strategies a program is placed in the smallest available hole in the main memory? A. B. C. D. E. best fit first fit worst fit buddy None of the above

Answer: Option A

25. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register? A. B. C. D. E. absolute mode indirect mode immediate mode index mode None of the above

Answer: Option D 26. The higher versions of the operating systems are so written that programs designed for earlier versions can still be run. What is it called? A. B. C. D. E. Upgradability Upward mobility Universality Upward compatibility None of the above

Answer: Option D

27. If special forms are needed for printing the output, the programmer specifies these forms through? A. B. C. JCL JPL Utility programs

D. E.

Load modules None of the above

Answer: Option A

28. Which policy replace a page if it is not in the favoured subset of a process's pages? A. B. C. D. E. FIFO LRU LFU Working set None of the above

Answer: Option D

29. Which of the following can be accesses by transfer vector approach of linking? A. B. C. D. E. External data segments External subroutines Data located in other procedures All of the above None of the above

Answer: Option B

30. Which of the following terms refers to the degree to which data in a database system are accurate and correct? A. B. C. D. E. data security data validity data independence data integrity None of the above

Answer: Option D 31. In analyzing the compilation of PL/I program, the term "Syntax analysis" is associated with A. B. recognition of basic syntactic constructs through reductions. recognition of basic elements and creation of uniform symbols

C. D. E.

creation of more optional matrix. use of macro processor to produce more optimal assembly code None of the above

Answer: Option A

32. A hardware device that is capable of executing a sequence of instructions, is known as A. B. C. D. E. CPU ALU CU Processor None of the above

Answer: Option D

33. Which of following is/are the advantage(s) of modular programming? A. B. C. D. E. The program is much easier to change Modules can be reused in other programs Easy debugging Easy to compile None of the above

Answer: Option A

34. The function(s) performed by the paging software is (are) A. B. C. D. E. Implementation of the access environment for all programs in the system Management of the physical address space Sharing and protection All of the above None of the above

Answer: Option D

35. A compiler for a high-level language that runs on one machine and produces code for a different machine is called is A. optimizing compiler

B. C. D. E.

one pass compiler cross compiler multipass compiler None of the above

Answer: Option C

36. A critical region is A. B. C. D. E. a program segment that has not been proved bug-free a program segment that often causes unexpected system crashes a program segment where shared resources are accessed one which is enclosed by a pair of P and V operations on semaphores none is the above

Answer: Option D

37. Assembler language A. B. C. D. E. is usually the primary user interface requires fixed-format commands is a mnemonic form of machine language is quite different from the SCL interpreter None of the above

Answer: Option C

38. The primary job of the operating system of a computer is to A. B. C. D. E. command resources manage resources provide utilities be user friendly None of the above

Answer: Option B

39. Which of the following is a measure to test how good or bad a modular design is

A. B. C. D. E.

Module strength Module coupling Static analysis All of the above None of the above

Answer: Option A

40. The Operating system manages A. B. C. D. E. Memory Processor Disks and I/O devices All of the above None of the above

Answer: Option D 41. The primary purpose of an operating system is to: A. B. C. D. E. make computer easier to use keep system programmers employed make the most efficient use of the hardware allow people to sue the computers None of the above

Answer: Option A

42. Which of the following is true about pseudocode A. B. C. D. E. A machine language An assembly language A high-level language All of the above None of the above

Answer: Option E

43. The principles of structured programming forbid the use of

A. B. C. D. E.

WHILE-DO GOTO IF-THEN-ELSE DO-WHILE None of the above

Answer: Option B

44. Which of the following capabilities is required for a system program to execute more than one program at a time? A. B. C. D. E. word processing compiling virtual memory multitasking None of the above

Answer: Option D

Potrebbero piacerti anche