SYSTEM PROGRAMMING | UGC NET SOLVED PAPER/SMU SOLVED SAMPLE PAPER UGC NET SOLVED PAPER/SMU SOLVED SAMPLE PAPER: SYSTEM PROGRAMMING
Contact Us:

If You Have Any Problem, Wanna Help, Wanna Write Guest Post, Find Any Error Or Want To Give Us Feedback, Just Feel Free To Contact Us. We Will Reply You Soon.

Name: *


Email: *

Message: *


Skillblogger

LiveZilla Live Help

SYSTEM PROGRAMMING

QUIZ QUESTION OF "SYSTEM PROGRAMMING OR SYSTEM SOFTWARE"

Unit 01

 Question 2

 Program translation model bridges the execution gap by translating a program written in a PL, called _______ into an equivalent program in the machine or assembly language of the computer system, called ______

  •   a. Source program (SP), target program (TP).
  • b. Syntax program, Analysis program
  • c. Source program (SP), Syntax program,
  • d. Analysis program, target program (TP).
================================================
Question 3


 Two fundamental language processing activities are _______and______

  •  a. Program Processor Activities, Program Execution Activities
  • b. Program Generation Activities, Program Source Activities
  • c. Program Processor Activities, Program Source Activities
  • d. Program Generation Activities, Program Execution Activities

================================================
Question 4


  ______ will govern the formation of valid statements in the source language.

  •   a. Lexical rules:
  • b. Syntax rules:
  • c. Semantic rules

  • d. Source rules
================================================
Question 5

  ________ is a program that converts one programming to another programming another language.

  •   a. Language builder
  • b. Language translator
  • c. Language processor
  • d. Language Activity
================================================
                                       Unit 2
================================================
Question 1


  Match the following

Mnemonic operation codes Choose... Microsoft Macro Assembler Low level language instruct the assembler to perform certain actions eliminates the need to memorize numeric operation codes

Assembly language Choose... Microsoft Macro Assembler Low level language instruct the assembler to perform certain actions eliminates the need to memorize numeric operation codes

Assembler directives Choose... Microsoft Macro Assembler Low level language instruct the assembler to perform certain actions eliminates the need to memorize numeric operation codes

MASM Choose... Microsoft Macro Assembler Low level language instruct the assembler to perform certain actions eliminates the need to memorize numeric operation codes
================================================
Question 2

 How many kinds of statements are there in assembly program

  a. 4

b. 1

c. 2

d. 3
================================================
Question 3

  Which of the following statement is NOT a purpose of pass-1 for assembler? 1. Determine length of machine instructions 2. Generate Instructions 3. Remember values of symbols until pass 2 4. Process some pseudo-operation

 a. 1

b. 2

c. 3

d. 4

================================================
Question 4

  _______ and ________are the two tasks performed by assembler.

 a. Generate instructions, Process pseudo-operations

b. Define symbols, Generate object

c. Process pseudo-operations, Define symbols

d. Generate object, Generate instructions
================================================
Question 5

  ________ is a program which accepts assembly language program as input and produces its equivalent machine language program as output.

  a. Data base

b. Assembler

c. Assembly

d. Directives
================================================
                                           Unit 3
================================================
Question 1


  Match the following

Lexical analysis Choose... Carving source program into sequence tokens Checks the tokens for patterns permitted Improve the target program by a factor of two in overall speed Converts intermediate code into machine instructions

Syntax analysis Choose... Carving source program into sequence tokens Checks the tokens for patterns permitted Improve the target program by a factor of two in overall speed Converts intermediate code into machine instructions

Code generation Choose... Carving source program into sequence tokens Checks the tokens for patterns permitted Improve the target program by a factor of two in overall speed Converts intermediate code into machine instructions

Code optimization Choose... Carving source program into sequence tokens Checks the tokens for patterns permitted Improve the target program by a factor of two in overall speed Converts intermediate code into machine instructions
================================================
Question 2

  Which of the following statement is NOT a phase in compilation? 1. Lexical analysis 2. Syntax analysis 3. intermediate code generation 4. identifier 5. code optimization 6. logical builder 7. code generation

  a. 1,2

b. 4,6

c. 3,5

d. 2,7
================================================
Question 3

 YACC, abbreviated from "Yet Another Compiler Compiler", is a __________ system tool program for generating C or C++ code for a parser.

  a. Linux

b. Unix

c. Windows

d. DOS
================================================
Question 4

  _______ and ________are the two types of optimization

 a. Local Optimization, Loop Optimization

b. Quick Optimization, Loop Optimization

c. Local Optimization, symbolic Optimization

d. Quick Optimization, symbolic Optimization
================================================
Question 5

  ________ is a translator which translates the program written in a high level language object language, which is a low level language.

 a. Interpreter

b. Assembler

c. Analyzer

d. Compiler
================================================
                                        Unit 4
================================================
Question 1


 During __________ the macro statement is replaced by sequence of assembly statements.

  a. Expansion

b. Macro expansion

c. Parameter passing

d. Execution
================================================
Question 2

  If macros are calling themselves, they are called as _______

  a. nested macro calls

b. recursive macro calls

c. nesting

d. macro expansion
================================================
Question 3

 Which of the following statement does NOT holds good for Macros? 1. Macros simplify coding 2. Macros reduce the amount of repetitive coding 3. Macros reduce errors caused by repetitive coding 4. Macros can have only two parameters 5. Macros cannot be used in C++ programming language 6. Macros make an assembly program more readable.

  a. 1,2

b. 3,6

c. 4,5

d. 2,7
================================================
Question 4

  ________ is a unit of specification for program generation through expansion.

 a. Interpreter

b. Macro

c. Source code

d. Compiler
================================================
                                           UNIT=5
================================================
Question 1


  In dynamic linking the subroutines of a library are loaded into an application program at _____ rather than being linked in at ______ and remain as separate files on disk.

 a. runtime, compile time

b. compile time, runtime

c. compile time, executing time

d. executing time, compile time
================================================
Question 2

  State true or false 1. A static library is a collection of object files which contain library routines and data. 2. A shared library is a shared object file that contains functions and data.

  a. 1-F, 2-T

b. 1-T, 2-F

c. 1-T, 2-T

d. 1-F, 2-F
================================================
Question 4


 _______ is a collection of subprograms used to develop software .

  a. Static linking

b. Library

c. Relocating

d. Loading
================================================
 Question 5

 _______ is used to combine multiple functions into a single executable module

  a. Static linking

b. Library

c. Relocating

d. Loading
================================================
                                           UNIT=6
================================================
Question 1


  In computer science, relocation is the process of replacing symbolic references or names of _______ with actual usable addresses in ________ before running a program.

  a. Memory, libraries,

b. Loader, memory

c. Memory, Loader

d. Libraries, memory
================================================
Question 2

  State true or false 1. Compilers or assemblers typically generate the executable code with zero as the lower-most, starting address. 2. The most fundamental functions of loader is to bring an object program into memory and starting its execution. 3. Traditionally, when developing a machine code manipulation tool, we need to read a decoder for every BFF we want to manipulate 4. When a program needs to be executed, the OS first executes all relevant file information and carries out any necessary actions before putting it into memory

  a. 1=T, 2=T, 3=T 4=F

b. 1=T, 2=T, 3=F 4=F

c. 1=T, 2=F 3=T 4=F

d. 1=T, 2=F 3=F 4=F
================================================
Question 3

 State true or false. 1. In addition to copying a program into main memory, the loader can also replace virtual addresses with physical addresses. 2. 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

  a. 1-T,2-F

b. 1-T,2-T

c. 1-F,2-F

d. 1-F,2-F
================================================
Question 4

 _______is a computer program that transfers data from offline memory into internal Storage

  a. Debugger

b. Assembler

c. Loader

d. Compiler
================================================
Question 5

  _________is a very small program (usually residing in ROM) which reads a fixed location on a disk (eg. the MBR) and passes control over to it.

  a. Absolute Loader

b. Boot strap Loader

c. Program Loader

d. Retargetable loader
================================================
                                           UNIT=7
================================================
Question 1


  In ________ memory allocation, memory is allotted to a variable before the execution of a program begins.

  a. stack

b. automatic

c. dynamic

d. static
================================================
Question 2

 Reference counting is a form of ________ memory management where each object has a count of the number of references to it.

 a. dynamic

b. automatic

c. stack

d. static
================================================
Question 3

 State True or False 1. Dynamic memory allocation is implemented using stacks and heaps 2. Memory allocation is the procedure used to perform memory binding.

  a. 1-T,2-T

b. 1-F,2-T

c. 1-T,2-F

d. 1-F,2-F
================================================
Question 4

  State True or False 1. Fortran is an example for dynamic memory allocation 2. Java is Object oriented programming Language 3. Pascal is an example for static memory allocation 4. malloc () function is available only in c programming

 a. 1-F, 2-T, 3-F, 4-F

b. 1-F, 2-T, 3-T, 4-F

c. 1-T, 2-T, 3-F, 4-F

d. 1-F, 2-T, 3-F, 4-T

================================================
 Question 5

 Two types of Dynamic memory allocation are ________ and _________

  a. Process control allocation, Stack allocation

b. Automatic allocation, process controlled allocation

c. Automatic allocation, program controlled allocation

d. Stack allocation, program controlled allocation

================================================
                                          UNIT=8
================================================
Question 2


  In Linear array of record there are two ways to represent names in the symbol table they are __________and_________

 a. Fixed Length representation, pointer to symbol table entry

b. Automatic Length representation, pointer to symbol table entry

c. Fixed Length representation, Pointer to Pointer table entry

d. Automatic Length representation, Pointer to Pointer table entry
================================================
Question 3

  State TRUE or FALSE 1.Hash tables are good in situations where you have enormous amounts of data 2.Compilers use a searching technique called as hashing, where a variant called as "Close hashing" is considered.

  a. 1-T,2-F

b. 1-F,2-T

c. 1-T,2-T

d. 1-F,2-F
================================================
Question 4

 Symbol table is a __________ which is used by compiler to keep track of scope and binding information about names.

  a. Stack

b. Data structure

c. Pointer

d. Organization
================================================
Question 5

  The actions required for the maintenance of a symbol table are: search, enter and ______

  a. Store

b. Return

c. Delete

d. List
================================================
                                   UNIT=9
================================================
Question 2


  State TRUE or FALSE 1. The design specifications for the program may be inconsistent or faulty: is a source of error 2. If the algorithms does not meet the design or incorrect results in error

 a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F
================================================
Question 3

  State TRUE or FALSE 1. Compiler can do true correction. 2. A more complex compiler transform the erroneous input into a similar but legal input on which normal processing can be resumed. 3. An array may be declared with too many dimensions to fit in the symbol table Will result in error this error is called as syntactic error 4. Languages such as APL and SNOBOL have several types, and the type of a name can Change at run time.

  a. 1-T, 2-T, 3-T,4-F

b. 1-F, 2-T, 3-T,4-F

c. 1-F, 2-T, 3-F,4-T

d. 1-F, 2-F, 3-T, 4-F
================================================
Question 4

 State TRUE or FALSE 1. Dynamic errors can be detected only at run time. 2. A compiler can insert errors as it translates the source program into an object program

 a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F
================================================
Question 5

 State TRUE or FALSE 1. The Error Handler is invoked when a flaw is detected in the syntax of source program. 2. Error Handler warns the programmer by issuing a diagnostic, and does not adjusts the information being passed from phase to phase.

  a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F
================================================
Question 6

  State TRUE or FALSE 1. The function of the lexical analyzer is to carve the stream of characters constituting the Source program into a sequence of bits. 2. Each bit class has a specification which is typically a regular set.

 a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F

================================================
 Question 7

 What is error handling?

 a. It is the process of identifying errors in the program

b. it is the process of recovering from errors.

c. It is the process of identifying error and also to recover from them.

d. None of the above
================================================
Question 8

  Which of the following is a true statement with respect to Dynamic error? 1. Dynamic error are detected at run time 2. Dynamic errors can be detected in all languages

  a. 1 only

b. 2 only

c. Both 1 and 2

d. None of them
================================================
Question 9

 Which of the following is a true statement with respect to Semantic errors? 1. Semantic errors can be detected both at compile time and run time 2. Declaration and scope are common examples for semantic errors

 a. 1 only

b. 2 only

c. Both 1 and 2

d. None of them
================================================
Question 10

 Which of the following is NOT a property of good error diagnostics?

 a. The messages should pinpoint the errors in terms of the original source program.

b. The error messages should be tasteful and understandable by the user .

c. The messages should be specific and should localize the problem

d. The messages should be redundant.
================================================
                                         UNIT=10
================================================
Question 2


 State TRUE or FALSE 1. Compiler can do true correction. 2. A more complex compiler transform the erroneous input into a similar but legal input on which normal processing can be resumed. 3. An array may be declared with too many dimensions to fit in the symbol table Will result in error this error is called as syntactic error 4. Languages such as APL and SNOBOL have several types, and the type of a name can Change at run time.

  a. 1-T, 2-T, 3-T,4-F

b. 1-F, 2-T, 3-T,4-F

c. 1-F, 2-T, 3-F,4-T

d. 1-F, 2-F, 3-T, 4-F
================================================
Question 3

 State TRUE or FALSE 1. Dynamic errors can be detected only at run time. 2. A compiler can insert errors as it translates the source program into an object program

 a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F
================================================
Question 4

 State TRUE or FALSE 1. RTOS is an operating System that guarantees a certain capability within a specified time Constraint 2. Windows 3.1 is a example for RTOS

 a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F
================================================
Question 5

 State TRUE or FALSE 1. The Error Handler is invoked when a flaw is detected in the syntax of source program. 2. Error Handler warns the programmer by issuing a diagnostic, and does not adjusts the information being passed from phase to phase.

  a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F

================================================
Question 6

  State TRUE or FALSE 1. The function of the lexical analyzer is to carve the stream of characters constituting the Source program into a sequence of bits. 2. Each bit class has a specification which is typically a regular set.

 a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F

================================================
Question 7

 Which of the following is a Function/s of operating system?

 a. Provides basic computing resourses (CPU, Memory, I/O devices).

b. Controls and coordinates the use of the hardware.

c. Define the ways in which the system resources are used to solve the computing problems

d. All the above
================================================
Question 8

 Which of the following is a NOT a Function/s of operating system?

 a. OS Contains interrupt service routines

b. OS deals with Process Management

c. OS helps in exchanging information between Processes

d. OS alone is responsible for compiling and executing C Program
================================================




 Question 9

  Which of the following is NOT a member of UNIX family?

  a. Linux

b. Solaris

c. Irix

d. MacOS
================================================
 Question 10

 Which of the following Statement is TRUE with respect to Multi threading?

 a. An operating system that allow different parts of a software program to run Concurrently.

b. An operating system that is capable of allowing multiple software processes to run at Same time

c. An operating allows multiple users to use same computer at the same time or different Time.

d. None of the above
================================================
                                       UNIT=11
================================================
Question 3


 State TRUE or FALSE 1. A Process is brought in to existence by some other process executing the fork() function. 2. As soon as the process has been fully created it is ready to run

 a. 1-T, 2-T

b. 1-F, 2-T

c. 1-T, 2-F

d. 1-F, 2-F

================================================

 Question 4

 State TRUE or FALSE 1. Running is the state of the Process that is actually executing on multi CPU systems. 2. Waiting is the state of a process which has not terminated for some reason

  a. 1-T, 2-F

b. 1-F, 2-T

c. 1-T, 2-T

d. 1-F, 2-F
================================================
Question 5

  The ____________  organizes the data about each process in a process table.

  a. Operating system

b. Stack pointer

c. Data structure

d. Program counter
================================================
Question 6

  What is Processes?

 a. It is the unit of work in a system.

b. The entity to which Processors are assigned

c. A program in Execution

d. All the above
================================================
Question 7

 Which of the following is a mechanism for creating a process.

  a. System initialization, including daemon processes.

b. Execution of a process creation system call by a running process.

c. A user request to create a new process.

d. All the above
================================================
Question 8

 Which of the following is NOT a Process termination mechanism.

 a. Normal Exit

b. Error Exit

c. Fatal Error

d. A user request
================================================
Question 9

 Which of the following is NOT TRUE with respect to Process Manager?

 a. It implements the Process abstraction.

b. It creates a model for the way the Process uses CPU and any system resources.

c. Identifies each process with Process ID which is unique

d. It implements CPU sharing
================================================
Question 10

  _____________ indicates the address of the next instruction to be executed for this Process.

 a. Register

b. Stack pointer

c. Data structure

d. Program counter
================================================
                                                     *THE END*
================================================
Like the Post? Share with your Friends:-

Team SB
Posted By: DG Group

Contact Us

Name

Email *

Message *

 

Latest post

Recent Comment

Copyright © . DG-Mission-UGC-NET. All Rights Reserved.
Designed by :-Way2themes