set-9
401. A file is sometimes called a:
Collection of input data
Temporary place to store data
Data set
Program
402. In MS-DOS, relocatable object files and load modules have extensions:
OBJ and .COM or .EXE respectively
COM and .OBJ, respectively
EXE and .OBJ, respectively
DAS and .EXE, respectively
403. Resolution of externally defined symbols is performed by:
Linker
Compiler
Loader
Assembler
404. In which of the following page replacement policies does Belady’s anomaly occur?
FIFO
LFU
LRU
NRU
405. Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait, and:
Hold and wait
Race around condition
Deadlock avoidance
Buffer overflow
406. A system program that sets up an executable program in main memory ready for execution is:
Assembler
Loader
Linker
Compiler
407. The principle of locality of reference justifies the use of:
Re-entrant code
Virtual memory
Non-reusable code
Cache memory
408. The details of all external symbols and relocation information (relocation list or map) are provided to the linker by:
Macro processor
Loader
Translator
Editor
409. Scheduling is:
Allowing jobs to use the processor
Unrelated to performance considerations
Not required in uniprocessor systems
The same regardless of the purpose of the system
410. Real-time systems are:
Primarily used on mainframe computers
Used for monitoring events as they occur
Used for program analysis
Used for real-time interactive users
411. Access time is the highest in the case of:
Floppy disk
Swapping devices
Cache
Magnetic disk
412. The most common systems security method is:
Passwords
Firewall
Encryption
All of the above
413. Poor response times are caused by:
Processor busy
High paging rates
High I/O rate
Any of the above
414. Which of the following is a block device?
Mouse
Terminals
Printer
Disk
415. Which of the following statements is false?
The technique of storage compaction involves moving all occupied areas of storage to one end or other of main storage
Compaction does not involve relocation of programs
Compaction is also known as garbage collection
The system must stop everything while it performs compaction
416. Thrashing can be avoided if:
The pages belonging to the working set of the programs are in main memory
The speed of the CPU is increased
The speed of the I/O processor is increased
All of the above
417. Operating system:
Links a program with the subroutines it references
Provides a layered, user-friendly interface
Enables the programmer to draw a flowchart
All of the above
418. A task in a blocked state:
Is executable
Is running
Must still be placed in the run queues
Is waiting for something temporarily unavailable
419. Backups should be done:
Daily for most installations
Weekly for most installations
As several image copies, followed by an incremental
As several incremental, followed by an image copy
420. Which of the following statements is true?
The LRU algorithm pages out pages that have been used recently
Thrashing is a natural consequence of virtual memory systems
Seek analysis is used for analyzing control-unit busy problems
All of the above
421. A flowchart that uses predefined symbols to describe data flow in a system is known as:
Program flowchart
Data flow diagram
System flowchart
All of the above
422. Which of the following is true about pseudo code?
A machine language
A high-level language
An assembly language
None of the above
423. A program that converts a high-level language program to a set of instructions that can run on a computer is called a:
Compiler
Editor
Debugger
All of the above
424. Which of the following statements is not true about the FORTRAN language?
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
425. The initial value of the semaphore that allows only one of the many processes to enter their critical section is:
8
1
16
0
426. The principles of structured programming forbid the use of:
WHILE-DO
IF-THEN-ELSE
GO TO
DO-WHILE
427. Which of the following is necessary to work on a computer?
Compiler
Assembly
Operating system
Interpreter
428. Dividing a project into segments and smaller units in order to simplify the analysis, design, and programming efforts is known as:
Modular approach
Bottom-up approach
Top-down approach
Left-right approach
429. The errors that can be pointed out by the compiler are:
Syntax errors
Logical errors
Semantic errors
Internal errors
430. The dispatcher:
Actually schedules the tasks into the processor
Puts tasks in I/O wait
Is always small and simple
Never changes task priorities
431. The SJF algorithm executes first the job:
That last entered the queue
The first entered the queue
That has been in the queue the longest
With the least processor needs
432. Semaphores:
Synchronize critical resources to prevent deadlock
Synchronize critical resources to prevent contention
Are used to do I/O
Are used for memory management
433. Fragmentation of the file system:
Occurs only if the file system is used improperly
Can always be prevented
Can be temporarily removed by compaction
Is a characteristic of all file systems
434. The command interpreter:
Is usually the primary user interface
Requires fixed format commands
Is menu driven
Is quite different from the SCL interpreter
435. A translator is best described as:
An application software
A hardware component
A system software
All of the above
436. The part of the machine-level instruction, which tells the central processor what has to be done, is:
Operation code
Locator
Address
Flip-flop
437. Which of the following instruction steps would be written within the diamond-shaped box of a flowchart?
S = B - C
PRINT A
IS A < 10
DATA X, 4, Z
438. Block caches or buffer caches are used:
To improve disk performance
To handle interrupts
To increase the capacity of the main memory
To speed up main memory read operation
439. To avoid the race condition, the maximum number of processes that may be simultaneously inside their critical section is:
8
1
16
0
440. What is the initial value of the semaphore to allow only one of the many processes to enter their critical section?
8
1
16
0
441. Which technique stores a program on disk and then transfers the program into main storage as and when they are needed, is known as:
Spooling
Thrashing
Swapping
All of the above
442. Which of the following is not true about the description of a decision table?
A decision table is easy to modify
A decision table is directly understood by the computer
A decision table is easy to understand
All of the above
443. The memory allocation scheme subject to ‘external’ fragmentation is:
Segmentation
Pure demand paging
Swapping
Multiple contiguous fixed partitions
444. The advantage of a command processor running only built-in commands is:
Flexibility to the users in running lists of commands by simply collecting them in named batch command files
The command set being common across different hardware configurations
Users can create system programs and run them as commands
The processing is much faster than would otherwise be the case when user-defined commands are used
445. Which of the following is not true about memory management?
Virtual memory is used only in multiuser systems
Segmentation suffers from external fragmentation
Paging suffers from internal fragmentation
Segmented memory can be paged
446. In which way(s) can a macro processor for assembly language be implemented?
Independent two-pass processor
Independent one-pass processor
Processor incorporated into pass 1 of a standard two-pass assembler
All of the above
447. The disadvantage of “Compile and GO” loading scheme is (are):
A portion of memory is wasted because the core occupied by the assembler is unavailable to the object program
It is necessary to retranslate the user’s program deck every time it is run
It is very difficult to handle multiple segments, especially if the source programs are in different languages, and to produce orderly modular programs
All of the above
448. In analyzing the compilation of a PL/I program, the term “syntax analysis” is associated with:
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
449. Uniform Symbols Table:
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 tokens as they appear in the program, created by lexical analysis and used for syntax analysis and interpretation
A permanent table which lists all keywords and special symbols of the language in symbolic form
450. The function(s) of the scheduler is (are):
It selects which ready process is to be run next
It specifies the time slice
It is waiting for an event to occur before continuing execution
Both A and B
Last updated