You are on page 1of 16

SYSTEM SOFTWARE BC0051 BCA -4(New)

1-Marks Questions (Qs 1 to Qs 40.) Qs 1. A ----- is program that takes as input a program written in one programming language and produces as output a program in another language. Language translator Translator Interpreter Compiler Ans A Qs 2. The designer expresses the ideas in terms related to the ----Application domain Execution domain All of the above None of the above Ans A Qs 3. To implement the ideas, their description has to be interpreted in terms related to the -------Application domain Execution domain All of the above None of the above Ans B Qs 4. The semantic gap has many consequences like -------large development time large development efforts poor quality of software all of the above Ans D Qs 5.PLs stands for procedure languages Programming languages periodic languages none of the above Ans B

Qs 6. Software implementation using a PL introduces a new domain --application domain execution domain PL domain all of the above Ans C Qs 7. The gap between the PL and execution domains is known as specification and design gap specification gap both of the above none of the above Ans C Qs 8. Each domain has ----- language. design programming specification all of the above Ans C Qs 9. A language processor is software which bridges a specification or execution gap. d) true e) false Ans A Qs 10. Semantics represents rules of meaning of a domain. true false Ans A Qs 11. Semantic gap represents the difference between the semantics of two domains true false Ans A Qs 12. Program generation activities and program execution activities are the processing activities come under -------. processing activities language processing activities all of the above none of the above

Ans B Qs 13 TP stands for Transaction program Target program Terminal program target processing Ans B Qs 14. Reduction in the specification gap does not increase the reliability of the generated program. True False Ans B Qs 15. Program translation model bridges the execution gap by translating a program written in a PL, called the ----------- ,into an equivalent program in the machine or assembly language of the computer system called the ---------. source program, target program target program, target program source, source program target program, source program Ans A Q16. _______ is a generic term referring to any computer softwares, which manages & controls the hardware so that application software can perform a task. OS Application software System software All of the above Ans C Qs 17. If system software is stored no- volatile storage such as integrated circuit, it is usually termed as -------------. OS Application software. firmware None of the above Ans C

Qs18. Von Neumann architecture are generally used interchangeably True False Ans A Qs 19. _____of pixels represent a computer graphic data like pictures, frames of movie drawings or frame of an animation. Collection Bit Value Grid All of the above Ans C Qs 20. JPEG & GIF are two graphics format used on the Internet as a ______ format. Wide Extended Less Memory Compressed Ans D Q21. CISC stands for Computer Instruction set computer Complex Instruction Set Computer Coordinated instruction set computer None of the Above Ans B Qs 22. CISC made a computer assembly language more like a high level language to begin with leaving the compiler less to do. True False Ans A Qs 23 RISC stands for. Risk Instruction set computer Reduced instruction set computer Rescheduled Instruction Set None of the above Ans B

Qs 24. In Assembly Language each statement has two operands; the first operand is always a ______which can be any one of the AREG, BREG, and CREG & DREG Register Assemble All of the above None of these Ans A Qs 25. A ------- is a particular kind of unintentional memory consumption by a computer program where the program fails to release memory when no longer needed. memory memory leak storage area all are correct Ans B Qs 26. Static memory, stack based allocation and dynamic memory allocation are storage allocations takes in computer program for running of the user program correct Incorrect Ans D Qs27. Macros are abbreviations for arbitrary fragments of C code, and then the C preprocessor will replace the macros with their definitions throughout the program during--------Macro expansion conditional compilation line control all of the above Ans D ] Qs 28 MASM is an --------- for x86 family of microprocessors. f) assembler g) compiler h) linker i) loader Ans A Qs 29 SPARC assembler stands for Serial processor architecture Sun Microsystems processor architecture

Scalable processor architecture none of the above Ans C Qs 30. The content of MOT table are not filled in or altered during the assembly process. True False Ans A Qs 31. Assembler directives instruct the assembler to perform certain actions during the assembly of a program. Valid statement Invalid statement Ans A Qs 32. Imperative / declarative and assembler directives are three kinds of statements supported by an assembly program. Correct Incorrect Ans A Qs 33. The ------ instructions move a value between a memory word and a register. BC MOVE MOVER MOVEM Ans B Qs 34 _______ is a data structure which is used by compiler to keep track of scope and binding information about names. Compiler Table System Table Symbol Table None of the above Ans C Qs 35 This representation is used when there is an upper bound or limit on the length of the name. j) Fixed Length representation k) Pointer to symbol

l) None of the above Ans A Qs- 36 Table entries organized in to m separate linked lists, are called __________ m) Tables n) Array o) List p) Bucket Ans D Qs-37 The errors which can be detected at run time is _________ q) Static Error r) Semantic Error s) Syntactic Error t) Dynamic Errors Ans D Qs- 38 _________is the execution of a series of programs(jobs) on a computer without human interaction. u) Multitasking v) Multi Programming w) Batch Processing x) Job Scheduling Ans C Qs-39 __________ is a minimal computer operating system kernel which provides no operating system services at all. y) Microprocessor z) Microkernel aa) Micro program bb) None of the above Ans B Qs 40 Which of the following is not the part of PCB(Process Control Block) cc) Pointer dd) Address of the data ee) Program Counter ff) Registers Ans B

2-Marks Questions (Qs 41 to Qs 60.) Qs 41. The specification gap is bridged by the software development ----- and the execution gap is bridged by the designer of the ---------team , programming language processor team, translator both 1 and 2 none of the above Ans A Qs 42. Use of PL can be grouped into (1) Specification, design and coding steps (2) PL implementation steps Both are true Both are false (1) is True, (2) is false (1) is False, (2) is true Ans A Qs 43. The --------------language is a specification language of an application domain and the ------- language is typically a procedure oriented PL. source, target target, target source, source target, target Ans A Qs 44. Popular models for program execution are ------- and --------translation, programming interpretation , programming Translation, interpretation all of the above Ans C Qs 45. MOVE instruction is used to move a value between a memory & a register. True False Ans A Qs 46 Libraries contain -------- and -------- which provide services to independent

programs. source code , object code test plan , source code helper code , data data , information and knowledge Ans C Qs 47. A macro call leads to -----------. During macro expansion, the macro statement is replaced by sequence of -------------. conditional compilation , assembly statements macro expansion, assembly statements line control, statements macros definition , statements Ans B Qs 48. The first pass of assembler is only to define the -------; the second pass can then generate --------address, instruction symbols, data symbols, instruction and addresses address, symbol Ans C Qs 49. In assembly language, each statement has two operands, the first operand is always a ---------- which can be any one of AREG, BREG, CREG and DREG. The second operands refers to a -------- using a symbolic name and an optional displacement. memory word, register register, memory word index value, register register, index value Ans B Qs 50. Link editor is a program, that takes one or more objects generated by -------- and Assembles them into a single --------- program. linker, executable loader, compiled compilers, executable compilers, compiled Ans C Q 51. When one uses a C compiler under a UNIX system to generate an executable from

the C source code, the C compiler driver will usually invoke a C processor, --------, assembler and --------- in that order to translate the C-language code into the executable file. linker, compiler link- editor, assembler compiler, loader compiler, link editor Ans D Qs 52 A binary object file is either an executable file that runs on a particular machine or a file containing object code that needs to be linked. The object code is generated by a _______ or by an --------. linker, loader link editor, loader compiler, assembler assembler, linker Ans C Qs 53 A --------- table can be provided in the header of the object code file. Each fix up is a pointer to an address in the object code that must be changed when the -----relocates the program. FAT , loader Fix up , loader MOT, compiler all of the above are correct Ans B Q-54 State true & False (1) A process can choose to wait for children to terminate (2) After a fork parent stop running and child process start running Both are true Both are false (1) is True (2) is true Ans C Q 55 True / False gg) Kernel is same as BIOS(Basic Input Output System) hh) Kernel includes an interrupt handler that handles all requests or completed I/O operations

a) b) c) d) Ans D

Both are true Both are false (1) is True (2) is true

Q- 56 True/False Semantic errors can be detected both at compile time and at run time Syntactic error are detectable by lexical phase or syntactic phase of the compiler Both are true Both are false (1) is True (2) is true Ans A Q-57 Which of the following is valid macro argument ii) Expression preceded by & jj) Arbitrary sequences of valid macro arguments kk) Multiple characters preceded by ! as an escape character ll) Arbitrary sequence of printable characters, not containing Blanks, tabs, commas, or semicolons mm)1 & 2 nn) 2 & 3 oo) 1 & 4 pp) 1 & 3 Ans D Q-58 which of the following is not the tools that does not deal with machine code instructions 1) Disasembler 2) Debugger 3) Assembler 4) Decompiler 5) Binary Translator 6) Compiler a) b) c) d) 1, 2 4, 6 3, 6 4, 6

Ans C Q-59 Relocation is done in two steps these are

1) The linker merges the entire object to a single executable file 2) The source code is converted in object code 3) Each section refers to one or more symbols which should be modified so that they point to the correct runtime 4) A Symbol table is generated. With addresses qq) 1 & 3 rr) 1 & 4 ss) 2 & 4 tt) 1 & 2 Ans A 60) True or False 1) During program loading a program is copied from main memory to secondary storage. 2) Bootstrapping can also refer to the development of successively more complex, faster programming environments. uu) Both are true vv) Both are false ww)1 is True xx) 2 is True Ans D 4-Marks Questions (Qs 61 to Qs 75.) Qs 61. If the source language is a high level language such as FORTRAN or Cobol and the object language is a low level language then such a translator is called ----------, translator transform a programming language into a simplified language called intermediate code called --------- , if the source language is assembly language and the target language is machine language the translator is called ----------, and translators that takes program in one high level language into equivalent programs in another high level language called -----------. yy) Preprocessor, compiler, assembler and interpreter zz) Compiler, interpreter, assembler, preprocessor aaa)Interpreter, compiler, assembler, preprocessor bbb)All of the above are correct Ans B

Qs 62 The Von Neumann architecture is a computer design model that uses a ---------- & ------------to hold --------- & ----------.

ccc)Data & instruction, storage structure & processing unit ddd)Knowledge & data, cpu speed & Structure eee)Storage structure & processing unit, data & instruction, fff) Data & instruction, Knowledge & data, Ans C Qs 63. RISC or reduced instruction_______ is a type of_________ architecture that utilizes a small, ________set of instruction rather than a more _______of instructions often found in other type of architecture ggg)Set Computer, microprocessor, highly optimized, specialized set. hhh)Specialized set, microprocessor, highly optimized, Set computer, iii) Set computer, microprocessor, specialized set, highly optimized, jjj) None of the above Ans A Qs 64. . ---------- is the process of a lazing a sequence of -------- to determine its grammatical structure with respect to a given -----------. A parser is the component of a --that carries out this task. kkk)Parsing, tokens, formal grammar, compiler lll) Compiling, keywords, grammar, assembler mmm)Parsing, keywords, grammar, assembler nnn)Parsing, tokens, grammar, assembler Ans A Qs 65 -------- is the process of replacing symbolic references or names of libraries with actual usable addresses in memory before running a program. It is done by -------- during -----------although if can be done at run-time by a -------. ooo)parsing, loader, linker, loader ppp)relocation, linker ,loader, compilation qqq)relocation, linker , compilation , loader rrr) loading , loader, parsing , compiler Ans C Qs 67. Match the register names and their meanings Column A Column B sss)AX ttt) DX uuu)BP vvv)SP (a) (b) (c) (d) (e) (f) stack pointer base pointer base register accumulator register Destination index Data register

www)(1)-a,(2)-d,(3)-c,(4)-e

xxx)(1)-d,(2)-b,(3)-c,(4)-a yyy)(1)-d (2)-f (3)-b, (4)-a zzz)(1)-a,(2)-e,(3)-d,(4)-a Ans C Qs 68. An ---------- is a program which accepts assembly language program as input and produces its equivalent ------------as output along with information for the loader. The input to the assembler program is called -------- and the output is called the ---------Compiler, machine language program, object program, source program. Assembler, machine language program, source program, object program. Linker, machine language program, source program, object program. Loader, machine language program, source program, object program. Ans B Qs 69. Bootstrapping can also refer to the development of successively more --------, -----The simplest environment will be perhaps, a very basic ---------and an ------------program. aaaa)complex, faster programming environment, text editor, assembler bbbb)simple, faster programming environment, text editor, linker cccc)complex , slow programming environment, text editor, loader dddd)complex, Average programming environment, text editor, linker Ans A Qs 70. Code optimization is an optional phase designed to improve the ---------code so that the ultimate object program runs ------and takes --------- space. Its output is another intermediate code program that does the same job as the original, but perhaps in a way that saves time and space. eeee)Intermediate, faster, less, time and space ffff)Program, slow, more, time and space gggg)Complex, faster, more, time and space hhhh)More, faster, program, time / space Ans A Qs 71. The bookkeeping portion of the ----- keeps track of the names used by the program and records essential information about each such as its-------------The ---------- used to record this information is called ---------iiii)compiler, type (int, Real), MOT jjjj)Compiler, type ( int ,real), data structure, symbol table kkkk)linker, data type, structure, table llll)Loader, data type, structure, symbol table. Ans B

Qs 72. The lexical analyzer is the interface between ------- and -----------. The lexical analyzer reads the ------- program one character at a time, carving the source program into a sequence of characters that can be treated as a single logical entity. Identifiers, keywords, constants, operators, and punctuation symbols such as commas, and parentheses are typical-------. mmmm)object code , compiler, source, tokens nnnn)source program , compiler , source , tokens oooo)keywords , source code, object , tokens pppp)source code, object code, keywords, tokens Ans B Qs 73 match the following Column A 1. Arrays 2. Lists 3. Trees 4. Pointer to Symbol Table Entry Column B A. This type of representation is best Suitable when there is not any limit Length B. Data structure which includes two Link fields, left and Right to each Record C. Data structure which uses one array Or more arrays to store names and Their associated information D. Data structure to implement a Symbol table. Where one record is Used for one name

qqqq)(1)-A,(2)-D,(3)-C,(4)-B rrrr)(1)-D,(2)-B,(3)-C,(4)-A ssss)(1)-D (2)-C,(3)-B, (4)-A tttt)(1)-A,(2)-C,(3)-B,(4)-D Ans C Qs 74 Match the Following Column A 1. Semantic Errors Column B A. The sources of this type of errors are Undeclared names and type Incompatibilities B. The errors which are detected at run Time C. In this phase, errors are detected by Parser when it has no legal move

2. Syntactic Phase Errors 3. Lexical Phase Errors

From its current configuration 4. Dynamic Errors D. In this phase, errors are detected When there is no prefix of the Remaining input fits the specification of any token class

uuuu)(1)-A,(2)-C,(3)-D,(4)-B vvvv)(1)-D,(2)-B,(3)-C,(4)-A wwww)(1)-D (2)-C,(3)-B, (4)-A xxxx)(1)-A,(2)-C,(3)-B,(4)-D Ans A Qs 75 Match the Following Column A 1. Interrupt/ Trap Handling Column B A. Creating and deleting processes, Assigning privileges and resources to Processes B. Exchange information between Processes C. Choose which process to run D. Contains interrupts service routines, One for each possible type of Interrupt.

2. Process Management 3. Short Term Scheduling 4. Interprocess Communication

(1)-A,(2)-C,(3)-D,(4)-B (1)-D,(2)-A,(3)-C,(4)-B (1)-D (2)-C,(3)-B, (4)-A (1)-A,(2)-C,(3)-B,(4)-D Ans B

You might also like