Que- Which of the following is not true about documentation?
a. Documentation, of a system, should be as clear and direct as possible
b. Documentation increases the maintenance time and cost
c. Documentation gives better understanding of the problem
d. All of the above
Answer- Documentation increases the maintenance time and cost
Que- The system/370 assembler language
a. allows the programmer to write base registers and displacements explicitly in the source program.
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. is a term that refers to the control programs of an operating system.
Answer- allows the programmer to write base registers and displacements explicitly in the source program.
Que- The errors that can be pointed out by the compiler are
a. Syntax errors
b. Semantic errors
c. Logical errors
d. Internal errors
Answer- Syntax errors
Que- When a computer is first turned on or restarted, a special type of absolute loader is executed, called a
a. ""Compile and Go"" loader
b. Boot loader
c. Bootstrap loader
d. Relating loader
Answer- Bootstrap loader
Que- Which, of the following checks, cannot be carried out on the input data to a system?
a. consistency check
b. Syntax check
c. Range check
d. All of the above
Answer- Syntax check
Que- A program that converts a high-level language program to a set of instructions that can run on a computer is called a
a. Compiler
b. Debugger
c. Editor
d. All of the above
Answer- Compiler
Que- Which of the following is characteristic of an operating system?
a. resource management
b. error recovery
c. memory management
d. All the above
Answer- All the above
Que- Virtual Memory
a. is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks.
b. consists of those addresses that may be generated by a processor during execution of a computation.
c. is a method of allocating processor time.
d. allows multiple programs to reside in separate areas of core at the time.
Answer- consists of those addresses that may be generated by a processor during execution of a computation.
Que- In a magnetic disk, data is recorded in a set of concentric tracks which are subdivided into
a. periods
b. sectors
c. zones
d. groups
Answer- sectors
Que- The total time to prepare a disk drive mechanism for a block of data to be read from it is
a. latency
b. latency plus transmission time
c. latency plus seek time
d. latency plus seek time plus transmission time
Answer- latency plus seek time
Que- Part of a program where the shared memory is accessed and which should be executed invisibly, is called
a. semaphores
b. directory
c. critical section
d. mutual exclusion
Answer- critical section
Que- Indicate which, of the following, is not true about Nassi-Shneiderman charts
a. These charts are type of graphical design tool
b. These charts cannot represent CASE constructs
c. These charts can represent three fundamental control structures
d. All of the above
Answer- These charts cannot represent CASE constructs
Que- Access time is the highest in the case of
a. floppy disk
b. cache
c. swapping devices
d. magnetic disk
Answer- magnetic disk
Que- Which of the following is not a characteristic of a daisy chaining priority control scheme?
a. priority is programmable
b. it is relatively easy to add more devices to the chain
c. the failure of one device may affect other devices on the chain
d. the number of control lines is independent of the number of devices on the chain
Answer- priority is programmable
Que- Assembler is
a. a program that places programs into memory and prepares them for execution.
b. a program that automate the translation of assembly language into machine language.
c. a program that accepts a program written in a high level language and produces an object program.
d. is a program that appears to execute a source program as if it were machine language.
Answer- a program that automate the translation of assembly language into machine language.
Que- Indicate which, of the following, in not true about an interpreter
a. Interpreter generates an object program from the source program
b. Interpreter is a kind of translator
c. Interpreter analyses each source statement every time it is to be executed
d. All of the above
Answer- Interpreter generates an object program from the source program
Que- Object modules generated by assemblers that contain unresolved external references are resolved for two or more object modules by a/an
a. operating system
b. loader
c. linker
d. compiler
Answer- linker
Que- The dispatcher
a. actually schedules the tasks into the processor
b. puts tasks in I/O wait
c. is always small and simple
d. never changes task priorities
Answer- actually schedules the tasks into the processor
Que- System programs such as Compilers are designed so that they are
a. reenterable
b. non reusable
c. serially usable
d. recursive
Answer- reenterable
Que- IBM released its first PC in 1981. Can you name the operating system which was most popular at that time?
a. MS-DOS
b. PC-DOS
c. OS/360
d. CP/M
Answer- CP/M
Que- If the number of bits in a virtual address of a program is 16 and the page size is 0.5 K bytes, the number of pages in the virtual address space is
a. 16
b. 32
c. 64
d. 128
Answer- 128
Que- Which table is a permanent database that has an entry for each terminal symbol.
a. Terminal table
b. Literal table
c. Identifier table
d. Reductions
Answer- Terminal table
Que- Which of the following statement is true.
a. The LRU algorithm pages out pages that have been used recently
b. Thrashing is a natural consequence of virtual memory systems.
c. Seek analysis is used for analysing control-unit busy problems.
d. All of the above
Answer- Seek analysis is used for analysing control-unit busy problems.
Que- Which of the following is a phase of a compilation process
a. Lexical analysis
b. Code generation
c. Both of the above
d. Static analysis
Answer- Both of the above
Que- Which are the most important features of Microsoft Windows program?
a. Windows
b. Pull-down menus
c. Icons
d. All of the above
Answer- All of the above
Que- Which of the following system program forgoes the production of object code to generate absolute machine code and load it into the physical main storage location from which it will be executed immediately upon completion of the assembly?
a. two pass assembler
b. load-and-go assembler
c. macroprocessor
d. compiler
Answer- load-and-go assembler
Que- Virtual memory is
a. simple to implement
b. used in all major commercial operating systems
c. less efficient in utilization of memory
d. useful when fast I/O devices are not available
Answer- used in all major commercial operating systems
Que- Scheduling is
a. allowing jobs to use the processor
b. unrelated to performance consideration
c. not required in uniprocessor systems
d. the same regard-less of the purpose of the system
Answer- allowing jobs to use the processor
Que- What scheduling algorithm allows processes that are logical runnable to be temporarily suspended?
a. preemptive scheduling
b. non-preemptive scheduling
c. FIFO
d. FCFS
Answer- preemptive scheduling
Que- In an absolute loading scheme, which loader function is accomplished by loader
a. Reallocation
b. Allocation
c. Linking
d. Loading
Answer- Loading
Que- The computational technique used to compute the disk storage address of individual records is called:
a. bubble memory
b. key fielding
c. dynamic reallocation
d. hashing
Answer- hashing
Que- For how many processes which are sharing common data, the Dekker's algorithm implements mutual exclusion?
a. 1
b. 2
c. 3
d. 4
Answer- 2
Que- In virtual memory systems, Dynamic address translation
a. is the hardware necessary to implement paging
b. stores pages at a specific location on disk
c. is useless when swapping is used
d. is part of the operating system paging algorithm
Answer- is the hardware necessary to implement paging
Que- Fragmentation of the file system
a. occurs only if the file system is used improperly
b. can always be prevented
c. can be temporarily removed by compaction
d. is a characteristic of all file systems
Answer- can be temporarily removed by compaction
Que- A non-relocatable 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 performs the relocation of its address-sensitive portions.
d. all of the above
Answer- 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.
Que- Which of the following are(is) Language Processor(s)
a. assembles
b. compilers
c. interpreters
d. All of the above
Answer- All of the above
Que- In which addressing mode the effective address of the operand is the contents of a register specified in the instruction and after accessing the operand, the contents of this register is incremented to point to the next item in the list?
a. index addressing
b. indirect addressing
c. auto increment
d. auto decrement
Answer- auto increment
Que- The practice of ""bundling"" refers to
a. selling computers alone
b. selling peripheral devices with computer
c. selling software to run on computers
d. giving away software with a computer purchase
Answer- giving away software with a computer purchase
Que- Special software to create a job queue is called a
a. Drive
b. Spooler
c. Interpreter
d. Linkage editor
Answer- Spooler
Que- All the time a computer is switched on, its operating system software has to stay in
a. main storage
b. primary storage
c. floppy disk
d. disk drive
Answer- primary storage
Que- Can you name of the major Operating System used in computers?
a. MS DOS
b. OS/2
c. UNIX
d. All of the above
Answer- All of the above
Que- Which of the following is not an advantage of multiprogramming?
a. increased throughput
b. shorter response time
c. decreased operating-system overhead
d. ability to assign priorities to jobs
Answer- decreased operating-system overhead
Que- In analyzing the compilation of PL/I program, the term ""Syntax 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- recognition of basic syntactic constructs through reductions.
Que- A hardware device that is capable of executing a sequence of instructions, is known as
a. CPU
b. ALU
c. CU
d. Processor
Answer- Processor
Que- Which of following is/are the advantage(s) of modular programming?
a. The program is much easier to change
b. Modules can be reused in other programs
c. Easy debugging
d. Easy to compile
Answer- The program is much easier to change
Que- The function(s) performed by the paging software is (are)
a. Implementation of the access environment for all programs in the system
b. Management of the physical address space
c. Sharing and protection
d. All of the above
Answer- All of the above
Que- 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. one pass compiler
c. cross compiler
d. multipass compiler
Answer- cross compiler
Que- A sequence of instructions, in a computer language, to get the desired result, is known as
a. Algorithm
b. Decision Table
c. Program
d. All of the above
Answer- Program
Que- Which, of the following, is true for testing and debugging?
a. Testing checks for logical errors in the programs, while debugging is a process of correcting those errors in the program
b. Testing detects the syntax errors in the program while debugging corrects those errors in the program
c. Testing and debugging indicate the same thing
d. All of the above
Answer- Testing checks for logical errors in the programs, while debugging is a process of correcting those errors in the program
Que- Information in a memory that is no longer valid or wanted is known as
a. non-volatile
b. volatile
c. surplus
d. garbage
Answer- garbage
Que- Which of the following filename extension suggests that the file is a backup copy of another file?
a. TXT
b. COM
c. BAS
d. BAK
Answer- BAK
Que- Relocation bits used by relocating loader are specified (generated) by
a. Relocating loader itself
b. Linker
c. Assembler or translator
d. Macro processor
Answer- Linker
Que- Backups should be done
a. daily for most installations
b. weekly for most installations
c. as several image copies, followed by an incremental
d. as several incrementals, followed by an image copy
Answer- as several incrementals, followed by an image copy
Que- In an absolute loading scheme, which loader function is accomplished by assembler.
a. Reallocation
b. Allocation
c. Linking
d. Loading
Answer- Reallocation
Que- The command interpreter
a. is usually the primary user interface
b. requires fixed format commands
c. is menu drive
d. is quite different from the SCL interpreter
Answer- is usually the primary user interface
Que- A task in a blocked state
a. is executable
b. is running
c. must still be placed in the run queues
d. is waiting for same temporarily unavailable resources
Answer- is waiting for same temporarily unavailable resources
Que- System maintenance:
a. is usually not necessary
b. is necessary on all systems, regardless of how good
c. is not required if the system is well written
d. always requires several programs
Answer- is necessary on all systems, regardless of how good
Que- Which of the following statements is false?
a. a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process
b. time sharing systems generally use preemptive CPU scheduling
c. response time are more predictable in preemptive systems than in non preemptive systems
d. real time systems generally use non-preemptive CPU scheduling
Answer- real time systems generally use non-preemptive CPU scheduling
Que- Nonmodifiable procedures are called
a. serially usable procedures
b. concurrent procedures
c. reentrant procedures
d. topdown procedures
Answer- reentrant procedures
Que- The instruction register
a. is a hardware memory device which denotes the location of the current instruction being executed.
b. is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory.
c. contains the address of the memory location that is to be read from or stored into.
d. 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"".
Answer- is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory.
Que- 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. to be fair
b. to balance resource utilization
c. to obey priorities
d. to be predictable
Answer- to balance resource utilization
Que- Multiprogramming systems:
a. are easier to develop than single programming system
b. execute each job faster
c. execute more jobs in the same time period
d. are used only on large mainframe computers
Answer- execute more jobs in the same time period
Que- A critical region is
a. a program segment that has not been proved bug-free
b. a program segment that often causes unexpected system crashes
c. a program segment where shared resources are accessed
d. one which is enclosed by a pair of P and V operations on semaphores
Answer- one which is enclosed by a pair of P and V operations on semaphores
Que- Assembler language
a. is usually the primary user interface
b. requires fixed-format commands
c. is a mnemonic form of machine language
d. is quite different from the SCL interpreter
Answer- is a mnemonic form of machine language
Que- The primary job of the operating system of a computer is to
a. command resources
b. manage resources
c. provide utilities
d. be user friendly
Answer- manage resources
Que- Which of the following is a measure to test how good or bad a modular design is
a. Module strength
b. Module coupling
c. Static analysis
d. All of the above
Answer- Module strength
Que- The Operating system manages
a. Memory
b. Processor
c. Disks and I/O devices
d. All of the above
Answer- All of the above
Que- 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. Upgradability
b. Upward mobility
c. Universality
d. Upward compatibility
Answer- Upward compatibility
Que- If special forms are needed for printing the output, the programmer specifies these forms through?
a. JCL
b. JPL
c. Utility programs
d. Load modules
Answer- JCL
Que- Which policy replace a page if it is not in the favoured subset of a process's pages?
a. FIFO
b. LRU
c. LFU
d. Working set
Answer- Working set
Que- Which of the following can be accesses by transfer vector approach of linking?
a. External data segments
b. External subroutines
c. Data located in other procedures
d. All of the above
Answer- External subroutines
Que- Which of the following terms refers to the degree to which data in a database system are accurate and correct?
a. data security
b. data validity
c. data independence
d. data integrity
Answer- data integrity
Que- Which of the following statements is not true about the FORTRAN language?
a. FORTRAN is a high level language
b. A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine
c. FORTRAN is extensively used to write programs for performing scientific computations
d. All of the above
Answer- A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine
Que- A linker
a. creates a load module
b. is not necessary with variable partitions
c. must be run after the loader
d. is not needed with a good compiler
Answer- creates a load module
Que- Uniform Symbols Table
a. contains all constants in the program
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 of the token's as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
d. a permanent table which lists all key words and special symbols of the language in symbolic form.
Answer- 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
Que- In which of the storage placement strategies a program is placed in the smallest available hole in the main memory?
a. best fit
b. first fit
c. worst fit
d. buddy
Answer- best fit
Que- In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?
a. absolute mode
b. indirect mode
c. immediate mode
d. index mode
Answer- index mode
Que- The primary purpose of an operating system is to:
a. make computer easier to use
b. keep system programmers employed
c. make the most efficient use of the hardware
d. allow people to sue the computers
Answer- make computer easier to use
Que- The principles of structured programming forbid the use of
a. WHILE-DO
b. GOTO
c. IF-THEN-ELSE
d. DO-WHILE
Answer- GOTO
Que- Which of the following capabilities is required for a system program to execute more than one program at a time?
a. word processing
b. compiling
c. virtual memory
d. multitasking
Answer- multitasking