[MC0073]Systems Programming

Embed Size (px)

Citation preview

  • 8/8/2019 [MC0073]Systems Programming

    1/4

    MC0073 Systems Programming B0811

    1. ____ is the semantic gap between two specificationsof the same taska. Execution gap b. Specification gapc. Both a & b d. None of the above

    2. _____ is the gap between the semantics of programswritten in different programming languagesa. Execution gap b. Specification gapc. Both a & b d. None of the above

    3. A language _______ is a software which bridges aspecification or execution gapa. processor b. processingc. proceed d. process

    4. The term _____ is sometimes used for translators

    that takes programs in one high level language intoequivalent programs in another high level language.a. Assembler b. Preprocessorc. Interpreter d. Compiler

    5. Which of the following statement is true forProgram Generation:-i. Reduction in the specification gap increases thereliability of the generated programii. It is more economical to develop a programgenerator than to develop a problem oriented

    language.a. False, False b. False, Truec. True, False d. True, True

    6. Two popular models for program execution are________ and __________a. Interpretation, Source programb. Translation, Source programc. Interpretation, Translation

    d. None of the above

    7. Program translation model bridges the executiongap by translating a program written in a PL called thea. TP b. SPc. LP d. None of the above

    8.Which of the following is truea. Language Processing=Analysis of SP+Synthesis of TP

    b. Language Processing=Analysis of TP + Synthesis of SPc. Language Processing=Analysis of TP + Synthesis of TPd. Language Processing=Analysis of SP + Synthesis of SP

    9. Which of the following are the characteristics of theprogram translation model:-i. A program must be translated before it can beexecutedii. The translated program may be saved in a file.

    iii. The save program may be executed repeatedlyiv. A program must be retranslated followingmodificationsa. i, ii, iii b. i, ii, ivc. i, ii, iii, iv d. i, iii, iv

    10. The interpretation cycle consists of the followingsteps:-i. Execute the meaning of the statementii. Analyses the statement and determine its meaningiii. The computation to be performed and its operands

    iv. Fetch the statementa. i, ii, iii b. i, ii, ivc. i, ii, iii, iv d. i, iii, iv

    11. ________ rules which govern the formation ofvalid statements in the source languagea. Lexical b. Syntaxc. Semantic d. None of the above

    12. Scanning indicates it isa. Syntax analysis b. Lexical analysis

    c. Semantic analysis d. None of the above

    13. The portions of one or more phases are combinedinto a module called aa. Pass b. Phasec. Both a & b d. None of the above

    14. What is the full form of IRa. Intermediate Representation

    b. Intermediation Representationc. Intermediation Represented

    d. Intermediate Represented

    15. Desirable properties of an IR are:-i. Ease of useii. Processing efficiencyiii. Memory efficiencyiv. IR must be compacta. i, ii, iii b. i, ii, ivc.i, iii, iv d. i, ii, iii, iv.

  • 8/8/2019 [MC0073]Systems Programming

    2/4

    16. A production is also calleda. nonterminal b. rewritingc. terminal d. none of the above

    17. A grammar G is used for the following purposesi. To generate valid strings of LGii. To recognize valid strings of LG

    a. Only i b. Only iic. i, ii d. none of the above

    18. These grammars are known as context sensitivegrammarsa. Type-0 grammars b. Type-1 grammarsc. Type-2 grammars d. Type-3 grammars

    19. Type-3 grammars are also known asa. linear grammars b. regular grammarsc. Both a & b d. non of the above

    20. We are interested in the following binding timesi. Language definition time of Lii. Language implementation time of Liii. Compilation time of Piv. Execution init time of procv. Execution time of proca. i, ii, iii, iv b. i, ii, iv, vc. i, ii, iii, v d. i, ii, iii, iv, v

    21. Which binding is a binding performed after the

    execution of a program has beginsa. Static b. Dynamicc. Both a & b d. none of the above

    22. What is the full form of Lpdta. Language Preprocessor Development Toolsb. Language Processor Development Tools

    c. Language Preprocessor Developing Toolsd. Language Processor Developing Tools

    23. What LPDTs widely used in practice

    i. Lexical analyzer generator LEXii. Parser generator YACCa. Only i b. Only iic. Both i & ii d. none of the above

    24. What is full form of CISCa. Complex Instruction Set Computer

    b. Complex Instructed Set Computerc. Complex Instructing Set Computerd. none of the above

    25. A _______ supplies a large number of complexinstructions at the assembly language levela. RISC b. CISCc. IRSC d. ICSC

    26. The most common RISC microprocessors arei. AVR

    ii. PICiii. ARMiv. MIPSv. PA-RISCvi. SPARCa. i, ii, iii, iv, v b. i, ii, iii, iv, vic. i, ii, iii, v, vi d. i, ii, iii, iv, v, vi

    27. Which of the following are the characteristics ofRISCi. Single cycle execution

    ii. Load / store architectureiii. Hardwired controliv. Support for HLLa. i, ii, iii b. i, ii, ivc.i, iii, iv d. i, ii, iii, iv

    28. Which of the following are the purpose of pass 1:-i. Remember values of symbols until pass 2ii. Process some pseudo-operationiii. Generate Dateiv. Look value of symbols

    v. Keep track of Location Countera. i, ii, iv, v b. i, ii, iii, vc. i, ii, v d. i, ii, iv

    29. To design specification of an assembler how manysteps are requireda. five b. sixc. seven d. none of the above

    30. What is used to store each label and itscorresponding value

    a. MOT b. POTc. ST d. LT

    31. What is the full form of MASMa. Microsoft Macro Assembler

    b. Macro Microsoft Assemblerc. Assembler Macro Microsoftd. none of the above

  • 8/8/2019 [MC0073]Systems Programming

    3/4

    32. Was invented in the labs of Sun Microsystems Inc.a. SPARC b. RISCc. MASM d. none of the above

    33. The first standard product based on the SPARCarchitecture was produced by Sun and Fujitsu in theyear

    a. 1987 b. 1989c. 1985 d. 1986

    34. Is a modern, fast, pipelined architecturea. SPARC b. RISCc. MASM d. none of the above

    35. Macros are useful for the following purposes:i. To simplify and reduce the amount of repetitivecodingii. To reduce errors caused by repetitive coding

    iii. To make an assembly program more readablea. i, ii, iii b. i, iic. i, iii d. ii, iii

    36. Is a program that takes one or more objectsgenerated by compilers and assembles them into asingle executable program.a. Linker b. Link editorc. Both a & b d. none of the above

    37. Is a collection of subprograms used to develop

    softwarea. Library b. Linkingc. Loaders d. Translation

    38. The character stream input is grouped intomeaningful units calleda. tokens b. lexemesc. parsing d. none of the above

    39. What is the full form of DFAa. Deterministic finite automata

    b. Deterministic finite automationc. Deterministing finite automatad. Deterministing finite automation

    40. Also called as bubble diagrama. State Action Decision Diagramb. Statechart Diagramsc. State Transition Diagram

    d. none of the above

    41. How many types of optimizations are useda. one b. twoc. three d. four

    42. Is a set of computer software programs and datastructures which implements a specific virtual machinemodel

    a. JVM b. JMVc. Compiler d. Assembler

    43. The JVM runtime executes which of the followingfilesa. .class b. .jarc. Both a & b d. None of the above

    44. Yacc was developed bya. Berkeley b. Stephenc. Abraxas d. none of the above

    45. ________ memory pool is an internal memorypool created at start up that tasks use to dynamicallyallocate memory as neededa. Garbage b. Heapc. Stack d. none of the above

    46. Garbage collection was invented by JohnMcCarthy arounda. 1959 b. 1969c. 1979 c. 1989

    47. Is a program or application that softwaredevelopers use to create, debug, or maintain otherprograms and applicationsa. programming tool b. software toolc. Both a & b d. none of the above

    48. Is responsible for controlling, integrating, andmanaging the individual hardware components of acomputer system.a. Application Software b. System Software

    c. Both a & b d. none of the above

    49. Examples of Code Sharing Sites are:i. Freshmeatii. Krugleiii. Sourceforgeiv. Ucoditv. ByteMyCodea. i, ii, iii, iv b. i, ii, iv, vc. i, ii, iii, v d. i, ii, iii, iv, v

  • 8/8/2019 [MC0073]Systems Programming

    4/4

    50. Breaking the source code text into small piecestokens sometimes called terminalsa. Scanning b. Parsingc. Intermeidate Language Generationd. none of the above

    51. Which can be the list of the debuggers

    i. DAEDALUSii. Eclipseiii. Insightiv. MacsBugv. OllyDbgvi. SIMONa. i, ii, iii, iv, v b. i, ii, iii, iv, vic. i, ii, iii, v, vi d. i, ii, iii, iv, v, vi

    52. Is supplement or replace other forms of outputwith haptic feedback methods

    a. Batch interface b. Tactile interfacec. Touch interface d. none of the above

    53. A _______ is a particular way to encodeinformation for storage in a computer filea. file format b. data formatc. disk format d. none of the above

    54. Which of the following is/are true:i. The computer uses electricity, not mechanical parts,

    for its data processing and storageii. Electricity is plentiful, moves very fast throughwiresiii. Electricity parts fail much less frequently thanmechanical partsiv. Electricity can flow through switchesa. i, ii, iii b. i, ii, ivc.i, iii, iv d. i, ii, iii, iv

    55. Byte number $ represented asa. 36 b. 37

    c 35 d. 38