Searching for a Systems Software job? If you are an expert in Systems Software then this is for you. Do not worry, we’ve a right answer for your job interview preparation. If you are preparing for Systems Software job interview, we will help you in clearing the interview through Wisdomjobs interview questions and answers page. Systems Software is the supporting software that provides platform to other softwares. In terms of computer systems, Systems software is used as an interface between user and hardware applications. It includes operating systems, system drivers, middleware, utility software. Good knowledge on Systems Software is required for this job. Below are the Systems Software interview questions and answers which makes you comfortable to face the interviews:
Question 1. Define System Software?
Answer :
It consists of variety of programs that supports the operation of the computer. This software makes it possible for the user to focus on the other problems to be solved without needing to know how the machine works internally.
Eg: operating system. assembler, loader.
Question 2. Give Some Applications Of Operating System?
Answer :
Operating system acts as an interface between the user and the system
Eg :windows,linux,unix.dos
Question 3. Define Compiler And Interpreter?
Answer :
Compiler is a set of program which converts the whole high level language program to machine language program. Interpreter is a set of programs which converts high level language program to machine language program line by line.
Answer :
Loader is a set of program that loads the machine language translated by the translator into the main memory and makes it ready for execution.
Question 5. What Is The Need Of Mar Register ?
Answer :
MAR (memory address register) is used to store the address of the memory from which the data is to be read or to which the data is to be written.
Question 6. Draw 55 Instruction Format?
Answer :
opcode L B1 D1 B2 D2
0 7 8 15 16 19 20 31 32 35 36 47
It is a 6 byte instruction used to move L+I bytes data fro the storage locationi to the storage location2.
Storage location1 = D1+[B1]
Storage location2 = D2+[B2]
Eg: MOV 60,400(3),500(4)
Question 7. Define Indirect Addressing ?
Answer :
In the case of immediate addressing the operand field gives the memory location. The word from the given address is fetched and it gives the address of the operand.
Eg:ADD R5, [600]
Here the second operand is given in indirect addressing mode. First the word in memory location 600 is fetched and which will give the address of the operand.
Question 8. Define Immediate Addressing?
Answer :
In this addressing mode the operand value is given directly. There is no need to refer memory. The immediate addressing is indicated by the prefix L#.
Eg: ADD #5
In this instruction one operand is in accumulator and the second operand is an immediate value the value is directly added with the accumulator content and the result is stored in accumulator.
Question 9. List Out Any Two Cisc And Risc Machine?
Answer :
CISC -Power PC, Cray T3E
RISC -VAX,Pentium Pro architecture
Question 10. Define Absolute Loader?
Answer :
The loader, which is used only for loading, is known as absolute loader.
e.g. Bootstrap loader
Answer :
SUB 4(direct) to R (direct)
Here one operand is in the address location 4(direct addressing) and the next operand is in the register (register direct).
The resultant value is 9 -6 =3.
Question 12. What Is The Name Of A And L Register In Sic Machine And Also Specify Its Use?
Answer :
A-accumulator: Used for arithmetic operation. i.e., in the case of arithmetic operations one operand is in the accumulator, and other operand may be an immediate value, register operand or memory content. The operation given in the instruction is performed and the result is stored in the accumulator register.
L-linkage register: It is used to store the return address in the case of jump to subroutine (JSUB) instructions.
Question 13. What Are The Instruction Formats Used In Sic/xe Architecture? Give Any One Format?
Answer :
Format 1 (1 byte), Format 2 (2 bytes), Format 3 (3 bytes) & Format 4(4 bytes)
Format 2:
8 4 4
OPC ODE R1 R2
Answer :
In the line 10 the address is 1000 and the instruction is RESW 4. It reserves 4 word (3 x 4 =12) areas for the symbol LENGTH. hence 12 is added to the LOCCTR. Thus the value of the symbol NEW is 1000+ 12 =100C.
Question 15. That Is The Difference Between The Instructions Lda # 3 And Lda Three?
Answer :
In the first instruction immediate addressing is used. Here the value 3 is directly loaded into the accumulator register. In the second instruction the memory reference is used. Here the address(address assigned for the symbol THREE) is loaded into the accumulator register.
Question 16. Differentiate Trailing Numeric And Leading Separate Numeric?
Answer :
The numeric format is used to represent numeric values with one digit per byte. In the numeric format if the sign appears in the last byte it is known as the trailing numeric. If the sign appears in a separate byte preceding the first digit then it is called as leading separate numeric.
Question 17. What Are The Addressing Modes Used In Vax Architecture ?
Answer :
Register direct; register deferred, auto increment and decrement, program counter relative, base relative, index register mode and indirect addressing are the various addressing modes in VAX architecture.
Answer :
Here the target address is calculated using the formula
"T.A =(register) + displacement. "
Answer :
LDA ALPHA
ADD ONE
STA BETA
.... ....
ALPHA RESW 1
BETA RESW 1
ONE RESW 1
Answer :
23
LDA ALPHA
ADD Si
STA BETA
... ...
ALPHA RESW 1
BETA RESW 1
Question 21. What Is The Use Of Td Instruction In Sic Architecture ?
Answer :
The test device (TD) instruction tests whether the addressed device is ready to send or receive a byte of data. The condition code is set to indicate the result of this test. Setting of < means the device is ready to send or receive, and = means the device is not ready.
Question 22. Define The Basic Functions Of Assembler?
Answer :
Question 23. What Is Meant By Assembler Directives Give Example?
Answer :
These are the statements that are not translated into machine instructions, but they provide instructions to assembler itself.
example S1ART,END.BYTE.WORD.RESW and RESB.
Question 24. What Are Forward References?
Answer :
It is a reference to a label that is defined later in a program.
Consider the statement
10 1000 STL RETADR
……
……
8o 1036 RETADR RESW 1
The first instruction contains a forward reference RETADR. If we attempt to translate the program line by line, we will unable to process the statement in line10 because we do not know the address that will be assigned to RETADR .The address is assigned later(in line 80) in the program.
Question 25. What Are The Three Different Records Used In Object Program?
Answer :
The header record, text record and the end record are the three different records used in object program.
Question 26. What Is The Need Of Symtab (symbol Table) In Assembler?
Answer :
The symbol table includes the name and value for each symbol in the source program, together with flags to indicate error conditions. Sometimes it may contain details about the data area. SYMTAB is usually organized as a hash table for efficiency of insertion and retrieval.
Question 27. What Is The Need Of Oi’tab (operation Code Table) In Assembler?
Answer :
The operation code table contains the mnemonic operation code and its machine language equivalent. Some assemblers it may also contain information about instruction format and length. OPTAB is usually organized as a hash table, with mnemonic operation code as the key.
Question 28. What Are The Symbol Defining Statements Generally Used In Assemblers?
Answer :
Question 29. Define Relocatable Program?
Answer :
An object program that contains the information necessary to perform required modification in the object code depends on the starting location of the program during load time is known as relocatable program.
Question 30. Differentiate Absolute Expression And Relative Expression?
Answer :
If the result of the expression is an absolute value (constant) then it is known as absolute expression.
Eg: BITFEND - BUFFER
If the result of the expression is relative to the beginning of the program then it is known as relative expression. label on instructions and data areas and references to the location counter values are relative terms.
Eg: BUFEND + BUFFER
Question 31. Write The Steps Required To Translate The Source Program To Object Program?
Answer :
Question 32. What Is The Use Of The Variable Locctr (location Counter) In Assembler?
Answer :
This variable is used to assign addresses to the symbols. LOCCTR is initialized to the beginning address specified in the START statement. After each source statement is processed the length of the assembled instruction or data area to be generated is added to LOCCTR and hence whenever we reach a label in the source program the current value of LOCCTR gives the address associated with the label.
Question 33. Define Load And Go Assembler?
Answer :
One pass assembler that generates their object code in memory for immediate execution is known as load and go assembler. Here no object programmer is written out and hence no need for loader.
Question 34. What Are The Two Different Types Of Jump Statements Used In Ma5m Assembler?
Answer :
Question 35. What Is The Use Of Base Register Table Hi Aix Assembler?
Answer :
A base register table is used to remember which of the general purpose registers are currently available as base registers and also the base addresses they contain.
USING statement causes entry to the table and .DROP statement removes the corresponding table entry.
Question 36. Differentiate The Assembler Directives Re5w And Resb?
Answer :
RESW -It reserves the indicated number of words for data area.
Eg: 10 1003 THREE RE5W 1
In this instruction one word area ( bytes) is reserved for the symbol THREE. If die memory is byte addressable then the address assigned for die next symbol is 1006.
RE5B -It reserves die indicated number of bytes for data area.
Eg: 10 ioo8 INPUT RE5B 1
In this instruction one byte area is reserved for die symbol INPUT .Hence die address assigned for the next symbol is 1009.
Question 37. Define Modification Record And Give Its Format?
Answer :
This record contains the information about the modification in the object code during program relocation, the general format is Col 1 M
Col 2-7 Starting location of the address field to be modified relative to the beginning of the program
Col 8-9 length of the address field to be modified in half bytes.
Question 38. What Is Meant By External References?
Answer :
Assembler program can be divided into many sections known as control sections and each control section can be loaded and relocated independently of the others. If the instruction in one control section need to refer instruction or data in another control section. the assembler is unable to process these references in normal way. Such references between control are called external references.
Question 39. What Is Meant By Machine Independent Assembler Features?
Answer :
The assembler features that do not depend upon the machine architecture are known as machine independent assembler features.
Eg: program blocks, Literals.
Question 40. Define Control Section?
Answer :
A control section is a part of the program that maintains its identity after assembly; each control section can be loaded and relocated independently of the others. Control sections are most often used for subroutines. The major benefit of using control sections is to increase flexibility.
Question 41. What Is The Difference Between The Assembler Directive Extref And Extdef?
Answer :
EXTDEF names external symbols that are defined in a particular control section and may be used in other sections. EXTREF names external symbols that are referred in a particular control section and defined in another control section.
Question 42. Give The General Format Of Define Record?
Answer :
This record gives information about external symbols that are defined in a particular control section. The format is
Col 1 D
Col 2-7 name of external symbol defined in this control section
Col 8-13 relative address of the symbol with in this control section
Col 14-73 name and relative address for other external symbols.
Question 43. Give The Use Of Assembler Directive Csect And Use ?
Answer :
CSECT: used to divide the program into many control sections
USE: used to divide the program in to many blocks called program blocks
Question 44. What Is The Use Of The Assembler Directive Start?
Answer :
The assembler directive START gives the name and starting address of the program.
The format is
PN START 1000
Here
PN — Name of the program
1000 — Starting address of the program.
Question 45. What Are The Basic Functions Of Loaders?
Answer :
Systems Software Related Practice Tests |
|
---|---|
Application Software Practice Tests | Software Requirement Analysis and Specifications Practice Tests |
Compiler Design Practice Tests | Computer architecture Practice Tests |
Systems Software Practice Test
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.